Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wcstools.spec'], chrootPath='/var/lib/mock/f40-build-798879-142036/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/wcstools-3.9.7-7.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wcstools.spec'], chrootPath='/var/lib/mock/f40-build-798879-142036/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L1QyuS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/wcstools-3.9.7-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/wcstools-3.9.7-SPECPARTS + /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 + 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' @ + grep -rl '59 Temple Place, Suite 330, Boston, MA 02111-1307 USA' '--include=*.c' '--include=*.h' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3O6WwI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -j4 V=1 VERBOSE=1 /usr/bin/make CC=gcc -C libwcs gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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:980, from filename.c:24: In function ‘printf’, inlined from ‘main’ at filename.c:164:2: /usr/include/bits/stdio2.h:86:10: warning: ‘name’ may be used uninitialized [-Wmaybe-uninitialized] 86 | 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; | ^~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o imgetwcs.o imgetwcs.c make[1]: Leaving directory '/builddir/build/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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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); | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o daoread.o daoread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o findstar.o findstar.c make[1]: Leaving directory '/builddir/build/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; | ^~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o imsetwcs.o imsetwcs.c make[1]: Leaving directory '/builddir/build/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: ‘__builtin_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; | ^~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o fitswcs.o fitswcs.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o matchstar.o matchstar.c make[1]: Leaving directory '/builddir/build/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:980, from wcsinit.c:43: In function ‘sprintf’, inlined from ‘wcsinitc’ at wcsinit.c:871:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o wcscon.o wcscon.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o ty2read.o ty2read.c make[1]: Leaving directory '/builddir/build/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: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] 132 | strncpy (ty2cd, str, 64); | ^ ty2read.c: In function ‘ty2bin’: ty2read.c:693:9: warning: ‘__builtin_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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o webread.o webread.c webread.c: In function ‘webopen’: webread.c:415:20: warning: variable ‘lbuff0’ set but not used [-Wunused-but-set-variable] 415 | int lbuff = 0, lbuff0 = 0; | ^~~~~~ webread.c: In function ‘webbuff’: webread.c:621:11: warning: unused variable ‘sokptr’ [-Wunused-variable] 621 | char *sokptr; | ^~~~~~ webread.c:620:11: warning: unused variable ‘newserver’ [-Wunused-variable] 620 | char *newserver; | ^~~~~~~~~ webread.c:614:9: warning: unused variable ‘lcom’ [-Wunused-variable] 614 | int lcom; | ^~~~ webread.c:679:12: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 679 | (void) fscanf(sok, "%*s %d %s\r\n", &status, linebuff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:730:16: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 730 | (void) fscanf(sok, "%*s %d %*s\r\n", &status); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:775:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 775 | (void) fgets (linebuff, LINE, sok); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:815:20: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 815 | (void) fread (buff, 1, lchunk, sok); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ webread.c:657:12: warning: ‘port’ may be used uninitialized [-Wmaybe-uninitialized] 657 | if (port != NULL) | ^ webread.c:606:11: note: ‘port’ was declared here 606 | char *port; | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o wcs.o wcs.c wcs.c: In function ‘wcstype’: wcs.c:395:9: warning: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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: ‘__builtin___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: ‘__builtin___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: ‘__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); | ^~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o gsc2read.o gsc2read.c 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; | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o tmcread.o tmcread.c 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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o gscread.o gscread.c make[1]: Leaving directory '/builddir/build/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:1055:30: warning: ‘class0’ may be used uninitialized [-Wmaybe-uninitialized] 1055 | if ((classd > -1 && class0 == classd) || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ gscread.c:798:16: note: ‘class0’ was declared here 798 | int class, class0; /* Object class (0>star, 3>other) */ | ^~~~~~ 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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o ujcread.o ujcread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o sdssread.o sdssread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o uacread.o uacread.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o binread.o binread.c make[1]: Leaving directory '/builddir/build/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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o ucacread.o ucacread.c make[1]: Leaving directory '/builddir/build/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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o ubcread.o ubcread.c make[1]: Leaving directory '/builddir/build/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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o actread.o actread.c make[1]: Leaving directory '/builddir/build/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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o tabread.o tabread.c make[1]: Leaving directory '/builddir/build/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:980, from tabread.c:56: In function ‘fprintf’, inlined from ‘tabbin’ at tabread.c:974:7: /usr/include/bits/stdio2.h:79:10: warning: ‘mag’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o skybotread.o skybotread.c 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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o ctgread.o ctgread.c 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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o imrotate.o imrotate.c 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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o catutil.o catutil.c 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:980, from catutil.c:84: In function ‘sprintf’, inlined from ‘CatNum’ at catutil.c:1278:6: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o imhfile.o imhfile.c 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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_strncpy’ specified bound 255 equals destination size [-Wstringop-truncation] 1065 | (void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE); | ^ imhfile.c:1078:15: warning: ‘__builtin___strncat_chk’ specified bound 255 equals destination size [-Wstringop-truncation] 1078 | (void)strncat (newpixname, pixname, SZ_IM2PIXFILE); | ^ imhfile.c:1085:15: warning: ‘__builtin_strncpy’ specified bound 255 equals destination size [-Wstringop-truncation] 1085 | (void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE); | ^ imhfile.c:1043:15: warning: ‘__builtin_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:138:10: warning: ‘__builtin___strncat_chk’ specified bound 255 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ imhfile.c: In function ‘iraf2fits’: imhfile.c:553:11: warning: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o fitsfile.o fitsfile.c make[1]: Leaving directory '/builddir/build/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: ‘__builtin___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:980, from fitsfile.c:81: In function ‘sprintf’, inlined from ‘fitsrthead’ at fitsfile.c:1230:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin_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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o hget.o hget.c make[1]: Leaving directory '/builddir/build/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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o hput.o hput.c 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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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:980, from hput.c:54: In function ‘sprintf’, inlined from ‘hputnr8’ at hput.c:156:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin_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: ‘__builtin_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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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); | make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' ^~ 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: ‘__builtin___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: ‘__builtin___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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o worldpos.o worldpos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o imio.o imio.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o zpxpos.o zpxpos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o tnxpos.o tnxpos.c tnxpos.c: In function ‘wf_gsder’: tnxpos.c:821:17: warning: ‘*sf2.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.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.ncoeff’ may be used uninitialized [-Wmaybe-uninitialized] 1196 | sf->coeff = (double *) malloc (sf->ncoeff*sizeof (double)); | ~~^~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o dsspos.o dsspos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o dateutil.o dateutil.c 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:980, from dateutil.c:318: In function ‘sprintf’, inlined from ‘lt2fd’ at dateutil.c:995:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o platepos.o platepos.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o platefit.o platefit.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o iget.o iget.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o sortstar.o sortstar.c 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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o imutil.o imutil.c 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:980, from imutil.c:65: In function ‘fprintf’, inlined from ‘SetBadFITS’ at imutil.c:397:2: /usr/include/bits/stdio2.h:79:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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:79:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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:79:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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:79:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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:79:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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:79:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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:79:10: warning: ‘iy’ may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o cel.o cel.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o wcslib.o wcslib.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o lin.o lin.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o sph.o sph.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o wcstrig.o wcstrig.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o fileutil.o fileutil.c 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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o distort.o distort.c 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:980, from distort.c:41: In function ‘sprintf’, inlined from ‘DelDistort’ at distort.c:160:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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 ‘foc2pix’: distort.c:254:13: warning: ‘s’ may be used uninitialized [-Wmaybe-uninitialized] 254 | sum = s[0]; | ~~~~^~~~~~ distort.c:235:12: note: ‘s’ declared here 235 | double s[DISTMAX], sum; | ^ distort.c: In function ‘pix2foc’: distort.c:315:13: warning: ‘s’ may be used uninitialized [-Wmaybe-uninitialized] 315 | sum = s[0]; | ~~~~^~~~~~ distort.c:296:12: note: ‘s’ declared here 296 | double s[DISTMAX], sum; | ^ make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o poly.o poly.c 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]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -c -o proj.o proj.c make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' make[1]: Entering directory '/builddir/build/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/libwcs' ar: creating libwcstools.a make[1]: Entering directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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/libwcs' gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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’ 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’ 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’ 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: ‘__builtin___strncpy_chk’ output may be truncated copying 80 bytes from a string of length 159 [-Wstringop-truncation] 288 | strncpy (head,headline,80); | ^ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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’ 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’ 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:980, from delhead.c:24: In function ‘sprintf’, inlined from ‘DelKeywords’ at delhead.c:388:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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’ 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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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: ‘__builtin___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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_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: ‘__builtin_strncpy’ specified bound 1 equals destination size [-Wstringop-truncation] 218 | strncpy (&spchar, *(++av), 1); | ^ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 1142 | strncpy (numstr, gobj1[i], 32); | ^ imcat.c:1816:21: warning: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 1816 | strncpy (numstr, gobj1[i], 32); | ^ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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’ 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:980, from getpix.c:24: In function ‘sprintf’, inlined from ‘PrintPix’ at getpix.c:771:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin_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:79:10: warning: ‘rstr’ may be used uninitialized [-Wmaybe-uninitialized] 79 | 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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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:980, 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:86:10: warning: ‘ipix’ may be used uninitialized [-Wmaybe-uninitialized] 86 | 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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.isra’: 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:980, from getfits.c:24: In function ‘sprintf’, inlined from ‘ExtractFITS.constprop.isra’ at getfits.c:653:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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: ‘__builtin_strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 401 | strncpy (spaces, iline, 80); | ^ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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’: 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:980, from imextract.c:24: In function ‘sprintf’, inlined from ‘ExtractImage.isra’ at imextract.c:385:6: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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’ 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:980, from sumpix.c:24: In function ‘sprintf’, inlined from ‘SumPix’ at sumpix.c:345:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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:86:10: warning: ‘sumsq’ may be used uninitialized [-Wmaybe-uninitialized] 86 | 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:86:10: warning: ‘dmin’ may be used uninitialized [-Wmaybe-uninitialized] 86 | 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:86:10: warning: ‘dmax’ may be used uninitialized [-Wmaybe-uninitialized] 86 | 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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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:980, from imfill.c:24: In function ‘sprintf’, inlined from ‘imFill’ at imfill.c:521:6: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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’: 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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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:980, from scat.c:24: In function ‘sprintf’, inlined from ‘PrintNum’ at scat.c:4096:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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’ 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’: scat.c:1136:12: note: ‘era’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~ In function ‘sprintf’, inlined from ‘ListCat.isra’ 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’: scat.c:1136:17: note: ‘edec’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~~ In function ‘sprintf’, inlined from ‘ListCat.isra’ 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’: scat.c:1136:23: note: ‘epmr’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~~ In function ‘sprintf’, inlined from ‘ListCat.isra’ 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’: scat.c:1136:29: note: ‘epmd’ was declared here 1136 | double era, edec, epmr, epmd; | ^~~~ In function ‘sprintf’, inlined from ‘ListCat.isra’ 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’: scat.c:1137:9: note: ‘nim’ was declared here 1137 | int nim, nct; | ^~~ In function ‘sprintf’, inlined from ‘ListCat.isra’ 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’: scat.c:1137:14: note: ‘nct’ was declared here 1137 | int nim, nct; | ^~~ In function ‘sprintf’, inlined from ‘ListCat.isra’ 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’: scat.c:1141:9: note: ‘band’ was declared here 1141 | int band; | ^~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from simpos.c:7: In function ‘fgets’, inlined from ‘main’ at simpos.c:186:6: /usr/include/bits/stdio2.h:200:12: warning: ‘flist’ may be used uninitialized [-Wmaybe-uninitialized] 200 | return __fgets_alias (__s, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simpos.c: In function ‘main’: simpos.c:50:11: note: ‘flist’ was declared here 50 | FILE *flist; | ^~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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:95:10: warning: ‘fitsdate’ may be used uninitialized [-Wmaybe-uninitialized] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __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:980, 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:86:10: warning: ‘vyear’ may be used uninitialized [-Wmaybe-uninitialized] 86 | 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; | ^~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2JVj2N + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/lib64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/include/wcs + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/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/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/bin + /usr/bin/cp -a libwcs/libwcstools.so libwcs/libwcstools.so.1 libwcs/libwcstools.so.1.0.0 /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/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/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/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/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/man/man1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.9.7-7.fc40 --unique-debug-suffix -3.9.7-7.fc40.riscv64 --unique-debug-src-base wcstools-3.9.7-7.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/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-7.fc40.riscv64 6304 blocks 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 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: wcstools-3.9.7-7.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oRanXG + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.7 + DOCDIR=/builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7/NEWS /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7/Readme /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7/Programs /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.049G99 + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.7 + LICENSEDIR=/builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/licenses/wcstools + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/licenses/wcstools + cp -pr /builddir/build/BUILD/wcstools-3.9.7/COPYING /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/licenses/wcstools + RPM_EC=0 ++ jobs -p + exit 0 Provides: wcstools = 3.9.7-7.fc40 wcstools(riscv-64) = 3.9.7-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libwcstools.so.1()(64bit) rtld(GNU_HASH) Processing files: wcstools-libs-3.9.7-7.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.A6c38o + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.7 + LICENSEDIR=/builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/licenses/wcstools-libs + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/licenses/wcstools-libs + cp -pr /builddir/build/BUILD/wcstools-3.9.7/libwcs/COPYING /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/licenses/wcstools-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libwcstools.so.1()(64bit) wcstools-libs = 3.9.7-7.fc40 wcstools-libs(riscv-64) = 3.9.7-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: wcstools-devel-3.9.7-7.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0a9tud + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.7 + DOCDIR=/builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools-devel + cp -pr /builddir/build/BUILD/wcstools-3.9.7/libwcs/NEWS /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64/usr/share/doc/wcstools-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: wcstools-devel = 3.9.7-7.fc40 wcstools-devel(riscv-64) = 3.9.7-7.fc40 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-7.fc40.riscv64 Provides: wcstools-debugsource = 3.9.7-7.fc40 wcstools-debugsource(riscv-64) = 3.9.7-7.fc40 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-7.fc40.riscv64 Provides: debuginfo(build-id) = 0a2698555cf0f8f683f0a37dc739d810ec5a6946 debuginfo(build-id) = 0a4d15c0dada17afe83083c01bcad55efed306d6 debuginfo(build-id) = 0e80afd47cbbb38b4bd42dc5c027886a4f86ef7b debuginfo(build-id) = 127437cf26161c7540069c0540b4fe9b9358855e debuginfo(build-id) = 15d476310df363df243077cd8de874f4f60be04f debuginfo(build-id) = 19521971c8b3f88056fbcb2a9efcfc414bf3f8e0 debuginfo(build-id) = 1fcf969cadc0836a27d210cebf6c67d47f454957 debuginfo(build-id) = 22a9800d31d3153335a685cd5b660e64bf35f863 debuginfo(build-id) = 267f41380d1a972642de463f46df861e58377e01 debuginfo(build-id) = 2e0a0eb8179762cbe5de6d9ea1ddd2e24d2aa3f7 debuginfo(build-id) = 2ea5bdf1a105bf50d485e77bb8c0936411ad31ad debuginfo(build-id) = 354f04e746a35bc3d8949cf20512780aa7d22090 debuginfo(build-id) = 37696c1d20b19f0a9dbe9c21e43772e525ac9171 debuginfo(build-id) = 37d4d7409ab2b8e8b07b184e640227e8e9c8789e debuginfo(build-id) = 3986a324b61aa0161b938957b8ff2ba03a4711ee debuginfo(build-id) = 3ba61ba5ca2e7d6f34a60a7e660c0a6643983399 debuginfo(build-id) = 3bf67980724844b538376a7cc43485dd1c93d179 debuginfo(build-id) = 3d5ac93e39e33f063485a43a3da286ab2548f227 debuginfo(build-id) = 4bd64786a38f4bf693e837f7831a942759d500ba debuginfo(build-id) = 4d4b85a0ca6644f9669881e8e5d3594800a0fa69 debuginfo(build-id) = 5fdb82faaac16bf56370099eafe5b0545b9dc64f debuginfo(build-id) = 7031be4d2337075b72bdc74dbe70542f2882d127 debuginfo(build-id) = 735f118726a692564ea0b69c78c2952d004d1c61 debuginfo(build-id) = 76f018cc3093f97cdd41ac0f96734d57c5a0bcfb debuginfo(build-id) = 8c5968ce411087b054c374c1c974ba6f4a74ab0d debuginfo(build-id) = 920bcf92f9f0d8c519af8b6874cd4f06fa9d8ff2 debuginfo(build-id) = 926a5ae311c6991aaf4cdb740bbf67e678f06051 debuginfo(build-id) = 936d9db40a606a4133a651007fe3a67aadbe53b1 debuginfo(build-id) = 93c83349725fec15de733592183b29af913cf3a7 debuginfo(build-id) = 95263ad245032c60cc6e2c4410ba4c010daf0baf debuginfo(build-id) = 99f79ccb177c862b33f91b273c3d69d086203a8d debuginfo(build-id) = 9f715afe9ad0c771b25c28f5df4752ad29ffd38d debuginfo(build-id) = a2a0ffd399d4ab7255b358310959b668adb1a151 debuginfo(build-id) = a3e9641abd4280847fc6bcd3e2f863c7afca43b1 debuginfo(build-id) = a8c28ac619481742965320c08c64f3d1b84eb058 debuginfo(build-id) = a9e1effe460deabfee7a0c24dd8abca18a11a817 debuginfo(build-id) = b25a78b06bf19788db8db36d5179b4a86bf90802 debuginfo(build-id) = b597629c0e6910b88a1a48da0b2b4516041857e1 debuginfo(build-id) = be5dbca9da0e273e3edc76f311f2c83ec5bda7e6 debuginfo(build-id) = c35e75491894b42ea14ef0896a96c22b963082c3 debuginfo(build-id) = c3bb2294e68933795177da81f0bb9cd4b2963d97 debuginfo(build-id) = ca88ab3b85bb54fe2c242b5f7c0196c4d318adb6 debuginfo(build-id) = ce6b2ca38c85fa748122278cd3db96833d82cfef debuginfo(build-id) = cfead0a4f778608d9ddb924529443dff3f14de13 debuginfo(build-id) = d91db655bc78c45fc978da338c8e8a40816c9b42 debuginfo(build-id) = db330e7affd693ba7f940d67135c9c6412bffe33 debuginfo(build-id) = dd120778dd089438384eac6c2c1582c60390cc35 debuginfo(build-id) = ded649185af897f9c2b68c9cde350724a0be22c8 debuginfo(build-id) = e0b682506a33d88df9f95af65b61c63e1b17d099 debuginfo(build-id) = f46635b7b4ad7ccd3f1d25babe64a169b6f08734 debuginfo(build-id) = f5270d79cd6769286e5a95272959e33cfa824ad8 wcstools-debuginfo = 3.9.7-7.fc40 wcstools-debuginfo(riscv-64) = 3.9.7-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wcstools-debugsource(riscv-64) = 3.9.7-7.fc40 Processing files: wcstools-libs-debuginfo-3.9.7-7.fc40.riscv64 Provides: debuginfo(build-id) = 13f2fdd11c943871f70719d54a9bb1fb268eeffb libwcstools.so.1.0.0-3.9.7-7.fc40.riscv64.debug()(64bit) wcstools-libs-debuginfo = 3.9.7-7.fc40 wcstools-libs-debuginfo(riscv-64) = 3.9.7-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wcstools-debugsource(riscv-64) = 3.9.7-7.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64 Wrote: /builddir/build/RPMS/wcstools-3.9.7-7.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/wcstools-libs-3.9.7-7.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/wcstools-libs-debuginfo-3.9.7-7.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/wcstools-devel-3.9.7-7.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/wcstools-debuginfo-3.9.7-7.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/wcstools-debugsource-3.9.7-7.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.djzmT9 + umask 022 + cd /builddir/build/BUILD + cd wcstools-3.9.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wcstools-3.9.7-7.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.MsrJgQ + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/wcstools-3.9.7-SPECPARTS + rm -rf wcstools-3.9.7 wcstools-3.9.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0