D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ncview-2.1.8-10.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EmJ4Os + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ncview-2.1.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ncview-2.1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ncview-2.1.8 + rm -rf /home/pterjan/rpmbuild/BUILD/ncview-2.1.8-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ncview-2.1.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ncview-2.1.2-fix-ldflag-linking.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gxUQVc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ncview-2.1.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi -Im4macros autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:34: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.in:34: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.in:34: the top level configure.in:35: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:35: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:35: the top level configure.in:38: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:38: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:38: the top level configure.in:39: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:39: the top level autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:39: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:39: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:33: installing './compile' src/Makefile.am:21: warning: source file 'interface/interface.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. src/Makefile.am:21: warning: source file 'interface/x_interface.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/dataedit.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/display_info.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/plot_xy.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/utils.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/range.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/printer_options.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/filesel.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/set_options.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/plot_range.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/RadioWidget.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/cbar.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/colormap_funcs.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled src/Makefile.am:21: warning: source file 'interface/make_tc_data.c' is in a subdirectory, src/Makefile.am:21: but option 'subdir-objects' is disabled automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:37: warning: variable 'AM_LIBADD' is defined but no program or src/Makefile.am:37: library has 'AM' as canonical name (possible typo) + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --host= --with-udunits2_incdir=/usr/include/udunits2 checking for nc-config... yes Netcdf library version: netCDF 4.9.0 Netcdf library has version 4 interface present: yes Netcdf library was compiled with C compiler: gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for library containing strerror... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for X... libraries , headers 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 X11/Intrinsic.h... yes checking for X11/Xaw/Simple.h... yes X Athena widget (Xaw) libraries: -lXaw -lXt checking for X11 library... checking for XPutImage in -lX11... yes X11 libraries: -lX11 checking for /usr/include/udunits2/converter.h... yes Using user-specified udunits2 include dir=/usr/include/udunits2 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 for png.h... yes checking for png_write_png in -lpng... yes ac_computer_gnu: yes checking that generated files are newer than configure... done 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 = -Wl,-rpath,/usr/lib64 UDUNITS: UDUNITS2_LIBS = -ludunits2 UDUNITS2_CPPFLAGS = -I/usr/include/udunits2 UDUNITS2_LDFLAGS = -L. -ludunits2 -lexpat -L. -ludunits2 NETCDF: VERSION = netCDF 4.9.0 COMPILER USED = gcc NETCDF_CPPFLAGS = -I/usr/include NETCDF_LDFLAGS = -L/usr/lib64 -lnetcdf NETCDF_V4 = yes X: X_CFLAGS = X11_LIBS = -lX11 XAW_LIBS = -lXaw -lXt X_PRE_LIBS = -lSM -lICE X_LIBS = X_EXTRA_LIBS = PNG: PNG_LIBS = -lpng PNG_CPPFLAGS = -I. PNG_LDFLAGS = -L. -lpng + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o epic_time.o epic_time.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o do_buttons.o do_buttons.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o file.o file.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o do_print.o do_print.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o interface.o `test -f 'interface/interface.c' || echo './'`interface/interface.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dataedit.o `test -f 'interface/dataedit.c' || echo './'`interface/dataedit.c interface/dataedit.c: In function 'dataedit_callback': interface/dataedit.c:214:46: error: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 214 | XawListChange( dataedit_list_widget, list_text, 0, 0, True ); | ^~~~~~~~~ | | | char ** In file included from interface/../ncview.includes.h:59, from interface/dataedit.c:25: /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ make[2]: *** [Makefile:535: dataedit.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o display_info.o `test -f 'interface/display_info.c' || echo './'`interface/display_info.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ncview.o ncview.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o plot_xy.o `test -f 'interface/plot_xy.c' || echo './'`interface/plot_xy.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o file_netcdf.o file_netcdf.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o x_interface.o `test -f 'interface/x_interface.c' || echo './'`interface/x_interface.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o view.o view.c view.c: In function 'draw_file_info': view.c:2002:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=] 2002 | snprintf( temp_label, 255, "displayed range: %s", range_label ); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from ncview.includes.h:30, from view.c:36: In function 'snprintf', inlined from 'draw_file_info' at view.c:2002:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 18 and 273 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ view.c: In function 'draw_file_info': view.c:2021:57: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 2021 | snprintf( temp_label, 255, "%s (%s)", limit_string(var_long_name), range_label ); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'draw_file_info' at view.c:2021:4: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ view.c: In function 'draw_file_info': view.c:2011:57: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] 2011 | snprintf( temp_label, 255, "%s (%s)", limit_string(view->variable->name), | ^~ 2012 | range_label ); | ~~~~~~~~~~~ In function 'snprintf', inlined from 'draw_file_info' at view.c:2011:4: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ view.c: In function 'view_report_position': view.c:2229:77: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size between 4 and 54 [-Wformat-truncation=] 2229 | snprintf( current_value_label, 79, "Current: (i=%1ld, j=%1ld) %g (x=%s, y=%s)\n", | ^~ 2230 | data_x, data_y, val, xdim_str, ydim_str ); | ~~~~~~~~ In function 'snprintf', inlined from 'view_report_position' at view.c:2229:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 32 and 240 bytes into a destination of size 79 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ view.c: In function 'view_report_position_vals': view.c:2326:64: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 68 [-Wformat-truncation=] 2326 | snprintf( current_value_label, 79, "Current: x=%s, y=%g", | ^~ 2327 | temp, yval ); | ~~~~ view.c:2326:52: note: assuming directive output of 12 bytes 2326 | snprintf( current_value_label, 79, "Current: x=%s, y=%g", | ^~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'view_report_position_vals' at view.c:2326:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 17 and 108 bytes into a destination of size 79 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DNCVIEW_LIB_DIR=\"/usr/share/ncview\" -I. -I/usr/include/udunits2 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o util.o util.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ncview-2.1.8/src' make[1]: *** [Makefile:386: all-recursive] Error 1 make: *** [Makefile:327: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gxUQVc (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gxUQVc (%build) I: [iurt_root_command] ERROR: chroot