Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ncview.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-54065c1162224700347ae47e3e04e9a95ed0bf21/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ncview.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ncview-2.1.2-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ncview.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-54065c1162224700347ae47e3e04e9a95ed0bf21/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ncview.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IoVGeB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ncview-2.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ncview-2.1.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ncview-2.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KEdSfl + umask 022 + cd /builddir/build/BUILD + cd ncview-2.1.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-netcdf_incdir=/usr/include/netcdf --with-ppm_incdir=/usr/include/netpbm --with-udunits2_incdir=/usr/include/udunits2 --x-libraries=/usr/lib --datadir=/usr/share/ncview checking for nc-config... yes Netcdf library version: netCDF 4.3.3.1 Netcdf library has version 4 interface present: yes Netcdf library was compiled with C compiler: gcc checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for library containing strerror... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for X... libraries /usr/lib, headers checking whether -R must be followed by a space... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for the Athena widgets... checking for XtWindow in -lXt... yes checking for XawScrollbarSetThumb in -lXaw... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/Intrinsic.h usability... yes checking X11/Intrinsic.h presence... yes checking for X11/Intrinsic.h... yes checking X11/Xaw/Simple.h usability... yes checking X11/Xaw/Simple.h presence... yes checking for X11/Xaw/Simple.h... yes X Athena widget (Xaw) libraries: -lXaw -lXt -L/usr/lib -R/usr/lib checking for X11 library... checking for XPutImage in -lX11... yes X11 libraries: -lX11 -L/usr/lib -R/usr/lib checking /usr/include/udunits2/converter.h usability... yes checking /usr/include/udunits2/converter.h presence... yes checking for /usr/include/udunits2/converter.h... yes Using user-specified udunits2 include dir=/usr/include/udunits2 checking /usr/include/udunits2/udunits2.h usability... yes checking /usr/include/udunits2/udunits2.h presence... yes checking for /usr/include/udunits2/udunits2.h... yes Using user-specified udunits2 include dir=/usr/include/udunits2 checking for ut_read_xml in -ludunits2... yes checking for expat library (required by udunits2)... checking for XML_GetBase in -lexpat... yes Expat libraries (needed by udunits2): -lexpat -L. -ludunits2 **************************************************************************** Udunits library version 2 support enabled. udunits2 dirs: include: /usr/include/udunits2 library: . libname: udunits2 **************************************************************************** checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_write_png in -lpng... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands ----------- Configure Summary ---------- Compiler: CC = gcc Runtime path flags = UDUNITS: UDUNITS2_LIBS = -ludunits2 UDUNITS2_CPPFLAGS = -I/usr/include/udunits2 UDUNITS2_LDFLAGS = -L. -ludunits2 -lexpat -L. -ludunits2 NETCDF: VERSION = netCDF 4.3.3.1 COMPILER USED = gcc NETCDF_CPPFLAGS = -I/usr/include -I/usr/include/hdf NETCDF_LDFLAGS = -lnetcdf NETCDF_V4 = yes X: X_CFLAGS = X11_LIBS = -lX11 -L/usr/lib -R/usr/lib XAW_LIBS = -lXaw -lXt -L/usr/lib -R/usr/lib X_PRE_LIBS = -lSM -lICE X_LIBS = -L/usr/lib -R/usr/lib X_EXTRA_LIBS = PNG: PNG_LIBS = -lpng PNG_CPPFLAGS = -I. PNG_LDFLAGS = -L. -lpng + make make all-recursive make[1]: Entering directory `/builddir/build/BUILD/ncview-2.1.2' Making all in src make[2]: Entering directory `/builddir/build/BUILD/ncview-2.1.2/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c ncview.c ncview.c: In function 'main': ncview.c:116:2: warning: implicit declaration of function 'any_var_in_group' [-Wimplicit-function-declaration] if( any_var_in_group( variables )) { ^ ncview.c: In function 'initialize_file_interface': ncview.c:627:6: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' [-Wformat=] var->dim[idim]->name, var->dim[idim]->size ); ^ ncview.c:596:6: warning: unused variable 'i' [-Wunused-variable] int i, idim, nvars, nfiles; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c file.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c util.c util.c: In function 'data_to_pixels': util.c:232:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "requested size: %ld bytes\n", new_x_size*new_y_size*sizeof(float) ); ^ util.c:234:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] new_x_size, new_y_size, sizeof(float) ); ^ util.c:234:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] util.c:234:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] util.c: In function 'cache_scalar_coord_info': util.c:534:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] printf( "Constructing timestep_2_fdb array for var %s, which has %ld timesteps\n", v->name, n_ts ); ^ util.c:539:7: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] n_ts ); ^ util.c:551:6: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "%ld timesteps of var %s are in file %s\n", n_ts_this_file, v->name, tfile->filename ); ^ util.c:558:6: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] v->name, n_ts, i_cursor ); ^ util.c:558:6: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] util.c: In function 'virt_to_actual_place': util.c:912:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] fprintf( stderr, "[%1d]: %ld\n", i, *(virt_pl+i) ); ^ util.c: In function 'handle_dim_mapping_2d': util.c:1122:4: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "%ld ", map_info->coord_var_size[i] ); ^ util.c:1171:4: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "%ld", v->size[i] ); ^ util.c:1179:4: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "%ld", map_info->coord_var_size[i] ); ^ util.c:1272:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] map_info->coord_var_name, totsize*sizeof(float) ); ^ util.c: In function 'fill_dim_structs': util.c:1325:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] if( debug == 1 ) printf( "fill_dim_structs: dim %d has name %s and length %ld\n", i, dim_name, v->size[i] ); ^ util.c:1339:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] fprintf( stderr, "adding scannable dim to var %s: dimname: %s dimsize: %ld\n", v->name, dim_name, d->size ); ^ util.c:1347:6: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] v->name, fi_dim_id_to_name( fileid, v->name, i), *(v->size+i) ); ^ util.c: In function 'util_mode': util.c:1400:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable] double sum; ^ util.c: In function 'expand_data': util.c:1705:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "nxb=%ld\n", nxb ); ^ util.c: In function 'get_group_list': util.c:2329:3: warning: implicit declaration of function 'unpack_groupname' [-Wimplicit-function-declaration] ierr = unpack_groupname( cursor->name, -1, group_name ); /* -1 means get full group name */ ^ util.c:2324:16: warning: variable 'n_so_far' set but not used [-Wunused-but-set-variable] int i, ierr, n_so_far, foundit; ^ util.c:2324:10: warning: variable 'ierr' set but not used [-Wunused-but-set-variable] int i, ierr, n_so_far, foundit; ^ util.c:2324:7: warning: unused variable 'i' [-Wunused-variable] int i, ierr, n_so_far, foundit; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c do_buttons.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c file_netcdf.c file_netcdf.c: In function 'netcdf_fi_writable': file_netcdf.c:82:16: warning: variable 'dummyerr' set but not used [-Wunused-but-set-variable] int fd, ierr, dummyerr; ^ file_netcdf.c: In function 'netcdf_fi_list_vars_inner': file_netcdf.c:220:8: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "%ld ", size[kk] ); ^ file_netcdf.c:165:24: warning: unused variable 'n_groups' [-Wunused-variable] int n_gatts, rec_dim, n_groups; ^ file_netcdf.c: In function 'netcdf_fi_var_size': file_netcdf.c:428:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] if( debug==1 ) printf( "dim=%d size=%ld\n", i, dim_size ); ^ file_netcdf.c: In function 'netcdf_fi_get_data': file_netcdf.c:572:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] if( debug==1 ) printf( "netcdf_fi_get_data: ndims=%ld\n", n_dims ); ^ file_netcdf.c:575:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] if( debug==1 ) printf( "start[%d]=%ld count[%d]=%ld\n", i, start_pos[i], i, count[i] ); ^ file_netcdf.c:575:3: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] file_netcdf.c:584:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] fprintf( stderr, "[%d]: %ld %ld\n", i, *(start_pos+i), *(count+i) ); ^ file_netcdf.c:584:4: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] file_netcdf.c:594:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] i, *(start_pos+i), *(count+i) ); ^ file_netcdf.c:594:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] file_netcdf.c: In function 'varname_no_groups': file_netcdf.c:679:7: warning: unused variable 'ts' [-Wunused-variable] char ts[MAX_NC_NAME]; ^ file_netcdf.c:678:13: warning: unused variable 'i1' [-Wunused-variable] int i, i0, i1, idx_slash[MAX_NC_NAME], nslash; ^ file_netcdf.c:678:9: warning: unused variable 'i0' [-Wunused-variable] int i, i0, i1, idx_slash[MAX_NC_NAME], nslash; ^ file_netcdf.c: In function 'nc_inq_varid_grp': file_netcdf.c:735:4: warning: implicit declaration of function 'unpack_groupname' [-Wimplicit-function-declaration] ierr = unpack_groupname( varname, ig, groupname ); /* if ig==0, returns first groupname, etc */ ^ file_netcdf.c: In function 'netcdf_dim_value': file_netcdf.c:1113:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] if( debug ) printf( "netcdf_dim_value: entering with dim=%s place=%ld\n", dim_name, place ); ^ file_netcdf.c: In function 'netcdf_get_att_util': file_netcdf.c:1440:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] var_name, len, expected_len ); ^ file_netcdf.c: In function 'safe_ncdimid': file_netcdf.c:1656:15: warning: unused variable 'rec_dim' [-Wunused-variable] int n_gatts, rec_dim, debug; ^ file_netcdf.c:1656:6: warning: unused variable 'n_gatts' [-Wunused-variable] int n_gatts, rec_dim, debug; ^ file_netcdf.c:1654:6: warning: unused variable 'n_vars' [-Wunused-variable] int n_vars, err, i, n_dims, *dimids, include_parents; ^ file_netcdf.c: In function 'ncview_groupname': file_netcdf.c:1976:6: warning: variable 'ierr' set but not used [-Wunused-but-set-variable] int ierr; ^ file_netcdf.c: In function 'ncview_varname': file_netcdf.c:1990:9: warning: unused variable 'tlen' [-Wunused-variable] size_t tlen; ^ file_netcdf.c:1989:6: warning: variable 'ierr' set but not used [-Wunused-but-set-variable] int ierr; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c view.c view.c: In function 'set_scan_variable': view.c:118:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] fprintf( stderr, "dim=%ld size=%ld\n", i, *(var->size + i) ); ^ view.c: In function 'set_scan_view': view.c:502:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "size: %ld attempted place: %ld\n", size, scan_place+1 ); ^ view.c:502:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] view.c:510:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] snprintf( view_place, 1023, "frame %1ld/%1ld ", scan_place+1, size ); ^ view.c:510:2: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] view.c:510:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] view.c:510:2: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] view.c: In function 'view_draw': view.c:645:7: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] x_size, y_size ); ^ view.c:645:7: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] view.c:649:7: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] frameno ); ^ view.c: In function 'view_check_new_data': view.c:832:4: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "reallocating framestore to new nt=%ld\n", framestore.nt ); ^ view.c:868:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] sizeof(float)*n_other ); ^ view.c:731:20: warning: variable 'ierr' set but not used [-Wunused-but-set-variable] int i, has_grown, ierr, t_ncid, timelike_index; ^ view.c: In function 'fill_view_data': view.c:1117:4: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "%1ld", 1 + (*(v->var_place+i)) ); ^ view.c:1123:4: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "%1ld", *(count+i) ); ^ view.c: In function 'alloc_view_storage': view.c:1466:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "requested size: %ldx%ld\n", x_size, y_size ); ^ view.c:1466:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] view.c:1484:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] scaled_y_size ); ^ view.c:1484:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] view.c: In function 'init_saveframes': view.c:1649:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, " n_scan_entries: %ld\n", n_scan_entries ); ^ view.c:1650:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, " n_extra_frames: %ld\n", n_extra_frames ); ^ view.c:1653:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] *(view->variable->size + view->y_axis_id) ); ^ view.c:1654:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, " total storage size:%ld\n", storage_size ); ^ view.c: In function 'view_report_position': view.c:2204:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] data_x, data_y, val, xdim_str, ydim_str ); ^ view.c:2204:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] view.c:2204:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] view.c:2204:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] view.c: In function 'view_change_dat': view.c:2484:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] *((float *)view->data + x + (x_size)*y), new_val ); ^ view.c:2484:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] view.c: In function 'plot_XY': view.c:2634:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] view->plot_XY_nlines-1, i, *(start+i) ); ^ view.c: In function 'plot_XY_sc': view.c:2722:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] i, *(start+i), *(count+i) ); ^ view.c:2722:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] view.c:2728:4: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "%1ld", 1 + (*(start+i)) ); ^ view.c:2734:4: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' [-Wformat=] printf( "%1ld", *(count+i) ); ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c do_print.c do_print.c: In function 'print_other_info': do_print.c:244:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] top_of_image+printopts.font_size ); ^ do_print.c:244:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] do_print.c:259:4: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] center_x, bot_of_image-(long)(1.5*(float)printopts.font_size) ); ^ do_print.c:273:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] center_y ); ^ do_print.c:284:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] bot_of_image - 4*printopts.font_size ); ^ do_print.c:356:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] *(actual_place + view->scan_axis_id)+1 ); ^ do_print.c:356:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] do_print.c:372:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] bot_of_image ); ^ do_print.c: In function 'do_outline': do_print.c:431:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "0 %ld lineto\n", -y ); ^ do_print.c:432:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "%ld %ld lineto\n", x, -y ); ^ do_print.c:432:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] do_print.c:433:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "%ld 0 lineto\n", x ); ^ do_print.c: In function 'print_header': do_print.c:442:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "/picstr %ld string def\n", x*3 ); ^ do_print.c:447:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] (long)(printopts.page_x_margin*printopts.ppi), top_of_image ); ^ do_print.c:455:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "0 %ld lineto\n", -y ); ^ do_print.c:456:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "%ld %ld lineto\n", x, -y ); ^ do_print.c:456:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] do_print.c:457:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "%ld 0 lineto\n", x ); ^ do_print.c:459:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "%ld %ld lineto\n", x, -y ); ^ do_print.c:459:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] do_print.c:460:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "0 %ld moveto\n", -y ); ^ do_print.c:461:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "%ld 0 lineto\n", x ); ^ do_print.c:466:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( f, "%ld %ld 8\n", x, y ); ^ do_print.c:466:3: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] do_print.c: In function 'print_other_info': do_print.c:390:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system( tstr ); ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c epic_time.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o interface.o `test -f 'interface/interface.c' || echo './'`interface/interface.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o x_interface.o `test -f 'interface/x_interface.c' || echo './'`interface/x_interface.c interface/x_interface.c: In function 'x_init_widgets_varsel_menu_inner': interface/x_interface.c:1293:4: warning: implicit declaration of function 'unpack_groupname' [-Wimplicit-function-declaration] unpack_groupname( cursor->name, -2, widget_name ); ^ interface/x_interface.c: In function 'x_set_2d_size': interface/x_interface.c:1943:54: warning: variable 'sb_width' set but not used [-Wunused-but-set-variable] size_t new_width, new_height, vp_width, vp_height, sb_width; ^ interface/x_interface.c: In function 'dump_to_png': interface/x_interface.c:3652:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] snprintf( filename, 2047, "frame.%05ld.png", frameno ); ^ interface/x_interface.c:3652:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o dataedit.o `test -f 'interface/dataedit.c' || echo './'`interface/dataedit.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o display_info.o `test -f 'interface/display_info.c' || echo './'`interface/display_info.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o plot_xy.o `test -f 'interface/plot_xy.c' || echo './'`interface/plot_xy.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o utils.o `test -f 'interface/utils.c' || echo './'`interface/utils.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o range.o `test -f 'interface/range.c' || echo './'`interface/range.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o printer_options.o `test -f 'interface/printer_options.c' || echo './'`interface/printer_options.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c overlay.c overlay.c: In function 'overlay_find_closest_pt_inner': overlay.c:616:4: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat=] fprintf( stderr, "Error, alg fails, cursor off array; cursor=(%ld,%ld) nx=%ld ny=%ld\n", curx, cury, nx, ny); ^ overlay.c:616:4: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' [-Wformat=] gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o filesel.o `test -f 'interface/filesel.c' || echo './'`interface/filesel.c interface/filesel.c: In function 'fs_double_click': interface/filesel.c:230:8: warning: variable 'ierr' set but not used [-Wunused-but-set-variable] int ierr; ^ interface/filesel.c: In function 'file_select': interface/filesel.c:276:15: warning: variable 'ierr' set but not used [-Wunused-but-set-variable] int retval, ierr; ^ interface/filesel.c: In function 'fs_cwd': interface/filesel.c:383:8: warning: variable 's' set but not used [-Wunused-but-set-variable] char *s; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o set_options.o `test -f 'interface/set_options.c' || echo './'`interface/set_options.c interface/set_options.c: In function 'overlays_filename_callback': interface/set_options.c:606:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] strlen(filename), OVERLAY_FILENAME_LEN ); ^ interface/set_options.c: In function 'draw_cbar_ximage': interface/set_options.c:946:11: warning: variable 'screen' set but not used [-Wunused-but-set-variable] Screen *screen; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o plot_range.o `test -f 'interface/plot_range.c' || echo './'`interface/plot_range.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c udu.c udu.c: In function 'udu_calc_tgran': udu.c:116:11: warning: variable 'rettype' set but not used [-Wunused-but-set-variable] nc_type rettype; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c SciPlot.c SciPlot.c: In function 'ItemPSDrawAll': SciPlot.c:1094:5: warning: variable 'previousfont' set but not used [-Wunused-but-set-variable] int previousfont,previousline,currentline; ^ SciPlot.c: In function 'DrawCartesianAxes': SciPlot.c:2683:32: warning: variable 'height' set but not used [-Wunused-but-set-variable] double x,y,x1,y1,x2,y2,tic,val,height,majorval; ^ SciPlot.c: In function 'DrawAll': SciPlot.c:1411:20: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized] item->kind.line.y1=(real)y1; ^ SciPlot.c:2887:11: note: 'y1' was declared here real x1,y1,x2,y2; ^ SciPlot.c:1410:20: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] item->kind.line.x1=(real)x1; ^ SciPlot.c:2887:8: note: 'x1' was declared here real x1,y1,x2,y2; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o RadioWidget.o `test -f 'interface/RadioWidget.c' || echo './'`interface/RadioWidget.c interface/RadioWidget.c: In function 'RadioWidget_init': interface/RadioWidget.c:52:24: warning: variable 'label_widget' set but not used [-Wunused-but-set-variable] Widget hbox_widget, label_widget; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o cbar.o `test -f 'interface/cbar.c' || echo './'`interface/cbar.c interface/cbar.c: In function 'cbar_make': interface/cbar.c:183:7: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] val = start + step*i; ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c utCalendar2_cal.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c calcalcs.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o colormap_funcs.o `test -f 'interface/colormap_funcs.c' || echo './'`interface/colormap_funcs.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o make_tc_data.o `test -f 'interface/make_tc_data.c' || echo './'`interface/make_tc_data.c gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c stringlist.c stringlist.c: In function 'stringlist_line_to_sl': stringlist.c:696:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] STRINGLIST_MAX_LEN, strlen(t_string), lineno ); ^ stringlist.c:776:5: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat=] STRINGLIST_MAX_LEN, strlen(t_aux_val_ue), lineno ); ^ stringlist.c: In function 'stringlist_unescape_string': stringlist.c:1153:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "Error in stringlist routine stringlist_unescape_string: could not allocate new string of length %ld\n", (strlen(ss)+1) ); ^ stringlist.c: In function 'stringlist_escape_string': stringlist.c:1191:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' [-Wformat=] fprintf( stderr, "Error in stringlist routine stringlist_escape_string: could not allocate new string of length %ld\n", 2 * (strlen(ss)+1) ); ^ gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c handle_rc_file.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -L. -lpng -L. -ludunits2 -lexpat -L. -ludunits2 -lnetcdf -lSM -lICE -L/usr/lib -R/usr/lib -lX11 -L/usr/lib -R/usr/lib -Wl,-z,relro -o ncview ncview.o file.o util.o do_buttons.o file_netcdf.o view.o do_print.o epic_time.o interface.o x_interface.o dataedit.o display_info.o plot_xy.o utils.o range.o printer_options.o overlay.o filesel.o set_options.o plot_range.o udu.o SciPlot.o RadioWidget.o cbar.o utCalendar2_cal.o calcalcs.o colormap_funcs.o make_tc_data.o stringlist.o handle_rc_file.o -lpng -L. -ludunits2 -lexpat -L. -ludunits2 -lm -lnetcdf -lXaw -lXt -L/usr/lib -R/usr/lib -lSM -lICE -L/usr/lib -R/usr/lib -lX11 -L/usr/lib -R/usr/lib -lpng gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c geteuid.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -L. -lpng -L. -ludunits2 -lexpat -L. -ludunits2 -lnetcdf -lSM -lICE -L/usr/lib -R/usr/lib -lX11 -L/usr/lib -R/usr/lib -Wl,-z,relro -o geteuid geteuid.o make[2]: Leaving directory `/builddir/build/BUILD/ncview-2.1.2/src' make[2]: Entering directory `/builddir/build/BUILD/ncview-2.1.2' make[2]: Leaving directory `/builddir/build/BUILD/ncview-2.1.2' make[1]: Leaving directory `/builddir/build/BUILD/ncview-2.1.2' + sed s=NCVIEW_LIB_DIR=/usr/share/ncview= + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Rgu7ON + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm ++ dirname /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm + cd ncview-2.1.2 + rm -rf /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm + mkdir -p /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/X11/app-defaults + cp -p Ncview-appdefaults /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/X11/app-defaults/Ncview + /usr/bin/make prefix=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr exec_prefix=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr bindir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/bin sbindir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/sbin sysconfdir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/etc datadir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share includedir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/include libdir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/lib libexecdir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/libexec localstatedir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/var sharedstatedir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/var/lib mandir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/man infodir=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/info install NCVIEW_LIB_DIR=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/ncview BINDIR=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/bin MANDIR=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/man/man1 Making install in src make[1]: Entering directory `/builddir/build/BUILD/ncview-2.1.2/src' make[2]: Entering directory `/builddir/build/BUILD/ncview-2.1.2/src' test -z "/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/bin" /usr/bin/install -c 'ncview' '/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/bin/ncview' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/ncview-2.1.2/src' make[1]: Leaving directory `/builddir/build/BUILD/ncview-2.1.2/src' make[1]: Entering directory `/builddir/build/BUILD/ncview-2.1.2' make[2]: Entering directory `/builddir/build/BUILD/ncview-2.1.2' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/ncview-2.1.2' make[1]: Leaving directory `/builddir/build/BUILD/ncview-2.1.2' + mkdir /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/ncview/ + install -m0644 -p 3gauss.ncmap 3saw.ncmap bw.ncmap default.ncmap detail.ncmap hotres.ncmap /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/ncview/ + chmod 644 /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/X11/app-defaults/Ncview + mkdir -p /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/man/man1/ + install -m0644 -p data/ncview.1 /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ncview-2.1.2 extracting debug info from /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/bin/ncview dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 8817 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ncview-2.1.2-2.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fgrIo5 + umask 022 + cd /builddir/build/BUILD + cd ncview-2.1.2 + DOCDIR=/builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/doc/ncview-2.1.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/doc/ncview-2.1.2 + cp -pr README /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/doc/ncview-2.1.2 + cp -pr COPYING /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm/usr/share/doc/ncview-2.1.2 + exit 0 Provides: ncview = 2.1.2-2.el7 ncview(armv7hl-32) = 2.1.2-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libICE.so.6 libSM.so.6 libX11.so.6 libXaw.so.7 libXt.so.6 libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libexpat.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libm.so.6(GLIBC_2.4) libnetcdf.so.7 libpng15.so.15 libpng15.so.15(PNG15_0) libudunits2.so.0 rtld(GNU_HASH) Processing files: ncview-debuginfo-2.1.2-2.el7.armv7hl Provides: ncview-debuginfo = 2.1.2-2.el7 ncview-debuginfo(armv7hl-32) = 2.1.2-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm Wrote: /builddir/build/RPMS/ncview-2.1.2-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/ncview-debuginfo-2.1.2-2.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EjJ70R + umask 022 + cd /builddir/build/BUILD + cd ncview-2.1.2 + rm -rf /builddir/build/BUILDROOT/ncview-2.1.2-2.el7.arm + exit 0 Child return code was: 0