D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/skymaker-3.10.5-10.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.N7cC5A sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VI9yLz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build + rm -rf skymaker-3.10.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/skymaker-3.10.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd skymaker-3.10.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WNzzXX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd skymaker-3.10.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autoconf'. libtoolize: copying file 'autoconf/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:101: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:101: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:101: the top level configure.ac:119: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:119: the top level configure.ac:171: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:171: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... acx_pthread.m4:68: ACX_PTHREAD is expanded from... configure.ac:171: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:88: installing 'autoconf/compile' configure.ac:38: installing 'autoconf/missing' src/Makefile.am: installing 'autoconf/depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./autoconf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./autoconf/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./autoconf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./autoconf/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying autoconf/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 checking xargs -n works... yes *********** Configuring: skymaker 3.10.5 (2025-04-24) ********** checking if compilation flags are set automatically... no checking whether we should use the INTEL compiler... no checking whether we should use INTEL's MKL... no checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for library containing strerror... none required checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for sin in -lm... yes checking for egrep... (cached) /usr/bin/grep -E checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/mman.h... yes checking for unistd.h... (cached) 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 whether struct tm is in sys/time.h or time.h... time.h checking for uid_t... yes checking for gid_t... yes checking for error_at_line... yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for atexit... yes checking for getenv... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for munmap... yes checking for sincos... yes checking for sincosf... yes checking for strstr... yes checking for sysconf... yes checking for profiler mode... checking best linking option... 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... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for fftw3.h... yes checking for fftwf_execute in -lfftw3f... yes checking for fftwf_init_threads in -lfftw3f... no checking for fftwf_init_threads in -lfftw3f_threads... yes *************************************************************** Compile cmdline: gcc -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon Link cmdline: gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lfftw3f_threads -lfftw3f -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 skymaker.spec config.status: creating man/sky.1 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j48 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/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: 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:35: 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:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: 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:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o fitsmisc.o fitsmisc.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: 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:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitscat.c:230:33: 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:37: 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:37: 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:35: 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:35: 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:35: 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:35: 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:35: 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:970, from fitscat.c:34: In function 'sprintf', inlined from 'addhistoryto_cat' at fitscat.c:138:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 148 bytes into a destination of size 82 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: 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:35: 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:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: 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:35: 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:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o fitsutil.o fitsutil.c fitsutil.c: In function 'fitswrite': fitsutil.c:558:42: 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:970, from fitsutil.c:34: In function 'sprintf', inlined from 'fitswrite' at fitsutil.c:558:11: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 83 bytes into a destination of size 81 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitsutil.c: In function 'fitswrite': fitsutil.c:558:42: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] 558 | sprintf(str, "'%s'", str2); | ^ In function 'sprintf', inlined from 'fitswrite' at fitsutil.c:558:11: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 83 bytes into a destination of size 81 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:37: 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:37: 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:37: 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:35: 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:37: 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:37: 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:37: 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:35: 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:35: 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:35: 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:35: 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:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:37: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:35: 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:35: 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:35: 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:35: 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", | ^~~~~~~~~~~~~~~~~~~~~ fitsbody.c:113:28: note: using the range [0, 4294967295] for directive argument In file included from /usr/include/stdio.h:970, from fitsbody.c:34: In function 'sprintf', inlined from 'alloc_body' at fitsbody.c:113:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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", | ^~~~~~~~~~~~~~~~~~~~~ fitsbody.c:213:28: note: using the range [0, 4294967295] for directive argument In function 'sprintf', inlined from 'alloc_ibody' at fitsbody.c:213:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' rm -f libfits.a ar cr 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 ranlib libfits.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/fits' Making all in wcs make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o wcstrig.o wcstrig.c wcstrig.c: In function 'wcs_cosd': wcstrig.c:84:8: warning: old-style function definition [-Wold-style-definition] 84 | double wcs_cosd(angle) | ^~~~~~~~ wcstrig.c: In function 'wcs_sind': wcstrig.c:107:8: warning: old-style function definition [-Wold-style-definition] 107 | double wcs_sind(angle) | ^~~~~~~~ wcstrig.c: In function 'wcs_tand': wcstrig.c:130:8: warning: old-style function definition [-Wold-style-definition] 130 | double wcs_tand(angle) | ^~~~~~~~ wcstrig.c: In function 'wcs_acosd': wcstrig.c:151:8: warning: old-style function definition [-Wold-style-definition] 151 | double wcs_acosd(v) | ^~~~~~~~~ wcstrig.c: In function 'wcs_asind': wcstrig.c:169:8: warning: old-style function definition [-Wold-style-definition] 169 | double wcs_asind(v) | ^~~~~~~~~ wcstrig.c: In function 'wcs_atand': wcstrig.c:187:8: warning: old-style function definition [-Wold-style-definition] 187 | double wcs_atand(v) | ^~~~~~~~~ wcstrig.c: In function 'wcs_atan2d': wcstrig.c:205:8: warning: old-style function definition [-Wold-style-definition] 205 | double wcs_atan2d(y, x) | ^~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o sph.o sph.c sph.c: In function 'sphfwd': sph.c:143:5: warning: old-style function definition [-Wold-style-definition] 143 | int sphfwd (lng, lat, eul, phi, theta) | ^~~~~~ sph.c: In function 'sphrev': sph.c:200:5: warning: old-style function definition [-Wold-style-definition] 200 | int sphrev (phi, theta, eul, lng, lat) | ^~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o cel.o cel.c cel.c: In function 'celset': cel.c:311:5: warning: old-style function definition [-Wold-style-definition] 311 | int celset(pcode, cel, prj) | ^~~~~~ cel.c: In function 'celfwd': cel.c:568:5: warning: old-style function definition [-Wold-style-definition] 568 | int celfwd(pcode, lng, lat, cel, phi, theta, prj, x, y) | ^~~~~~ cel.c: In function 'celrev': cel.c:597:5: warning: old-style function definition [-Wold-style-definition] 597 | int celrev(pcode, x, y, prj, phi, theta, cel, lng, lat) | ^~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o tnx.o tnx.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o lin.o lin.c lin.c: In function 'linset': lin.c:201:5: warning: old-style function definition [-Wold-style-definition] 201 | int linset(lin) | ^~~~~~ lin.c: In function 'linfwd': lin.c:238:5: warning: old-style function definition [-Wold-style-definition] 238 | int linfwd(imgcrd, lin, pixcrd) | ^~~~~~ lin.c: In function 'linrev': lin.c:269:5: warning: old-style function definition [-Wold-style-definition] 269 | int linrev(pixcrd, lin, imgcrd) | ^~~~~~ lin.c: In function 'matinv': lin.c:301:5: warning: old-style function definition [-Wold-style-definition] 301 | int matinv(n, mat, inv) | ^~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o poly.o poly.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o wcs.o wcs.c wcs.c: In function 'wcsset': wcs.c:456:5: warning: old-style function definition [-Wold-style-definition] 456 | int wcsset (naxis, ctype, wcs) | ^~~~~~ wcs.c: In function 'wcsfwd': wcs.c:556:5: warning: old-style function definition [-Wold-style-definition] 556 | int wcsfwd(ctype, wcs, world, crval, cel, phi, theta, prj, imgcrd, lin, | ^~~~~~ wcs.c: In function 'wcsrev': wcs.c:645:5: warning: old-style function definition [-Wold-style-definition] 645 | int wcsrev(ctype, wcs, pixcrd, lin, imgcrd, prj, phi, theta, crval, cel, | ^~~~~~ wcs.c: In function 'wcsmix': wcs.c:744:5: warning: old-style function definition [-Wold-style-definition] 744 | int wcsmix(ctype, wcs, mixpix, mixcel, vspan, vstep, viter, world, crval, cel, | ^~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o proj.o proj.c proj.c: In function 'azpset': proj.c:275:5: warning: old-style function definition [-Wold-style-definition] 275 | int azpset(prj) | ^~~~~~ proj.c: In function 'azpfwd': proj.c:305:5: warning: old-style function definition [-Wold-style-definition] 305 | int azpfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'azprev': proj.c:338:5: warning: old-style function definition [-Wold-style-definition] 338 | int azprev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'tanset': proj.c:380:5: warning: old-style function definition [-Wold-style-definition] 380 | int tanset(prj) | ^~~~~~ proj.c: In function 'tanfwd': proj.c:406:5: warning: old-style function definition [-Wold-style-definition] 406 | int tanfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'tanrev': proj.c:437:5: warning: old-style function definition [-Wold-style-definition] 437 | int tanrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'sinset': proj.c:483:5: warning: old-style function definition [-Wold-style-definition] 483 | int sinset(prj) | ^~~~~~ proj.c: In function 'sinfwd': proj.c:507:5: warning: old-style function definition [-Wold-style-definition] 507 | int sinfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'sinrev': proj.c:558:5: warning: old-style function definition [-Wold-style-definition] 558 | int sinrev (x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'stgset': proj.c:654:5: warning: old-style function definition [-Wold-style-definition] 654 | int stgset(prj) | ^~~~~~ proj.c: In function 'stgfwd': proj.c:674:5: warning: old-style function definition [-Wold-style-definition] 674 | int stgfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'stgrev': proj.c:701:5: warning: old-style function definition [-Wold-style-definition] 701 | int stgrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'arcset': proj.c:734:5: warning: old-style function definition [-Wold-style-definition] 734 | int arcset(prj) | ^~~~~~ proj.c: In function 'arcfwd': proj.c:755:5: warning: old-style function definition [-Wold-style-definition] 755 | int arcfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'arcrev': proj.c:777:5: warning: old-style function definition [-Wold-style-definition] 777 | int arcrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'zpnset': proj.c:814:5: warning: old-style function definition [-Wold-style-definition] 814 | int zpnset(prj) | ^~~~~~ proj.c: In function 'zpnfwd': proj.c:896:5: warning: old-style function definition [-Wold-style-definition] 896 | int zpnfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'zpnrev': proj.c:929:5: warning: old-style function definition [-Wold-style-definition] 929 | int zpnrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'zeaset': proj.c:1050:5: warning: old-style function definition [-Wold-style-definition] 1050 | int zeaset(prj) | ^~~~~~ proj.c: In function 'zeafwd': proj.c:1071:5: warning: old-style function definition [-Wold-style-definition] 1071 | int zeafwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'zearev': proj.c:1093:5: warning: old-style function definition [-Wold-style-definition] 1093 | int zearev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'airset': proj.c:1147:5: warning: old-style function definition [-Wold-style-definition] 1147 | int airset(prj) | ^~~~~~ proj.c: In function 'airfwd': proj.c:1181:5: warning: old-style function definition [-Wold-style-definition] 1181 | int airfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'airrev': proj.c:1217:5: warning: old-style function definition [-Wold-style-definition] 1217 | int airrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'cypset': proj.c:1308:5: warning: old-style function definition [-Wold-style-definition] 1308 | int cypset(prj) | ^~~~~~ proj.c: In function 'cypfwd': proj.c:1352:5: warning: old-style function definition [-Wold-style-definition] 1352 | int cypfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'cyprev': proj.c:1378:5: warning: old-style function definition [-Wold-style-definition] 1378 | int cyprev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'carset': proj.c:1411:5: warning: old-style function definition [-Wold-style-definition] 1411 | int carset(prj) | ^~~~~~ proj.c: In function 'carfwd': proj.c:1433:5: warning: old-style function definition [-Wold-style-definition] 1433 | int carfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'carrev': proj.c:1452:5: warning: old-style function definition [-Wold-style-definition] 1452 | int carrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'merset': proj.c:1482:5: warning: old-style function definition [-Wold-style-definition] 1482 | int merset(prj) | ^~~~~~ proj.c: In function 'merfwd': proj.c:1503:5: warning: old-style function definition [-Wold-style-definition] 1503 | int merfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'merrev': proj.c:1526:5: warning: old-style function definition [-Wold-style-definition] 1526 | int merrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'ceaset': proj.c:1562:5: warning: old-style function definition [-Wold-style-definition] 1562 | int ceaset(prj) | ^~~~~~ proj.c: In function 'ceafwd': proj.c:1593:5: warning: old-style function definition [-Wold-style-definition] 1593 | int ceafwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'cearev': proj.c:1612:5: warning: old-style function definition [-Wold-style-definition] 1612 | int cearev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'copset': proj.c:1662:5: warning: old-style function definition [-Wold-style-definition] 1662 | int copset(prj) | ^~~~~~ proj.c: In function 'copfwd': proj.c:1697:5: warning: old-style function definition [-Wold-style-definition] 1697 | int copfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'coprev': proj.c:1731:5: warning: old-style function definition [-Wold-style-definition] 1731 | int coprev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'codset': proj.c:1776:5: warning: old-style function definition [-Wold-style-definition] 1776 | int codset(prj) | ^~~~~~ proj.c: In function 'codfwd': proj.c:1804:5: warning: old-style function definition [-Wold-style-definition] 1804 | int codfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'codrev': proj.c:1828:5: warning: old-style function definition [-Wold-style-definition] 1828 | int codrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'coeset': proj.c:1878:5: warning: old-style function definition [-Wold-style-definition] 1878 | int coeset(prj) | ^~~~~~ proj.c: In function 'coefwd': proj.c:1913:5: warning: old-style function definition [-Wold-style-definition] 1913 | int coefwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'coerev': proj.c:1941:5: warning: old-style function definition [-Wold-style-definition] 1941 | int coerev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'cooset': proj.c:2005:5: warning: old-style function definition [-Wold-style-definition] 2005 | int cooset(prj) | ^~~~~~ proj.c: In function 'coofwd': proj.c:2047:5: warning: old-style function definition [-Wold-style-definition] 2047 | int coofwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'coorev': proj.c:2079:5: warning: old-style function definition [-Wold-style-definition] 2079 | int coorev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'bonset': proj.c:2128:5: warning: old-style function definition [-Wold-style-definition] 2128 | int bonset(prj) | ^~~~~~ proj.c: In function 'bonfwd': proj.c:2149:5: warning: old-style function definition [-Wold-style-definition] 2149 | int bonfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'bonrev': proj.c:2178:5: warning: old-style function definition [-Wold-style-definition] 2178 | int bonrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'pcoset': proj.c:2227:5: warning: old-style function definition [-Wold-style-definition] 2227 | int pcoset(prj) | ^~~~~~ proj.c: In function 'pcofwd': proj.c:2250:5: warning: old-style function definition [-Wold-style-definition] 2250 | int pcofwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'pcorev': proj.c:2281:5: warning: old-style function definition [-Wold-style-definition] 2281 | int pcorev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'glsset': proj.c:2372:5: warning: old-style function definition [-Wold-style-definition] 2372 | int glsset(prj) | ^~~~~~ proj.c: In function 'glsfwd': proj.c:2393:5: warning: old-style function definition [-Wold-style-definition] 2393 | int glsfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'glsrev': proj.c:2412:5: warning: old-style function definition [-Wold-style-definition] 2412 | int glsrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'parset': proj.c:2447:5: warning: old-style function definition [-Wold-style-definition] 2447 | int parset(prj) | ^~~~~~ proj.c: In function 'parfwd': proj.c:2472:5: warning: old-style function definition [-Wold-style-definition] 2472 | int parfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'parrev': proj.c:2494:5: warning: old-style function definition [-Wold-style-definition] 2494 | int parrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'aitset': proj.c:2539:5: warning: old-style function definition [-Wold-style-definition] 2539 | int aitset(prj) | ^~~~~~ proj.c: In function 'aitfwd': proj.c:2558:5: warning: old-style function definition [-Wold-style-definition] 2558 | int aitfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'aitrev': proj.c:2581:5: warning: old-style function definition [-Wold-style-definition] 2581 | int aitrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'molset': proj.c:2636:5: warning: old-style function definition [-Wold-style-definition] 2636 | int molset(prj) | ^~~~~~ proj.c: In function 'molfwd': proj.c:2656:5: warning: old-style function definition [-Wold-style-definition] 2656 | int molfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'molrev': proj.c:2704:5: warning: old-style function definition [-Wold-style-definition] 2704 | int molrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'cscset': proj.c:2766:5: warning: old-style function definition [-Wold-style-definition] 2766 | int cscset(prj) | ^~~~~~ proj.c: In function 'cscfwd': proj.c:2787:5: warning: old-style function definition [-Wold-style-definition] 2787 | int cscfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'cscrev': proj.c:2918:5: warning: old-style function definition [-Wold-style-definition] 2918 | int cscrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'qscset': proj.c:3066:5: warning: old-style function definition [-Wold-style-definition] 3066 | int qscset(prj) | ^~~~~~ proj.c: In function 'qscfwd': proj.c:3087:5: warning: old-style function definition [-Wold-style-definition] 3087 | int qscfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'qscrev': proj.c:3260:5: warning: old-style function definition [-Wold-style-definition] 3260 | int qscrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'tscset': proj.c:3437:5: warning: old-style function definition [-Wold-style-definition] 3437 | int tscset(prj) | ^~~~~~ proj.c: In function 'tscfwd': proj.c:3458:5: warning: old-style function definition [-Wold-style-definition] 3458 | int tscfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'tscrev': proj.c:3554:5: warning: old-style function definition [-Wold-style-definition] 3554 | int tscrev(x, y, prj, phi, theta) | ^~~~~~ proj.c: In function 'tnxset': proj.c:3637:5: warning: old-style function definition [-Wold-style-definition] 3637 | int tnxset(prj) | ^~~~~~ proj.c: In function 'tnxfwd': proj.c:3655:5: warning: old-style function definition [-Wold-style-definition] 3655 | int tnxfwd(phi, theta, prj, x, y) | ^~~~~~ proj.c: In function 'tnxrev': proj.c:3686:5: warning: old-style function definition [-Wold-style-definition] 3686 | int tnxrev(x, y, prj, phi, theta) | ^~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' rm -f libwcs_c.a ar cr libwcs_c.a cel.o lin.o poly.o proj.o sph.o tnx.o wcs.o wcstrig.o ranlib libwcs_c.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src/wcs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o random.o random.c random.c:157:17: error: conflicting types for 'gammln'; have 'double(double)' 157 | static double gammln(double xx) | ^~~~~~ random.c:49:25: note: previous declaration of 'gammln' with type 'double(void)' 49 | static double gammln(); | ^~~~~~ make[3]: *** [Makefile:519: random.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o main.o main.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o makeit.o makeit.c makeit.c: In function 'makeit': makeit.c:65:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 65 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~ makeit.c:65:29: note: directive argument in the range [-2147483647, 2147483647] 65 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from makeit.c:33: In function 'sprintf', inlined from 'makeit' at makeit.c:65:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function 'makeit': makeit.c:124:33: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 124 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:124:27: note: directive argument in the range [-2147483647, 2147483647] 124 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'makeit' at makeit.c:124:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o fft.o fft.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o simul.o simul.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o imaout.o imaout.c In file included from /usr/include/stdio.h:970, from imaout.c:34: In function 'fgets', inlined from 'imaout_readaschead' at imaout.c:174:14: /usr/include/bits/stdio2.h:316:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 316 | return __fgets_chk_warn (__s, __sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o stars.o stars.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o list.o list.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o image.o image.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o prefs.o prefs.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o alterimage.o alterimage.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o galaxies.o galaxies.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o poly.o poly.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -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:37: 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:37: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: 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:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:429:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 429 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function 'invert_wcs': fitswcs.c:807:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 807 | QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:808:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 808 | QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:809:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 809 | QMALLOC(latpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fcommon -c -o psf.o psf.c psf.c: In function 'readpsf': psf.c:1296:27: warning: '%s' directive writing up to 1023 bytes into a region of size 1014 [-Wformat-overflow=] 1296 | sprintf(lstr,"Examining %s", rfilename); | ^~ In file included from /usr/include/stdio.h:970, from psf.c:34: In function 'sprintf', inlined from 'readpsf' at psf.c:1296:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ psf.c: In function 'readpsf': psf.c:1329:25: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] 1329 | sprintf(lstr,"Loading %s", rfilename); | ^~ In function 'sprintf', inlined from 'readpsf' at psf.c:1329:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 1032 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/skymaker-3.10.5-build/skymaker-3.10.5/src' make[2]: *** [Makefile:548: all-recursive] Error 1 make[1]: *** [Makefile:514: all-recursive] Error 1 make: *** [Makefile:423: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WNzzXX (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WNzzXX (%build) I: [iurt_root_command] ERROR: chroot