D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/swarp-2.38.0-8.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.h5ZH6x + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf swarp-2.38.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/swarp-2.38.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd swarp-2.38.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.HynBOx + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd swarp-2.38.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:75: installing 'autoconf/compile' autoreconf: Leaving directory '.' + 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 --enable-threads 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 nested variables... yes *********** Configuring: swarp 2.38.0 (2020-06-05) ********** checking if compilation flags are set automatically... no checking whether we should use the INTEL compiler... no checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes 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 for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for malloc.h... yes checking for unistd.h... (cached) 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 for unsigned long long int... yes checking for long long int... yes checking for unsigned long long int... (cached) 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 uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for error_at_line... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking for strftime... yes checking for atexit... yes checking for getenv... yes checking for gethostname... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mmap... yes checking for strstr... yes checking for getrlimit... yes checking for cosd... no checking for sind... no checking for tand... no checking for acosd... no checking for asind... no checking for atand... no checking for atan2d... no checking for sincos... yes checking for isnan... 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 checking for multithreading... maximum of 1024 thread(s) checking for pthread.h... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking for the pthreads library -lpthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... x86_64-mageia-linux-gnu-gcc *************************************************************** Compile cmdline: x86_64-mageia-linux-gnu-gcc -D_REENTRANT -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 -lpthread -lm Default XSLT URL: *************************************************************** checking that generated files are newer than configure... done 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 swarp.spec config.status: creating man/swarp.1 config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /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/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitsconv.o fitsconv.c In file included from fitsconv.c:38: fitsconv.c: In function 'asc2bin_tab': fitsconv.c:81:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 81 | QMALLOC(buf, char, tabin->tabsize); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsconv.c:114:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 114 | QMALLOC(key->naxisn, int, 1); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsconv.c:120:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 120 | QMEMCPY(ptr, key->ptr, char, key->nbytes); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitsmisc.o fitsmisc.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitscat.o fitscat.c In file included from fitscat.c:42: fitscat.c: In function 'addhistoryto_cat': fitscat.c:127:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 127 | QREALLOC(tab->headbuf, char, (n+1)*FBSIZE); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c: In function 'inherit_cat': fitscat.c:224:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 224 | QCALLOC(tabout, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c:227:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 227 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, (size_t)tabin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitscat.c:230:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 230 | tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitscat.c:232:76: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 232 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitscat.c: In function 'init_cat': fitscat.c:281:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 281 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c:290:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 290 | QCALLOC(tab->headbuf, char, FBSIZE); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c: In function 'map_cat': fitscat.c:323:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 323 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 342 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c: In function 'new_cat': fitscat.c:380:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 380 | QCALLOC(cat, catstruct, ncat); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ 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/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitscheck.o fitscheck.c In file included from fitscheck.c:38: fitscheck.c: In function 'compute_bodysum': fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 225 | QCALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 244 | QMALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c: In function 'write_checksum': fitscheck.c:275:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitscleanup.o fitscleanup.c In file included from fitscleanup.c:39: fitscleanup.c: In function 'add_cleanupfilename': fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscleanup.c: In function 'remove_cleanupfilename': fitscleanup.c:136:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitshead.o fitshead.c In file included from fitshead.c:38: fitshead.c: In function 'get_head': fitshead.c:68:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 68 | QMALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 86 | QREALLOC(buf, char, FBSIZE*(i+1)); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function 'readbasic_head': fitshead.c:131:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 131 | QMALLOC(tab->naxisn, int, tab->naxis); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function 'readbintabparam_head': fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 236 | QCALLOC(key, keystruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 302 | QMALLOC(key->naxisn, int, key->naxis); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function 'addkeywordto_head': fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function 'removekeywordfrom_head': fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); | ^ fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitskey.o fitskey.c In file included from fitskey.c:38: fitskey.c: In function 'copy_key': fitskey.c:137:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 137 | QCALLOC(keyout, keystruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:141:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 141 | QMEMCPY(keyin->naxisn, keyout->naxisn, int, keyin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitskey.c: In function 'new_key': fitskey.c:196:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 196 | QCALLOC(key, keystruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function 'read_key': fitskey.c:251:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 251 | QMALLOC(buf, char, larray); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:257:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 257 | QMALLOC(ptr, char, size*narray); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function 'read_keys': fitskey.c:335:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 335 | QMALLOC(keys, keystruct *, nkeys); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:351:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 351 | QMALLOC(key->ptr, char, key->nbytes*nb); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:367:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 367 | QMALLOC(key->ptr, char, key->nbytes*nb); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:374:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 374 | QMALLOC(buf, char, larray); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function 'keys_list': fitskey.c:525:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 525 | QCALLOC(names, char *, tab->nkey); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 528 | QCALLOC(names[i], char, MAXCHARS); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function 'show_keys': fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 658 | QCALLOC(key_col, int, nkeys); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:672:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 672 | QMALLOC(keys, keystruct *, nkeys); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:786:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 786 | QMALLOC(buf, char, larray); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:789:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 789 | QMALLOC(rfield, char, maxnbytes); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitsread.o fitsread.c In file included from fitsread.c:38: fitsread.c: In function 'init_readobj': fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 137 | QMALLOC(key->ptr, char, key->nbytes); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsread.c:151:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitswrite.o fitswrite.c In file included from fitswrite.c:39: fitswrite.c: In function 'save_tab': fitswrite.c:115:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 115 | QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswrite.c:133:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 133 | QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswrite.c:192:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 192 | QMALLOC(buf, char, spoonful); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswrite.c: In function 'init_writeobj': fitswrite.c:295:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 295 | QMALLOC(*pbuf, char, tab->naxisn[0]); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitstab.o fitstab.c In file included from fitstab.c:38: fitstab.c: In function 'copy_tab': fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 207 | QCALLOC(tabout, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:212:79: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 212 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 214 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c: In function 'copy_tab_fromptr': fitstab.c:286:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 286 | QCALLOC(tabout, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:289:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 289 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:291:77: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 291 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:293:67: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 293 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c: In function 'new_tab': fitstab.c:444:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 444 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:448:39: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 448 | QCALLOC(tab->naxisn, int, tab->naxis); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:456:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 456 | QCALLOC(tab->headbuf, char, FBSIZE); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c: In function 'tabs_list': fitstab.c:706:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 706 | QCALLOC(names, char *, cat->ntab); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:708:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 708 | QCALLOC(names[i], char, MAXCHARS); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitsutil.o fitsutil.c fitsutil.c: In function 'fitswrite': fitsutil.c:558:28: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] 558 | 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/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitsbody.o fitsbody.c In file included from fitsbody.c:43: fitsbody.c: In function 'read_body': fitsbody.c:528:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 528 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsbody.c:578:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 578 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsbody.c: In function 'read_ibody': fitsbody.c:708:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 708 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsbody.c:758:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 758 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ 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/swarp-2.38.0/src/fits' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.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/swarp-2.38.0/src/fits' Making all in wcs make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sph.o sph.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o wcstrig.o wcstrig.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o lin.o lin.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o tnx.o tnx.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o cel.o cel.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o poly.o poly.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o wcs.o wcs.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o proj.o proj.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.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/swarp-2.38.0/src/wcs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o header.o header.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o data.o data.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o main.o main.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o misc.o misc.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o interpolate.o interpolate.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o back.o back.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o threads.o threads.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o field.o field.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o makeit.o makeit.c makeit.c: In function 'makeit': makeit.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", | ^~~~ makeit.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 makeit.c:38: /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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:274:34: warning: '%s' directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] 274 | sprintf(gstr, "Reading %s ...", inwfield[k]->filename); | ^~ In file included from /usr/include/stdio.h:867, from makeit.c:38: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 524 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:279:32: warning: '%s' directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] 279 | sprintf(gstr, "Reading %s", infield[k]->filename); | ^~ In file included from /usr/include/stdio.h:867, from makeit.c:38: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 520 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:283:35: warning: '%s' directive writing up to 511 bytes into a region of size 501 [-Wformat-overflow=] 283 | sprintf(gstr, "Resampling %s ...", infield[k]->filename); | ^~ In file included from /usr/include/stdio.h:867, from makeit.c:38: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 527 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:290:43: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 290 | sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:290:37: note: directive argument in the range [-2147483647, 2147483647] 290 | sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from makeit.c:38: /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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:355:33: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 355 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:355:27: note: directive argument in the range [-2147483647, 2147483647] 355 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from makeit.c:38: /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/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fitswcs.o fitswcs.c In file included from fitswcs.c:43: fitswcs.c: In function 'copy_wcs': fitswcs.c:68:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 68 | QMEMCPY(wcsin, wcs, wcsstruct, 1); | ^ fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitswcs.c:70:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 70 | QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); | ^ fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitswcs.c:81:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 81 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function 'create_wcs': fitswcs.c:119:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 119 | QCALLOC(wcs, wcsstruct, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:121:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 121 | QCALLOC(wcs->projp, double, naxis*100); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 142 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function 'init_wcs': fitswcs.c:182:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 182 | QCALLOC(wcs->lin, struct linprm, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:183:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 183 | QCALLOC(wcs->lin->cdelt, double, naxis); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:184:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 184 | QCALLOC(wcs->lin->crpix, double, naxis); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:185:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 185 | QCALLOC(wcs->lin->pc, double, naxis*naxis); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:190:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 190 | QCALLOC(wcs->cel, struct celprm, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:194:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 194 | QCALLOC(wcs->prj, struct prjprm, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function 'read_wcs': fitswcs.c:364:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 364 | QCALLOC(wcs, wcsstruct, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:373:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 373 | QCALLOC(wcs->projp, double, naxis*100); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:436:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 436 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function 'invert_wcs': fitswcs.c:815:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 815 | QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:816:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 816 | QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:817:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 817 | QMALLOC(latpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o resample.o resample.c resample.c: In function 'resample_field': resample.c:143:29: warning: '%s' directive writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 143 | sprintf(filename, "%s/%s%s", prefs.resampdir_name, filename2, | ^~ 144 | prefs.resamp_suffix); | ~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from resample.c:38: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1024) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resample.c:140:29: warning: '.' directive writing 1 byte into a region of size between 0 and 511 [-Wformat-overflow=] 140 | sprintf(filename, "%s/%s.%04d%s", prefs.resampdir_name, filename2, | ^ In file included from /usr/include/stdio.h:867, from resample.c:38: /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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resample.c:225:31: warning: '.weight' directive writing 7 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 225 | sprintf(filename, "%s/%s%s.weight%s", prefs.resampdir_name, filename2, | ^~~~~~~ In file included from /usr/include/stdio.h:867, from resample.c:38: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 520) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resample.c:221:29: warning: '.' directive writing 1 byte into a region of size between 0 and 511 [-Wformat-overflow=] 221 | sprintf(filename, "%s/%s.%04d%s.weight%s", prefs.resampdir_name, filename2, | ^ In file included from /usr/include/stdio.h:867, from resample.c:38: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 525) 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/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o weight.o weight.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o prefs.o prefs.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o projapprox.o projapprox.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o xml.o xml.c xml.c: In function 'write_xml_meta': xml.c:267:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 267 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ xml.c:267:29: note: directive argument in the range [-2147483647, 2147483647] 267 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from xml.c:34: /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/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o coadd.o coadd.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' x86_64-mageia-linux-gnu-gcc -D_REENTRANT -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 swarp back.o coadd.o data.o field.o fitswcs.o header.o interpolate.o main.o makeit.o misc.o prefs.o projapprox.o resample.o threads.o weight.o xml.o ./fits/libfits.a ./wcs/libwcs_c.a -lpthread -lm /usr/bin/ld: coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: data.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: data.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: field.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: field.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: field.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: fitswcs.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: fitswcs.o:(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: header.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: header.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: header.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: interpolate.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: interpolate.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: main.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: makeit.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: misc.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: prefs.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: projapprox.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: projapprox.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/resample.c:81: multiple definition of `outibuf'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:74: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/resample.c:81: multiple definition of `outwibuf'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:74: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/resample.c:84: multiple definition of `iflag'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:78: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/resample.c:80: multiple definition of `outbuf'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:75: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/resample.c:80: multiple definition of `outwbuf'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:75: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/threads.h:132: multiple definition of `nproc'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/threads.h:132: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/resample.c:61: multiple definition of `thread'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:84: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/resample.c:85: multiple definition of `padbuf'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:79: first defined here /usr/bin/ld: resample.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: threads.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: threads.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: threads.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/threads.h:132: multiple definition of `nproc'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/threads.h:132: first defined here /usr/bin/ld: weight.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: weight.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: weight.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: multiple definition of `prefs'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/prefs.h:167: first defined here /usr/bin/ld: xml.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitsbody.o):(.bss+0x20): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitsbody.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitscat.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitscat.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitscleanup.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitscleanup.o):(.bss+0x18): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitshead.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitshead.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitsmisc.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitsmisc.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitsread.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitsread.o):(.bss+0xb40): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitsread.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitsread.c:41: multiple definition of `padbuf'; coadd.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/coadd.c:79: first defined here /usr/bin/ld: ./fits/libfits.a(fitstab.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitstab.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitsutil.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitsutil.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitscheck.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here /usr/bin/ld: ./fits/libfits.a(fitscheck.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitskey.o):/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/globals.h:32: first defined here /usr/bin/ld: ./fits/libfits.a(fitskey.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src/fits/fitscat.h:336: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:443: swarp] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swarp-2.38.0/src' make[2]: *** [Makefile:495: all-recursive] Error 1 make[1]: *** [Makefile:472: all-recursive] Error 1 make: *** [Makefile:390: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HynBOx (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HynBOx (%build) I: [iurt_root_command] ERROR: chroot