* Package: sci-astronomy/stiff-2.4.0 * Repository: gentoo * Maintainer: sci-astronomy@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking stiff-2.4.0.tar.gz to /var/tmp/portage/sci-astronomy/stiff-2.4.0/work >>> Source unpacked in /var/tmp/portage/sci-astronomy/stiff-2.4.0/work >>> Preparing source in /var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0 ... * econf: updating stiff-2.4.0/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating stiff-2.4.0/autoconf/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/stiff-2.4.0 --htmldir=/usr/share/doc/stiff-2.4.0/html --libdir=/usr/lib64 --disable-threads checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes *********** Configuring: stiff 2.4.0 (2020-02-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-pc-linux-gnu-gcc... x86_64-pc-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-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for library containing strerror... none required checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for sin in -lm... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking return type of signal handlers... void checking for long long int... yes checking for unsigned long long int... yes checking for uid_t in sys/types.h... yes checking for error_at_line... 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 whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for atexit... yes checking for memmove... yes checking for memset... yes checking for munmap... yes checking for strchr... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strcspn... yes checking for strtol... 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... checking best linking option... checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for jpeg_start_decompress in -ljpeg... yes checking for deflate in -lz... yes checking for TIFFOpen in -ltiff... yes *************************************************************** Compile cmdline: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common Link cmdline: x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -ltiff -ljpeg -lz -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 stiff.spec config.status: creating man/stiff.1 config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0' Making all in man make[2]: Entering directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/man' Making all in src make[2]: Entering directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/src' Making all in fits make[3]: Entering directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/src/fits' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c fitsmisc.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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 | bin->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) " \ | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c fitsutil.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -pipe -march=native -fno-common -c 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) " \ | ^~~ 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-pc-linux-gnu-ranlib libfits.a make[3]: Leaving directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/src/fits' make[3]: Entering directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c datamem.c In file included from datamem.c:44: datamem.c: In function ‘alloc_data’: datamem.c:102:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 102 | QMALLOC(*swapname, char, MAXCHARS); | ^ fits/fitscat_defs.h:139:21: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ datamem.c:110:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 110 | write(fd, "\0", 1); | ^~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c field.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c image.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c main.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c makeit.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c prefs.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c threads.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c tiff.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c xml.c xml.c: In function ‘write_xmlconfigparam’: xml.c:587:7: warning: format not a string literal and no format arguments [-Wformat-security] 587 | sprintf(value, (char *)key[i].ptr); | ^~~~~~~ xml.c:596:9: warning: format not a string literal and no format arguments [-Wformat-security] 596 | sprintf(value, ((char **)key[i].ptr)[0]); | ^~~~~~~ xml.c:602:11: warning: format not a string literal and no format arguments [-Wformat-security] 602 | sprintf(value, ((char **)key[i].ptr)[j]); | ^~~~~~~ xml.c:613:36: warning: format not a string literal and no format arguments [-Wformat-security] 613 | sprintf(value, key[i].keylist[*((int *)key[i].ptr)]); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ xml.c:622:38: warning: format not a string literal and no format arguments [-Wformat-security] 622 | sprintf(value, key[i].keylist[((int *)key[i].ptr)[0]]); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ xml.c:628:40: warning: format not a string literal and no format arguments [-Wformat-security] 628 | sprintf(value, key[i].keylist[((int *)key[i].ptr)[j]]); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ xml.c: In function ‘write_xml_meta’: xml.c:250:5: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 250 | getcwd(pspathb, MAXCHAR); | ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o stiff datamem.o field.o image.o main.o makeit.o prefs.o threads.o tiff.o xml.o ./fits/libfits.a -ltiff -ljpeg -lz -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: field.o:(.bss+0xfc0): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: field.o:(.bss+0xfa8): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: image.o:(.bss+0x0): multiple definition of `prefs'; field.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: image.o:(.bss+0xfa8): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: image.o:(.bss+0xfc0): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x0): multiple definition of `prefs'; field.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0xfa8): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0xfc0): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: makeit.o:(.bss+0x20): multiple definition of `prefs'; field.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: makeit.o:(.bss+0xfc8): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: makeit.o:(.bss+0xfe0): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: prefs.o:(.bss+0x480): multiple definition of `prefs'; field.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: prefs.o:(.bss+0x1428): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: prefs.o:(.bss+0x1440): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: threads.o:(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: threads.o:(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tiff.o:(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tiff.o:(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xml.o:(.bss+0x20): multiple definition of `prefs'; field.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xml.o:(.bss+0xfc8): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xml.o:(.bss+0xfe0): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsbody.o):(.bss+0x40): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsbody.o):(.bss+0x20): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitscat.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitscat.o):(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitscleanup.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitscleanup.o):(.bss+0x18): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitshead.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitshead.o):(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsmisc.o):(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsmisc.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsread.o):(.bss+0xb60): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsread.o):(.bss+0xb40): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitstab.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitstab.o):(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsutil.o):(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitsutil.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitscheck.o):(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitscheck.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitskey.o):(.bss+0x20): multiple definition of `gstr'; datamem.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./fits/libfits.a(fitskey.o):(.bss+0x0): multiple definition of `bswapflag'; datamem.o:(.bss+0x20): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:351: stiff] Error 1 make[3]: Leaving directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/src' make[2]: *** [Makefile:390: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0/src' make[1]: *** [Makefile:402: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0' make: *** [Makefile:319: all] Error 2 * ERROR: sci-astronomy/stiff-2.4.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-astronomy/stiff-2.4.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-astronomy/stiff-2.4.0::gentoo'`. * The complete build log is located at '/var/log/portage/sci-astronomy:stiff-2.4.0:20200205-083425.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-astronomy/stiff-2.4.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/stiff-2.4.0/temp/environment'. * Working directory: '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0' * S: '/var/tmp/portage/sci-astronomy/stiff-2.4.0/work/stiff-2.4.0'