D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/weightwatcher-1.12-6.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zP0eFv + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf weightwatcher-1.12 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/weightwatcher-1.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd weightwatcher-1.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/weightwatcher-1.12-sprintf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.O2FqQx + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd weightwatcher-1.12 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./autoconf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./autoconf/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./autoconf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./autoconf/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 Modifying autoconf/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /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 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 *********** Configuring: weightwatcher 1.12 (2020-06-05) ********** checking if compilation flags should be set automatically... checking whether we should use the INTEL compiler... no checking for style of include used by make... GNU checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking for library containing strerror... none required checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking for sin in -lm... yes checking how to run the C preprocessor... x86_64-mageia-linux-gnu-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 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 for stdlib.h... (cached) yes checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for unsigned long long... yes checking for long long... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking return type of signal handlers... (cached) void checking for strftime... yes checking for atexit... yes checking for getenv... yes checking for memmove... yes checking for memset... yes checking for munmap... yes checking for pow... yes checking for sqrt... yes checking for strchr... yes checking for strcspn... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for profiler mode... no checking best linking option... no *************************************************************** Compile cmdline: x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables Link cmdline: x86_64-mageia-linux-gnu-gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lm Default XSLT URL: *************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating src/fits/Makefile config.status: creating src/wcs/Makefile config.status: creating weightwatcher.spec config.status: creating man/ww.1 config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in man make[2]: Nothing to be done for 'all'. Making all in src Making all in fits make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitscleanup.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitsconv.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitsmisc.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitscat.c fitscat.c: In function 'addhistoryto_cat': fitscat.c:138:21: warning: '%.65s' directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] 138 | sprintf(str2, "%s %.65s", str2, str); | ^~~~~ In file included from /usr/include/stdio.h:867, from fitscat.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 148 bytes into a destination of size 82 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitsread.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitscheck.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitskey.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitsutil.c fitsutil.c: In function 'fitswrite': fitsutil.c:547:28: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] 547 | sprintf(str, "'%s'", str2); | ^ In file included from /usr/include/stdio.h:867, from fitsutil.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 83 bytes into a destination of size 81 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitshead.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitstab.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitsbody.c fitsbody.c: In function 'alloc_body': fitsbody.c:113:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 113 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~ fitsbody.c:113:28: note: directive argument in the range [-2147483648, 2147483647] 113 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fitsbody.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsbody.c: In function 'alloc_ibody': fitsbody.c:213:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 213 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~ fitsbody.c:213:28: note: directive argument in the range [-2147483648, 2147483647] 213 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fitsbody.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitswrite.c fitswrite.c: In function 'print_obj': fitswrite.c:438:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'SLONGLONG' [-Wformat=] 438 | fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr); | ~~~^ ~~~~~~~~~~~~~~~~~ | | | | | SLONGLONG | long long int fitswrite.c: In function 'voprint_obj': fitswrite.c:524:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'SLONGLONG' [-Wformat=] 524 | fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr); | ~~~^ ~~~~~~~~~~~~~~~~~ | | | | | SLONGLONG | long long int make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' rm -f libfits.a ar cru libfits.a fitsbody.o fitscat.o fitscheck.o fitscleanup.o fitsconv.o fitshead.o fitskey.o fitsmisc.o fitsread.o fitstab.o fitsutil.o fitswrite.o x86_64-mageia-linux-gnu-ranlib libfits.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits' Making all in wcs make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c wcstrig.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sph.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c tnx.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c lin.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c cel.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c poly.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c wcs.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c proj.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' rm -f libwcs_c.a ar cru libwcs_c.a cel.o lin.o poly.o proj.o sph.o tnx.o wcs.o wcstrig.o x86_64-mageia-linux-gnu-ranlib libwcs_c.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c main.c main.c: In function 'main': main.c:81:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 81 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~ main.c:81:29: note: directive argument in the range [-2147483647, 2147483647] 81 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from main.c:35: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:145:33: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 145 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ main.c:145:27: note: directive argument in the range [-2147483647, 2147483647] 145 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from main.c:35: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c readimage.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c makeit.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c field.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fitswcs.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c vector.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c prefs.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c xml.c xml.c: In function 'write_xml_meta': xml.c:205:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 205 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ xml.c:205:29: note: directive argument in the range [-2147483647, 2147483647] 205 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from xml.c:35: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o ww field.o main.o makeit.o prefs.o readimage.o vector.o fitswcs.o xml.o ../src/fits/libfits.a ../src/wcs/libwcs_c.a -lm /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: multiple definition of `prefs'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: multiple definition of `gstr'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: multiple definition of `prefs'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: multiple definition of `gstr'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: multiple definition of `prefs'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: multiple definition of `gstr'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: first defined here /usr/bin/ld: readimage.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: readimage.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: multiple definition of `gstr'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: first defined here /usr/bin/ld: vector.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: multiple definition of `gstr'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: first defined here /usr/bin/ld: vector.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: multiple definition of `prefs'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: first defined here /usr/bin/ld: vector.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: fitswcs.o:(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: multiple definition of `prefs'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/prefs.h:89: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: multiple definition of `gstr'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/globals.h:33: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitscat.o):(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitscleanup.o):(.bss+0x18): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitshead.o):(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsmisc.o):(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsread.o):(.bss+0xb40): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitstab.o):(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsutil.o):(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsbody.o):(.bss+0x20): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitscheck.o):(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitskey.o):(.bss+0x0): multiple definition of `bswapflag'; field.o:/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src/fits/fitscat.h:336: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:306: ww] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/weightwatcher-1.12/src' make[2]: *** [Makefile:344: all-recursive] Error 1 make[1]: *** [Makefile:344: all-recursive] Error 1 make: *** [Makefile:260: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.O2FqQx (%build) RPM build errors: %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.O2FqQx (%build) I: [iurt_root_command] ERROR: chroot