Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/swarp.spec'], chrootPath='/var/lib/mock/f40-build-55902751-6539450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '358b7105663d4567907be5082596082f', '-D', '/var/lib/mock/f40-build-55902751-6539450/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/swarp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/swarp-2.38.0-23.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/swarp.spec'], chrootPath='/var/lib/mock/f40-build-55902751-6539450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '792473a9e50d4bf48116c7a3b546c8f7', '-D', '/var/lib/mock/f40-build-55902751-6539450/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/swarp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6XxjBi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf swarp-2.38.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/swarp-2.38.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd swarp-2.38.0 + rm -rf /builddir/build/BUILD/swarp-2.38.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/swarp-2.38.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yefGiH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd swarp-2.38.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2014-03-10 14:57:42.000000000 +0000 +++ ./configure 2024-12-26 11:00:53.723508444 +0000 @@ -1856,7 +1856,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./autoconf/ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-threads checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes *********** Configuring: swarp 2.38.0 (2024-12-26) ********** checking if compilation flags are set automatically... no checking whether we should use the INTEL compiler... no checking for style of include used by make... GNU checking for aarch64-redhat-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for library containing strerror... none required checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for sin in -lm... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for long long int... yes checking for unsigned long long int... yes checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking for strftime... yes checking for atexit... yes checking for getenv... yes checking for gethostname... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mmap... yes checking for strstr... yes checking for getrlimit... yes checking for cosd... no checking for sind... no checking for tand... no checking for acosd... no checking for asind... no checking for atand... no checking for atan2d... no checking for sincos... yes checking for isnan... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for profiler mode... no checking best linking option... no checking for multithreading... maximum of 1024 thread(s) checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking pthread.h usability... yes checking pthread.h presence... yes 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 *************************************************************** Compile cmdline: gcc -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer Link cmdline: gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm Default XSLT URL: *************************************************************** checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating src/fits/Makefile config.status: creating src/wcs/Makefile config.status: creating swarp.spec config.status: creating man/swarp.1 config.status: creating config.h config.status: executing depfiles commands + make -j12 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/swarp-2.38.0' Making all in man make[2]: Entering directory '/builddir/build/BUILD/swarp-2.38.0/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/swarp-2.38.0/man' Making all in src make[2]: Entering directory '/builddir/build/BUILD/swarp-2.38.0/src' Making all in fits make[3]: Entering directory '/builddir/build/BUILD/swarp-2.38.0/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitsbody.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitscat.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitscheck.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitscleanup.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitsconv.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitshead.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitskey.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitsmisc.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitsread.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitstab.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitsutil.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitswrite.c In file included from fitscheck.c:38: fitscheck.c: In function ‘compute_bodysum’: 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ fitscheck.c: In function ‘write_checksum’: fitsconv.c:120:15: warning: the address of ‘ptr’ will always evaluate as ‘true’ [-Waddress] 120 | QMEMCPY(ptr, key->ptr, char, key->nbytes); | ^~~ fitscat_defs.h:157:22: note: in definition of macro ‘QMEMCPY’ 157 | {if (ptrin) \ | ^~~~~ 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) " \ | ^~~ 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) " \ | ^~~~~~ 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ In file included from fitskey.c:38: fitskey.c: In function ‘copy_key’: 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) " \ | ^~~ 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) " \ | ^~~ In file included from fitscleanup.c:39: fitscleanup.c: In function ‘add_cleanupfilename’: 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) " \ | ^~~~~~ 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) " \ | ^~~ 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) " \ | ^~~ fitskey.c: In function ‘new_key’: 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ fitshead.c: In function ‘addkeywordto_head’: 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~ 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) " \ | ^~~~~~ 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) " \ | ^~~ 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) " \ | ^~~~~~ 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) " \ | ^~~ 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) " \ | ^~~ fitswrite.c: In function ‘print_obj’: fitswrite.c:451:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘printf’ will never be NULL [-Waddress] 451 | fprintf(stream, key->printf?key->printf:"%d", (int)*ptr); | ^ In file included from fitswrite.c:40: fitscat.h:129:17: note: ‘printf’ declared here 129 | char printf[80]; /* printing format (C Convention) */ | ^~~~~~ 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) " \ | ^~~ fitswrite.c: In function ‘voprint_obj’: fitswrite.c:537:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘printf’ will never be NULL [-Waddress] 537 | fprintf(stream, key->printf?key->printf:"%d", (int)*ptr); | ^ fitscat.h:129:17: note: ‘printf’ declared here 129 | char printf[80]; /* printing format (C Convention) */ | ^~~~~~ 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) " \ | ^~~ 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) " \ | ^~~ fitsbody.c: In function ‘read_body’: fitsbody.c:356: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 356 | #pragma ivdep fitsbody.c:364: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 364 | #pragma ivdep fitsbody.c:373: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 373 | #pragma ivdep fitsbody.c:377: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 377 | #pragma ivdep fitstab.c: In function ‘remove_tab’: fitsbody.c:391: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 391 | #pragma ivdep fitsbody.c:399: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 399 | #pragma ivdep fitstab.c:532:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 532 | for (nexttab=tab->nexttab,i=2;!nexttab->nseg;nexttab=nexttab->nexttab,i++); | ^~~ fitsbody.c:408: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 408 | #pragma ivdep fitsbody.c:412: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 412 | #pragma ivdep fitstab.c:533:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 533 | nexttab->seg = i; | ^~~~~~~ fitsbody.c:426: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 426 | #pragma ivdep fitsbody.c:434: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 434 | #pragma ivdep fitsbody.c:443: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 443 | #pragma ivdep fitsbody.c:447: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 447 | #pragma ivdep fitsbody.c:462: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 462 | #pragma ivdep fitsbody.c:470: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 470 | #pragma ivdep fitsbody.c:479: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 479 | #pragma ivdep fitsbody.c:483: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 483 | #pragma ivdep fitsbody.c:492: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 492 | #pragma ivdep fitsbody.c:501: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 501 | #pragma ivdep fitsbody.c:509: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 509 | #pragma ivdep fitstab.c: In function ‘tabs_list’: In file included from fitsbody.c:43: 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) " \ | ^~~ 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) " \ | ^~~ 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:662: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 662 | #pragma ivdep fitsbody.c:670: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 670 | #pragma ivdep fitsbody.c:678: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 678 | #pragma ivdep fitsbody.c:687: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 687 | #pragma ivdep 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 ‘write_body’: fitsbody.c:848: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 848 | #pragma ivdep fitsbody.c:855: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 855 | #pragma ivdep fitsbody.c:865: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 865 | #pragma ivdep fitsbody.c:872: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 872 | #pragma ivdep fitsbody.c:884: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 884 | #pragma ivdep fitsbody.c:891: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 891 | #pragma ivdep fitsbody.c:904: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 904 | #pragma ivdep fitsbody.c:911: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 911 | #pragma ivdep fitsbody.c:922: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 922 | #pragma ivdep fitsbody.c:933: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 933 | #pragma ivdep fitsbody.c: In function ‘write_ibody’: fitsbody.c:1010: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1010 | #pragma ivdep fitsbody.c:1017: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1017 | #pragma ivdep fitsbody.c:1027: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1027 | #pragma ivdep fitsbody.c:1034: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1034 | #pragma ivdep fitsbody.c:1046: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1046 | #pragma ivdep fitsbody.c:1053: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1053 | #pragma ivdep fitsbody.c:1066: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1066 | #pragma ivdep fitsbody.c:1073: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1073 | #pragma ivdep fitsbody.c:1084: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1084 | #pragma ivdep fitsbody.c:1095: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1095 | #pragma ivdep 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:980, from fitscat.c:34: In function ‘sprintf’, inlined from ‘addhistoryto_cat’ at fitscat.c:138:3: /usr/include/bits/stdio2.h:30:10: note: ‘__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 ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: ‘__sprintf_chk’ argument 5 overlaps destination object ‘str2’ [-Wrestrict] fitscat.c: In function ‘addhistoryto_cat’: fitscat.c:118:25: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 118 | char str2[82]; | ^~~~ fitshead.c: In function ‘prim_head’: fitshead.c:492:7: warning: ‘strncpy’ output truncated before terminating nul copying 80 bytes from a string of the same length [-Wstringop-truncation] 492 | strncpy(tab->headbuf, "SIMPLE = T " | ^ fitshead.c: In function ‘ext_head’: fitsutil.c: In function ‘fitswrite’: fitshead.c:523:7: warning: ‘strncpy’ output truncated before terminating nul copying 80 bytes from a string of the same length [-Wstringop-truncation] 523 | strncpy(tab->headbuf, "XTENSION= 'IMAGE ' " | ^ fitsutil.c:595:5: warning: ‘__strncat_chk’ output may be truncated copying between 1 and 69 bytes from a string of length 80 [-Wstringop-truncation] 595 | strncat(str, str2, l); | ^ 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:980, from fitsbody.c:34: In function ‘sprintf’, inlined from ‘alloc_body’ at fitsbody.c:113:5: /usr/include/bits/stdio2.h:30:10: note: ‘__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: ‘__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 ()); | ~~~~~~~~~~~~~~~~~ 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 ranlib libfits.a make[3]: Leaving directory '/builddir/build/BUILD/swarp-2.38.0/src/fits' Making all in wcs make[3]: Entering directory '/builddir/build/BUILD/swarp-2.38.0/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c cel.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lin.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c poly.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c proj.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c sph.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c tnx.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c wcs.c gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c wcstrig.c poly.c: In function ‘poly_powers’: poly.c:551:14: warning: ‘gexpo’ may be used uninitialized [-Wmaybe-uninitialized] 551 | if (gexpo[*group]) | ~~~~~^~~~~~~~ poly.c:535:38: note: ‘gexpo’ declared here 535 | int expo[POLY_MAXDIM+1], gexpo[POLY_MAXDIM+1]; | ^~~~~ rm -f libwcs_c.a ar cru libwcs_c.a cel.o lin.o poly.o proj.o sph.o tnx.o wcs.o wcstrig.o ranlib libwcs_c.a make[3]: Leaving directory '/builddir/build/BUILD/swarp-2.38.0/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/swarp-2.38.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c back.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c coadd.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c data.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c field.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fitswcs.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c header.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c interpolate.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c main.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c makeit.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c misc.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c prefs.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c projapprox.c misc.c: In function ‘counter_seconds’: misc.c:97:25: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 97 | int dummy; | ^~~~~ 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:436:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 436 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function ‘invert_wcs’: fitswcs.c:815:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 815 | QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:816:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 816 | QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:817:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 817 | QMALLOC(latpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c resample.c field.c: In function ‘printinfo_field’: field.c:328:3: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 328 | else | ^~~~ field.c:334:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 334 | for (i=0; inaxis; i++) | ^~~ coadd.c: In function ‘coadd_fields’: coadd.c:569:24: warning: pointer targets in assignment from ‘int *’ to ‘unsigned int *’ differ in signedness [-Wpointer-sign] 569 | pthread_baseline_y = &y; | ^ coadd.c: In function ‘coadd_load’: coadd.c:2089:25: warning: pointer targets in assignment from ‘int *’ to ‘unsigned int *’ differ in signedness [-Wpointer-sign] 2089 | pthread_origin = &oid; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c threads.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c weight.c makeit.c: In function ‘makeit’: makeit.c:81:35: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 81 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~ makeit.c:81:29: note: directive argument in the range [-2147483647, 2147483647] 81 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from makeit.c:38: In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:81:3: /usr/include/bits/stdio2.h:30:10: note: ‘__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:274:34: warning: ‘%s’ directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] 274 | sprintf(gstr, "Reading %s ...", inwfield[k]->filename); | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:274:11: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 13 and 524 bytes into a destination of size 512 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:279:32: warning: ‘%s’ directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] 279 | sprintf(gstr, "Reading %s", infield[k]->filename); | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:279:9: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 9 and 520 bytes into a destination of size 512 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:283:35: warning: ‘%s’ directive writing up to 511 bytes into a region of size 501 [-Wformat-overflow=] 283 | sprintf(gstr, "Resampling %s ...", infield[k]->filename); | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:283:9: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 16 and 527 bytes into a destination of size 512 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:290:43: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 290 | sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:290:37: note: directive argument in the range [-2147483647, 2147483647] 290 | sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:290:7: /usr/include/bits/stdio2.h:30:10: note: ‘__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:355:33: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 355 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:355:27: note: directive argument in the range [-2147483647, 2147483647] 355 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:355:3: /usr/include/bits/stdio2.h:30:10: note: ‘__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 ()); | ~~~~~~~~~~~~~~~~~ weight.c: In function ‘var_to_weight’: weight.c:338:6: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 338 | for (i=npix; i--; data++) | ^~~ weight.c:343:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 343 | break; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c xml.c xml.c: In function ‘write_xml_meta’: xml.c:459:10: warning: the comparison will always evaluate as ‘true’ for the address of ‘ident’ will never be NULL [-Waddress] 459 | (x->ident && *(x->ident)) ? x->ident : "(null)", | ^ In file included from xml.c:46: xml.h:54:17: note: ‘ident’ declared here 54 | char ident[80]; /* identifiant */ | ^~~~~ In function ‘pthread_nextline’, inlined from ‘pthread_warp_lines’ at resample.c:512:13: resample.c:582:21: warning: ‘rawpos[1]’ may be used uninitialized [-Wmaybe-uninitialized] 582 | rawposp[l][d] = rawpos[d]; | ~~~~~~~~~~~~~~^~~~~~~~~~~ resample.c: In function ‘pthread_warp_lines’: resample.c:532:17: note: ‘rawpos[1]’ was declared here 532 | double rawpos[NAXIS]; | ^~~~~~ In function ‘warp_line’, inlined from ‘pthread_warp_lines’ at resample.c:513:5: resample.c:809:20: warning: ‘out’ may be used uninitialized [-Wmaybe-uninitialized] 809 | *(out++) = *(outw++) = 0.0; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ resample.c: In function ‘pthread_warp_lines’: resample.c:630:26: note: ‘out’ was declared here 630 | PIXTYPE *out, *outw, | ^~~ resample.c:630:32: warning: ‘outw’ may be used uninitialized [-Wmaybe-uninitialized] 630 | PIXTYPE *out, *outw, | ^~~~ resample.c:632:26: warning: ‘outi’ may be used uninitialized [-Wmaybe-uninitialized] 632 | FLAGTYPE *outi,*outwi, *oversampit,*oversampwit, | ^~~~ In function ‘warp_line’, inlined from ‘pthread_warp_lines’ at resample.c:513:5: resample.c:789:22: warning: ‘outwi’ may be used uninitialized [-Wmaybe-uninitialized] 789 | *(outwi++) = *oversampwit; | ~~~~~~~~~~~^~~~~~~~~~~~~~ resample.c: In function ‘pthread_warp_lines’: resample.c:632:32: note: ‘outwi’ was declared here 632 | FLAGTYPE *outi,*outwi, *oversampit,*oversampwit, | ^~~~~ xml.c:267:35: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 267 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ xml.c:267:29: note: directive argument in the range [-2147483647, 2147483647] 267 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from xml.c:34: In function ‘sprintf’, inlined from ‘write_xml_meta’ at xml.c:267:5: /usr/include/bits/stdio2.h:30:10: note: ‘__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 ()); | ~~~~~~~~~~~~~~~~~ resample.c: In function ‘resample_field’: resample.c:143:29: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 143 | sprintf(filename, "%s/%s%s", prefs.resampdir_name, filename2, | ^~ 144 | prefs.resamp_suffix); | ~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from resample.c:38: In function ‘sprintf’, inlined from ‘resample_field’ at resample.c:143:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 2 or more bytes (assuming 1024) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ resample.c: In function ‘resample_field’: resample.c:140:29: warning: ‘.’ directive writing 1 byte into a region of size between 0 and 511 [-Wformat-overflow=] 140 | sprintf(filename, "%s/%s.%04d%s", prefs.resampdir_name, filename2, | ^ resample.c:140:23: note: using the range [-2147483648, 2147483647] for directive argument 140 | sprintf(filename, "%s/%s.%04d%s", prefs.resampdir_name, filename2, | ^~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘resample_field’ at resample.c:140:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 7 or more bytes (assuming 1029) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ resample.c: In function ‘resample_field’: resample.c:225:31: warning: ‘.weight’ directive writing 7 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 225 | sprintf(filename, "%s/%s%s.weight%s", prefs.resampdir_name, filename2, | ^~~~~~~ In function ‘sprintf’, inlined from ‘resample_field’ at resample.c:225:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 9 or more bytes (assuming 520) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ resample.c: In function ‘resample_field’: resample.c:221:29: warning: ‘.’ directive writing 1 byte into a region of size between 0 and 511 [-Wformat-overflow=] 221 | sprintf(filename, "%s/%s.%04d%s.weight%s", prefs.resampdir_name, filename2, | ^ resample.c:221:23: note: using the range [-2147483648, 2147483647] for directive argument 221 | sprintf(filename, "%s/%s.%04d%s.weight%s", prefs.resampdir_name, filename2, | ^~~~~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘resample_field’ at resample.c:221:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 14 or more bytes (assuming 525) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitswcs.c: In function ‘copy_wcs’: fitswcs.c:70:48: warning: ‘wcs’ may be used uninitialized [-Wmaybe-uninitialized] 70 | QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); | ~~~^~~~~~~ fitswcs.c:65:18: note: ‘wcs’ was declared here 65 | wcsstruct *wcs; | ^~~ fitswcs.c: In function ‘create_wcs’: fitswcs.c:134:7: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 134 | strncpy(wcs->ctype[l], "DEC--AIT", 8); | ^ fitswcs.c:132:7: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 132 | strncpy(wcs->ctype[l], "RA---AIT", 8); | ^ fitswcs.c: In function ‘read_wcs’: fitswcs.c:380:5: warning: ‘__strncpy_chk’ output may be truncated copying 8 bytes from a string of length 255 [-Wstringop-truncation] 380 | strncpy(wcs->ctype[l], str, 8); | ^ fitswcs.c:383:5: warning: ‘__strncpy_chk’ output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] 383 | strncpy(wcs->cunit[l], str, 32); | ^ coadd.c: In function ‘coadd_fields’: coadd.c:598:11: warning: ‘emptyibuf’ may be used uninitialized [-Wmaybe-uninitialized] 598 | write_ibody(outfield->tab, emptyibuf, width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coadd.c:151:26: note: ‘emptyibuf’ was declared here 151 | FLAGTYPE *emptyibuf,*outiline, *ipix,*wipix; | ^~~~~~~~~ coadd.c:602:11: warning: ‘outiline’ may be used uninitialized [-Wmaybe-uninitialized] 602 | write_ibody(outfield->tab, outiline, width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coadd.c:151:37: note: ‘outiline’ was declared here 151 | FLAGTYPE *emptyibuf,*outiline, *ipix,*wipix; | ^~~~~~~~ coadd.c:609:11: warning: ‘emptybuf’ may be used uninitialized [-Wmaybe-uninitialized] 609 | write_body(outfield->tab, emptybuf, width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coadd.c:152:26: note: ‘emptybuf’ was declared here 152 | PIXTYPE *emptybuf,*outline, *pix,*wpix; | ^~~~~~~~ coadd.c:613:11: warning: ‘outline’ may be used uninitialized [-Wmaybe-uninitialized] 613 | write_body(outfield->tab, outline, width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coadd.c:152:36: note: ‘outline’ was declared here 152 | PIXTYPE *emptybuf,*outline, *pix,*wpix; | ^~~~~~~ coadd.c:603:16: warning: ‘ipix’ may be used uninitialized [-Wmaybe-uninitialized] 603 | ipix += outwidth; | ~~~~~^~~~~~~~~~~ coadd.c:151:48: note: ‘ipix’ was declared here 151 | FLAGTYPE *emptyibuf,*outiline, *ipix,*wipix; | ^~~~ coadd.c:614:15: warning: ‘pix’ may be used uninitialized [-Wmaybe-uninitialized] 614 | pix += outwidth; | ~~~~^~~~~~~~~~~ coadd.c:152:46: note: ‘pix’ was declared here 152 | PIXTYPE *emptybuf,*outline, *pix,*wpix; | ^~~ coadd.c:644:17: warning: ‘wipix’ may be used uninitialized [-Wmaybe-uninitialized] 644 | wipix += outwidth; | ~~~~~~^~~~~~~~~~~ coadd.c:151:54: note: ‘wipix’ was declared here 151 | FLAGTYPE *emptyibuf,*outiline, *ipix,*wipix; | ^~~~~ coadd.c:656:16: warning: ‘wpix’ may be used uninitialized [-Wmaybe-uninitialized] 656 | wpix += outwidth; | ~~~~~^~~~~~~~~~~ coadd.c:152:51: note: ‘wpix’ was declared here 152 | PIXTYPE *emptybuf,*outline, *pix,*wpix; | ^~~~ gcc -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o swarp back.o coadd.o data.o field.o fitswcs.o header.o interpolate.o main.o makeit.o misc.o prefs.o projapprox.o resample.o threads.o weight.o xml.o ./fits/libfits.a ./wcs/libwcs_c.a -lm resample.c:80:36: warning: type of ‘outwbuf’ does not match original declaration [-Wlto-type-mismatch] 80 | PIXTYPE **outbuf,**outwbuf; | ^ coadd.c:75:48: note: ‘outwbuf’ was previously declared here 75 | PIXTYPE *multibuf,*multiwbuf, *outbuf,*outwbuf, | ^ coadd.c:75:48: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used resample.c:80:27: warning: type of ‘outbuf’ does not match original declaration [-Wlto-type-mismatch] 80 | PIXTYPE **outbuf,**outwbuf; | ^ coadd.c:75:40: note: ‘outbuf’ was previously declared here 75 | PIXTYPE *multibuf,*multiwbuf, *outbuf,*outwbuf, | ^ coadd.c:75:40: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used resample.c:81:37: warning: type of ‘outwibuf’ does not match original declaration [-Wlto-type-mismatch] 81 | FLAGTYPE **outibuf,**outwibuf, **oversampibuf,**oversampwibuf; | ^ coadd.c:74:51: note: ‘outwibuf’ was previously declared here 74 | FLAGTYPE *multiibuf,*multiwibuf, *outibuf,*outwibuf; | ^ coadd.c:74:51: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used resample.c:81:27: warning: type of ‘outibuf’ does not match original declaration [-Wlto-type-mismatch] 81 | FLAGTYPE **outibuf,**outwibuf, **oversampibuf,**oversampwibuf; | ^ coadd.c:74:42: note: ‘outibuf’ was previously declared here 74 | FLAGTYPE *multiibuf,*multiwibuf, *outibuf,*outwibuf; | ^ coadd.c:74:42: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used /usr/bin/ld: /tmp/ccbtcskS.ltrans0.ltrans.o: in function `inherit_field': /builddir/build/BUILD/swarp-2.38.0/src/field.c:207:(.text+0x8730): undefined reference to `new_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/field.c:208:(.text+0x8744): undefined reference to `inherit_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans0.ltrans.o: in function `end_field': /builddir/build/BUILD/swarp-2.38.0/src/field.c:254:(.text+0x8904): undefined reference to `free_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans0.ltrans.o: in function `makeit': /builddir/build/BUILD/swarp-2.38.0/src/field.c:84:(.text+0xc188): undefined reference to `new_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans0.ltrans.o:/builddir/build/BUILD/swarp-2.38.0/src/field.c:90:(.text+0xc1dc): undefined reference to `copy_tab_fromptr' /usr/bin/ld: /tmp/ccbtcskS.ltrans0.ltrans.o: in function `makeit': /builddir/build/BUILD/swarp-2.38.0/src/weight.c:125:(.text+0xc878): undefined reference to `new_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans0.ltrans.o:/builddir/build/BUILD/swarp-2.38.0/src/weight.c:130:(.text+0xc8b8): undefined reference to `copy_tab_fromptr' /usr/bin/ld: /tmp/ccbtcskS.ltrans0.ltrans.o: in function `makeit': /builddir/build/BUILD/swarp-2.38.0/src/makeit.c:178:(.text+0xca88): undefined reference to `free_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/makeit.c:180:(.text+0xca9c): undefined reference to `free_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/makeit.c:246:(.text+0xd148): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/makeit.c:250:(.text+0xd15c): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/makeit.c:206:(.text+0xde18): undefined reference to `open_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans1.ltrans.o: in function `read_cat': /builddir/build/BUILD/swarp-2.38.0/src/fits/fitsread.c:57:(.text+0xf0e0): undefined reference to `new_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/fits/fitsread.c:61:(.text+0xf100): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/fits/fitsread.c:67:(.text+0xf10c): undefined reference to `map_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/fits/fitsread.c:63:(.text+0xf150): undefined reference to `free_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans2.ltrans.o: in function `resample_field.constprop.0': /builddir/build/BUILD/swarp-2.38.0/src/resample.c:201:(.text+0x38e0): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/resample.c:241:(.text+0x3b10): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/resample.c:444:(.text+0x5924): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/resample.c:445:(.text+0x5930): undefined reference to `close_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans2.ltrans.o: in function `init_field.constprop.0': /builddir/build/BUILD/swarp-2.38.0/src/field.c:398:(.text+0x6ac4): undefined reference to `new_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/field.c:399:(.text+0x6acc): undefined reference to `init_cat' /usr/bin/ld: /tmp/ccbtcskS.ltrans2.ltrans.o: in function `init_field.constprop.0': /builddir/build/BUILD/swarp-2.38.0/src/fits/fitshead.c:466:(.text+0x7bd0): undefined reference to `encode_checksum' /usr/bin/ld: /tmp/ccbtcskS.ltrans2.ltrans.o:/builddir/build/BUILD/swarp-2.38.0/src/fits/fitshead.c:464:(.text+0x7d28): undefined reference to `compute_blocksum' /usr/bin/ld: /tmp/ccbtcskS.ltrans3.ltrans.o: in function `coadd_fields.constprop.0.isra.0': /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:404:(.text+0x4174): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:412:(.text+0x44a4): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:510:(.text+0x4f28): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:537:(.text+0x5554): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:542:(.text+0x5574): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:549:(.text+0x55d0): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:554:(.text+0x55e8): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:517:(.text+0x6430): undefined reference to `open_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:678:(.text+0x64ec): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:679:(.text+0x64f8): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:682:(.text+0x6514): undefined reference to `close_cat' /usr/bin/ld: /builddir/build/BUILD/swarp-2.38.0/src/coadd.c:684:(.text+0x6528): undefined reference to `close_cat' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:352: swarp] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/swarp-2.38.0/src' make[2]: *** [Makefile:398: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/swarp-2.38.0/src' make[1]: Leaving directory '/builddir/build/BUILD/swarp-2.38.0' make[1]: *** [Makefile:398: all-recursive] Error 1 make: *** [Makefile:315: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.yefGiH (%build) Bad exit status from /var/tmp/rpm-tmp.yefGiH (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 792473a9e50d4bf48116c7a3b546c8f7 -D /var/lib/mock/f40-build-55902751-6539450/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/swarp.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 792473a9e50d4bf48116c7a3b546c8f7 -D /var/lib/mock/f40-build-55902751-6539450/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2_kwnrxg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/swarp.spec'