D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/missfits-2.8.0-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.fyiUw5 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf missfits-2.8.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/missfits-2.8.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd missfits-2.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.v3nN25 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd missfits-2.8.0 + '[' 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: missfits 2.8.0 (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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) 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 whether struct tm is in sys/time.h or time.h... time.h checking for uid_t in sys/types.h... yes 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 return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for atexit... yes checking for getenv... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for strstr... 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 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 missfits.spec config.status: creating man/Makefile config.status: creating man/missfits.1 config.status: creating src/Makefile config.status: creating src/fits/Makefile config.status: creating src/wcs/Makefile 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/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/fits' Making all in wcs make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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 custom.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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 process.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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:89:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 89 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~ main.c:89:29: note: directive argument in the range [-2147483647, 2147483647] 89 | 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:202:33: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 202 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ main.c:202:27: note: directive argument in the range [-2147483647, 2147483647] 202 | 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/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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 In file included from /usr/include/string.h:495, from prefs.c:38: In function 'strncpy', inlined from 'useprefs' at prefs.c:485:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prefs.c: In function 'useprefs': prefs.c:485:5: note: length computed here 485 | strncpy(prefs.new_key[i], tstr, strlen(tstr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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 makeit.c: In function 'makeit': makeit.c:206:38: warning: ' ' directive writing 2 bytes into a region of size between 0 and 10 [-Wformat-overflow=] 206 | sprintf(keyword, "NAXIS%d ", tab->naxis); | ^~ In file included from /usr/include/stdio.h:867, from makeit.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 19 bytes into a destination of size 16 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from makeit.c:36: In function 'strncpy', inlined from 'makeit' at makeit.c:258:19: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c: In function 'makeit': makeit.c:258:19: note: length computed here 258 | strncpy(tab->headbuf+n*80, prefs.oldslice_key[k],strlen(prefs.oldslice_key[k])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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 file.c file.c: In function 'save_fitsfiles': file.c:356:32: warning: '%s' directive writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 356 | sprintf(filename, "%s%s", tmpname, str); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 1023 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:367:30: warning: '%s' directive writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 367 | sprintf(filename, "%s%s", tmpname, str); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 1023 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:508:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 508 | sprintf(str3, "%s/%s%s", dirname, tailname, str); | ^ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:512:27: warning: '.back' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 512 | sprintf(str, "%s.back", str3); | ^~~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 517 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:494:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 494 | sprintf(str3, "%s/%s%s", dirname, tailname, str); | ^ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:498:29: warning: '.back' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 498 | sprintf(str, "%s.back", str3); | ^~~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 517 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:525:27: warning: '.back' directive writing 5 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 525 | sprintf(str, "%s.back", str2); | ^~~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 517 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:445:31: warning: '%s' directive writing up to 511 bytes into a region of size between 256 and 511 [-Wformat-overflow=] 445 | sprintf(str3, "%s/%s%s", tab->cat->filename, tailname, str); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 768) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:466:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 466 | sprintf(str3, "%s/%s%s", dirname, tailname, str); | ^ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:458:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 458 | sprintf(str3, "%s/%s%s", dirname, tailname, str); | ^ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:564:33: warning: '%s' directive writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 564 | sprintf(str3, "%s/%s%s%s%s" , dirname, tailname, | ^~ 565 | str, prefs.new_suffix, FITS_SUFFIX); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 1029) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:551:33: warning: '%s' directive writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 551 | sprintf(str3, "%s/%s%s%s%s" , dirname, tailname, | ^~ 552 | str, prefs.new_suffix, FITS_SUFFIX); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 1029) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:570:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 570 | sprintf(str, "%s/%s%s", dirname, tailname, prefs.new_suffix); | ^ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c: In function 'load_fitsfiles': file.c:185:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 185 | sprintf(gstr, "%s/%s%s", name, prefix, str); | ^ In file included from /usr/include/stdio.h:867, from file.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 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/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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 'update_xml': xml.c:291:32: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 291 | sprintf(x->filename,"%s%s%s",tmpname,prefs.new_suffix,FITS_SUFFIX); | ^~ ~~~~~~~ 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 6 and 1028 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c:260:34: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 260 | sprintf(x->filename,"%s%s%s",tmpname,prefs.new_suffix,FITS_SUFFIX); | ^~ ~~~~~~~ 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 6 and 1028 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c:218:32: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 218 | sprintf(x->filename,"%s%s%s",name,prefs.new_suffix,FITS_SUFFIX); | ^~ ~~~~~~~~~~~~~~~~ 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 6 or more bytes (assuming 517) into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c:163:30: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 163 | sprintf(x->filename,"%s%s%s",tmpname,prefs.new_suffix,FITS_SUFFIX); | ^~ ~~~~~~~ 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 6 and 1028 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c:191:32: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 191 | sprintf(x->filename,"%s%s%s",tmpname,prefs.new_suffix,FITS_SUFFIX); | ^~ ~~~~~~~ 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 6 and 1028 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c:235:32: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 235 | sprintf(x->filename,"%s%s%s",name,prefs.new_suffix,FITS_SUFFIX); | ^~ ~~~~~~~~~~~~~~~~ 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 6 or more bytes (assuming 517) into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c:142:32: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 142 | sprintf(x->filename,"%s%s%s",name,prefs.new_suffix,FITS_SUFFIX); | ^~ ~~~~~~~~~~~~~~~~ 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 6 or more bytes (assuming 517) into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xml.c: In function 'write_xml_meta': xml.c:435:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 435 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ xml.c:435:29: note: directive argument in the range [-2147483647, 2147483647] 435 | 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/missfits-2.8.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/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 missfits custom.o file.o fitswcs.o main.o makeit.o prefs.o process.o xml.o ../src/fits/libfits.a ../src/wcs/libwcs_c.a -lm /usr/bin/ld: file.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: multiple definition of `prefs'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: first defined here /usr/bin/ld: file.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: multiple definition of `gstr'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: first defined here /usr/bin/ld: file.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: fitswcs.o:(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: multiple definition of `prefs'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: multiple definition of `gstr'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: multiple definition of `prefs'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: multiple definition of `gstr'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: multiple definition of `prefs'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: multiple definition of `gstr'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: first defined here /usr/bin/ld: process.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: multiple definition of `prefs'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: first defined here /usr/bin/ld: process.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: process.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: multiple definition of `gstr'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: multiple definition of `prefs'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/prefs.h:87: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: multiple definition of `gstr'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/globals.h:33: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsbody.o):(.bss+0x20): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitscat.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitscheck.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitscleanup.o):(.bss+0x18): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitshead.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsmisc.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsread.o):(.bss+0xb40): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitstab.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitsutil.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitswrite.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ../src/fits/libfits.a(fitskey.o):(.bss+0x0): multiple definition of `bswapflag'; custom.o:/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src/fits/fitscat.h:336: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:309: missfits] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/missfits-2.8.0/src' make[2]: *** [Makefile:347: all-recursive] Error 1 make[1]: *** [Makefile:346: all-recursive] Error 1 make: *** [Makefile:262: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.v3nN25 (%build) RPM build errors: %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.v3nN25 (%build) I: [iurt_root_command] ERROR: chroot