Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cfitsio.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-147373-9849/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cfitsio.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/cfitsio-4.2.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cfitsio.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-147373-9849/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cfitsio.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sAZoHz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cfitsio-4.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cfitsio-4.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cfitsio-4.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cfitsio-noversioncheck.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cfitsio-pkgconfig.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cfitsio-ldflags.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cfitsio-remove-rpath.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vsn0O3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cfitsio-4.2.0 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-04-28 22:22:15.860530566 +0800 +++ ./configure 2024-04-28 22:22:15.888531061 +0800 @@ -1640,7 +1640,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-reentrant -with-bzip2 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking target system type... loongarch64-opencloudos-linux-gnu checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for main in -lbz2... yes checking for bzlib.h... yes checking for loongarch64-opencloudos-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking for gfortran... gfortran checking whether we are using GNU Fortran... yes cfitsio: == Adding wrapper support for GNU Fortran... done checking for ar... ar checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for math.h... yes checking for limits.h... yes cfitsio: == Using gcc version 12 checking for curl-config... curl-config grep: warning: stray \ before - checking for inflateEnd in -lz... yes checking whether ftruncate works... yes checking whether long long is defined... yes checking whether system V style IPC services are supported... yes checking whether flock_t is defined in sys/fcntl.h... no checking whether flock_t is defined in sys/flock.h... no checking for main in -lpthread... yes checking whether union semun is defined... no checking for fmemopen... yes checking for library containing gethostbyname... none required checking for library containing connect... none required configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking configure: creating ./config.status config.status: creating Makefile config.status: creating cfitsio.pc Congratulations, Makefile update was successful. You may want to run make now. configure: WARNING: unrecognized options: --disable-dependency-tracking + make shared gcc -c -o ./buffers.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 buffers.c gcc -c -o ./cfileio.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 cfileio.c cfileio.c: In function 'fits_already_open': cfileio.c:1507:10: warning: unused variable 'tmpStr' [-Wunused-variable] 1507 | char tmpStr[FLEN_FILENAME]; | ^~~~~~ cfileio.c:1506:10: warning: unused variable 'cwd' [-Wunused-variable] 1506 | char cwd[FLEN_FILENAME]; | ^~~ cfileio.c: In function 'fits_get_token': cfileio.c:7366:12: warning: variable 'dval' set but not used [-Wunused-but-set-variable] 7366 | double dval; | ^~~~ cfileio.c: In function 'fits_get_token2': cfileio.c:7421:12: warning: variable 'dval' set but not used [-Wunused-but-set-variable] 7421 | double dval; | ^~~~ cfileio.c: In function 'ffoptplt': cfileio.c:7833:21: warning: 'strncpy' output truncated before terminating nul copying 30 bytes from a string of the same length [-Wstringop-truncation] 7833 | strncpy(card, "PCOUNT = 0", 30); | ^ cfileio.c: In function 'fits_is_this_a_copy': cfileio.c:1716:13: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 1716 | else if (!strncpy(urltype, "stdin", 5) ) | ^ cfileio.c: In function 'ffomem': cfileio.c:339:38: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 55 [-Wformat-truncation=] 339 | " extension with EXTNAME = %s,", extname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:964, from fitsio.h:64, from fitsio2.h:4, from cfileio.c:13: In function 'snprintf', inlined from 'ffomem' at cfileio.c:338:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 28 and 98 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cfileio.c: In function 'ffopen': cfileio.c:971:38: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 55 [-Wformat-truncation=] 971 | " extension with EXTNAME = %s,", extname); | ^~ ~~~~~~~ In function 'snprintf', inlined from 'ffopen' at cfileio.c:970:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 28 and 98 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -o ./checksum.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 checksum.c gcc -c -o ./drvrfile.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 drvrfile.c drvrfile.c: In function 'file_truncate': drvrfile.c:465:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 465 | ftruncate(fdesc, (OFF_T) filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -o ./drvrmem.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 drvrmem.c drvrmem.c: In function 'mem_rawfile_open': drvrmem.c:944:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 944 | if (cptr && *cptr == ',') | ^~ drvrmem.c:946:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 946 | dim[4] = strtol(cptr+1, &cptr2, 10); | ^~~ drvrmem.c: In function 'mem_compress_open': drvrmem.c:607:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 607 | fread(buffer, 1, 4L, diskfile); /* read 4 bytes */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drvrmem.c:652:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 652 | fread(buffer, 1, 4L, diskfile); /* read 4 bytes */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -o ./drvrnet.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 drvrnet.c drvrnet.c: In function 'http_open_network': drvrnet.c:783:9: warning: unused variable 'saveptr' [-Wunused-variable] 783 | char *saveptr; | ^~~~~~~ drvrnet.c: In function 'ftps_open': drvrnet.c:1450:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1450 | if (firstByte == 0x1f && secondByte == 0x8b || | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftps_compress_open': drvrnet.c:1658:9: warning: unused variable 'compressedInFile' [-Wunused-variable] 1658 | FILE *compressedInFile=0; | ^~~~~~~~~~~~~~~~ drvrnet.c: In function 'ssl_get_with_curl': drvrnet.c:1950:6: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 1950 | curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, curlProgressCallback); | ^~~~~~~~~~~~~~~~ In file included from drvrnet.c:176: /usr/include/curl/curl.h:1299:3: note: declared here 1299 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_open_network': drvrnet.c:2606:7: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2606 | int status; | ^~~~~~ drvrnet.c: In function 'ftp_checkfile': drvrnet.c:3758:7: warning: unused variable 'sock' [-Wunused-variable] 3758 | int sock; | ^~~~ drvrnet.c:3757:9: warning: unused variable 'command' [-Wunused-variable] 3757 | FILE *command; | ^~~~~~~ drvrnet.c:3756:9: warning: unused variable 'ftpfile' [-Wunused-variable] 3756 | FILE *ftpfile; | ^~~~~~~ drvrnet.c: In function 'root_size': drvrnet.c:4103:7: warning: variable 'status' set but not used [-Wunused-but-set-variable] 4103 | int status; | ^~~~~~ drvrnet.c: In function 'root_close': drvrnet.c:4121:7: warning: variable 'status' set but not used [-Wunused-but-set-variable] 4121 | int status; | ^~~~~~ drvrnet.c: In function 'root_flush': drvrnet.c:4136:7: warning: variable 'status' set but not used [-Wunused-but-set-variable] 4136 | int status; | ^~~~~~ drvrnet.c: In function 'root_openfile': drvrnet.c:4271:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 4271 | fgets(recbuf,MAXLEN,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drvrnet.c:4304:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 4304 | fgets(recbuf,MAXLEN,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_status': drvrnet.c:3903:78: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 57 [-Wformat-truncation=] 3903 | snprintf(errorstr,SHORTLEN,"ERROR ftp_status wants %s but got unexpected %s", statusstr, recbuf); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:964, from drvrnet.c:170: In function 'snprintf', inlined from 'ftp_status' at drvrnet.c:3903:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 44 or more bytes (assuming 1243) into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_status': drvrnet.c:3896:69: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 68 [-Wformat-truncation=] 3896 | snprintf(errorstr,SHORTLEN,"ERROR ftp_status wants %s but got %s", statusstr, recbuf); | ^~ ~~~~~~ In function 'snprintf', inlined from 'ftp_status' at drvrnet.c:3896:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes (assuming 1232) into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'http_open_network': drvrnet.c:854:33: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 1196 [-Wformat-truncation=] 854 | snprintf(tmpstr,MAXLEN,"GET %s HTTP/1.0\r\n",fn); | ^~ ~~ In function 'snprintf', inlined from 'http_open_network' at drvrnet.c:854:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 16 and 1215 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'http_open_network': drvrnet.c:852:46: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size between 1078 and 1187 [-Wformat-truncation=] 852 | snprintf(tmpstr,MAXLEN,"GET http://%s:%-d%s HTTP/1.0\r\n",host,port,fn); | ^~ ~~ In function 'snprintf', inlined from 'http_open_network' at drvrnet.c:852:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 25 and 1333 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'http_open_network': drvrnet.c:859:54: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 79 [-Wformat-truncation=] 859 | snprintf(tmpstr1, SHORTLEN,"Authorization: Basic %s\r\n", tmpstr2); | ^~ ~~~~~~~ In function 'snprintf', inlined from 'http_open_network' at drvrnet.c:859:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 24 and 1223 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'http_open_network': drvrnet.c:885:36: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 94 [-Wformat-truncation=] 885 | snprintf(tmpstr1,SHORTLEN,"Host: %s:%-d\r\n\r\n",host,port); | ^~ ~~~~ In function 'snprintf', inlined from 'http_open_network' at drvrnet.c:885:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 13 and 122 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'encode64', inlined from 'http_open_network' at drvrnet.c:858:5: drvrnet.c:4472:10: warning: 'sr' may be used uninitialized [-Wmaybe-uninitialized] 4472 | sr <<= 8; | ~~~^~~~~ drvrnet.c: In function 'http_open_network': drvrnet.c:4468:23: note: 'sr' was declared here 4468 | unsigned long int sr; | ^~ drvrnet.c: In function 'ftp_file_exist': drvrnet.c:3026:37: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 1196 [-Wformat-truncation=] 3026 | snprintf(tmpstr,MAXLEN,"CWD %s\r\n",fn); | ^~ ~~ In function 'snprintf', inlined from 'ftp_file_exist' at drvrnet.c:3026:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 1206 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_file_exist': drvrnet.c:3024:37: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 1196 [-Wformat-truncation=] 3024 | snprintf(tmpstr,MAXLEN,"CWD %s\r\n",&fn[1]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ftp_file_exist' at drvrnet.c:3024:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 1206 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_file_exist': drvrnet.c:3156:34: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 1195 [-Wformat-truncation=] 3156 | snprintf(tmpstr,MAXLEN,"RETR %s\r\n",newfn); | ^~ In function 'snprintf', inlined from 'ftp_file_exist' at drvrnet.c:3156:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 8 and 1207 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_open_network': drvrnet.c:2732:37: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 1196 [-Wformat-truncation=] 2732 | snprintf(tmpstr,MAXLEN,"CWD %s\r\n",fn); | ^~ ~~ In function 'snprintf', inlined from 'ftp_open_network' at drvrnet.c:2732:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 1206 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_open_network': drvrnet.c:2730:37: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 1196 [-Wformat-truncation=] 2730 | snprintf(tmpstr,MAXLEN,"CWD %s\r\n",&fn[1]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ftp_open_network' at drvrnet.c:2730:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 1206 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ drvrnet.c: In function 'ftp_open_network': drvrnet.c:2862:34: warning: '%s' directive output may be truncated writing up to 1199 bytes into a region of size 1195 [-Wformat-truncation=] 2862 | snprintf(tmpstr,MAXLEN,"RETR %s\r\n",newfn); | ^~ In function 'snprintf', inlined from 'ftp_open_network' at drvrnet.c:2862:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 8 and 1207 bytes into a destination of size 1200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -o ./drvrsmem.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 drvrsmem.c gcc -c -o ./editcol.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 editcol.c editcol.c: In function 'ffccls': editcol.c:1971:9: warning: variable 'typecodes' set but not used [-Wunused-but-set-variable] 1971 | int typecodes[1000]; | ^~~~~~~~~ editcol.c:1970:24: warning: unused variable 'fvalues' [-Wunused-variable] 1970 | float fnull = 0., *fvalues = 0; | ^~~~~~~ editcol.c:1970:11: warning: unused variable 'fnull' [-Wunused-variable] 1970 | float fnull = 0., *fvalues = 0; | ^~~~~ editcol.c:1969:26: warning: unused variable 'dvalues' [-Wunused-variable] 1969 | double dnull = 0.l, *dvalues = 0; | ^~~~~~~ editcol.c:1969:12: warning: unused variable 'dnull' [-Wunused-variable] 1969 | double dnull = 0.l, *dvalues = 0; | ^~~~~ editcol.c:1968:10: warning: unused variable 'nulstr' [-Wunused-variable] 1968 | char nulstr[] = {'\5', '\0'}; /* unique null string value */ | ^~~~~~ editcol.c:1967:36: warning: unused variable 'strarray' [-Wunused-variable] 1967 | char *lvalues = 0, nullflag, **strarray = 0; | ^~~~~~~~ editcol.c:1967:24: warning: unused variable 'nullflag' [-Wunused-variable] 1967 | char *lvalues = 0, nullflag, **strarray = 0; | ^~~~~~~~ editcol.c:1967:11: warning: unused variable 'lvalues' [-Wunused-variable] 1967 | char *lvalues = 0, nullflag, **strarray = 0; | ^~~~~~~ editcol.c:1964:31: warning: unused variable 'ii' [-Wunused-variable] 1964 | long firstrow, firstelem, ii; | ^~ editcol.c:1964:20: warning: unused variable 'firstelem' [-Wunused-variable] 1964 | long firstrow, firstelem, ii; | ^~~~~~~~~ editcol.c:1964:10: warning: unused variable 'firstrow' [-Wunused-variable] 1964 | long firstrow, firstelem, ii; | ^~~~~~~~ editcol.c:1963:50: warning: unused variable 'npixels' [-Wunused-variable] 1963 | long inloop, outloop, maxloop, ndone, ntodo, npixels; | ^~~~~~~ editcol.c:1963:43: warning: unused variable 'ntodo' [-Wunused-variable] 1963 | long inloop, outloop, maxloop, ndone, ntodo, npixels; | ^~~~~ editcol.c:1963:36: warning: unused variable 'ndone' [-Wunused-variable] 1963 | long inloop, outloop, maxloop, ndone, ntodo, npixels; | ^~~~~ editcol.c:1963:27: warning: unused variable 'maxloop' [-Wunused-variable] 1963 | long inloop, outloop, maxloop, ndone, ntodo, npixels; | ^~~~~~~ editcol.c:1963:18: warning: unused variable 'outloop' [-Wunused-variable] 1963 | long inloop, outloop, maxloop, ndone, ntodo, npixels; | ^~~~~~~ editcol.c:1963:10: warning: unused variable 'inloop' [-Wunused-variable] 1963 | long inloop, outloop, maxloop, ndone, ntodo, npixels; | ^~~~~~ editcol.c:1962:58: warning: unused variable 'outrows' [-Wunused-variable] 1962 | long tfields, repeat, orepeat, width, owidth, nrows, outrows; | ^~~~~~~ editcol.c:1962:51: warning: unused variable 'nrows' [-Wunused-variable] 1962 | long tfields, repeat, orepeat, width, owidth, nrows, outrows; | ^~~~~ editcol.c:1960:47: warning: unused variable 'anynull' [-Wunused-variable] 1960 | int tstatus, colnum, typecode, otypecode, anynull; | ^~~~~~~ editcol.c: In function 'ffkshf': editcol.c:3089:19: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 3089 | strncpy(rec, " ", 8); /* erase old keyword name */ | ^ editcol.c:3049:13: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 80 [-Wstringop-truncation] 3049 | strncpy(q, &rec[1], 4); | ^ editcol.c:3084:19: warning: '__strncat_chk' output may be truncated copying between 4 and 5 bytes from a string of length 80 [-Wstringop-truncation] 3084 | strncat(q, rec, i1); | ^ editcol.c:3091:19: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3091 | strncpy(rec, newkey, i1); /* overwrite new keyword name */ | ^ editcol.c:3090:24: note: length computed here 3090 | i1 = strlen(newkey); | ^~~~~~~~~~~~~~ gcc -c -o ./edithdu.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 edithdu.c gcc -c -o ./eval_l.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 eval_l.c eval_l.c:2077:16: warning: 'input' defined but not used [-Wunused-function] 2077 | #else | ^ gcc -c -o ./eval_y.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 eval_y.c eval.y: In function 'Do_Offset': eval.y:2519:8: warning: variable 'status' set but not used [-Wunused-but-set-variable] 2519 | int status; | ^~~~~~ eval.y: In function 'Do_Func': eval.y:4042:18: warning: unused variable 'j' [-Wunused-variable] 4042 | int j; | ^ eval.y: In function 'Do_Deref': eval.y:5376:29: warning: statement with no effect [-Wunused-value] 5376 | this->value.undef; /* Dummy - BITSTRs do not have undefs */ | ~~~~~~~~~~~^~~~~~ eval.y:5470:29: warning: statement with no effect [-Wunused-value] 5470 | this->value.undef; /* Dummy - BITSTRs do not have undefs */ | ~~~~~~~~~~~^~~~~~ eval.y: In function 'Do_GTI_Over': eval.y:5632:8: warning: unused variable 'ordered' [-Wunused-variable] 5632 | int ordered; | ^~~~~~~ eval.y:5631:26: warning: unused variable 'nextGTI' [-Wunused-variable] 5631 | long elem, nGTI, gti, nextGTI; | ^~~~~~~ eval.y: In function 'Do_Array': eval.y:5989:8: warning: unused variable 'node' [-Wunused-variable] 5989 | int node; | ^~~~ eval.y:5988:25: warning: unused variable 'jdx' [-Wunused-variable] 5988 | long row, elem, idx, jdx, offset=0; | ^~~ eval.y: In function 'Do_GTI_Over': eval.y:5680:41: warning: 'uStart' may be used uninitialized [-Wmaybe-uninitialized] 5679 | if( gti<0 || | ~~~~~~~~ 5680 | uStartgtiStop[gti] || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ eval.y:5651:14: note: 'uStart' was declared here 5651 | double uStart, uStop; /* User start/stop values */ | ^~~~~~ eval.y:5681:41: warning: 'uStop' may be used uninitialized [-Wmaybe-uninitialized] 5679 | if( gti<0 || | ~~~~~~~~ 5680 | uStartgtiStop[gti] || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5681 | uStop gtiStop[gti]) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ eval.y:5651:22: note: 'uStop' was declared here 5651 | double uStart, uStop; /* User start/stop values */ | ^~~~~ gcc -c -o ./eval_f.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 eval_f.c eval_f.c: In function 'fits_pixel_filter': eval_f.c:2709:8: warning: variable 'datatype' set but not used [-Wunused-but-set-variable] 2709 | int datatype; | ^~~~~~~~ gcc -c -o ./fitscore.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 fitscore.c fitscore.c: In function 'ffmkky': fitscore.c:1116:9: warning: '__strncat_chk' output may be truncated copying 74 bytes from a string of length 74 [-Wstringop-truncation] 1116 | strncat(tmpname2, tmpname, FLEN_KEYWORD - 1); | ^ fitscore.c:1160:13: warning: 'strncat' output may be truncated copying 74 bytes from a string of length 74 [-Wstringop-truncation] 1160 | strncat(card, tmpname, FLEN_KEYWORD - 1); | ^ fitscore.c: In function 'ffbinit.part.0': fitscore.c:5111:52: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 72 [-Wformat-truncation=] 5111 | snprintf(message,FLEN_ERRMSG,"Required %s keyword not found (ffbinit).", name); | ^~ ~~~~ In file included from /usr/include/stdio.h:964, from fitsio.h:64, from fitsio2.h:4, from fitscore.c:46: In function 'snprintf', inlined from 'ffbinit.part.0' at fitscore.c:5111:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 39 and 113 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitscore.c: In function 'ffainit.part.0': fitscore.c:4914:52: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 72 [-Wformat-truncation=] 4914 | snprintf(message,FLEN_ERRMSG,"Value of %s keyword out of range: %ld (ffainit).", | ^~ 4915 | name, (long) tbcoln); | ~~~~ fitscore.c:4914:42: note: using the range [-9223372036854775808, 9223372036854775807] for directive argument 4914 | snprintf(message,FLEN_ERRMSG,"Value of %s keyword out of range: %ld (ffainit).", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ffainit.part.0' at fitscore.c:4914:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 45 and 138 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitscore.c: In function 'ffainit.part.0': fitscore.c:4905:52: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 72 [-Wformat-truncation=] 4905 | snprintf(message,FLEN_ERRMSG,"Required %s keyword not found (ffainit).", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffainit.part.0' at fitscore.c:4905:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 39 and 113 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitscore.c: In function 'ffainit.part.0': fitscore.c:4897:52: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 72 [-Wformat-truncation=] 4897 | snprintf(message,FLEN_ERRMSG,"Required %s keyword not found (ffainit).", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffainit.part.0' at fitscore.c:4897:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 39 and 113 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitscore.c: In function 'fftheap': fitscore.c:6096:75: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 6096 | "Descriptor in row %ld, column %d has invalid heap address", | ^ In function 'snprintf', inlined from 'fftheap' at fitscore.c:6095:17, inlined from 'fftheap' at fitscore.c:6021:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 55 and 82 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitscore.c: In function 'ffcmph': fitscore.c:6234:69: warning: ' blocks.' directive output may be truncated writing 8 bytes into a region of size between 7 and 23 [-Wformat-truncation=] 6234 | "Failed to extend the size of the variable length heap by %ld blocks.", | ^~~~~~~~ In function 'snprintf', inlined from 'ffcmph' at fitscore.c:6233:19, inlined from 'ffcmph' at fitscore.c:6124:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 67 and 83 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitscore.c: In function 'ffgcprll': fitscore.c:5972:69: warning: ' blocks.' directive output may be truncated writing 8 bytes into a region of size between 7 and 23 [-Wformat-truncation=] 5972 | "Failed to extend the size of the variable length heap by %ld blocks.", | ^~~~~~~~ In function 'snprintf', inlined from 'ffgcprll' at fitscore.c:5971:19: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 67 and 83 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitscore.c: In function 'ffgcprll': fitscore.c:5774:76: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 5774 | "First element to write is too large: %ld; max allowed value is %ld", | ^ In function 'snprintf', inlined from 'ffgcprll' at fitscore.c:5773:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 63 and 101 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -o ./getcol.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcol.c gcc -c -o ./getcolb.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcolb.c gcc -c -o ./getcold.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcold.c gcc -c -o ./getcole.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcole.c gcc -c -o ./getcoli.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcoli.c gcc -c -o ./getcolj.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcolj.c gcc -c -o ./getcolk.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcolk.c gcc -c -o ./getcoll.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcoll.c gcc -c -o ./getcols.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcols.c getcols.c: In function 'ffgcls': getcols.c:442:15: warning: 'strncat' output may be truncated copying 20 bytes from a string of length 399 [-Wstringop-truncation] 442 | strncat(array[ii], tmpstr, 20); | ^ getcols.c:423:19: warning: 'strncat' output may be truncated copying between 0 and 78 bytes from a string of length 79 [-Wstringop-truncation] 423 | strncat(array[ii], tmpnull, dwidth); | ^ getcols.c:384:15: warning: 'strncat' output may be truncated copying 20 bytes from a string of length 399 [-Wstringop-truncation] 384 | strncat(array[ii], tmpstr, 20); | ^ getcols.c:365:19: warning: 'strncat' output may be truncated copying between 0 and 78 bytes from a string of length 79 [-Wstringop-truncation] 365 | strncat(array[ii], tmpnull, dwidth); | ^ getcols.c:587:19: warning: 'strncat' output may be truncated copying between 0 and 78 bytes from a string of length 79 [-Wstringop-truncation] 587 | strncat(array[ii], tmpnull, dwidth); | ^ gcc -c -o ./getcolsb.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcolsb.c gcc -c -o ./getcoluk.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcoluk.c gcc -c -o ./getcolui.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcolui.c gcc -c -o ./getcoluj.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getcoluj.c getcoluj.c: In function 'ffgclujj': getcoluj.c:2627:9: warning: variable 'convert' set but not used [-Wunused-but-set-variable] 2627 | int convert, nulcheck, readcheck = 0; | ^~~~~~~ gcc -c -o ./getkey.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 getkey.c getkey.c: In function 'ffgky': getkey.c:290:12: warning: unused variable 'doubleval' [-Wunused-variable] 290 | double doubleval; | ^~~~~~~~~ getkey.c: In function 'ffgcnt': getkey.c:1134:9: warning: 'strncpy' output truncated copying 10 bytes from a string of length 11 [-Wstringop-truncation] 1134 | strncpy(card, "D2345678= ", 10); /* overwrite a dummy keyword name */ | ^ getkey.c: In function 'ffgphd.part.0': getkey.c:2855:62: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 33 [-Wformat-truncation=] 2855 | "First keyword of the extension is not XTENSION: %s", name); | ^~ ~~~~ In file included from /usr/include/stdio.h:964, from fitsio.h:64, from fitsio2.h:4, from getkey.c:14: In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:2854:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 49 and 123 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:2847:53: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 49 [-Wformat-truncation=] 2847 | "This is not an IMAGE extension: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:2846:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 33 and 103 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:2821:62: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 40 [-Wformat-truncation=] 2821 | "First keyword of the file is not SIMPLE: %s", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:2820:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 42 and 116 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:2930:48: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 47 [-Wformat-truncation=] 2930 | "Illegal value for BITPIX keyword: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:2929:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 35 and 105 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:2921:57: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 38 [-Wformat-truncation=] 2921 | "Value of BITPIX keyword is not an integer: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:2920:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 44 and 114 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:2913:61: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 34 [-Wformat-truncation=] 2913 | "Second keyword of the extension is not BITPIX: %s", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:2912:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 48 and 122 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:3021:70: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size between 19 and 28 [-Wformat-truncation=] 3021 | "Name of keyword no. %d contains illegal character(s): %s", | ^~ 3022 | nextkey, name); | ~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:3020:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 54 and 137 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:3118:67: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 32 [-Wformat-truncation=] 3118 | "Error reading EXTEND keyword value as a logical: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:3117:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 50 and 120 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:3101:68: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 31 [-Wformat-truncation=] 3101 | "Error reading GCOUNT keyword value as an integer: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:3100:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 51 and 121 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:3088:68: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 31 [-Wformat-truncation=] 3088 | "Error reading PCOUNT keyword value as an integer: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:3087:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 51 and 121 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:3075:67: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 32 [-Wformat-truncation=] 3075 | "Error reading BLANK keyword value as an integer: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:3074:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 50 and 120 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:3058:65: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 34 [-Wformat-truncation=] 3058 | "Error reading BZERO keyword value as a double: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:3057:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 48 and 118 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffgphd.part.0': getkey.c:3041:66: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 33 [-Wformat-truncation=] 3041 | "Error reading BSCALE keyword value as a double: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffgphd.part.0' at getkey.c:3040:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 49 and 119 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghtb.part.0': getkey.c:2282:58: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 33 [-Wformat-truncation=] 2282 | "First keyword of the extension is not XTENSION: %s", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffghtb.part.0' at getkey.c:2281:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 49 and 123 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghtb.part.0': getkey.c:2273:49: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 50 [-Wformat-truncation=] 2273 | "This is not a TABLE extension: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffghtb.part.0' at getkey.c:2272:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 32 and 102 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghtbll.part.0': getkey.c:2425:58: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 33 [-Wformat-truncation=] 2425 | "First keyword of the extension is not XTENSION: %s", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffghtbll.part.0' at getkey.c:2424:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 49 and 123 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghtbll.part.0': getkey.c:2416:49: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 50 [-Wformat-truncation=] 2416 | "This is not a TABLE extension: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffghtbll.part.0' at getkey.c:2415:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 32 and 102 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghbn.part.0': getkey.c:2570:58: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 33 [-Wformat-truncation=] 2570 | "First keyword of the extension is not XTENSION: %s", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffghbn.part.0' at getkey.c:2569:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 49 and 123 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghbn.part.0': getkey.c:2561:52: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 47 [-Wformat-truncation=] 2561 | "This is not a BINTABLE extension: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffghbn.part.0' at getkey.c:2560:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 35 and 105 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghbnll.part.0': getkey.c:2693:58: warning: '%s' directive output may be truncated writing up to 74 bytes into a region of size 33 [-Wformat-truncation=] 2693 | "First keyword of the extension is not XTENSION: %s", name); | ^~ ~~~~ In function 'snprintf', inlined from 'ffghbnll.part.0' at getkey.c:2692:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 49 and 123 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ getkey.c: In function 'ffghbnll.part.0': getkey.c:2684:52: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 47 [-Wformat-truncation=] 2684 | "This is not a BINTABLE extension: %s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'ffghbnll.part.0' at getkey.c:2683:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 35 and 105 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -o ./group.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 group.c group.c: In function 'ffgtrm': group.c:596:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 596 | for(i = nmembers; i > 0 && *status == 0; --i) | ^~~ group.c:599:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 599 | break; | ^~~~~ group.c: In function 'ffgtam': group.c:1309:7: warning: variable 'useLocation' set but not used [-Wunused-but-set-variable] 1309 | int useLocation = 0; | ^~~~~~~~~~~ group.c: In function 'fits_url2path': group.c:5396:7: warning: variable 'absolute' set but not used [-Wunused-but-set-variable] 5396 | int absolute; | ^~~~~~~~ group.c: In function 'ffgmop': group.c:2290:62: warning: '%s' directive output may be truncated writing up to 70 bytes into a region of size 39 [-Wformat-truncation=] 2290 | "Cannot open member HDU file with URI type %s (ffgmop)", | ^~ 2291 | uri); | ~~~ In file included from /usr/include/stdio.h:964, from fitsio.h:64, from fitsio2.h:4, from group.c:17: In function 'snprintf', inlined from 'ffgmop' at group.c:2289:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 52 and 122 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -o ./grparser.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 grparser.c grparser.c: In function 'ngp_keyword_all_write': grparser.c:825:15: warning: the comparison will always evaluate as 'true' for the address of 'comment' will never be NULL [-Waddress] 825 | if (ngph->tok[i].comment && *ngph->tok[i].comment) /* do not update with a blank comment */ | ^~~~ In file included from grparser.c:80: grparser.h:124:25: note: 'comment' declared here 124 | char comment[NGP_MAX_COMMENT]; | ^~~~~~~ gcc -c -o ./histo.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 histo.c histo.c: In function 'ffhist2e': histo.c:715:10: warning: unused variable 'errmsg' [-Wunused-variable] 715 | char errmsg[FLEN_ERRMSG]; | ^~~~~~ histo.c:714:11: warning: unused variable 'repeat' [-Wunused-variable] 714 | long *repeat, wtrepeat = 0; | ^~~~~~ histo.c:712:9: warning: unused variable 'numIterCols' [-Wunused-variable] 712 | int numIterCols = 0; | ^~~~~~~~~~~ histo.c: In function 'fits_calc_binningde': histo.c:2126:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2126 | colexpr && colexpr[ii] && colexpr[ii][0]) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ histo.c:1802:9: warning: variable 'ncols' set but not used [-Wunused-but-set-variable] 1802 | int ncols; | ^~~~~ histo.c:1795:14: warning: unused variable 'colptr' [-Wunused-variable] 1795 | tcolumn *colptr; | ^~~~~~ histo.c: In function 'fits_write_keys_histoe': histo.c:2260:53: warning: the comparison will always evaluate as 'true' for the pointer operand in 'colname + (sizetype)((long unsigned int)ii * 71)' must not be NULL [-Waddress] 2260 | if (colexpr && colexpr[ii] && colexpr[ii][0] && colname[ii]) | ^~ histo.c: In function 'fits_make_hist': histo.c:2486:43: warning: variable 'weightd' set but not used [-Wunused-but-set-variable] 2486 | double amind[4], amaxd[4], binsized[4], weightd; | ^~~~~~~ histo.c: In function 'fits_get_expr_minmax': histo.c:2966:42: warning: unused variable 'tdimKwd' [-Wunused-variable] 2966 | char card[81], tform[16], nullKwd[9], tdimKwd[9]; | ^~~~~~~ histo.c:2966:30: warning: unused variable 'nullKwd' [-Wunused-variable] 2966 | char card[81], tform[16], nullKwd[9], tdimKwd[9]; | ^~~~~~~ histo.c:2966:19: warning: unused variable 'tform' [-Wunused-variable] 2966 | char card[81], tform[16], nullKwd[9], tdimKwd[9]; | ^~~~~ histo.c:2966:9: warning: unused variable 'card' [-Wunused-variable] 2966 | char card[81], tform[16], nullKwd[9], tdimKwd[9]; | ^~~~ histo.c:2964:17: warning: unused variable 'colNo' [-Wunused-variable] 2964 | int col_cnt, colNo; | ^~~~~ histo.c:2964:8: warning: unused variable 'col_cnt' [-Wunused-variable] 2964 | int col_cnt, colNo; | ^~~~~~~ histo.c:2963:40: warning: unused variable 'width' [-Wunused-variable] 2963 | long nelem, naxes[MAXDIMS], repeat, width, nrows; | ^~~~~ histo.c:2963:32: warning: unused variable 'repeat' [-Wunused-variable] 2963 | long nelem, naxes[MAXDIMS], repeat, width, nrows; | ^~~~~~ histo.c:2962:35: warning: unused variable 'newNullKwd' [-Wunused-variable] 2962 | int naxis, constant, typecode, newNullKwd=0; | ^~~~~~~~~~ histo.c:2962:25: warning: unused variable 'typecode' [-Wunused-variable] 2962 | int naxis, constant, typecode, newNullKwd=0; | ^~~~~~~~ histo.c:2962:15: warning: unused variable 'constant' [-Wunused-variable] 2962 | int naxis, constant, typecode, newNullKwd=0; | ^~~~~~~~ histo.c: In function 'ffwritehisto': histo.c:3033:25: warning: unused variable 'ncols' [-Wunused-variable] 3033 | int ii, status = 0, ncols; | ^~~~~ histo.c:3033:9: warning: unused variable 'ii' [-Wunused-variable] 3033 | int ii, status = 0, ncols; | ^~ histo.c:3032:18: warning: unused variable 'colpars' [-Wunused-variable] 3032 | iteratorCol *colpars; | ^~~~~~~ histo.c: In function 'ffcalchist': histo.c:3101:38: warning: unused variable 'pv' [-Wunused-variable] 3101 | struct ParseStatusVariables *pv = &(histData->infos[ii].parseVariables); | ^~ gcc -c -o ./iraffits.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 iraffits.c iraffits.c: In function 'hputc': iraffits.c:1900:10: warning: variable 'blank' set but not used [-Wunused-but-set-variable] 1900 | char blank[80]; | ^~~~~ iraffits.c: In function 'iraftofits': iraffits.c:576:11: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 576 | (void)strncpy (endline,"END", 3); | ^ iraffits.c:889:5: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 889 | strncpy (endline," ",3); | ^ iraffits.c: In function 'hputcom': iraffits.c:2088:13: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 2088 | strncpy (c0, "/ ",2); | ^ iraffits.c: In function 'hputc': iraffits.c:1930:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1930 | strncpy (v1+9,value,lval); | ^ iraffits.c:1909:12: note: length computed here 1909 | lval = strlen (value); | ^~~~~~~~~~~~~~ iraffits.c:1992:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1992 | strncpy (v1, keyword, lkeyword); | ^ iraffits.c:1908:16: note: length computed here 1908 | lkeyword = strlen (keyword); | ^~~~~~~~~~~~~~~~ iraffits.c:2009:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2009 | strncpy (vp, value, lval); | ^ iraffits.c:1909:12: note: length computed here 1909 | lval = strlen (value); | ^~~~~~~~~~~~~~ iraffits.c:2001:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2001 | strncpy (vp, value, lval); | ^ iraffits.c:1909:12: note: length computed here 1909 | lval = strlen (value); | ^~~~~~~~~~~~~~ iraffits.c:2020:13: warning: 'strncpy' output may be truncated copying between 0 and 48 bytes from a string of length 49 [-Wstringop-truncation] 2020 | strncpy (vp, newcom, lcom); | ^ iraffits.c: In function 'hputs': iraffits.c:1875:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 1875 | strncpy (&value[1],cval,lcval); | ^ iraffits.c:1869:13: note: length computed here 1869 | lcval = strlen (cval); | ^~~~~~~~~~~~~ iraffits.c: In function 'iraftofits.isra.0': iraffits.c:624:11: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 624 | (void)strncpy (fitsheader, endline, 80); | ^ iraffits.c:864:31: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 864 | (void)strncpy (fhead, fitsline, 80); | ^ iraffits.c:853:27: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 853 | (void)strncpy (fhead, fitsline, 80); | ^ iraffits.c:823:31: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 823 | (void)strncpy (fhead, fitsline, 80); | ^ iraffits.c:811:23: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 811 | (void)strncpy (fhead, fitsline, 80); | ^ iraffits.c:880:11: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 880 | (void)strncpy (fhead, endline, 80); | ^ gcc -c -o ./modkey.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 modkey.c modkey.c: In function 'ffikls': modkey.c:1282:12: warning: 'strncpy' output truncated copying 2 bytes from a string of length 3 [-Wstringop-truncation] 1282 | strncpy(&card[8], " ", 2); /* overwrite the '=' */ | ^ modkey.c: In function 'ffmkls': modkey.c:783:12: warning: 'strncpy' output truncated copying 2 bytes from a string of length 3 [-Wstringop-truncation] 783 | strncpy(&card[8], " ", 2); /* overwrite the '=' */ | ^ modkey.c: In function 'ffpunt.part.0': modkey.c:567:9: warning: '__strncat_chk' output may be truncated copying between 0 and 72 bytes from a string of length 72 [-Wstringop-truncation] 567 | strncat(newcomm, oldcomm, len); | ^ modkey.c:562:13: warning: '__strncat_chk' output may be truncated copying between 0 and 72 bytes from a string of length 72 [-Wstringop-truncation] 562 | strncat(newcomm, oldcomm, len); /* append old comment onto new */ | ^ gcc -c -o ./putcol.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcol.c putcol.c: In function 'ffiter': putcol.c:1268:101: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1268 | "TemporaryCol column must have defined datatype and repeat for column %d (ffiter)", | ^ In file included from /usr/include/stdio.h:964, from fitsio.h:64, from fitsio2.h:4, from putcol.c:11: In function 'snprintf', inlined from 'ffiter' at putcol.c:1267:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 80 and 82 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ putcol.c: In function 'ffiter': putcol.c:1586:83: warning: ' (ffiter)' directive output may be truncated writing 9 bytes into a region of size between 5 and 26 [-Wformat-truncation=] 1586 | "Invalid repeat (%ld) for temporary output column number %d (ffiter)", | ^~~~~~~~~ In function 'snprintf', inlined from 'ffiter' at putcol.c:1585:8: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 65 and 86 bytes into a destination of size 81 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -o ./putcolb.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcolb.c gcc -c -o ./putcold.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcold.c gcc -c -o ./putcole.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcole.c gcc -c -o ./putcoli.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcoli.c gcc -c -o ./putcolj.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcolj.c gcc -c -o ./putcolk.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcolk.c gcc -c -o ./putcoluk.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcoluk.c gcc -c -o ./putcoll.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcoll.c putcoll.c: In function 'ffpclx': putcoll.c:219:14: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 219 | LONGLONG offset, bstart, repeat, rowlen, elemnum, rstart, estart, tnull; | ^~~~~~ gcc -c -o ./putcols.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcols.c gcc -c -o ./putcolsb.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcolsb.c gcc -c -o ./putcolu.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcolu.c gcc -c -o ./putcolui.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcolui.c gcc -c -o ./putcoluj.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putcoluj.c putcoluj.c: In function 'ffpprujj': putcoluj.c:1010:19: warning: unused variable 'nullvalue' [-Wunused-variable] 1010 | unsigned long nullvalue; | ^~~~~~~~~ putcoluj.c: In function 'ffp3dujj': putcoluj.c:1109:30: warning: unused variable 'lpixel' [-Wunused-variable] 1109 | long fpixel[3]= {1,1,1}, lpixel[3]; | ^~~~~~ putcoluj.c:1109:10: warning: unused variable 'fpixel' [-Wunused-variable] 1109 | long fpixel[3]= {1,1,1}, lpixel[3]; | ^~~~~~ gcc -c -o ./putkey.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 putkey.c putkey.c: In function 'ffphbn': putkey.c:2629:14: warning: unused variable 'colptr' [-Wunused-variable] 2629 | tcolumn *colptr; | ^~~~~~ putkey.c: In function 'ffpkls': putkey.c:487:12: warning: 'strncpy' output truncated copying 2 bytes from a string of length 3 [-Wstringop-truncation] 487 | strncpy(&card[8], " ", 2); /* overwrite the '=' */ | ^ gcc -c -o ./region.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 region.c region.c:988:1: warning: "/*" within comment [-Wcomment] 988 | /*---------------------------------------------------------------------------*/ | region.c: In function 'fits_read_ascii_region': region.c:119:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | fgets( currLine+lineLen, allocLen+1, rgnFile ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ region.c: In function 'fits_free_region': region.c:1025:42: warning: pointer used after 'free' [-Wuse-after-free] 1025 | freedPolyPtrs[nFreedPoly] = ptsToFree; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ region.c:1017:16: note: call to 'free' here 1017 | free(ptsToFree); | ^~~~~~~~~~~~~~~ gcc -c -o ./scalnull.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 scalnull.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 swapproc.c gcc -c -o ./wcssub.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 wcssub.c wcssub.c: In function 'ffgtwcs': wcssub.c:847:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 847 | strncat(cptr, blanks, 50); | ^ wcssub.c:852:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 852 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:858:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 858 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:889:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 889 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:898:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 898 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:907:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 907 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:916:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 916 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:925:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 925 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:934:5: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 934 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:945:9: warning: '__strncat_chk' output truncated copying 50 bytes from a string of length 80 [-Wstringop-truncation] 945 | strncat(cptr, blanks, 50); /* pad with blanks */ | ^ wcssub.c:1040:5: warning: '__strncat_chk' output truncated copying 77 bytes from a string of length 80 [-Wstringop-truncation] 1040 | strncat(cptr, blanks, 77); | ^ gcc -c -o ./wcsutil.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 wcsutil.c gcc -c -o ./imcompress.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 imcompress.c imcompress.c: In function 'fits_read_write_compressed_img': imcompress.c:4708:10: warning: variable 'inc' set but not used [-Wunused-but-set-variable] 4708 | long inc[MAX_COMPRESS_DIM]; | ^~~ imcompress.c: In function 'imcomp_test_overlap': imcompress.c:6935:10: warning: variable 'imglpix' set but not used [-Wunused-but-set-variable] 6935 | long imglpix[MAX_COMPRESS_DIM]; /* last img pix overlapping tile 0 base, */ | ^~~~~~~ imcompress.c:6933:10: warning: variable 'imgfpix' set but not used [-Wunused-but-set-variable] 6933 | long imgfpix[MAX_COMPRESS_DIM]; /* 1st img pix overlapping tile: 0 base, */ | ^~~~~~~ imcompress.c: In function 'fits_uncompress_table': imcompress.c:8715:54: warning: variable 'cmajor_bytespan' set but not used [-Wunused-but-set-variable] 8715 | LONGLONG cmajor_repeat[999], rmajor_repeat[999], cmajor_bytespan[999], kk; | ^~~~~~~~~~~~~~~ imcompress.c:8715:14: warning: variable 'cmajor_repeat' set but not used [-Wunused-but-set-variable] 8715 | LONGLONG cmajor_repeat[999], rmajor_repeat[999], cmajor_bytespan[999], kk; | ^~~~~~~~~~~~~ imcompress.c: In function 'fits_compress_table': imcompress.c:8170:5: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 8170 | strncpy(card, "ZNAXIS1", 7); | ^ imcompress.c:8174:5: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 8174 | strncpy(card, "ZNAXIS2", 7); | ^ imcompress.c:8178:5: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 8178 | strncpy(card, "ZPCOUNT", 7); | ^ imcompress.c: In function 'fits_uncompress_table': imcompress.c:8803:5: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 8803 | strncpy(card, "NAXIS1 ", 7); | ^ imcompress.c:8807:5: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 8807 | strncpy(card, "NAXIS2 ", 7); | ^ imcompress.c:8811:5: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 8811 | strncpy(card, "PCOUNT ", 7); | ^ imcompress.c: In function 'imcomp_get_compressed_image_par': imcompress.c:5271:5: warning: '__strncat_chk' output may be truncated copying 11 bytes from a string of length 70 [-Wstringop-truncation] 5271 | strncat((infptr->Fptr)->zcmptype, value, 11); | ^ imcompress.c: In function 'fits_compress_table': imcompress.c:8671:13: warning: 'strncat' output may be truncated copying between 0 and 29 bytes from a string of length 70 [-Wstringop-truncation] 8671 | strncat(results[ii],tempstring,29-strlen(results[ii])); | ^ imcompress.c:8544:17: warning: 'strncat' output may be truncated copying between 0 and 29 bytes from a string of length 70 [-Wstringop-truncation] 8544 | strncat(results[ii],tempstring, 29-strlen(results[ii])); | ^ gcc -c -o ./quantize.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 quantize.c quantize.c: In function 'quick_select_float': quantize.c:3722:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3722 | if (hh <= median) | ^~ quantize.c:3724:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3724 | if (hh >= median) | ^~ quantize.c: In function 'quick_select_short': quantize.c:3778:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3778 | if (hh <= median) | ^~ quantize.c:3780:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3780 | if (hh >= median) | ^~ quantize.c: In function 'quick_select_int': quantize.c:3834:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3834 | if (hh <= median) | ^~ quantize.c:3836:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3836 | if (hh >= median) | ^~ quantize.c: In function 'quick_select_longlong': quantize.c:3890:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3890 | if (hh <= median) | ^~ quantize.c:3892:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3892 | if (hh >= median) | ^~ quantize.c: In function 'quick_select_double': quantize.c:3946:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3946 | if (hh <= median) | ^~ quantize.c:3948:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3948 | if (hh >= median) | ^~ quantize.c: At top level: quantize.c:3641:12: warning: 'FnCompare_float' defined but not used [-Wunused-function] 3641 | static int FnCompare_float(const void *v1, const void *v2) | ^~~~~~~~~~~~~~~ quantize.c:3628:12: warning: 'FnCompare_int' defined but not used [-Wunused-function] 3628 | static int FnCompare_int(const void *v1, const void *v2) | ^~~~~~~~~~~~~ quantize.c:3615:12: warning: 'FnCompare_short' defined but not used [-Wunused-function] 3615 | static int FnCompare_short(const void *v1, const void *v2) | ^~~~~~~~~~~~~~~ quantize.c:3494:12: warning: 'FnNoise1_double' defined but not used [-Wunused-function] 3494 | static int FnNoise1_double | ^~~~~~~~~~~~~~~ quantize.c:2487:12: warning: 'FnNoise3_int' defined but not used [-Wunused-function] 2487 | static int FnNoise3_int | ^~~~~~~~~~~~ quantize.c:2269:12: warning: 'FnNoise3_short' defined but not used [-Wunused-function] 2269 | static int FnNoise3_short | ^~~~~~~~~~~~~~ quantize.c: In function 'fits_img_stats_short': quantize.c:510:41: warning: 'ngood' may be used uninitialized [-Wmaybe-uninitialized] 510 | if (ngoodpix) *ngoodpix = ngood; | ~~~~~~~~~~^~~~~~~ quantize.c:485:14: note: 'ngood' was declared here 485 | long ngood; | ^~~~~ quantize.c: In function 'fits_img_stats_int': quantize.c:569:41: warning: 'ngood' may be used uninitialized [-Wmaybe-uninitialized] 569 | if (ngoodpix) *ngoodpix = ngood; | ~~~~~~~~~~^~~~~~~ quantize.c:544:14: note: 'ngood' was declared here 544 | long ngood; | ^~~~~ gcc -c -o ./ricecomp.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 ricecomp.c ricecomp.c: In function 'fits_rcomp': ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:267:21: note: in expansion of macro 'putcbuf' 267 | putcbuf(lbitbuffer & 0xff,buffer); | ^~~~~~~ ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:270:25: note: in expansion of macro 'putcbuf' 270 | putcbuf(0, buffer); | ^~~~~~~ ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:286:25: note: in expansion of macro 'putcbuf' 286 | putcbuf((lbitbuffer>>(-lbits_to_go)) & 0xff,buffer); | ^~~~~~~ ricecomp.c: In function 'fits_rcomp_short': ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:498:21: note: in expansion of macro 'putcbuf' 498 | putcbuf(lbitbuffer & 0xff,buffer); | ^~~~~~~ ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:500:25: note: in expansion of macro 'putcbuf' 500 | putcbuf(0, buffer); | ^~~~~~~ ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:516:25: note: in expansion of macro 'putcbuf' 516 | putcbuf((lbitbuffer>>(-lbits_to_go)) & 0xff,buffer); | ^~~~~~~ ricecomp.c: In function 'fits_rcomp_byte': ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:723:21: note: in expansion of macro 'putcbuf' 723 | putcbuf(lbitbuffer & 0xff,buffer); | ^~~~~~~ ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:725:25: note: in expansion of macro 'putcbuf' 725 | putcbuf(0, buffer); | ^~~~~~~ ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:741:25: note: in expansion of macro 'putcbuf' 741 | putcbuf((lbitbuffer>>(-lbits_to_go)) & 0xff,buffer); | ^~~~~~~ ricecomp.c: In function 'output_nbits': ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:812:9: note: in expansion of macro 'putcbuf' 812 | putcbuf(lbitbuffer & 0xff,buffer); | ^~~~~~~ ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:824:9: note: in expansion of macro 'putcbuf' 824 | putcbuf((lbitbuffer>>(-lbits_to_go)) & 0xff,buffer); | ^~~~~~~ ricecomp.c: In function 'done_outputing_bits': ricecomp.c:70:48: warning: right-hand operand of comma expression has no effect [-Wunused-value] 70 | #define putcbuf(c,mf) ((*(mf->current)++ = c), 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ricecomp.c:837:9: note: in expansion of macro 'putcbuf' 837 | putcbuf(buffer->bitbuffer<bits_to_go,buffer); | ^~~~~~~ gcc -c -o ./pliocomp.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 pliocomp.c gcc -c -o ./fits_hcompress.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 fits_hcompress.c gcc -c -o ./fits_hdecompress.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 fits_hdecompress.c gcc -c -o ./simplerng.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 simplerng.c gcc -c -o ./zcompress.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 zcompress.c gcc -c -o ./zuncompress.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 zuncompress.c gcc -c -o ./f77_wrap1.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 f77_wrap1.c f77_wrap1.c: In function 'CFITS2Unit': f77_wrap1.c:93:21: warning: variable 'last_fptr' set but not used [-Wunused-but-set-variable] 93 | static fitsfile *last_fptr = (fitsfile *)NULL; /* Remember last fptr */ | ^~~~~~~~~ In file included from f77_wrap1.c:43: f77_wrap.h: At top level: f77_wrap.h:233:13: warning: 'C2FcopyLogVect' defined but not used [-Wunused-function] 233 | static void C2FcopyLogVect(long size, int *A, char *B) | ^~~~~~~~~~~~~~ f77_wrap.h:223:14: warning: 'F2CcopyLogVect' defined but not used [-Wunused-function] 223 | static char *F2CcopyLogVect(long size, int *A) | ^~~~~~~~~~~~~~ f77_wrap.h:133:14: warning: 'c2fstrv2' defined but not used [-Wunused-function] 133 | static char *c2fstrv2(char* cstr, char *fstr, int celem_len, int felem_len, | ^~~~~~~~ gcc -c -o ./f77_wrap2.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 f77_wrap2.c gcc -c -o ./f77_wrap3.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 f77_wrap3.c In file included from f77_wrap3.c:43: f77_wrap.h:233:13: warning: 'C2FcopyLogVect' defined but not used [-Wunused-function] 233 | static void C2FcopyLogVect(long size, int *A, char *B) | ^~~~~~~~~~~~~~ f77_wrap.h:223:14: warning: 'F2CcopyLogVect' defined but not used [-Wunused-function] 223 | static char *F2CcopyLogVect(long size, int *A) | ^~~~~~~~~~~~~~ gcc -c -o ./f77_wrap4.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 f77_wrap4.c In file included from f77_wrap4.c:43: f77_wrap.h:133:14: warning: 'c2fstrv2' defined but not used [-Wunused-function] 133 | static char *c2fstrv2(char* cstr, char *fstr, int celem_len, int felem_len, | ^~~~~~~~ gcc -shared -Wl,-soname,libcfitsio.so.10 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libcfitsio.so.10.4.2.0 buffers.o cfileio.o checksum.o drvrfile.o drvrmem.o drvrnet.o drvrsmem.o editcol.o edithdu.o eval_l.o eval_y.o eval_f.o fitscore.o getcol.o getcolb.o getcold.o getcole.o getcoli.o getcolj.o getcolk.o getcoll.o getcols.o getcolsb.o getcoluk.o getcolui.o getcoluj.o getkey.o group.o grparser.o histo.o iraffits.o modkey.o putcol.o putcolb.o putcold.o putcole.o putcoli.o putcolj.o putcolk.o putcoluk.o putcoll.o putcols.o putcolsb.o putcolu.o putcolui.o putcoluj.o putkey.o region.o scalnull.o swapproc.o wcssub.o wcsutil.o imcompress.o quantize.o ricecomp.o pliocomp.o fits_hcompress.o fits_hdecompress.o simplerng.o zcompress.o zuncompress.o f77_wrap1.o f77_wrap2.o f77_wrap3.o f77_wrap4.o -lm -lcurl -lpthread -lz -lbz2 + make fpack funpack gcc -c -o ./fpack.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 fpack.c gcc -c -o ./fpackutil.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 fpackutil.c fpackutil.c: In function 'fp_loop': fpackutil.c:841:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 841 | fgets(answer, 29, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ fpackutil.c:881:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 881 | fgets(answer, 29, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ fpackutil.c:926:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 926 | system(temp); | ^~~~~~~~~~~~ fpackutil.c: In function 'fp_abort_output': fpackutil.c:73:57: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 490 [-Wformat-truncation=] 73 | snprintf(msg, SZ_STR,"Error processing file: %s\n", tempfilename); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from fitsio.h:64, from fpackutil.c:17: In function 'snprintf', inlined from 'fp_abort_output' at fpackutil.c:73:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 25 and 537 bytes into a destination of size 513 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fpackutil.c: In function 'fp_list': fpackutil.c:246:38: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 511 [-Wformat-truncation=] 246 | snprintf (msg, SZ_STR,"# %s (", infits); fp_msg (msg); | ^~ ~~~~~~ In function 'snprintf', inlined from 'fp_list' at fpackutil.c:246:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 517 bytes into a destination of size 513 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fpackutil.c: In function 'fp_unpack': fpackutil.c:1085:23: warning: 'hduloc' may be used uninitialized [-Wmaybe-uninitialized] 1085 | if (!(*hduloc)) { | ~^~~~~~~~ fpackutil.c:1014:21: note: 'hduloc' was declared here 1014 | char *loc, *hduloc, hduname[SZ_STR]; | ^~~~~~ fpackutil.c: In function 'fp_test': fpackutil.c:1312:91: warning: 'bpix' may be used uninitialized [-Wmaybe-uninitialized] 1312 | imagestats.noise2, imagestats.noise3, imagestats.noise5, xbits, bpix/xbits); | ~~~~^~~~~~ fpackutil.c:1163:52: note: 'bpix' was declared here 1163 | int tstatus = 0, hdunum, rescale_flag, bpix, ncols; | ^~~~ ar rv libcfitsio.a buffers.o cfileio.o checksum.o drvrfile.o drvrmem.o drvrnet.o drvrsmem.o editcol.o edithdu.o eval_l.o eval_y.o eval_f.o fitscore.o getcol.o getcolb.o getcold.o getcole.o getcoli.o getcolj.o getcolk.o getcoll.o getcols.o getcolsb.o getcoluk.o getcolui.o getcoluj.o getkey.o group.o grparser.o histo.o iraffits.o modkey.o putcol.o putcolb.o putcold.o putcole.o putcoli.o putcolj.o putcolk.o putcoluk.o putcoll.o putcols.o putcolsb.o putcolu.o putcolui.o putcoluj.o putkey.o region.o scalnull.o swapproc.o wcssub.o wcsutil.o imcompress.o quantize.o ricecomp.o pliocomp.o fits_hcompress.o fits_hdecompress.o simplerng.o zcompress.o zuncompress.o f77_wrap1.o f77_wrap2.o f77_wrap3.o f77_wrap4.o; \ ranlib libcfitsio.a; ar: creating libcfitsio.a a - buffers.o a - cfileio.o a - checksum.o a - drvrfile.o a - drvrmem.o a - drvrnet.o a - drvrsmem.o a - editcol.o a - edithdu.o a - eval_l.o a - eval_y.o a - eval_f.o a - fitscore.o a - getcol.o a - getcolb.o a - getcold.o a - getcole.o a - getcoli.o a - getcolj.o a - getcolk.o a - getcoll.o a - getcols.o a - getcolsb.o a - getcoluk.o a - getcolui.o a - getcoluj.o a - getkey.o a - group.o a - grparser.o a - histo.o a - iraffits.o a - modkey.o a - putcol.o a - putcolb.o a - putcold.o a - putcole.o a - putcoli.o a - putcolj.o a - putcolk.o a - putcoluk.o a - putcoll.o a - putcols.o a - putcolsb.o a - putcolu.o a - putcolui.o a - putcoluj.o a - putkey.o a - region.o a - scalnull.o a - swapproc.o a - wcssub.o a - wcsutil.o a - imcompress.o a - quantize.o a - ricecomp.o a - pliocomp.o a - fits_hcompress.o a - fits_hdecompress.o a - simplerng.o a - zcompress.o a - zuncompress.o a - f77_wrap1.o a - f77_wrap2.o a - f77_wrap3.o a - f77_wrap4.o gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 -o fpack fpack.o fpackutil.o -L. -lcfitsio -lm -lpthread -lz -lbz2 gcc -c -o ./funpack.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 funpack.c funpack.c: In function 'fu_get_param': funpack.c:32:17: warning: variable 'tile' set but not used [-Wunused-but-set-variable] 32 | char tile[SZ_STR]; | ^~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 -o funpack funpack.o fpackutil.o -L. -lcfitsio -lm -lpthread -lz -lbz2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UmtZCl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64 + cd cfitsio-4.2.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' LIBDIR=/usr/lib64 INCLUDEDIR=/usr/include/cfitsio CFITSIO_LIB=/builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64 CFITSIO_INCLUDE=/builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/include/cfitsio /bin/rm -f /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/libcfitsio.a /bin/cp -a libcfitsio.a /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64 /bin/rm -f /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/libcfitsio.so /bin/cp -a libcfitsio.so /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64 /bin/rm -f /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/libcfitsio.so.10.4.2.0 /bin/cp -a libcfitsio.so.10.4.2.0 /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64 /bin/rm -f /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/libcfitsio.so.10 /bin/cp -a libcfitsio.so.10 /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64 /bin/cp fitsio.h fitsio2.h longnam.h drvrsmem.h /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/include/cfitsio /bin/cp cfitsio.pc /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/pkgconfig /bin/cp fpack /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/bin /bin/cp funpack /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/bin + cp -p fpack funpack /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/bin + chmod 755 /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/libcfitsio.so.10 /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/libcfitsio.so.10.4.2.0 + chmod 755 /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/bin/fpack /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/bin/funpack + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.2.0-4.ocs23 --unique-debug-suffix -4.2.0-4.ocs23.loongarch64 --unique-debug-src-base cfitsio-4.2.0-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/cfitsio-4.2.0 extracting debug info from /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/bin/fpack extracting debug info from /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/lib64/libcfitsio.so.10.4.2.0 extracting debug info from /builddir/build/BUILDROOT/cfitsio-4.2.0-4.ocs23.loongarch64/usr/bin/funpack 10572 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NNYTtI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cfitsio-4.2.0 + make testprog gcc -c -o ./testprog.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 testprog.c testprog.c: In function 'main': testprog.c:2109:7: warning: 'strncpy' output may be truncated copying between 2 and 20 bytes from a string of length 20 [-Wstringop-truncation] 2109 | strncpy(inskey[0], iskey, ii); | ^ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DCFITSIO_HAVE_CURL=1 -DHAVE_LIBZ=1 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 -o testprog testprog.o -L. -lcfitsio -lm -lpthread -lz -lbz2 + LD_LIBRARY_PATH=. + ./testprog RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.NNYTtI (%check) Bad exit status from /var/tmp/rpm-tmp.NNYTtI (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cfitsio.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cfitsio.spec