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 x86_64 --nodeps /builddir/build/SPECS/wcstools.spec'], chrootPath='/var/lib/mock/f42-build-55120408-6532643/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.16ty8xq1:/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.16ty8xq1:/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', 'e515d6204adf4495945771855330008c', '-D', '/var/lib/mock/f42-build-55120408-6532643/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16ty8xq1:/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 x86_64 --nodeps /builddir/build/SPECS/wcstools.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/wcstools-3.9.7-8.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/wcstools.spec'], chrootPath='/var/lib/mock/f42-build-55120408-6532643/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.16ty8xq1:/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.16ty8xq1:/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', '01ae3a4b29c84d86888642ac2e654569', '-D', '/var/lib/mock/f42-build-55120408-6532643/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16ty8xq1:/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 x86_64 --nodeps /builddir/build/SPECS/wcstools.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.qr5yDP + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-build + test -d /builddir/build/BUILD/wcstools-3.9.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/wcstools-3.9.7-build + /usr/bin/rm -rf /builddir/build/BUILD/wcstools-3.9.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HXFUuX + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-build + cd /builddir/build/BUILD/wcstools-3.9.7-build + rm -rf wcstools-3.9.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wcstools-3.9.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wcstools-3.9.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/wcstools-3.9.7_rename-libwcs-to-libwcstools.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/wcstools-3.9.7_rename-binaries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + grep -rl '59 Temple Place, Suite 330, Boston, MA 02111-1307 USA' '--include=*.c' '--include=*.h' + xargs -i@ sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./g' @ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NY6e5h + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -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 wcstools-3.9.7 + /usr/bin/make -O -j6 V=1 VERBOSE=1 /usr/bin/make CC=gcc -C libwcs gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/filext filext.c gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/fileroot fileroot.c make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o imgetwcs.o imgetwcs.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' imgetwcs.c: In function ‘ChangeFITSWCS’: imgetwcs.c:561:11: warning: ‘cwcs’ may be used uninitialized [-Wmaybe-uninitialized] 561 | wcs = wcsinitn (header, cwcs); | ^~~~~~~~~~~~~~~~~~~~~~~ imgetwcs.c:387:11: note: ‘cwcs’ was declared here 387 | char *cwcs; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/filename filename.c In file included from /usr/include/stdio.h:970, from filename.c:24: In function ‘printf’, inlined from ‘main’ at filename.c:164:2: /usr/include/bits/stdio2.h:118:10: warning: ‘name’ may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filename.c: In function ‘main’: filename.c:45:11: note: ‘name’ was declared here 45 | char *name; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/crlf crlf.c crlf.c: In function ‘CRFix’: crlf.c:102:20: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 102 | (void) write (1, buffer, nbr); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/isrange isrange.c gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/htmlsp htmlsp.c htmlsp.c: In function ‘HTMLFix’: htmlsp.c:100:20: warning: unused variable ‘i’ [-Wunused-variable] 100 | int nbr, nnbr, i; | ^ htmlsp.c:110:20: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | (void) write (1, buffer, nnbr); | ^~~~~~~~~~~~~~~~~~~~~~~ htmlsp.c: At top level: htmlsp.c:34:14: warning: ‘RevMsg’ defined but not used [-Wunused-variable] 34 | static char *RevMsg = "HTMLSP WCSTools 3.9.7, 26 April 2022, Jessica Mink (jmink@cfa.harvard.edu)"; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o daoread.o daoread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o imsetwcs.o imsetwcs.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' imsetwcs.c: In function ‘SetWCSFITS’: imsetwcs.c:238:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 238 | fprintf (stderr, "Could not calloc %d bytes for gnum\n", | ~^ | | | int | %ld 239 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:243:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 243 | fprintf (stderr, "Could not calloc %d bytes for gx\n", | ~^ | | | int | %ld 244 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:246:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 246 | fprintf (stderr, "Could not calloc %d bytes for gy\n", | ~^ | | | int | %ld 247 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:249:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 249 | fprintf (stderr, "Could not calloc %d bytes for goff\n", | ~^ | | | int | %ld 250 | nbin*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:312:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 312 | fprintf (stderr, "Could not calloc %d bytes for gnum\n", | ~^ | | | int | %ld 313 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:315:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 315 | fprintf (stderr, "Could not calloc %d bytes for gra\n", | ~^ | | | int | %ld 316 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:318:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 318 | fprintf (stderr, "Could not calloc %d bytes for gdec\n", | ~^ | | | int | %ld 319 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:321:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 321 | fprintf (stderr, "Could not calloc %d bytes for gpra\n", | ~^ | | | int | %ld 322 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:324:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 324 | fprintf (stderr, "Could not calloc %d bytes for gpdec\n", | ~^ | | | int | %ld 325 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:327:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 327 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 328 | nmagmax*sizeof(double *)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:332:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 332 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 333 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:337:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 337 | fprintf (stderr, "Could not calloc %d bytes for gc\n", | ~^ | | | int | %ld 338 | ngmax*sizeof(int)); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:340:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 340 | fprintf (stderr, "Could not calloc %d bytes for obj\n", | ~^ | | | int | %ld 341 | ngmax*sizeof(char *)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:377:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 377 | fprintf (stderr, "Could not calloc %d bytes for gx\n", | ~^ | | | int | %ld 378 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:380:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 380 | fprintf (stderr, "Could not calloc %d bytes for gy\n", | ~^ | | | int | %ld 381 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c:383:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 383 | fprintf (stderr, "Could not calloc %d bytes for gy\n", | ~^ | | | int | %ld 384 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int imsetwcs.c: In function ‘CompRes’: imsetwcs.c:1059:17: warning: variable ‘sep2’ set but not used [-Wunused-but-set-variable] 1059 | double sep, sep2, rsep, rsep2, dsep, dsep2; | ^~~~ imsetwcs.c:1058:43: warning: unused variable ‘mag0’ [-Wunused-variable] 1058 | double gx, gy, dx, dy, dx2, dy2, dxy, mag0; | ^~~~ imsetwcs.c: In function ‘SetWCSFITS’: imsetwcs.c:433:21: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 433 | strncpy (numstr, gobj1[ig], 32); | ^ imsetwcs.c:376:27: warning: ‘ngmax’ may be used uninitialized [-Wmaybe-uninitialized] 376 | if (!(gx = (double *) calloc (ngmax, sizeof(double)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:146:9: note: ‘ngmax’ was declared here 146 | int ngmax; | ^~~~~ imsetwcs.c:292:22: warning: ‘refcat’ may be used uninitialized [-Wmaybe-uninitialized] 292 | refcatname = CatName (refcat, refcatname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:141:9: note: ‘refcat’ was declared here 141 | int refcat; /* reference catalog switch */ | ^~~~~~ imsetwcs.c:424:17: warning: ‘maxnum’ may be used uninitialized [-Wmaybe-uninitialized] 424 | nnfld = CatNumLen (refcat, maxnum, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imsetwcs.c:156:12: note: ‘maxnum’ was declared here 156 | double maxnum; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o fitswcs.o fitswcs.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o findstar.o findstar.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' In function ‘mean1d’, inlined from ‘FindStars’ at findstar.c:313:7: findstar.c:790:16: warning: ‘dnpix’ may be used uninitialized [-Wmaybe-uninitialized] 790 | sd = sum / dnpix; | ~~~^~~~~~~~~~~~~ findstar.c: In function ‘FindStars’: findstar.c:753:12: note: ‘dnpix’ was declared here 753 | double dnpix; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o matchstar.o matchstar.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' matchstar.c: In function ‘WCSMatch’: matchstar.c:962:9: warning: unused variable ‘nsc’ [-Wunused-variable] 962 | int nsc, j, nq[5]; | ^~~ matchstar.c: In function ‘amoeba’: matchstar.c:1816:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 1816 | for (i=0,sum=0.0; icenter,"%2.0f:%2.0f:%5.3f %c%2.0f:%2.0f:%5.3f %s", | ^~ In file included from /usr/include/stdio.h:970, from wcsinit.c:43: In function ‘sprintf’, inlined from ‘wcsinitc’ at wcsinit.c:871:8: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 26 and 1907 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ wcsinit.c: In function ‘wcsinitc’: wcsinit.c:714:53: warning: ‘%1d’ directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] 714 | sprintf (keyword, "PC00%1d00%1d", i+1, j+1); | ^~~ wcsinit.c:714:43: note: directive argument in the range [-2147483646, 2147483647] 714 | sprintf (keyword, "PC00%1d00%1d", i+1, j+1); | ^~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘wcsinitc’ at wcsinit.c:714:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 9 and 28 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ wcsinit.c: In function ‘wcsinitc’: wcsinit.c:730:50: warning: ‘%1d’ directive writing between 1 and 11 bytes into a region of size between 3 and 12 [-Wformat-overflow=] 730 | sprintf (keyword, "PC%1d_%1d", i+1, j+1); | ^~~ wcsinit.c:730:43: note: directive argument in the range [-2147483646, 2147483647] 730 | sprintf (keyword, "PC%1d_%1d", i+1, j+1); | ^~~~~~~~~~~ In function ‘sprintf’, inlined from ‘wcsinitc’ at wcsinit.c:730:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 25 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o ty2read.o ty2read.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' ty2read.c: In function ‘ty2bin’: ty2read.c:663:37: warning: variable ‘magv’ set but not used [-Wunused-but-set-variable] 663 | double num, ra, dec, mag, magb, magv; | ^~~~ ty2read.c:663:31: warning: variable ‘magb’ set but not used [-Wunused-but-set-variable] 663 | double num, ra, dec, mag, magb, magv; | ^~~~ ty2read.c: In function ‘ty2star’: ty2read.c:1342:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1342 | fprintf (stderr, "TY2STAR: %d / %d bytes read for star %d\n", | ~^ | | | int | %ld 1343 | sc->catlast - line, sc->nbent, istar); | ~~~~~~~~~~~~~~~~~~ | | | long int ty2read.c: In function ‘ty2read’: ty2read.c:132:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] 132 | strncpy (ty2cd, str, 64); | ^ ty2read.c: In function ‘ty2bin’: ty2read.c:693:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] 693 | strncpy (ty2cd, str, 64); | ^ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o wcscon.o wcscon.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o gsc2read.o gsc2read.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gsc2read.c: In function ‘gsc2read’: gsc2read.c:86:17: warning: unused variable ‘sd’ [-Wunused-variable] 86 | char sr[4], sd[4]; | ^~ gsc2read.c:86:10: warning: unused variable ‘sr’ [-Wunused-variable] 86 | char sr[4], sd[4]; | ^~ gsc2read.c:85:17: warning: unused variable ‘ds’ [-Wunused-variable] 85 | double ras, ds; | ^~ gsc2read.c:85:12: warning: unused variable ‘ras’ [-Wunused-variable] 85 | double ras, ds; | ^~~ gsc2read.c:84:23: warning: unused variable ‘dm’ [-Wunused-variable] 84 | int rah, ram, dd, dm; | ^~ gsc2read.c:84:19: warning: unused variable ‘dd’ [-Wunused-variable] 84 | int rah, ram, dd, dm; | ^~ gsc2read.c:84:14: warning: unused variable ‘ram’ [-Wunused-variable] 84 | int rah, ram, dd, dm; | ^~~ gsc2read.c:84:9: warning: unused variable ‘rah’ [-Wunused-variable] 84 | int rah, ram, dd, dm; | ^~~ gsc2read.c: In function ‘gsc2c2t’: gsc2read.c:243:21: warning: unused variable ‘colsep’ [-Wunused-variable] 243 | char *colhead, *colsep; | ^~~~~~ gsc2read.c:243:11: warning: unused variable ‘colhead’ [-Wunused-variable] 243 | char *colhead, *colsep; | ^~~~~~~ gsc2read.c: In function ‘gsc2t2t’: gsc2read.c:316:10: warning: unused variable ‘colon’ [-Wunused-variable] 316 | char colon = ':'; | ^~~~~ gsc2read.c: At top level: gsc2read.c:184:1: warning: ‘parsex’ defined but not used [-Wunused-function] 184 | parsex (str, ss, d, m, s) | ^~~~~~ gsc2read.c: In function ‘gsc2t2t’: gsc2read.c:334:36: warning: ‘kfirst’ may be used uninitialized [-Wmaybe-uninitialized] 334 | for (k = kfirst; k < j; k++) { | ~~^~~ gsc2read.c:309:29: note: ‘kfirst’ was declared here 309 | int lbuff, i, ih, j, k, kfirst; | ^~~~~~ gsc2read.c:343:23: warning: ‘tsvbi’ may be used uninitialized [-Wmaybe-uninitialized] 343 | if (tsvbi == ctab && tsvbj == ctab) | ~~~~~~^~~~~~~ gsc2read.c:310:10: note: ‘tsvbi’ was declared here 310 | char tsvbi, tsvbj; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o wcs.o wcs.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' wcs.c: In function ‘wcstype’: wcs.c:395:9: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 395 | strncpy (ctype1, "XLON",4); | ^ wcs.c:531:9: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 531 | strncpy (ctype2+1, "LAT",3); | ^ wcs.c:538:9: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 538 | strncpy (ctype2+1, "LAT",3); | ^ wcs.c:398:5: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 398 | strncpy (wcs->ctype[0], ctype1, lctype1); | ^ wcs.c:397:15: note: length computed here 397 | lctype1 = strlen (ctype1) + 1; | ^~~~~~~~~~~~~~~ wcs.c: In function ‘setwcsfile’: wcs.c:2480:9: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 2480 | strncpy (wcsfile, filename, lfn); | ^ wcs.c:2478:15: note: length computed here 2478 | int lfn = strlen (filename) + 1; | ^~~~~~~~~~~~~~~~~ wcs.c: In function ‘wcsxinit’: wcs.c:198:5: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 198 | strncat (wcs->ctype[0],proj, lproj); | ^ wcs.c:195:13: note: length computed here 195 | lproj = strlen (proj); | ^~~~~~~~~~~~~ wcs.c:199:5: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 199 | strncat (wcs->ctype[1],proj, lproj); | ^ wcs.c:195:13: note: length computed here 195 | lproj = strlen (proj); | ^~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o tmcread.o tmcread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' tmcread.c: In function ‘tmcbin’: tmcread.c:699:9: warning: variable ‘magsort’ set but not used [-Wunused-but-set-variable] 699 | int magsort; | ^~~~~~~ tmcread.c: In function ‘tmcrnum’: tmcread.c:656:5: warning: ‘starcat’ may be used uninitialized [-Wmaybe-uninitialized] 656 | tmcclose (starcat); | ^~~~~~~~~~~~~~~~~~ tmcread.c:541:21: note: ‘starcat’ was declared here 541 | struct StarCat *starcat; | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o sdssread.o sdssread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o ujcread.o ujcread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o uacread.o uacread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o gscread.o gscread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gscread.c: In function ‘gscbin’: gscread.c:794:12: warning: variable ‘xnum’ set but not used [-Wunused-but-set-variable] 794 | double xnum; /* Guide Star number */ | ^~~~ gscread.c: In function ‘gscrnum’: gscread.c:600:17: warning: ‘str’ may be used uninitialized [-Wmaybe-uninitialized] 600 | return (webrnum (str,"gsc",nstars,sysout,eqout,epout,1, | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 601 | gnum,gra,gdec,NULL,NULL,gmag,gtype,nlog)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gscread.c:577:11: note: ‘str’ was declared here 577 | char *str; | ^~~ gscread.c:664:23: warning: ‘table’ may be used uninitialized [-Wmaybe-uninitialized] 664 | nbr = fitsrtline (ift,nbhead,ltab,table,itable,nbline,entry); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gscread.c:552:11: note: ‘table’ was declared here 552 | char *table; /* FITS table */ | ^~~~~ gscread.c: In function ‘gscbin’: gscread.c:979:39: warning: ‘class0’ may be used uninitialized [-Wmaybe-uninitialized] 979 | (classd < -1 && class != class0) || | ~~~~~~^~~~~~~~~ gscread.c:798:16: note: ‘class0’ was declared here 798 | int class, class0; /* Object class (0>star, 3>other) */ | ^~~~~~ gscread.c:978:39: warning: ‘band0’ may be used uninitialized [-Wmaybe-uninitialized] 978 | ((classd < -1 && band != band0) || | ~~~~~^~~~~~~~ gscread.c:811:14: note: ‘band0’ was declared here 811 | int ift, band0, band; | ^~~~~ gscread.c:1060:38: warning: ‘ra0’ may be used uninitialized [-Wmaybe-uninitialized] 1060 | rasum = rasum + (ra0 / perr2); | ~~~~~^~~~~~~~ gscread.c:812:15: note: ‘ra0’ was declared here 812 | double ra,ra0,rasum,dec,dec0,decsum,perr,perr0,perr2,perrsum,msum; | ^~~ gscread.c:1061:41: warning: ‘dec0’ may be used uninitialized [-Wmaybe-uninitialized] 1061 | decsum = decsum + (dec0 / perr2); | ~~~~~~^~~~~~~~ gscread.c:812:29: note: ‘dec0’ was declared here 812 | double ra,ra0,rasum,dec,dec0,decsum,perr,perr0,perr2,perrsum,msum; | ^~~~ gscread.c:1058:23: warning: ‘perr0’ may be used uninitialized [-Wmaybe-uninitialized] 1058 | perr2 = perr * perr; | ~~~~~~^~~~~~~~~~~~~ gscread.c:812:46: note: ‘perr0’ was declared here 812 | double ra,ra0,rasum,dec,dec0,decsum,perr,perr0,perr2,perrsum,msum; | ^~~~~ gscread.c:1066:37: warning: ‘mag0’ may be used uninitialized [-Wmaybe-uninitialized] 1066 | msum = msum + (mag0 / merr2); | ~~~~~~^~~~~~~~ gscread.c:813:16: note: ‘mag0’ was declared here 813 | double mag,mag0,merr,merr0,merr2,merrsum; | ^~~~ gscread.c:1063:20: warning: ‘merr0’ may be used uninitialized [-Wmaybe-uninitialized] 1063 | if (merr0 <= 0.0) merr0 = 0.01; | ^ gscread.c:813:26: note: ‘merr0’ was declared here 813 | double mag,mag0,merr,merr0,merr2,merrsum; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o ucacread.o ucacread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' ucacread.c: In function ‘ucacread’: ucacread.c:221:23: warning: variable ‘nread’ set but not used [-Wunused-but-set-variable] 221 | int jtable,iwrap, nread; | ^~~~~ ucacread.c: In function ‘ucacrnum’: ucacread.c:724:9: warning: variable ‘verbose’ set but not used [-Wunused-but-set-variable] 724 | int verbose; | ^~~~~~~ ucacread.c: In function ‘ucacbin’: ucacread.c:932:21: warning: variable ‘nread’ set but not used [-Wunused-but-set-variable] 932 | int jtable,iwrap, nread; | ^~~~~ ucacread.c: In function ‘ucacsra’: ucacread.c:1243:52: warning: unused variable ‘sdiff’ [-Wunused-variable] 1243 | double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; | ^~~~~ ucacread.c:1243:44: warning: unused variable ‘rdiff2’ [-Wunused-variable] 1243 | double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; | ^~~~~~ ucacread.c:1243:36: warning: unused variable ‘rdiff1’ [-Wunused-variable] 1243 | double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; | ^~~~~~ ucacread.c:1243:29: warning: unused variable ‘rdiff’ [-Wunused-variable] 1243 | double rax, ra1, ra2, ra, rdiff, rdiff1, rdiff2, sdiff; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o binread.o binread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' binread.c: In function ‘binbin’: binread.c:702:9: warning: variable ‘mrv’ set but not used [-Wunused-but-set-variable] 702 | int mrv; | ^~~ binread.c: In function ‘binrnum’: binread.c:617:17: warning: ‘mrv’ may be used uninitialized [-Wmaybe-uninitialized] 617 | tmag[mrv][nstar] = star->radvel; | ^ binread.c:508:9: note: ‘mrv’ was declared here 508 | int mrv; | ^~~ binread.c: In function ‘binbin’: binread.c:835:30: warning: ‘mag’ may be used uninitialized [-Wmaybe-uninitialized] 835 | if (mag1 != mag2 && (mag < mag1 || mag > mag2)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ binread.c:697:12: note: ‘mag’ was declared here 697 | double mag; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o actread.o actread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' actread.c: In function ‘actbin’: actread.c:576:11: warning: variable ‘str’ set but not used [-Wunused-but-set-variable] 576 | char *str; | ^~~ actread.c:573:50: warning: variable ‘magv’ set but not used [-Wunused-but-set-variable] 573 | double num, ra, dec, rapm, decpm, mag, magb, magv; | ^~~~ actread.c:573:44: warning: variable ‘magb’ set but not used [-Wunused-but-set-variable] 573 | double num, ra, dec, rapm, decpm, mag, magb, magv; | ^~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o ubcread.o ubcread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' ubcread.c: In function ‘ubcbin’: ubcread.c:811:32: warning: variable ‘pmni’ set but not used [-Wunused-but-set-variable] 811 | int istar, istar1, istar2, pmni, nid; | ^~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o skybotread.o skybotread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' skybotread.c: In function ‘skybotread’: skybotread.c:133:12: warning: unused variable ‘dtemp’ [-Wunused-variable] 133 | double dtemp, jdout; | ^~~~~ skybotread.c:128:10: warning: unused variable ‘cmag’ [-Wunused-variable] 128 | char cmag; | ^~~~ skybotread.c: In function ‘skybot2tab’: skybotread.c:315:10: warning: unused variable ‘ccom’ [-Wunused-variable] 315 | char ccom = ','; | ^~~~ skybotread.c:313:11: warning: unused variable ‘buff’ [-Wunused-variable] 313 | char *buff; | ^~~~ skybotread.c:309:16: warning: unused variable ‘ldata’ [-Wunused-variable] 309 | int lhead, ldata; | ^~~~~ skybotread.c:305:11: warning: unused variable ‘head’ [-Wunused-variable] 305 | char *head; | ^~~~ skybotread.c:304:11: warning: unused variable ‘chead’ [-Wunused-variable] 304 | char *chead; | ^~~~~ skybotread.c:302:11: warning: unused variable ‘endhead’ [-Wunused-variable] 302 | char *endhead; | ^~~~~~~ skybotread.c:298:11: warning: unused variable ‘databuff’ [-Wunused-variable] 298 | char *databuff; | ^~~~~~~~ skybotread.c:293:11: warning: unused variable ‘heading’ [-Wunused-variable] 293 | char *heading; | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o ctgread.o ctgread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' ctgread.c: In function ‘ctgrdate’: ctgread.c:811:9: warning: variable ‘starfound’ set but not used [-Wunused-but-set-variable] 811 | int starfound; | ^~~~~~~~~ ctgread.c: In function ‘ctgopen’: ctgread.c:1249:9: warning: variable ‘ntok’ set but not used [-Wunused-but-set-variable] 1249 | int ntok; | ^~~~ ctgread.c: In function ‘isacat’: ctgread.c:1953:11: warning: variable ‘errc’ set but not used [-Wunused-but-set-variable] 1953 | char *errc; | ^~~~ ctgread.c: In function ‘ctg2dec’: ctgread.c:2035:34: warning: ‘min’ may be used uninitialized [-Wmaybe-uninitialized] 2035 | dec = sign * (deg + (min / 60.0) + (sec / 3600.0)); | ~~~~~^~~~~~~ ctgread.c:1996:17: note: ‘min’ was declared here 1996 | double deg, min, sec, sign; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o tabread.o tabread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' tabread.c: In function ‘tabbin’: tabread.c:793:9: warning: variable ‘peak’ set but not used [-Wunused-but-set-variable] 793 | int peak; | ^~~~ tabread.c: In function ‘tabopen’: tabread.c:1952:10: warning: variable ‘tabcstr’ set but not used [-Wunused-but-set-variable] 1952 | char tabcstr[4]; | ^~~~~~~ tabread.c:2182:16: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2182 | (void) fgets (tabtable->tabline, tabtable->lline, tabtable->tcat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tabread.c: In function ‘gettabline’: tabread.c:2264:24: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2264 | (void) fgets (tabtable->tabline, tabtable->lline, tabtable->tcat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tabread.c: At top level: tabread.c:2653:1: warning: ‘tabcont’ defined but not used [-Wunused-function] 2653 | tabcont (tabtable, keyword) | ^~~~~~~ In file included from /usr/include/stdio.h:970, from tabread.c:56: In function ‘fprintf’, inlined from ‘tabbin’ at tabread.c:974:7: /usr/include/bits/stdio2.h:111:10: warning: ‘mag’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tabread.c: In function ‘tabbin’: tabread.c:791:12: note: ‘mag’ was declared here 791 | double mag, parallax, rv; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o imrotate.o imrotate.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' imrotate.c: In function ‘RotWCSFITS’: imrotate.c:374:22: warning: unused variable ‘ctype2’ [-Wunused-variable] 374 | char ctype1[16], ctype2[16]; | ^~~~~~ imrotate.c:374:10: warning: unused variable ‘ctype1’ [-Wunused-variable] 374 | char ctype1[16], ctype2[16]; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o imhfile.o imhfile.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' imhfile.c: In function ‘iraf2fits’: imhfile.c:606:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 606 | else | ^~~~ imhfile.c:608:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 608 | hputcom (fitsheader,"NAXIS2", "IRAF .imh naxis[2]"); | ^~~~~~~ imhfile.c: In function ‘irafwhead’: imhfile.c:913:12: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 913 | (void) ftruncate (fd, nbhead); | ^~~~~~~~~~~~~~~~~~~~~~ imhfile.c: In function ‘iraf2fits’: imhfile.c:507:11: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 507 | (void)strncpy (endline,"END", 3); | ^ imhfile.c:861:5: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 861 | strncpy (endline," ",3); | ^ imhfile.c: In function ‘same_path’: imhfile.c:1065:15: warning: ‘strncpy’ specified bound 255 equals destination size [-Wstringop-truncation] 1065 | (void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE); | ^ imhfile.c:1078:15: warning: ‘__strncat_chk’ specified bound 255 equals destination size [-Wstringop-truncation] 1078 | (void)strncat (newpixname, pixname, SZ_IM2PIXFILE); | ^ imhfile.c:1085:15: warning: ‘strncpy’ specified bound 255 equals destination size [-Wstringop-truncation] 1085 | (void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE); | ^ imhfile.c:1043:15: warning: ‘strncpy’ specified bound 255 equals destination size [-Wstringop-truncation] 1043 | (void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE); | ^ In file included from /usr/include/string.h:548, from imhfile.c:83: In function ‘strncat’, inlined from ‘same_path’ at imhfile.c:1078:8: /usr/include/bits/string_fortified.h:149:10: warning: ‘__strncat_chk’ specified bound 255 equals destination size [-Wstringop-overflow=] 149 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ imhfile.c: In function ‘iraf2fits’: imhfile.c:553:11: warning: ‘__strncpy_chk’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 553 | (void)strncpy (fitsheader, endline, 80); | ^ imhfile.c:837:31: warning: ‘__strncpy_chk’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 837 | (void)strncpy (fhead, fitsline, 80); | ^ imhfile.c:826:27: warning: ‘__strncpy_chk’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 826 | (void)strncpy (fhead, fitsline, 80); | ^ imhfile.c:796:31: warning: ‘__strncpy_chk’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 796 | (void)strncpy (fhead, fitsline, 80); | ^ imhfile.c:784:23: warning: ‘__strncpy_chk’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 784 | (void)strncpy (fhead, fitsline, 80); | ^ imhfile.c:853:11: warning: ‘__strncpy_chk’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 853 | (void)strncpy (fhead, endline, 80); | ^ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o catutil.o catutil.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' catutil.c: In function ‘tmcid’: catutil.c:2546:10: warning: variable ‘csign’ set but not used [-Wunused-but-set-variable] 2546 | char csign; | ^~~~~ catutil.c: In function ‘CatNum’: catutil.c:1278:34: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 4 and 13 [-Wformat-overflow=] 1278 | sprintf (nform,"%%%d.%df", nndec+5, nndec); | ^~ catutil.c:1278:28: note: directive argument in the range [1, 2147483647] 1278 | sprintf (nform,"%%%d.%df", nndec+5, nndec); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from catutil.c:84: In function ‘sprintf’, inlined from ‘CatNum’ at catutil.c:1278:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ catutil.c: In function ‘CatNum’: catutil.c:1276:35: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 3 and 12 [-Wformat-overflow=] 1276 | sprintf (nform,"%%0%d.%df", -nnfld, nndec); | ^~ catutil.c:1276:28: note: directive argument in the range [1, 2147483647] 1276 | sprintf (nform,"%%0%d.%df", -nnfld, nndec); | ^~~~~~~~~~~ In function ‘sprintf’, inlined from ‘CatNum’ at catutil.c:1276:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 25 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ catutil.c: In function ‘CatNum’: catutil.c:1274:34: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 4 and 13 [-Wformat-overflow=] 1274 | sprintf (nform,"%%%d.%df", nnfld, nndec); | ^~ catutil.c:1274:28: note: directive argument in the range [1, 2147483647] 1274 | sprintf (nform,"%%%d.%df", nnfld, nndec); | ^~~~~~~~~~ In function ‘sprintf’, inlined from ‘CatNum’ at catutil.c:1274:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o hput.o hput.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' hput.c: In function ‘hputcom’: hput.c:695:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 695 | else | ^~~~ hput.c:697:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 697 | q2 = NULL; | ^~ hput.c: In function ‘hputc’: hput.c:544:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 544 | strncpy (v1, keyword, lkeyword); | ^ hput.c:412:22: note: length computed here 412 | lkeyword = (int) strlen (keyword); | ^~~~~~~~~~~~~~~~ hput.c:566:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 566 | strncpy (vp, value, lval); | ^ hput.c:413:18: note: length computed here 413 | lval = (int) strlen (value); | ^~~~~~~~~~~~~~ hput.c:558:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 558 | strncpy (vp, value, lval); | ^ hput.c:413:18: note: length computed here 413 | lval = (int) strlen (value); | ^~~~~~~~~~~~~~ hput.c:583:13: warning: ‘strncpy’ output may be truncated copying between 0 and 48 bytes from a string of length 49 [-Wstringop-truncation] 583 | strncpy (vp, newcom, lcom); | ^ hput.c: In function ‘hputnr8’: hput.c:156:30: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 156 | sprintf (format, "%%.%df", ndec); | ^~ hput.c:156:26: note: directive argument in the range [0, 2147483647] 156 | sprintf (format, "%%.%df", ndec); | ^~~~~~~~ In file included from /usr/include/stdio.h:970, from hput.c:54: In function ‘sprintf’, inlined from ‘hputnr8’ at hput.c:156:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hput.c: In function ‘hputnr8’: hput.c:149:30: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 149 | sprintf (format, "%%.%dg", -ndec); | ^~ hput.c:149:26: note: directive argument in the range [1, 2147483647] 149 | sprintf (format, "%%.%dg", -ndec); | ^~~~~~~~ In function ‘sprintf’, inlined from ‘hputnr8’ at hput.c:149:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hput.c: In function ‘hputs’: hput.c:375:5: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 375 | strncpy (&value[1],cval,lcval); | ^ hput.c:369:19: note: length computed here 369 | lcval = (int) strlen (cval); | ^~~~~~~~~~~~~ hput.c: In function ‘hputcom’: hput.c:713:9: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 713 | strncpy (c0, " / ",3); | ^ hput.c: In function ‘hadd’: hput.c:829:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 829 | strncpy (hplace, keyword, lkey); | ^ hput.c:828:18: note: length computed here 828 | lkey = (int) strlen (keyword); | ^~~~~~~~~~~~~~~~ hput.c: In function ‘deg2str’: hput.c:1202:30: warning: ‘%4d’ directive writing between 4 and 11 bytes into a region of size 7 [-Wformat-overflow=] 1202 | sprintf (degform, "%%%4d", field); | ^~~ hput.c:1202:27: note: directive argument in the range [-2147483644, 4] 1202 | sprintf (degform, "%%%4d", field); | ^~~~~~~ In function ‘sprintf’, inlined from ‘deg2str’ at hput.c:1202:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 13 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hput.c: In function ‘deg2str’: hput.c:1198:30: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1198 | sprintf (degform, "%%%d.%df", field, ndec); | ^~ hput.c:1198:27: note: directive argument in the range [5, 2147483647] 1198 | sprintf (degform, "%%%d.%df", field, ndec); | ^~~~~~~~~~ hput.c:1198:27: note: directive argument in the range [1, 2147483647] In function ‘sprintf’, inlined from ‘deg2str’ at hput.c:1198:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 24 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hput.c: In function ‘num2str’: hput.c:1243:35: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 1243 | sprintf (numform, "%%.%df", ndec); | ^~ hput.c:1243:31: note: directive argument in the range [1, 2147483647] 1243 | sprintf (numform, "%%.%df", ndec); | ^~~~~~~~ In function ‘sprintf’, inlined from ‘num2str’ at hput.c:1243:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hput.c: In function ‘num2str’: hput.c:1237:34: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1237 | sprintf (numform, "%%%dd", field); | ^~ hput.c:1237:31: note: directive argument in the range [1, 2147483647] 1237 | sprintf (numform, "%%%dd", field); | ^~~~~~~ In function ‘sprintf’, inlined from ‘num2str’ at hput.c:1237:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 4 and 13 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hput.c: In function ‘num2str’: hput.c:1233:34: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1233 | sprintf (numform, "%%%d.%df", field, ndec); | ^~ hput.c:1233:31: note: directive argument in the range [1, 2147483647] 1233 | sprintf (numform, "%%%d.%df", field, ndec); | ^~~~~~~~~~ hput.c:1233:31: note: directive argument in the range [1, 2147483647] In function ‘sprintf’, inlined from ‘num2str’ at hput.c:1233:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 24 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o hget.o hget.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' hget.c: In function ‘str2dec’: hget.c:1358:38: warning: ‘min’ may be used uninitialized [-Wmaybe-uninitialized] 1358 | dec = sign * (deg + (min / 60.0) + (sec / 3600.0)); | ~~~~~^~~~~~~ hget.c:1295:17: note: ‘min’ was declared here 1295 | double deg, min, sec, sign; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o fitsfile.o fitsfile.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' fitsfile.c: In function ‘fitsrhead’: fitsfile.c:293:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘off_t’ {aka ‘long int’} [-Wformat=] 293 | fprintf (stderr,"FITSRHEAD: %d bytes in header\n",ibhead); | ~^ ~~~~~~ | | | | int off_t {aka long int} | %ld fitsfile.c:499:13: warning: ‘__strncpy_chk’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 499 | strncpy (header, "SIMPLE ", 8); | ^ fitsfile.c: In function ‘fitsrthead’: fitsfile.c:1230:31: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1230 | sprintf (tname, "TTYPE%d", ifield+1);; | ^~ fitsfile.c:1230:25: note: directive argument in the range [1, 2147483647] 1230 | sprintf (tname, "TTYPE%d", ifield+1);; | ^~~~~~~~~ In file included from /usr/include/stdio.h:970, from fitsfile.c:81: In function ‘sprintf’, inlined from ‘fitsrthead’ at fitsfile.c:1230:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 16 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 ()); | ~~~~~~~~~~~~~~~~~ fitsfile.c: In function ‘fitsrthead’: fitsfile.c:1246:35: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1246 | sprintf (tname, "TBCOL%d", ifield+1); | ^~ fitsfile.c:1246:29: note: directive argument in the range [1, 2147483647] 1246 | sprintf (tname, "TBCOL%d", ifield+1); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘fitsrthead’ at fitsfile.c:1246:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 16 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 ()); | ~~~~~~~~~~~~~~~~~ fitsfile.c: In function ‘fitsrthead’: fitsfile.c:1253:31: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1253 | sprintf (tname, "TFORM%d", ifield+1);; | ^~ fitsfile.c:1253:25: note: directive argument in the range [1, 2147483647] 1253 | sprintf (tname, "TFORM%d", ifield+1);; | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘fitsrthead’ at fitsfile.c:1253:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 16 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 ()); | ~~~~~~~~~~~~~~~~~ fitsfile.c: In function ‘fitswexhead’: fitsfile.c:2049:9: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 2049 | strncpy (lasthead-80, "END", 3); | ^ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o imio.o imio.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o dsspos.o dsspos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o worldpos.o worldpos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o zpxpos.o zpxpos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o platepos.o platepos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o tnxpos.o tnxpos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' tnxpos.c: In function ‘wf_gsder’: tnxpos.c:821:17: warning: ‘sf2_271->ncoeff’ may be used uninitialized [-Wmaybe-uninitialized] 821 | nbytes = sf2->ncoeff * sizeof(double); | ~~~^~~~~~~~ tnxpos.c: In function ‘wf_gsrestore’: tnxpos.c:1010:38: warning: ‘sf_68->ncoeff’ may be used uninitialized [-Wmaybe-uninitialized] 1010 | sf->coeff = (double *) malloc (sf->ncoeff*sizeof (double)); | ~~^~~~~~~~ tnxpos.c: In function ‘wf_gspset’: tnxpos.c:1196:38: warning: ‘sf_30->ncoeff’ may be used uninitialized [-Wmaybe-uninitialized] 1196 | sf->coeff = (double *) malloc (sf->ncoeff*sizeof (double)); | ~~^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o platefit.o platefit.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o iget.o iget.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o sortstar.o sortstar.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' sortstar.c: In function ‘StarMerge’: sortstar.c:954:35: warning: variable ‘nums’ set but not used [-Wunused-but-set-variable] 954 | int i, is, js, nthis, im, no, nums[MAXMERGE]; | ^~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o lin.o lin.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o cel.o cel.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o dateutil.o dateutil.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' dateutil.c: In function ‘fd2mfd’: dateutil.c:2124:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 2124 | sprintf (tstring, ""); | ^~ dateutil.c:2130:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] 2130 | sprintf (dstring, ""); | ^~ dateutil.c: In function ‘lt2fd’: dateutil.c:995:48: warning: ‘:’ directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 995 | sprintf (isotime, "%04d-%02d-%02dT%02d:%02d:%02d", | ^ In file included from /usr/include/stdio.h:970, from dateutil.c:318: In function ‘sprintf’, inlined from ‘lt2fd’ at dateutil.c:995:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 20 and 72 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dateutil.c: In function ‘dt2fd’: dateutil.c:499:30: warning: ‘%s’ directive writing up to 31 bytes into a region of size between 0 and 31 [-Wformat-overflow=] 499 | sprintf (string, "%sT%s", dstring, tstring); | ^~ ~~~~~~~ In function ‘sprintf’, inlined from ‘dt2fd’ at dateutil.c:499:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 64 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dateutil.c: In function ‘fd2mfd’: dateutil.c:2139:31: warning: ‘%s’ directive writing up to 31 bytes into a region of size between 0 and 31 [-Wformat-overflow=] 2139 | sprintf (fstring, "%sT%s", dstring, tstring); | ^~ ~~~~~~~ In function ‘sprintf’, inlined from ‘fd2mfd’ at dateutil.c:2139:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 64 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dateutil.c: In function ‘ut2fd’: dateutil.c:3380:48: warning: ‘:’ directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 3380 | sprintf (isotime, "%04d-%02d-%02dT%02d:%02d:%02d", | ^ In function ‘sprintf’, inlined from ‘ut2fd’ at dateutil.c:3380:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 20 and 72 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o wcslib.o wcslib.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o wcstrig.o wcstrig.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o sph.o sph.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o fileutil.o fileutil.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' fileutil.c:30:1: warning: "/*" within comment [-Wcomment] 30 | /** Read, parse, and find out things about ASCII files fileutil.c: In function ‘getmaxlength’: fileutil.c:172:9: warning: unused variable ‘nlines’ [-Wunused-variable] 172 | int nlines = 0; | ^~~~~~ fileutil.c: In function ‘agetl’: fileutil.c:1232:9: warning: unused variable ‘ieos’ [-Wunused-variable] 1232 | int ieos = 0; | ^~~~ fileutil.c:1227:23: warning: variable ‘lstring’ set but not used [-Wunused-but-set-variable] 1227 | int ichar, jline, lstring; | ^~~~~~~ fileutil.c:1227:9: warning: unused variable ‘ichar’ [-Wunused-variable] 1227 | int ichar, jline, lstring; | ^~~~~ fileutil.c: In function ‘agetw’: fileutil.c:1358:11: warning: unused variable ‘value’ [-Wunused-variable] 1358 | char *value; | ^~~~~ fileutil.c: In function ‘agets’: fileutil.c:1392:24: warning: unused variable ‘fkey’ [-Wunused-variable] 1392 | int ipar, i, lkey, fkey; | ^~~~ fileutil.c:1392:15: warning: unused variable ‘i’ [-Wunused-variable] 1392 | int ipar, i, lkey, fkey; | ^ fileutil.c:1390:57: warning: unused variable ‘iquot’ [-Wunused-variable] 1390 | char *lastval, *rval, *brack1, *brack2, *lastring, *iquot, *ival; | ^~~~~ fileutil.c:1390:21: warning: unused variable ‘rval’ [-Wunused-variable] 1390 | char *lastval, *rval, *brack1, *brack2, *lastring, *iquot, *ival; | ^~~~ fileutil.c:1390:11: warning: unused variable ‘lastval’ [-Wunused-variable] 1390 | char *lastval, *rval, *brack1, *brack2, *lastring, *iquot, *ival; | ^~~~~~~ fileutil.c:1389:27: warning: variable ‘dquot’ set but not used [-Wunused-but-set-variable] 1389 | char cquot, squot[2], dquot[2], lbracket[2], rbracket[2], comma[2]; | ^~~~~ fileutil.c:1389:17: warning: variable ‘squot’ set but not used [-Wunused-but-set-variable] 1389 | char cquot, squot[2], dquot[2], lbracket[2], rbracket[2], comma[2]; | ^~~~~ fileutil.c:1389:10: warning: variable ‘cquot’ set but not used [-Wunused-but-set-variable] 1389 | char cquot, squot[2], dquot[2], lbracket[2], rbracket[2], comma[2]; | ^~~~~ fileutil.c: In function ‘next_line’: fileutil.c:485:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 485 | (void) fgets (line, ncmax, diskfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileutil.c: In function ‘first_token’: fileutil.c:521:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 521 | (void) fgets (token, ncmax, diskfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o distort.o distort.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' distort.c: In function ‘DelDistort’: distort.c:160:41: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 3 and 12 [-Wformat-overflow=] 160 | sprintf (keyword, "A_%d_%d", i, j); | ^~ distort.c:160:35: note: directive argument in the range [0, 2147483647] 160 | sprintf (keyword, "A_%d_%d", i, j); | ^~~~~~~~~ In file included from /usr/include/stdio.h:970, from distort.c:41: In function ‘sprintf’, inlined from ‘DelDistort’ at distort.c:160:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ distort.c: In function ‘DelDistort’: distort.c:172:42: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 2 and 11 [-Wformat-overflow=] 172 | sprintf (keyword, "AP_%d_%d", i, j); | ^~ distort.c:172:35: note: directive argument in the range [0, 2147483647] 172 | sprintf (keyword, "AP_%d_%d", i, j); | ^~~~~~~~~~ In function ‘sprintf’, inlined from ‘DelDistort’ at distort.c:172:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 25 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ distort.c: In function ‘DelDistort’: distort.c:184:41: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 3 and 12 [-Wformat-overflow=] 184 | sprintf (keyword, "B_%d_%d", i, j); | ^~ distort.c:184:35: note: directive argument in the range [0, 2147483647] 184 | sprintf (keyword, "B_%d_%d", i, j); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘DelDistort’ at distort.c:184:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ distort.c: In function ‘DelDistort’: distort.c:196:42: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 2 and 11 [-Wformat-overflow=] 196 | sprintf (keyword, "BP_%d_%d", i, j); | ^~ distort.c:196:35: note: directive argument in the range [0, 2147483647] 196 | sprintf (keyword, "BP_%d_%d", i, j); | ^~~~~~~~~~ In function ‘sprintf’, inlined from ‘DelDistort’ at distort.c:196:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 25 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function ‘foc2pix’, inlined from ‘foc2pix’ at distort.c:228:1: distort.c:254:13: warning: ‘s’ may be used uninitialized [-Wmaybe-uninitialized] 254 | sum = s[0]; | ~~~~^~~~~~ distort.c: In function ‘foc2pix’: distort.c:235:12: note: ‘s’ declared here 235 | double s[DISTMAX], sum; | ^ In function ‘pix2foc’, inlined from ‘pix2foc’ at distort.c:289:1: distort.c:315:13: warning: ‘s’ may be used uninitialized [-Wmaybe-uninitialized] 315 | sum = s[0]; | ~~~~^~~~~~ distort.c: In function ‘pix2foc’: distort.c:296:12: note: ‘s’ declared here 296 | double s[DISTMAX], sum; | ^ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o imutil.o imutil.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' imutil.c: In function ‘SetBadFITS’: imutil.c:227:25: warning: value computed is not used [-Wunused-value] 227 | *b1++; | ^~~~~ imutil.c:246:25: warning: value computed is not used [-Wunused-value] 246 | *b1++; | ^~~~~ imutil.c:273:25: warning: value computed is not used [-Wunused-value] 273 | *b1++; | ^~~~~ imutil.c:292:25: warning: value computed is not used [-Wunused-value] 292 | *b1++; | ^~~~~ imutil.c:320:25: warning: value computed is not used [-Wunused-value] 320 | *b1++; | ^~~~~ imutil.c:339:25: warning: value computed is not used [-Wunused-value] 339 | *b1++; | ^~~~~ imutil.c:365:25: warning: value computed is not used [-Wunused-value] 365 | *b1++; | ^~~~~ imutil.c:384:25: warning: value computed is not used [-Wunused-value] 384 | *b1++; | ^~~~~ imutil.c: In function ‘SetBadVal’: imutil.c:460:21: warning: value computed is not used [-Wunused-value] 460 | *b1++; | ^~~~~ imutil.c:465:21: warning: value computed is not used [-Wunused-value] 465 | *b1++; | ^~~~~ imutil.c:492:21: warning: value computed is not used [-Wunused-value] 492 | *b1++; | ^~~~~ imutil.c:497:21: warning: value computed is not used [-Wunused-value] 497 | *b1++; | ^~~~~ imutil.c:524:21: warning: value computed is not used [-Wunused-value] 524 | *b1++; | ^~~~~ imutil.c:529:21: warning: value computed is not used [-Wunused-value] 529 | *b1++; | ^~~~~ imutil.c:556:21: warning: value computed is not used [-Wunused-value] 556 | *b1++; | ^~~~~ imutil.c:561:21: warning: value computed is not used [-Wunused-value] 561 | *b1++; | ^~~~~ In file included from /usr/include/stdio.h:970, from imutil.c:65: In function ‘fprintf’, inlined from ‘SetBadFITS’ at imutil.c:397:2: /usr/include/bits/stdio2.h:111:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imutil.c: In function ‘SetBadFITS’: imutil.c:174:12: note: ‘iy’ was declared here 174 | int ix,iy; /* Pixel around which to compute mean */ | ^~ In function ‘fprintf’, inlined from ‘SetBadVal’ at imutil.c:574:2: /usr/include/bits/stdio2.h:111:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imutil.c: In function ‘SetBadVal’: imutil.c:417:12: note: ‘iy’ was declared here 417 | int ix,iy; /* Pixel around which to compute mean */ | ^~ In function ‘fprintf’, inlined from ‘medfilt’ at imutil.c:690:2: /usr/include/bits/stdio2.h:111:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imutil.c: In function ‘medfilt’: imutil.c:600:12: note: ‘iy’ was declared here 600 | int ix,iy; /* Pixel around which to compute median */ | ^~ In function ‘fprintf’, inlined from ‘medfill’ at imutil.c:817:2: /usr/include/bits/stdio2.h:111:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imutil.c: In function ‘medfill’: imutil.c:709:12: note: ‘iy’ was declared here 709 | int ix,iy; /* Pixel around which to compute median */ | ^~ In function ‘fprintf’, inlined from ‘meanfilt’ at imutil.c:1402:2: /usr/include/bits/stdio2.h:111:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imutil.c: In function ‘meanfilt’: imutil.c:1316:12: note: ‘iy’ was declared here 1316 | int ix,iy; /* Pixel around which to compute mean */ | ^~ In function ‘fprintf’, inlined from ‘meanfill’ at imutil.c:1529:2: /usr/include/bits/stdio2.h:111:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imutil.c: In function ‘meanfill’: imutil.c:1421:12: note: ‘iy’ was declared here 1421 | int ix,iy; /* Pixel around which to compute mean */ | ^~ imutil.c: In function ‘gaussfilt’: imutil.c:1986:24: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 1986 | if (nlog > 0 && (iy+1)%nlog == 0) | ~~~^~~ imutil.c:1905:12: note: ‘iy’ was declared here 1905 | int ix,iy; /* Pixel around which to compute median */ | ^~ In function ‘fprintf’, inlined from ‘gaussfill’ at imutil.c:2106:2: /usr/include/bits/stdio2.h:111:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imutil.c: In function ‘gaussfill’: imutil.c:2006:12: note: ‘iy’ was declared here 2006 | int ix,iy; /* Pixel around which to compute median */ | ^~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o poly.o poly.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' poly.c: In function ‘poly_powers’: poly.c:881:14: warning: ‘gexpo’ may be used uninitialized [-Wmaybe-uninitialized] 881 | if (gexpo[*group]) | ~~~~~^~~~~~~~ poly.c:865:38: note: ‘gexpo’ declared here 865 | int expo[POLY_MAXDIM+1], gexpo[POLY_MAXDIM+1]; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -c -o proj.o proj.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' ar rv libwcstools.a imsetwcs.o imgetwcs.o matchstar.o findstar.o daoread.o wcscon.o fitswcs.o wcsinit.o wcs.o ty2read.o webread.o tmcread.o gscread.o gsc2read.o ujcread.o uacread.o ubcread.o ucacread.o sdssread.o tabread.o binread.o ctgread.o actread.o catutil.o skybotread.o imrotate.o fitsfile.o imhfile.o hget.o hput.o imio.o dateutil.o imutil.o worldpos.o tnxpos.o zpxpos.o dsspos.o platepos.o sortstar.o platefit.o iget.o fileutil.o wcslib.o lin.o cel.o proj.o sph.o wcstrig.o distort.o poly.o a - imsetwcs.o a - imgetwcs.o a - matchstar.o a - findstar.o a - daoread.o a - wcscon.o a - fitswcs.o a - wcsinit.o a - wcs.o a - ty2read.o a - webread.o a - tmcread.o a - gscread.o a - gsc2read.o a - ujcread.o a - uacread.o a - ubcread.o a - ucacread.o a - sdssread.o a - tabread.o a - binread.o a - ctgread.o a - actread.o a - catutil.o a - skybotread.o a - imrotate.o a - fitsfile.o a - imhfile.o a - hget.o a - hput.o a - imio.o a - dateutil.o a - imutil.o a - worldpos.o a - tnxpos.o a - zpxpos.o a - dsspos.o a - platepos.o a - sortstar.o a - platefit.o a - iget.o a - fileutil.o a - wcslib.o a - lin.o a - cel.o a - proj.o a - sph.o a - wcstrig.o a - distort.o a - poly.o ranlib libwcstools.a make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' ar: creating libwcstools.a make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 -shared -o libwcstools.so.1.0.0 -Wl,-soname,libwcstools.so.1 imsetwcs.o imgetwcs.o matchstar.o findstar.o daoread.o wcscon.o fitswcs.o wcsinit.o wcs.o ty2read.o webread.o tmcread.o gscread.o gsc2read.o ujcread.o uacread.o ubcread.o ucacread.o sdssread.o tabread.o binread.o ctgread.o actread.o catutil.o skybotread.o imrotate.o fitsfile.o imhfile.o hget.o hput.o imio.o dateutil.o imutil.o worldpos.o tnxpos.o zpxpos.o dsspos.o platepos.o sortstar.o platefit.o iget.o fileutil.o wcslib.o lin.o cel.o proj.o sph.o wcstrig.o distort.o poly.o -lm ln -s libwcstools.so.1.0.0 libwcstools.so.1 ln -s libwcstools.so.1.0.0 libwcstools.so make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs' wcs.c: In function ‘wcsxinit’: wcs.c:198:5: warning: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 198 | strncat (wcs->ctype[0],proj, lproj); | ^ wcs.c:195:13: note: length computed here 195 | lproj = strlen (proj); | ^ wcs.c:199:5: warning: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 199 | strncat (wcs->ctype[1],proj, lproj); | ^ wcs.c:195:13: note: length computed here 195 | lproj = strlen (proj); | ^ In function ‘strncat’, inlined from ‘same_path’ at imhfile.c:1078:8: /usr/include/bits/string_fortified.h:149:10: warning: ‘__builtin___strncat_chk’ specified bound 255 equals destination size [-Wstringop-overflow=] 149 | return __builtin___strncat_chk (__dest, __src, __len, | ^ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/delwcs delwcs.c -L libwcs -lwcstools -lm delwcs.c: In function ‘DelWCS’: delwcs.c:261:17: warning: ‘image’ may be used uninitialized [-Wmaybe-uninitialized] 261 | if (fitswimage (newname, header, image) < 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delwcs.c:117:11: note: ‘image’ was declared here 117 | char *image; /* Image pixels */ | ^~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/edhead edhead.c -L libwcs -lwcstools -lm edhead.c: In function ‘EditHead’: edhead.c:133:14: warning: variable ‘ipos’ set but not used [-Wunused-but-set-variable] 133 | int fdr, ipos, nbr, nbw; | ^~~~ edhead.c:304:9: warning: pointer ‘header_83’ may be used after ‘free’ [-Wuse-after-free] 304 | free (header); | ^~~~~~~~~~~~~ edhead.c:217:9: note: call to ‘free’ here 217 | free (header); | ^~~~~~~~~~~~~ edhead.c:253:13: warning: pointer ‘header_83’ may be used after ‘free’ [-Wuse-after-free] 253 | free (header); | ^~~~~~~~~~~~~ edhead.c:217:9: note: call to ‘free’ here 217 | free (header); | ^~~~~~~~~~~~~ edhead.c:240:9: warning: pointer ‘header_83’ may be used after ‘free’ [-Wuse-after-free] 240 | free (header); | ^~~~~~~~~~~~~ edhead.c:217:9: note: call to ‘free’ here 217 | free (header); | ^~~~~~~~~~~~~ edhead.c:288:13: warning: ‘__strncpy_chk’ output may be truncated copying 80 bytes from a string of length 159 [-Wstringop-truncation] 288 | strncpy (head,headline,80); | ^ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/fixpix fixpix.c -L libwcs -lwcstools -lm fixpix.c: In function ‘FixPix’: fixpix.c:216:10: warning: variable ‘newline’ set but not used [-Wunused-but-set-variable] 216 | char newline[1]; | ^~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/delhead delhead.c -L libwcs -lwcstools -lm delhead.c: In function ‘main’: delhead.c:72:9: warning: variable ‘nbytes’ set but not used [-Wunused-but-set-variable] 72 | int nbytes; | ^~~~~~ delhead.c: In function ‘DelKeywords’: delhead.c:471:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 471 | if (nblnew == nblold && !newimage) | ^~ delhead.c:474:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 474 | hgeti4 (header,"NAXIS",&naxis); | ^~~~~~ delhead.c:286:9: warning: variable ‘imageread’ set but not used [-Wunused-but-set-variable] 286 | int imageread = 0; | ^~~~~~~~~ delhead.c:285:19: warning: variable ‘ipos’ set but not used [-Wunused-but-set-variable] 285 | int fdr, fdw, ipos, nbr, nbw, bitpix, i; | ^~~~ delhead.c: In function ‘DelCOMMENT’: delhead.c:563:21: warning: variable ‘nline’ set but not used [-Wunused-but-set-variable] 563 | int i, killcom, nline; | ^~~~~ delhead.c: In function ‘main’: delhead.c:196:39: warning: pointer ‘kwd_108’ may be used after ‘realloc’ [-Wuse-after-free] 196 | kwdnew[ikwd] = kwd[ikwd]; | ^ delhead.c:194:36: note: call to ‘realloc’ here 194 | kwdnew = (char **) realloc ((void *)kwd, maxnkwd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delhead.c:197:17: warning: pointer ‘kwd_108’ used after ‘realloc’ [-Wuse-after-free] 197 | free (kwd); | ^~~~~~~~~~ delhead.c:194:36: note: call to ‘realloc’ here 194 | kwdnew = (char **) realloc ((void *)kwd, maxnkwd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delhead.c: In function ‘DelKeywords’: delhead.c:388:35: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 9 [-Wformat-overflow=] 388 | sprintf (kwi, "%s_%03d", kwd[ikwd], i++); | ^~~~ delhead.c:388:31: note: directive argument in the range [2, 2147483647] 388 | sprintf (kwi, "%s_%03d", kwd[ikwd], i++); | ^~~~~~~~~ In file included from /usr/include/stdio.h:970, from delhead.c:24: In function ‘sprintf’, inlined from ‘DelKeywords’ at delhead.c:388:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 5 or more bytes (assuming 12) into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/i2f i2f.c -L libwcs -lwcstools -lm i2f.c: In function ‘IRAFtoFITS’: i2f.c:229:17: warning: pointer ‘irafheader_67’ may be used after ‘free’ [-Wuse-after-free] 229 | free (irafheader); | ^~~~~~~~~~~~~~~~~ i2f.c:221:13: note: call to ‘free’ here 221 | free (irafheader); | ^~~~~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/cphead cphead.c -L libwcs -lwcstools -lm cphead.c: In function ‘main’: cphead.c:68:9: warning: variable ‘nbytes’ set but not used [-Wunused-but-set-variable] 68 | int nbytes; | ^~~~~~ cphead.c: In function ‘CopyValues’: cphead.c:375:16: warning: variable ‘ipos’ set but not used [-Wunused-but-set-variable] 375 | int naxis, ipos, nbhead, nbr, nbw; | ^~~~ cphead.c:499:24: warning: ‘nbheadout’ may be used uninitialized [-Wmaybe-uninitialized] 499 | (void) hlength (headout, nbheadout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cphead.c:368:15: note: ‘nbheadout’ was declared here 368 | int ndec, nbheadout, nbheadin, nbheader; | ^~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imhead imhead.c -L libwcs -lwcstools -lm imhead.c: In function ‘PrintHead’: imhead.c:167:12: warning: variable ‘nw’ set but not used [-Wunused-but-set-variable] 167 | int i, nw, nbytes, lhead, nblk; | ^~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/immatch immatch.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imrot imrot.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imsize imsize.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/gethead gethead.c -L libwcs -lwcstools -lm gethead.c: In function ‘main’: gethead.c:115:9: warning: variable ‘nbytes’ set but not used [-Wunused-but-set-variable] 115 | int nbytes; | ^~~~~~ gethead.c:95:10: warning: unused variable ‘wcond’ [-Wunused-variable] 95 | char wcond, **newccond; | ^~~~~ gethead.c: In function ‘PrintValues’: gethead.c:1143:40: warning: too many arguments for format [-Wformat-extra-args] 1143 | sprintf (temp, "%c_", keyword[0], str); | ^~~~~ gethead.c:1145:40: warning: too many arguments for format [-Wformat-extra-args] 1145 | sprintf (temp, "%c___", keyword[0], str); | ^~~~~~~ gethead.c:1300:32: warning: too many arguments for format [-Wformat-extra-args] 1300 | sprintf (temp, "%c_", keyword[0], str); | ^~~~~ gethead.c:1302:32: warning: too many arguments for format [-Wformat-extra-args] 1302 | sprintf (temp, "%c___", keyword[0], str); | ^~~~~~~ gethead.c:803:23: warning: variable ‘notfound’ set but not used [-Wunused-but-set-variable] 803 | int ikwd, nfound, notfound, nch, iepoch; | ^~~~~~~~ gethead.c: At top level: gethead.c:77:24: warning: ‘newccond’ defined but not used [-Wunused-variable] 77 | static char **ccond, **newccond; /* Condition characters */ | ^~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imstar imstar.c -L libwcs -lwcstools -lm imstar.c: In function ‘ListStars’: imstar.c:666:25: warning: unused variable ‘iy’ [-Wunused-variable] 666 | int radius, ix, iy; | ^~ imstar.c:666:21: warning: unused variable ‘ix’ [-Wunused-variable] 666 | int radius, ix, iy; | ^~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/addpix addpix.c -L libwcs -lwcstools -lm addpix.c: In function ‘AddPix’: addpix.c:138:10: warning: variable ‘newline’ set but not used [-Wunused-but-set-variable] 138 | char newline[1]; | ^~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imwcs imwcs.c -L libwcs -lwcstools -lm imwcs.c: In function ‘FitWCS’: imwcs.c:744:13: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 744 | strncpy (newname, fname, lname - lext); | ^ imwcs.c:741:17: note: length computed here 741 | lname = strlen (fname); | ^~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/sky2xy sky2xy.c -L libwcs -lwcstools -lm sky2xy.c: In function ‘main’: sky2xy.c:74:9: warning: variable ‘modwcs’ set but not used [-Wunused-but-set-variable] 74 | int modwcs = 0; /* 1 if image WCS modified on command line */ | ^~~~~~ sky2xy.c:68:9: warning: variable ‘syscoor’ set but not used [-Wunused-but-set-variable] 68 | int syscoor = 0; | ^~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/setpix setpix.c -L libwcs -lwcstools -lm setpix.c: In function ‘SetPix’: setpix.c:271:10: warning: variable ‘newline’ set but not used [-Wunused-but-set-variable] 271 | char newline[1]; | ^~~~~~~ In file included from /usr/include/stdio.h:970, from setpix.c:24: In function ‘printf’, inlined from ‘SetPix’ at setpix.c:396:8, inlined from ‘main’ at setpix.c:219:2: /usr/include/bits/stdio2.h:118:10: warning: ‘ipix’ may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setpix.c: In function ‘main’: setpix.c:263:31: note: ‘ipix’ was declared here 263 | int nx, ny, ix, iy, x, y, ipix; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/sethead sethead.c -L libwcs -lwcstools -lm sethead.c: In function ‘main’: sethead.c:315:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 315 | if (kw1 == (char) 0) | ^~ sethead.c:315:41: note: did you mean to dereference the pointer? 315 | if (kw1 == (char) 0) | ^ sethead.c:85:9: warning: variable ‘nbytes’ set but not used [-Wunused-but-set-variable] 85 | int nbytes; | ^~~~~~ sethead.c: In function ‘SetValues’: sethead.c:725:13: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 725 | strncpy (cval, "RA--", 4); | ^ sethead.c:728:13: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 728 | strncpy (cval, "DEC-", 4); | ^ sethead.c:750:13: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 750 | strncpy (cval, "GLON", 4); | ^ sethead.c:753:13: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 753 | strncpy (cval, "GLAT", 4); | ^ sethead.c:775:13: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 775 | strncpy (cval, "ELON", 4); | ^ sethead.c:778:13: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 778 | strncpy (cval, "ELAT", 4); | ^ sethead.c:967:21: warning: ‘strncpy’ output may be truncated copying 10 bytes from a string of length 79 [-Wstringop-truncation] 967 | strncpy (jd2fd (dval0), string, 10); | ^ sethead.c: In function ‘main’: sethead.c:218:25: warning: ‘strncpy’ specified bound 1 equals destination size [-Wstringop-truncation] 218 | strncpy (&spchar, *(++av), 1); | ^ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/keyhead keyhead.c -L libwcs -lwcstools -lm keyhead.c: In function ‘main’: keyhead.c:68:9: warning: variable ‘nbytes’ set but not used [-Wunused-but-set-variable] 68 | int nbytes; | ^~~~~~ keyhead.c: In function ‘ChangeKeyNames’: keyhead.c:285:19: warning: variable ‘ipos’ set but not used [-Wunused-but-set-variable] 285 | int fdr, fdw, ipos, nbr, nbw, nchange; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/subpix subpix.c -L libwcs -lwcstools -lm subpix.c: In function ‘SubPix’: subpix.c:138:10: warning: variable ‘newline’ set but not used [-Wunused-but-set-variable] 138 | char newline[1]; | ^~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/getpix getpix.c -L libwcs -lwcstools -lm getpix.c: In function ‘main’: getpix.c:388:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 388 | else if (ixrange && iynum || ixnum && iyrange || ixrange && iyrange) { | ~~~~~~~~^~~~~~~~ getpix.c:388:66: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 388 | else if (ixrange && iynum || ixnum && iyrange || ixrange && iyrange) { | ~~~~~~~~^~~~~~~~~~ getpix.c:100:18: warning: unused variable ‘fcomma’ [-Wunused-variable] 100 | char *fext, *fcomma; | ^~~~~~ getpix.c:100:11: warning: unused variable ‘fext’ [-Wunused-variable] 100 | char *fext, *fcomma; | ^~~~ getpix.c: In function ‘PrintPix’: getpix.c:645:11: warning: unused variable ‘c’ [-Wunused-variable] 645 | char *c; | ^ getpix.c:667:17: warning: pointer ‘irafheader_527’ may be used after ‘free’ [-Wuse-after-free] 667 | free (irafheader); | ^~~~~~~~~~~~~~~~~ getpix.c:659:13: note: call to ‘free’ here 659 | free (irafheader); | ^~~~~~~~~~~~~~~~~ getpix.c:771:29: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 771 | sprintf (pform, "%%.%df", ndec); | ^~ getpix.c:771:25: note: directive argument in the range [1, 2147483647] 771 | sprintf (pform, "%%.%df", ndec); | ^~~~~~~~ In file included from /usr/include/stdio.h:970, from getpix.c:24: In function ‘sprintf’, inlined from ‘PrintPix’ at getpix.c:771:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getpix.c: In function ‘PrintPix’: getpix.c:761:30: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 761 | sprintf (pform, "%%%s", pformat); | ^ In function ‘sprintf’, inlined from ‘PrintPix’ at getpix.c:761:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 9 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getpix.c: In function ‘main’: getpix.c:210:21: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation] 210 | strncpy (pformat, *++av, 8); | ^ In file included from /usr/include/string.h:548, from getpix.c:26: In function ‘strcpy’, inlined from ‘main’ at getpix.c:317:3: /usr/include/bits/string_fortified.h:81:10: warning: ‘rstr’ may be used uninitialized [-Wmaybe-uninitialized] 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getpix.c: In function ‘main’: getpix.c:88:11: note: ‘rstr’ was declared here 88 | char *rstr; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imcatalog imcat.c -L libwcs -lwcstools -lm imcat.c: In function ‘main’: imcat.c:591:20: warning: the comparison will always evaluate as ‘false’ for the address of ‘refcatname’ will never be NULL [-Waddress] 591 | if (refcatname == NULL) { | ^~ imcat.c:128:11: note: ‘refcatname’ declared here 128 | char *refcatname[5]; /* reference catalog name */ | ^~~~~~~~~~ imcat.c: In function ‘ListCat’: imcat.c:1285:25: warning: unused variable ‘iy’ [-Wunused-variable] 1285 | int radius, ix, iy; | ^~ imcat.c:1285:21: warning: unused variable ‘ix’ [-Wunused-variable] 1285 | int radius, ix, iy; | ^~ imcat.c:856:29: warning: unused variable ‘epmd’ [-Wunused-variable] 856 | double era, edec, epmr, epmd; | ^~~~ imcat.c:856:23: warning: unused variable ‘epmr’ [-Wunused-variable] 856 | double era, edec, epmr, epmd; | ^~~~ imcat.c:856:17: warning: unused variable ‘edec’ [-Wunused-variable] 856 | double era, edec, epmr, epmd; | ^~~~ imcat.c:856:12: warning: unused variable ‘era’ [-Wunused-variable] 856 | double era, edec, epmr, epmd; | ^~~ imcat.c:1142:21: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 1142 | strncpy (numstr, gobj1[i], 32); | ^ imcat.c:1816:21: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 1816 | strncpy (numstr, gobj1[i], 32); | ^ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/skycoor skycoor.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/wcshead wcshead.c -L libwcs -lwcstools -lm wcshead.c: In function ‘ListWCS’: wcshead.c:509:28: warning: ‘zvel’ may be used uninitialized [-Wmaybe-uninitialized] 509 | w1 = w1 / (1.0 + zvel); | ~~~~~^~~~~~~ wcshead.c:297:38: note: ‘zvel’ was declared here 297 | double wfrst, dwl, wlast, dxpix, zvel, vel; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/conpix conpix.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/xy2sky xy2sky.c -L libwcs -lwcstools -lm xy2sky.c: In function ‘main’: xy2sky.c:92:9: warning: variable ‘modwcs’ set but not used [-Wunused-but-set-variable] 92 | int modwcs = 0; | ^~~~~~ xy2sky.c:572:17: warning: ‘wcs’ may be used uninitialized [-Wmaybe-uninitialized] 572 | PrintHead (fn, wcs, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xy2sky.c:82:23: note: ‘wcs’ was declared here 82 | struct WorldCoor *wcs; | ^~~ xy2sky.c:588:28: warning: ‘mag’ may be used uninitialized [-Wmaybe-uninitialized] 588 | magx = polcomp (mag, mag0, nterms, coeff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xy2sky.c:70:18: note: ‘mag’ was declared here 70 | double x, y, mag; | ^~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/newfits newfits.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/gettab gettab.c -L libwcs -lwcstools -lm gettab.c: In function ‘PrintValues’: gettab.c:580:9: warning: variable ‘ntok’ set but not used [-Wunused-but-set-variable] 580 | int ntok; | ^~~~ gettab.c:564:9: warning: variable ‘drop’ set but not used [-Wunused-but-set-variable] 564 | int drop; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imstack imstack.c -L libwcs -lwcstools -lm imstack.c: In function ‘StackImage’: imstack.c:401:17: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 401 | strncpy (spaces, iline, 80); | ^ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/getfits getfits.c -L libwcs -lwcstools -lm getfits.c: In function ‘ExtractFITS.constprop.0.isra.0’: getfits.c:653:49: warning: ‘%s’ directive writing up to 31 bytes into a region of size between 9 and 60 [-Wformat-overflow=] 653 | sprintf (temp, " %d x %d centered on %s %s %s", | ^~ 654 | xdpix, ydpix, rastr, decstr, cstr); | ~~~~~~ In file included from /usr/include/stdio.h:970, from getfits.c:24: In function ‘sprintf’, inlined from ‘ExtractFITS.constprop.0.isra.0’ at getfits.c:653:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 22 and 135 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imextract imextract.c -L libwcs -lwcstools -lm imextract.c: In function ‘ExtractImage.isra.0’: imextract.c:385:48: warning: ‘ extension’ directive writing 10 bytes into a region of size between 3 and 66 [-Wformat-overflow=] 385 | sprintf (comment, " XTENSION was %s extension", oldvalue); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from imextract.c:24: In function ‘sprintf’, inlined from ‘ExtractImage.isra.0’ at imextract.c:385:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 25 and 88 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/sumpix sumpix.c -L libwcs -lwcstools -lm sumpix.c: In function ‘SumPix’: sumpix.c:304:17: warning: pointer ‘irafheader_342’ may be used after ‘free’ [-Wuse-after-free] 304 | free (irafheader); | ^~~~~~~~~~~~~~~~~ sumpix.c:296:13: note: call to ‘free’ here 296 | free (irafheader); | ^~~~~~~~~~~~~~~~~ sumpix.c:345:31: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 345 | sprintf (numform, "%%.%df", ndec); | ^~ sumpix.c:345:27: note: directive argument in the range [0, 2147483647] 345 | sprintf (numform, "%%.%df", ndec); | ^~~~~~~~ In file included from /usr/include/stdio.h:970, from sumpix.c:24: In function ‘sprintf’, inlined from ‘SumPix’ at sumpix.c:345:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 14 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sumpix.c: In function ‘SumPix’: sumpix.c:413:13: warning: ‘np’ may be used uninitialized [-Wmaybe-uninitialized] 413 | dnp = (double) np; | ~~~~^~~~~~~~~~~~~ sumpix.c:281:9: note: ‘np’ was declared here 281 | int np; | ^~ sumpix.c:416:14: warning: ‘sum’ may be used uninitialized [-Wmaybe-uninitialized] 416 | mean = sum / dnp; | ~~~~~^~~~~~~~~~~ sumpix.c:276:18: note: ‘sum’ was declared here 276 | double dpix, sum; | ^~~ In function ‘printf’, inlined from ‘SumPix’ at sumpix.c:421:6: /usr/include/bits/stdio2.h:118:10: warning: ‘sumsq’ may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sumpix.c: In function ‘SumPix’: sumpix.c:282:38: note: ‘sumsq’ was declared here 282 | double dnp, mean, variance, std, sumsq, dmin, dmax; | ^~~~~ In function ‘printf’, inlined from ‘SumPix’ at sumpix.c:428:6: /usr/include/bits/stdio2.h:118:10: warning: ‘dmin’ may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sumpix.c: In function ‘SumPix’: sumpix.c:282:45: note: ‘dmin’ was declared here 282 | double dnp, mean, variance, std, sumsq, dmin, dmax; | ^~~~ In function ‘printf’, inlined from ‘SumPix’ at sumpix.c:430:6: /usr/include/bits/stdio2.h:118:10: warning: ‘dmax’ may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sumpix.c: In function ‘SumPix’: sumpix.c:282:51: note: ‘dmax’ was declared here 282 | double dnp, mean, variance, std, sumsq, dmin, dmax; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/wcsremap remap.c -L libwcs -lwcstools -lm remap.c: In function ‘RemapImage’: remap.c:422:27: warning: variable ‘secpixin2’ set but not used [-Wunused-but-set-variable] 422 | double dx, secpixin1, secpixin2, secpix1, dpix, dnpix; | ^~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imfill imfill.c -L libwcs -lwcstools -lm imfill.c: In function ‘imFill’: imfill.c:521:54: warning: ‘%s’ directive writing up to 127 bytes into a region of size between 96 and 106 [-Wformat-overflow=] 521 | sprintf (history,"%d bad pixels set from %s", nbadpix, badpixfile); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from imfill.c:24: In function ‘sprintf’, inlined from ‘imFill’ at imfill.c:521:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 23 and 160 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/char2sp char2sp.c libwcs/libwcstools.so gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imsmooth imsmooth.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/isnum isnum.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/sp2char sp2char.c libwcs/libwcstools.so gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/imresize imresize.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/isfits isfits.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/isfile isfile.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/simpos simpos.c -L libwcs -lwcstools -lm simpos.c: In function ‘main’: simpos.c:86:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | while (c = *++str) { | ^ simpos.c:186:13: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 186 | fgets (newobj, 32, flist); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/bincat bincat.c -L libwcs -lwcstools -lm gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/getdate getdate.c -L libwcs -lwcstools -lm getdate.c: In function ‘main’: getdate.c:108:9: warning: variable ‘lline’ set but not used [-Wunused-but-set-variable] 108 | int lline; | ^~~~~ getdate.c: In function ‘ConvertDate’: getdate.c:1907:25: warning: ‘ts’ may be used uninitialized [-Wmaybe-uninitialized] 1907 | its = (int) ts; | ~~~~^~~~~~~~~~ getdate.c:481:37: note: ‘ts’ was declared here 481 | double vdate, vtime, epoch, jd, ts, jd1, ts1, epoch1; | ^~ In file included from /usr/include/string.h:548, from getdate.c:26: In function ‘strncpy’, inlined from ‘ConvertDate’ at getdate.c:2280:4: /usr/include/bits/string_fortified.h:100:10: warning: ‘fitsdate’ may be used uninitialized [-Wmaybe-uninitialized] 100 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ getdate.c: In function ‘ConvertDate’: getdate.c:486:11: note: ‘fitsdate’ was declared here 486 | char *fitsdate, *newfdate, *stdate, *mfdate; | ^~~~~~~~ In file included from /usr/include/stdio.h:970, from getdate.c:24: In function ‘sprintf’, inlined from ‘ConvertDate’ at getdate.c:967:7: /usr/include/bits/stdio2.h:30:10: warning: ‘vdoy’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getdate.c: In function ‘ConvertDate’: getdate.c:482:17: note: ‘vdoy’ was declared here 482 | double doy, vdoy; | ^~~~ In function ‘printf’, inlined from ‘ConvertDate’ at getdate.c:968:7: /usr/include/bits/stdio2.h:118:10: warning: ‘vyear’ may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getdate.c: In function ‘ConvertDate’: getdate.c:483:15: note: ‘vyear’ was declared here 483 | int year, vyear; | ^~~~~ getdate.c:1812:25: warning: ‘its’ may be used uninitialized [-Wmaybe-uninitialized] 1812 | its = its - (ndsub * 86400); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ getdate.c:491:9: note: ‘its’ was declared here 491 | int its, its1; | ^~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/getcol getcol.c -L libwcs -lwcstools -lm getcol.c: In function ‘main’: getcol.c:112:9: warning: variable ‘match’ set but not used [-Wunused-but-set-variable] 112 | int match, newbytes; | ^~~~~ getcol.c: In function ‘ListFile’: getcol.c:1029:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1029 | else | ^~~~ getcol.c:1031:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 1031 | iapp = 0; | ^~~~ getcol.c:1223:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 1223 | for (j = nchar; j < ltok; j++); | ^~~ getcol.c:1224:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 1224 | token[j] = (char) 0; | ^~~~~ getcol.c: In function ‘ListFile.isra.0’: getcol.c:1373:36: warning: ‘dval’ may be used uninitialized [-Wmaybe-uninitialized] 1373 | if ((!isbadval || (isbadval && dval != badval)) && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getcol.c:577:19: note: ‘dval’ was declared here 577 | double dcond, dval, dmean; | ^~~~ getcol.c: In function ‘main’: getcol.c:242:16: warning: ‘icol’ may be used uninitialized [-Wmaybe-uninitialized] 242 | if (icol > 0) { | ^ getcol.c:111:9: note: ‘icol’ was declared here 111 | int icol; | ^~~~ gcc -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 bin/scat scat.c -L libwcs -lwcstools -lm scat.c: In function ‘ListCat’: scat.c:1236:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1236 | fprintf (stderr, "Could not calloc %d bytes for gnum\n", | ~^ | | | int | %ld 1237 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1239:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1239 | fprintf (stderr, "Could not calloc %d bytes for gra\n", | ~^ | | | int | %ld 1240 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1242:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1242 | fprintf (stderr, "Could not calloc %d bytes for gdec\n", | ~^ | | | int | %ld 1243 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1245:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1245 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 1246 | nmagmax*sizeof(double *)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1250:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1250 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 1251 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1255:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1255 | fprintf (stderr, "Could not calloc %d bytes for gc\n", | ~^ | | | int | %ld 1256 | ngmax*sizeof(int)); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1258:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1258 | fprintf (stderr, "Could not calloc %d bytes for gx\n", | ~^ | | | int | %ld 1259 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1261:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1261 | fprintf (stderr, "Could not calloc %d bytes for gy\n", | ~^ | | | int | %ld 1262 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1264:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1264 | fprintf (stderr, "Could not calloc %d bytes for obj\n", | ~^ | | | int | %ld 1265 | ngmax*sizeof(char *)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1271:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1271 | fprintf (stderr, "Could not calloc %d bytes for path\n", | ~^ | | | int | %ld 1272 | ngmax*sizeof(char *)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1278:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1278 | fprintf (stderr, "Could not calloc %d bytes for gpra\n", | ~^ | | | int | %ld 1279 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1281:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1281 | fprintf (stderr, "Could not calloc %d bytes for gpdec\n", | ~^ | | | int | %ld 1282 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1399:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1399 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 1400 | nmagmax*sizeof(double *)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:1404:61: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1404 | fprintf (stderr, "Could not calloc %d bytes for gm\n", | ~^ | | | int | %ld 1405 | ngmax*sizeof(double)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int scat.c:3251:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘starcat’ will never be NULL [-Waddress] 3251 | if (starcat != NULL && | ^~ scat.c:112:24: note: ‘starcat’ declared here 112 | static struct StarCat *starcat[5]; /* Star catalog data structure */ | ^~~~~~~ scat.c:1147:10: warning: variable ‘string’ set but not used [-Wunused-but-set-variable] 1147 | char string[TABMAX]; | ^~~~~~ scat.c: In function ‘PrintNum’: scat.c:4096:28: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 4096 | sprintf (nform, "%%%d.%df", LenNum (maxnum,ndec), ndec); | ^~ scat.c:4096:25: note: directive argument in the range [4, 2147483647] 4096 | sprintf (nform, "%%%d.%df", LenNum (maxnum,ndec), ndec); | ^~~~~~~~~~ scat.c:4096:25: note: directive argument in the range [1, 2147483647] In file included from /usr/include/stdio.h:970, from scat.c:24: In function ‘sprintf’, inlined from ‘PrintNum’ at scat.c:4096:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 24 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘ListCat.isra.0’ at scat.c:3541:4: /usr/include/bits/stdio2.h:30:10: warning: ‘era’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scat.c: In function ‘ListCat.isra.0’: scat.c:1136:12: note: ‘era’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~ In function ‘sprintf’, inlined from ‘ListCat.isra.0’ at scat.c:3541:4: /usr/include/bits/stdio2.h:30:10: warning: ‘edec’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scat.c: In function ‘ListCat.isra.0’: scat.c:1136:17: note: ‘edec’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~~ In function ‘sprintf’, inlined from ‘ListCat.isra.0’ at scat.c:3589:7: /usr/include/bits/stdio2.h:30:10: warning: ‘epmr’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scat.c: In function ‘ListCat.isra.0’: scat.c:1136:23: note: ‘epmr’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~~ In function ‘sprintf’, inlined from ‘ListCat.isra.0’ at scat.c:3589:7: /usr/include/bits/stdio2.h:30:10: warning: ‘epmd’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scat.c: In function ‘ListCat.isra.0’: scat.c:1136:29: note: ‘epmd’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~~ In function ‘sprintf’, inlined from ‘ListCat.isra.0’ at scat.c:3773:7: /usr/include/bits/stdio2.h:30:10: warning: ‘nim’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scat.c: In function ‘ListCat.isra.0’: scat.c:1137:9: note: ‘nim’ was declared here 1137 | int nim, nct; | ^~~ In function ‘sprintf’, inlined from ‘ListCat.isra.0’ at scat.c:3773:7: /usr/include/bits/stdio2.h:30:10: warning: ‘nct’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scat.c: In function ‘ListCat.isra.0’: scat.c:1137:14: note: ‘nct’ was declared here 1137 | int nim, nct; | ^~~ In function ‘sprintf’, inlined from ‘ListCat.isra.0’ at scat.c:3734:14: /usr/include/bits/stdio2.h:30:10: warning: ‘band’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scat.c: In function ‘ListCat.isra.0’: scat.c:1141:9: note: ‘band’ was declared here 1141 | int band; | ^~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aKmxBy + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-build + '[' /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT ++ dirname /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT + mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build + mkdir /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -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 wcstools-3.9.7 + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/lib64 + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/bin + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/include/wcs + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/man/man1 + /usr/bin/install -p bin/addpix bin/bincat bin/char2sp bin/conpix bin/cphead bin/crlf bin/delhead bin/delwcs bin/edhead bin/filename bin/fileroot bin/filext bin/fixpix bin/getcol bin/getdate bin/getfits bin/gethead bin/getpix bin/gettab bin/htmlsp bin/i2f bin/imcatalog bin/imextract bin/imfill bin/imhead bin/immatch bin/imresize bin/imrot bin/imsize bin/imsmooth bin/imstack bin/imstar bin/imwcs bin/isfile bin/isfits bin/isnum bin/isrange bin/keyhead bin/newfits bin/scat bin/sethead bin/setpix bin/simpos bin/sky2xy bin/skycoor bin/sp2char bin/subpix bin/sumpix bin/wcshead bin/wcsremap bin/xy2sky /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/bin + /usr/bin/cp -a libwcs/libwcstools.so libwcs/libwcstools.so.1 libwcs/libwcstools.so.1.0.0 /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/lib64 + /usr/bin/install -p -m 644 libwcs/fitsfile.h libwcs/fitshead.h libwcs/fitswcs.h libwcs/imio.h libwcs/lwcs.h libwcs/range.h libwcs/wcs.h libwcs/wcscat.h libwcs/wcslib.h /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/include/wcs + /usr/bin/install -p -m 644 man/man1/delhead.1 man/man1/delwcs.1 man/man1/edhead.1 man/man1/getcol.1 man/man1/gethead.1 man/man1/getpix.1 man/man1/i2f.1 man/man1/imcat.1 man/man1/imgsc.1 man/man1/imhead.1 man/man1/imrot.1 man/man1/imsize.1 man/man1/imstar.1 man/man1/imua2.1 man/man1/imusa2.1 man/man1/imwcs.1 man/man1/isnum.1 man/man1/keyhead.1 man/man1/scat.1 man/man1/sethead.1 man/man1/setpix.1 man/man1/sgsc.1 man/man1/simpos.1 man/man1/sky2xy.1 man/man1/skycoor.1 man/man1/sua2.1 man/man1/susa2.1 man/man1/wcshead.1 man/man1/wcstools.1 man/man1/xy2sky.1 /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/man/man1 + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 3.9.7-8.fc42 --unique-debug-suffix -3.9.7-8.fc42.x86_64 --unique-debug-src-base wcstools-3.9.7-8.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7 find-debuginfo: starting Extracting debug info from 52 files DWARF-compressing 52 files sepdebugcrcfix: Updated 52 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/wcstools-3.9.7-8.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT Scanned 19 directories and 253 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/wcstools-3.9.7-build/SPECPARTS/rpm-debuginfo.specpart Processing files: wcstools-3.9.7-8.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vll4kv + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-build + cd wcstools-3.9.7 + DOCDIR=/builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/NEWS /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/Readme /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/Programs /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yCP9qd + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-build + cd wcstools-3.9.7 + LICENSEDIR=/builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/licenses/wcstools + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/licenses/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/COPYING /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/licenses/wcstools + RPM_EC=0 ++ jobs -p + exit 0 Provides: wcstools = 3.9.7-8.fc42 wcstools(x86-64) = 3.9.7-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libwcstools.so.1()(64bit) rtld(GNU_HASH) Processing files: wcstools-libs-3.9.7-8.fc42.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yFM7Fz + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-build + cd wcstools-3.9.7 + LICENSEDIR=/builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/licenses/wcstools-libs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/licenses/wcstools-libs + cp -pr /builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs/COPYING /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/licenses/wcstools-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libwcstools.so.1()(64bit) wcstools-libs = 3.9.7-8.fc42 wcstools-libs(x86-64) = 3.9.7-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Processing files: wcstools-devel-3.9.7-8.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jcp2VC + umask 022 + cd /builddir/build/BUILD/wcstools-3.9.7-build + cd wcstools-3.9.7 + DOCDIR=/builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools-devel + cp -pr /builddir/build/BUILD/wcstools-3.9.7-build/wcstools-3.9.7/libwcs/NEWS /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT/usr/share/doc/wcstools-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: wcstools-devel = 3.9.7-8.fc42 wcstools-devel(x86-64) = 3.9.7-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libwcstools.so.1()(64bit) Processing files: wcstools-debugsource-3.9.7-8.fc42.x86_64 Provides: wcstools-debugsource = 3.9.7-8.fc42 wcstools-debugsource(x86-64) = 3.9.7-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: wcstools-debuginfo-3.9.7-8.fc42.x86_64 Provides: debuginfo(build-id) = 12ef156ca73c187d6f00f5065f64f5e7070b688d debuginfo(build-id) = 134e7ca931f1b3e496563b18071b72f29f700f12 debuginfo(build-id) = 144c53c676bc7809b8236b55972255ca458cf42d debuginfo(build-id) = 172e4c22c584040d3423d5d6cdab078fb8d3f315 debuginfo(build-id) = 18c4dc56131f1ab14f2d7344fdaf04c51f38f65f debuginfo(build-id) = 22d7934d03c1082decaa95243b1ddd527933afad debuginfo(build-id) = 285e57a6727e8ee2bd2738144c34e53886291153 debuginfo(build-id) = 30371c459b2182f5bc83dc0e0bec3b0a6c1abc10 debuginfo(build-id) = 3156012d03d575bf56b51b865e0b895d96db4bee debuginfo(build-id) = 356ad5867ecb655fac0057fda640f4e83488d1e4 debuginfo(build-id) = 3720fc9a5bae55c671a99aa488905bc4366b73a0 debuginfo(build-id) = 435a056537ab89e7eea354ab61c3e14e2be70f3e debuginfo(build-id) = 49811a1db1316cfb1d601c540f4622044864ae48 debuginfo(build-id) = 4f2a2b83dd9e8f6d24bbe7c9f4f40c90df532f6a debuginfo(build-id) = 530cec55dab0172f0a8ca99a7f7798973efc8c29 debuginfo(build-id) = 54c763a87f85fe8f5f412872b8ac8c9466f93f2f debuginfo(build-id) = 5da0f7ba46394e4fcdf86c048b24ee92c2426e6f debuginfo(build-id) = 67d1f93eb5c02b7c9550b24ce6b052af633adb72 debuginfo(build-id) = 6bb248ca488e2f2c3b6482136d044f09b5c94eb4 debuginfo(build-id) = 75e0a4e1f70776554963fbb5a5f0e529590489df debuginfo(build-id) = 76f285784818459255740802330f106f7974defa debuginfo(build-id) = 7e088b984d5d9278bc0924a6ba14c1640d9df438 debuginfo(build-id) = 8ec1689535c1a4a74719f435d5e0e9db6fee2f89 debuginfo(build-id) = 935b86236045dbb2fe189f9b647adcb611c33acd debuginfo(build-id) = 955e95a817fe3475392f81d48badc6bfd5e54708 debuginfo(build-id) = 96414d763b8984c693d034b0a15281dde9a16e6e debuginfo(build-id) = 97a6281f81dd9a3999149a07d0276f9482e17cd6 debuginfo(build-id) = 99105f024102c44576d6def5afc3c6e893f3eaf2 debuginfo(build-id) = 9b63e2da49457d59d3517e06a9c4d53d55958f2a debuginfo(build-id) = a379b8d1a758c7e28ef0cf9373c408b35b2a8862 debuginfo(build-id) = a66cdce3f86a368f6375d4c3f6260364b09c5135 debuginfo(build-id) = a93141426af257ae4097b6fd84a29661bec9bc7c debuginfo(build-id) = af6ef7f7247563148e576e5957d1af434733f94e debuginfo(build-id) = b0fa3fd10b5458c4acd09258cb0d57996c6cf8cd debuginfo(build-id) = b1d6f1437226f7c8d44c8f6e71fb28d8285c3143 debuginfo(build-id) = b422169ac8c96b5616a2ab2b6db33e1ae19eac34 debuginfo(build-id) = bdca1c1cdec49e3b4f289f6e63f7fdbe2f002c76 debuginfo(build-id) = c88bd8bd053d0778d14c49aa134bd3ac3c8f62a7 debuginfo(build-id) = d2d78c8c12d63cab0a0fbb326addbb2fa0ff159c debuginfo(build-id) = d5082a8c1f2986b7845e18fff68ec13c2935aac5 debuginfo(build-id) = de692a22ef768fdff7eec9bbcf29b2e0c53d3f3c debuginfo(build-id) = e00d87bc709b285ef7ed1150ae0808599c0e6795 debuginfo(build-id) = e398b415863546add785b2fc009fae254d3fa517 debuginfo(build-id) = e85b35f4afaf00c02e37014343bfb9d4edd3aa15 debuginfo(build-id) = e92860729a95425803c5454451ee3b91a1cf55de debuginfo(build-id) = ed00315c6cb1c3b0bdce5d36fe8a5d17dae7ea73 debuginfo(build-id) = f03d5b9b73a0e6795284465aa066977804e90f7b debuginfo(build-id) = f228f526b9cfa35a0a2db126efa15ae25cb07d51 debuginfo(build-id) = fbe68ce2028b6141ae7b6a277f527915466f60cd debuginfo(build-id) = fec9e25f3a2ce4c78dc0a0f1059fa065c657d67d debuginfo(build-id) = ffac9a29aa4a2a134257efff132d0609755eeef2 wcstools-debuginfo = 3.9.7-8.fc42 wcstools-debuginfo(x86-64) = 3.9.7-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wcstools-debugsource(x86-64) = 3.9.7-8.fc42 Processing files: wcstools-libs-debuginfo-3.9.7-8.fc42.x86_64 Provides: debuginfo(build-id) = cf3b3a6c87bc6503603fc18dbeb503500617b194 libwcstools.so.1.0.0-3.9.7-8.fc42.x86_64.debug()(64bit) wcstools-libs-debuginfo = 3.9.7-8.fc42 wcstools-libs-debuginfo(x86-64) = 3.9.7-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wcstools-debugsource(x86-64) = 3.9.7-8.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/wcstools-3.9.7-build/BUILDROOT Wrote: /builddir/build/RPMS/wcstools-devel-3.9.7-8.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/wcstools-libs-3.9.7-8.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/wcstools-3.9.7-8.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/wcstools-libs-debuginfo-3.9.7-8.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/wcstools-debuginfo-3.9.7-8.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/wcstools-debugsource-3.9.7-8.fc42.x86_64.rpm Child return code was: 0