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 riscv64 --nodeps /builddir/build/SPECS/psfex.spec'], chrootPath='/var/lib/mock/f40-build-771016-125897/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/psfex.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/psfex-3.17.1-29.fc40.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/psfex.spec'], chrootPath='/var/lib/mock/f40-build-771016-125897/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/psfex.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XnJGOk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psfex-3.17.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/psfex-3.17.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psfex-3.17.1 + rm -rf /builddir/build/BUILD/psfex-3.17.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/psfex-3.17.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (psfex-plplot.patch):' Patch #0 (psfex-plplot.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cplot.c + echo 'Patch #1 (psfex-3.17.1-gcc10.patch):' Patch #1 (psfex-3.17.1-gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/catout.c patching file src/diagnostic.c patching file src/diagnostic.h patching file src/fits/fitsbody.c patching file src/fits/fitscat.h patching file src/fits/fitscat_defs.h patching file src/globals.h + echo 'Patch #2 (psfex-c99.patch):' Patch #2 (psfex-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/catout.c + sed -i -e '/LIBS*=.*atlas/s,=.*,="-L/usr/lib64/atlas -lsatlas",' configure + sed -i -e s/plplotd/plplot/g configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eB11ns + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd psfex-3.17.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./autoconf/ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-plplot=yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes *********** Configuring: psfex 3.17.1 (2024-01-03) ********** checking if compilation flags should be set automatically... no checking whether we should use the INTEL compiler... no checking whether we should use INTEL's MKL... no checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for library containing strerror... none required checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for sin in -lm... yes checking for ANSI C header files... (cached) yes checking for dlfcn.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for long long int... yes checking for unsigned long long int... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uid_t in sys/types.h... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for atexit... yes checking for getenv... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for setlinebuf... yes checking for strstr... yes checking for sysconf... yes checking for isnan... yes checking for isinf... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking whether we should use PLPlot... yes checking for profiler mode... no checking best linking option... no checking for multithreading... maximum of 1024 thread(s) checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking fftw3.h usability... yes checking fftw3.h presence... yes checking for fftw3.h... yes checking for fftwf_execute in -lfftw3f... yes checking for fftwf_init_threads in -lfftw3f... no checking for fftwf_init_threads in -lfftw3f_threads... yes checking cblas.h usability... yes checking cblas.h presence... yes checking for cblas.h... yes checking clapack.h usability... yes checking clapack.h presence... yes checking for clapack.h... yes checking for clapack_dpotrf in -llapack... yes checking for cblas_dgemm in -lcblas... yes checking for cblas_dgemm in -lptcblas... yes checking for PLPlot pkg-config info... yes *************************************************************** Compile cmdline: gcc -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer Link cmdline: gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/atlas -lsatlas -lfftw3f_threads -lfftw3f -lm -lplplot Default XSLT URL: *************************************************************** checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating src/fits/Makefile config.status: creating src/levmar/Makefile config.status: creating src/wcs/Makefile config.status: creating psfex.spec config.status: creating man/psfex.1 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in man make[2]: Nothing to be done for 'all'. Making all in src Making all in fits make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitscleanup.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitscleanup.c:39: fitscleanup.c: In function ‘add_cleanupfilename’: fitscleanup.c:92:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscleanup.c:96:69: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscleanup.c:98:59: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscleanup.c: In function ‘remove_cleanupfilename’: fitscleanup.c:136:60: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitscat.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitscat.c:42: fitscat.c: In function ‘addhistoryto_cat’: fitscat.c:127:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 127 | QREALLOC(tab->headbuf, char, (n+1)*FBSIZE); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c: In function ‘inherit_cat’: fitscat.c:224:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 224 | QCALLOC(tabout, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c:227:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 227 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, (size_t)tabin->naxis); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitscat.c:230:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 230 | tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitscat.c:232:76: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 232 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitscat.c: In function ‘init_cat’: fitscat.c:281:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 281 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c:290:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 290 | QCALLOC(tab->headbuf, char, FBSIZE); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c: In function ‘map_cat’: fitscat.c:323:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 323 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c:342:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 342 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c: In function ‘new_cat’: fitscat.c:380:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 380 | QCALLOC(cat, catstruct, ncat); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscat.c: In function ‘addhistoryto_cat’: fitscat.c:138:21: warning: ‘%.65s’ directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] 138 | sprintf(str2, "%s %.65s", str2, str); | ^~~~~ In file included from /usr/include/stdio.h:980, from fitscat.c:34: In function ‘sprintf’, inlined from ‘addhistoryto_cat’ at fitscat.c:138:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 148 bytes into a destination of size 82 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: ‘__builtin___sprintf_chk’ argument 5 overlaps destination object ‘str2’ [-Wrestrict] fitscat.c: In function ‘addhistoryto_cat’: fitscat.c:118:25: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 118 | char str2[82]; | ^~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitscheck.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitscheck.c:38: fitscheck.c: In function ‘compute_bodysum’: fitscheck.c:225:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 225 | QCALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c:244:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 244 | QMALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c: In function ‘write_checksum’: fitscheck.c:275:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c:286:54: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitsconv.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitsconv.c:38: fitsconv.c: In function ‘asc2bin_tab’: fitsconv.c:81:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 81 | QMALLOC(buf, char, tabin->tabsize); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsconv.c:114:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 114 | QMALLOC(key->naxisn, int, 1); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsconv.c:120:15: warning: the address of ‘ptr’ will always evaluate as ‘true’ [-Waddress] 120 | QMEMCPY(ptr, key->ptr, char, key->nbytes); | ^~~ fitscat_defs.h:157:22: note: in definition of macro ‘QMEMCPY’ 157 | {if (ptrin) \ | ^~~~~ fitsconv.c:120:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 120 | QMEMCPY(ptr, key->ptr, char, key->nbytes); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitsmisc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitsread.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitsread.c:38: fitsread.c: In function ‘init_readobj’: fitsread.c:137:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 137 | QMALLOC(key->ptr, char, key->nbytes); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsread.c:151:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitshead.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitshead.c:38: fitshead.c: In function ‘get_head’: fitshead.c:68:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 68 | QMALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c:86:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 86 | QREALLOC(buf, char, FBSIZE*(i+1)); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function ‘readbasic_head’: fitshead.c:131:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 131 | QMALLOC(tab->naxisn, int, tab->naxis); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function ‘readbintabparam_head’: fitshead.c:236:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 236 | QCALLOC(key, keystruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c:302:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 302 | QMALLOC(key->naxisn, int, key->naxis); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function ‘addkeywordto_head’: fitshead.c:586:56: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function ‘removekeywordfrom_head’: fitshead.c:617:58: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); | ^ fitscat_defs.h:149:35: note: in definition of macro ‘QREALLOC’ 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitshead.c: In function ‘prim_head’: fitshead.c:492:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 80 bytes from a string of the same length [-Wstringop-truncation] 492 | strncpy(tab->headbuf, "SIMPLE = T " | ^ fitshead.c: In function ‘ext_head’: fitshead.c:523:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 80 bytes from a string of the same length [-Wstringop-truncation] 523 | strncpy(tab->headbuf, "XTENSION= 'IMAGE ' " | ^ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitsbody.c fitsbody.c: In function ‘read_body’: fitsbody.c:358: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 358 | #pragma ivdep | fitsbody.c:366: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 366 | #pragma ivdep | fitsbody.c:375: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 375 | #pragma ivdep | fitsbody.c:379: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 379 | #pragma ivdep | fitsbody.c:393: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 393 | #pragma ivdep | fitsbody.c:401: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 401 | #pragma ivdep | fitsbody.c:410: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 410 | #pragma ivdep | fitsbody.c:414: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 414 | #pragma ivdep | fitsbody.c:428: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 428 | #pragma ivdep | fitsbody.c:436: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 436 | #pragma ivdep | fitsbody.c:445: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 445 | #pragma ivdep | fitsbody.c:449: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 449 | #pragma ivdep | fitsbody.c:464: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 464 | #pragma ivdep | fitsbody.c:472: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 472 | #pragma ivdep | fitsbody.c:481: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 481 | #pragma ivdep | fitsbody.c:485: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 485 | #pragma ivdep | fitsbody.c:494: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 494 | #pragma ivdep | fitsbody.c:503: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 503 | #pragma ivdep | fitsbody.c:511: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 511 | #pragma ivdep | In file included from fitsbody.c:43: fitsbody.c:530:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 530 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsbody.c:580:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 580 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsbody.c: In function ‘read_ibody’: fitsbody.c:664: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 664 | #pragma ivdep | fitsbody.c:672: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 672 | #pragma ivdep | fitsbody.c:680: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 680 | #pragma ivdep | fitsbody.c:689: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 689 | #pragma ivdep | fitsbody.c:710:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 710 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsbody.c:760:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 760 | QMALLOC(tab->compress_buf, char, FBSIZE); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitsbody.c: In function ‘write_body’: fitsbody.c:850: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 850 | #pragma ivdep | fitsbody.c:857: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 857 | #pragma ivdep | fitsbody.c:867: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 867 | #pragma ivdep | fitsbody.c:874: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 874 | #pragma ivdep | fitsbody.c:886: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 886 | #pragma ivdep | fitsbody.c:893: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 893 | #pragma ivdep | fitsbody.c:906: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 906 | #pragma ivdep | fitsbody.c:913: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 913 | #pragma ivdep | fitsbody.c:924: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 924 | #pragma ivdep | fitsbody.c:935: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 935 | #pragma ivdep | fitsbody.c: In function ‘write_ibody’: fitsbody.c:1012: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1012 | #pragma ivdep | fitsbody.c:1019: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1019 | #pragma ivdep | fitsbody.c:1029: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1029 | #pragma ivdep | fitsbody.c:1036: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1036 | #pragma ivdep | fitsbody.c:1048: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1048 | #pragma ivdep | fitsbody.c:1055: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1055 | #pragma ivdep | fitsbody.c:1068: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1068 | #pragma ivdep | fitsbody.c:1075: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1075 | #pragma ivdep | fitsbody.c:1086: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1086 | #pragma ivdep | fitsbody.c:1097: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1097 | #pragma ivdep | fitsbody.c: In function ‘alloc_body’: fitsbody.c:115:31: warning: ‘/vm’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 115 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~ fitsbody.c:115:28: note: directive argument in the range [-2147483648, 2147483647] 115 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~~~~~~~~~~~~~~~~~~~ fitsbody.c:115:28: note: using the range [0, 4294967295] for directive argument In file included from /usr/include/stdio.h:980, from fitsbody.c:34: In function ‘sprintf’, inlined from ‘alloc_body’ at fitsbody.c:115:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 283 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitsbody.c: In function ‘alloc_ibody’: fitsbody.c:215:31: warning: ‘/vm’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 215 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~ fitsbody.c:215:28: note: directive argument in the range [-2147483648, 21make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' 47483647] 215 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~~~~~~~~~~~~~~~~~~~ fitsbody.c:215:28: note: using the range [0, 4294967295] for directive argument In function ‘sprintf’, inlined from ‘alloc_ibody’ at fitsbody.c:215:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 283 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitstab.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitstab.c:38: fitstab.c: In function ‘copy_tab’: fitstab.c:207:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 207 | QCALLOC(tabout, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:210:64: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:212:79: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 212 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:214:69: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 214 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c: In function ‘copy_tab_fromptr’: fitstab.c:286:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 286 | QCALLOC(tabout, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:289:62: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 289 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:291:77: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 291 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c:293:67: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 293 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c: In function ‘new_tab’: fitstab.c:444:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 444 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:448:39: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 448 | QCALLOC(tab->naxisn, int, tab->naxis); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:456:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 456 | QCALLOC(tab->headbuf, char, FBSIZE); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c: In function ‘remove_tab’: fitstab.c:532:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 532 | for (nexttab=tab->nexttab,i=2;!nexttab->nseg;nexttab=nexttab->nexttab,i++); | ^~~ fitstab.c:533:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 533 | nexttab->seg = i; | ^~~~~~~ fitstab.c: In function ‘tabs_list’: fitstab.c:706:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 706 | QCALLOC(names, char *, cat->ntab); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c:708:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 708 | QCALLOC(names[i], char, MAXCHARS); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitskey.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitskey.c:38: fitskey.c: In function ‘copy_key’: fitskey.c:137:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 137 | QCALLOC(keyout, keystruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:141:61: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 141 | QMEMCPY(keyin->naxisn, keyout->naxisn, int, keyin->naxis); | ^ fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitskey.c: In function ‘new_key’: fitskey.c:196:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 196 | QCALLOC(key, keystruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function ‘read_key’: fitskey.c:251:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 251 | QMALLOC(buf, char, larray); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:257:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 257 | QMALLOC(ptr, char, size*narray); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function ‘read_keys’: fitskey.c:335:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 335 | QMALLOC(keys, keystruct *, nkeys); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:351:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 351 | QMALLOC(key->ptr, char, key->nbytes*nb); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:367:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 367 | QMALLOC(key->ptr, char, key->nbytes*nb); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:374:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 374 | QMALLOC(buf, char, larray); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function ‘keys_list’: fitskey.c:525:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 525 | QCALLOC(names, char *, tab->nkey); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:528:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 528 | QCALLOC(names[i], char, MAXCHARS); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function ‘show_keys’: fitskey.c:658:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 658 | QCALLOC(key_col, int, nkeys); | ^ fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:672:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 672 | QMALLOC(keys, keystruct *, nkeys); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:786:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 786 | QMALLOC(buf, char, larray); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:789:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 789 | QMALLOC(rfield, char, maxnbytes); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitsutil.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' fitsutil.c: In function ‘fitswrite’: fitsutil.c:558:42: warning: ‘'’ directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] 558 | sprintf(str, "'%s'", str2); | ^ In file included from /usr/include/stdio.h:980, from fitsutil.c:34: In function ‘sprintf’, inlined from ‘fitswrite’ at fitsutil.c:558:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 83 bytes into a destination of size 81 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitsutil.c: In function ‘fitswrite’: fitsutil.c:558:42: warning: ‘'’ directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] 558 | sprintf(str, "'%s'", str2); | ^ In function ‘sprintf’, inlined from ‘fitswrite’ at fitsutil.c:558:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 83 bytes into a destination of size 81 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fitsutil.c: In function ‘fitswrite’: fitsutil.c:595:5: warning: ‘__builtin___strncat_chk’ output may be truncated copying between 1 and 69 bytes from a string of length 80 [-Wstringop-truncation] 595 | strncat(str, str2, l); | ^ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitswrite.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' In file included from fitswrite.c:39: fitswrite.c: In function ‘save_tab’: fitswrite.c:115:55: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 115 | QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswrite.c:133:60: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 133 | QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswrite.c:192:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 192 | QMALLOC(buf, char, spoonful); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswrite.c: In function ‘init_writeobj’: fitswrite.c:295:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 295 | QMALLOC(*pbuf, char, tab->naxisn[0]); | ^ fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswrite.c: In function ‘print_obj’: fitswrite.c:451:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘printf’ will never be NULL [-Waddress] 451 | fprintf(stream, key->printf?key->printf:"%d", (int)*ptr); | ^ In file included from fitswrite.c:40: fitscat.h:129:17: note: ‘printf’ declared here 129 | char printf[80]; /* printing format (C Convention) */ | ^~~~~~ fitswrite.c: In function ‘voprint_obj’: fitswrite.c:537:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘printf’ will never be NULL [-Waddress] 537 | fprintf(stream, key->printf?key->printf:"%d", (int)*ptr); | ^ fitscat.h:129:17: note: ‘printf’ declared here 129 | char printf[80]; /* printing format (C Convention) */ | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' rm -f libfits.a ar cru libfits.a fitsbody.o fitscat.o fitscheck.o fitscleanup.o fitsconv.o fitshead.o fitskey.o fitsmisc.o fitsread.o fitstab.o fitsutil.o fitswrite.o ranlib libfits.a make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' Making all in levmar make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c lmblec.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c lmbleic.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c lmlec.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c Axb.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' In file included from Axb.c:78: Axb_core.c: In function ‘dAx_eq_b_LU_noLapack’: Axb_core.c:1181:16: warning: variable ‘buf_sz’ set but not used [-Wunused-but-set-variable] 1181 | __STATIC__ int buf_sz=0; | ^~~~~~ In file included from Axb.c:96: Axb_core.c: In function ‘sAx_eq_b_LU_noLapack’: Axb_core.c:1181:16: warning: variable ‘buf_sz’ set but not used [-Wunused-but-set-variable] 1181 | __STATIC__ int buf_sz=0; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c lm.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' In file included from lm.c:81: lm_core.c:99:11: warning: argument 8 of type ‘float[4]’ with mismatched bound [-Warray-parameter=] 99 | LM_REAL opts[4], /* I: minim. options [\mu, \epsilon1, \epsilon2, \epsilon3]. Respectively the scale factor for initial \mu, In file included from lm.c:58: levmar.h:251:59: note: previously declared as ‘float *’ 251 | float *p, float *x, int m, int n, int itmax, float *opts, | ~~~~~~~^~~~ lm_core.c:102:11: warning: argument 9 of type ‘float[10]’ with mismatched bound [-Warray-parameter=] 102 | LM_REAL info[LM_INFO_SZ], levmar.h:252:14: note: previously declared as ‘float *’ 252 | float *info, float *work, float *covar, void *adata); | ~~~~~~~^~~~ lm_core.c: In function ‘slevmar_der’: lm_core.c:144:7: warning: variable ‘linsolver’ set but not used [-Wunused-but-set-variable] 144 | int (*linsolver)(LM_REAL *A, LM_REAL *B, LM_REAL *x, int m)=NULL; | ^~~~~~~~~ lm_core.c: At top level: lm_core.c:472:11: warning: argument 7 of type ‘float[5]’ with mismatched bound [-Warray-parameter=] 472 | LM_REAL opts[5], /* I: opts[0-4] = minim. options [\mu, \epsilon1, \epsilon2, \epsilon3, \delta]. Respectively the levmar.h:256:59: note: previously declared as ‘float *’ 256 | float *p, float *x, int m, int n, int itmax, float *opts, | ~~~~~~~^~~~ lm_core.c:478:11: warning: argument 8 of type ‘float[10]’ with mismatched bound [-Warray-parameter=] 478 | LM_REAL info[LM_INFO_SZ], levmar.h:257:14: note: previously declared as ‘float *’ 257 | float *info, float *work, float *covar, void *adata); | ~~~~~~~^~~~ lm_core.c: In function ‘slevmar_dif’: lm_core.c:524:7: warning: variable ‘linsolver’ set but not used [-Wunused-but-set-variable] 524 | int (*linsolver)(LM_REAL *A, LM_REAL *B, LM_REAL *x, int m)=NULL; | ^~~~~~~~~ In file included from lm.c:102: lm_core.c: At top level: lm_core.c:99:11: warning: argument 8 of type ‘double[4]’ with mismatched bound [-Warray-parameter=] 99 | LM_REAL opts[4], /* I: minim. options [\mu, \epsilon1, \epsilon2, \epsilon3]. Respectively the scale factor for initial \mu, levmar.h:146:62: note: previously declared as ‘double *’ 146 | double *p, double *x, int m, int n, int itmax, double *opts, | ~~~~~~~~^~~~ lm_core.c:102:11: warning: argument 9 of type ‘double[10]’ with mismatched bound [-Warray-parameter=] 102 | LM_REAL info[LM_INFO_SZ], levmar.h:147:15: note: previously declared as ‘double *’ 147 | double *info, double *work, double *covar, void *adata); | ~~~~~~~~^~~~ lm_core.c: In function ‘dlevmar_der’: lm_core.c:144:7: warning: variable ‘linsolver’ set but not used [-Wunused-but-set-variable] 144 | int (*linsolver)(LM_REAL *A, LM_REAL *B, LM_REAL *x, int m)=NULL; | ^~~~~~~~~ lm_core.c: At top level: lm_core.c:472:11: warning: argument 7 of type ‘double[5]’ with mismatched bound [-Warray-parameter=] 472 | LM_REAL opts[5], /* I: opts[0-4] = minim. options [\mu, \epsilon1, \epsilon2, \epsilon3, \delta]. Respectively the levmar.h:151:62: note: previously declared as ‘double *’ 151 | double *p, double *x, int m, int n, int itmax, double *opts, | ~~~~~~~~^~~~ lm_core.c:478:11: warning: argument 8 of type ‘double[10]’ with mismatched bound [-Warray-parameter=] 478 | LM_REAL info[LM_INFO_SZ], levmar.h:152:15: note: previously declared as ‘double *’ 152 | double *info, double *work, double *covar, void *adata); | ~~~~~~~~^~~~ lm_core.c: In function ‘dlevmar_dif’: lm_core.c:524:7: warning: variable ‘linsolver’ set but not used [-Wunused-but-set-variable] 524 | int (*linsolver)(LM_REAL *A, LM_REAL *B, LM_REAL *x, int m)=NULL; | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c misc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' In file included from misc.c:74: misc_core.c: In function ‘slevmar_LUinverse_noLapack’: misc_core.c:459:5: warning: variable ‘buf_sz’ set but not used [-Wunused-but-set-variable] 459 | int buf_sz=0; | ^~~~~~ misc_core.c: In function ‘ssvdinv’: misc_core.c:1015:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1015 | else | ^~~~ misc_core.c:1018:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 1018 | ++a[i*m+i]; | ^~ In file included from misc.c:91: misc_core.c: In function ‘dlevmar_LUinverse_noLapack’: misc_core.c:459:5: warning: variable ‘buf_sz’ set but not used [-Wunused-but-set-variable] 459 | int buf_sz=0; | ^~~~~~ misc_core.c: In function ‘dsvdinv’: misc_core.c:1015:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1015 | else | ^~~~ misc_core.c:1018:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 1018 | ++a[i*m+i]; | ^~ In file included from misc.c:59: misc_core.c: At top level: misc.c:86:19: warning: ‘dlevmar_LUinverse_noLapack’ defined but not used [-Wunused-function] 86 | #define LM_PREFIX d | ^ misc.h:91:24: note: in definition of macro ‘LM_CAT__’ 91 | #define LM_CAT__(a, b) a ## b | ^ misc.h:93:26: note: in expansion of macro ‘LM_CAT_’ 93 | #define LM_ADD_PREFIX(s) LM_CAT_(LM_PREFIX, s) | ^~~~~~~ misc.h:93:34: note: in expansion of macro ‘LM_PREFIX’ 93 | #define LM_ADD_PREFIX(s) LM_CAT_(LM_PREFIX, s) | ^~~~~~~~~ misc_core.c:96:26: note: in expansion of macro ‘LM_ADD_PREFIX’ 96 | #define LEVMAR_LUINVERSE LM_ADD_PREFIX(levmar_LUinverse_noLapack) | ^~~~~~~~~~~~~ misc_core.c:456:12: note: in expansion of macro ‘LEVMAR_LUINVERSE’ 456 | static int LEVMAR_LUINVERSE(LM_REAL *A, LM_REAL *B, int m) | ^~~~~~~~~~~~~~~~ misc.c:68:19: warning: ‘slevmar_LUinverse_noLapack’ defined but not used [-Wunused-function] 68 | #define LM_PREFIX s | ^ misc.h:91:24: note: in definition of macro ‘LM_CAT__’ 91 | #define LM_CAT__(a, b) a ## b | ^ misc.h:93:26: note: in expansion of macro ‘LM_CAT_’ 93 | #define LM_ADD_PREFIX(s) LM_CAT_(LM_PREFIX, s) | ^~~~~~~ misc.h:93:34: note: in expansion of macro ‘LM_PREFIX’ 93 | #define LM_ADD_PREFIX(s) LM_CAT_(LM_PREFIX, s) | ^~~~~~~~~ misc_core.c:96:26: note: in expansion of macro ‘LM_ADD_PREFIX’ 96 | #define LEVMAR_LUINVERSE LM_ADD_PREFIX(levmar_LUinverse_noLapack) | ^~~~~~~~~~~~~ misc_core.c:456:12: note: in expansion of macro ‘LEVMAR_LUINVERSE’ 456 | static int LEVMAR_LUINVERSE(LM_REAL *A, LM_REAL *B, int m) | ^~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c lmbc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' In file included from lmbc.c:84: lmbc_core.c:407:11: warning: argument 11 of type ‘float[4]’ with mismatched bound [-Warray-parameter=] 407 | LM_REAL opts[4], /* I: minim. options [\mu, \epsilon1, \epsilon2, \epsilon3]. Respectively the scale factor for initial \mu, In file included from lmbc.c:58: levmar.h:264:26: note: previously declared as ‘float *’ 264 | int itmax, float *opts, float *info, float *work, float *covar, void *adata); | ~~~~~~~^~~~ lmbc_core.c:411:11: warning: argument 12 of type ‘float[10]’ with mismatched bound [-Warray-parameter=] 411 | LM_REAL info[LM_INFO_SZ], levmar.h:264:39: note: previously declared as ‘float *’ 264 | int itmax, float *opts, float *info, float *work, float *covar, void *adata); | ~~~~~~~^~~~ lmbc_core.c: In function ‘slevmar_bc_der’: lmbc_core.c:463:7: warning: variable ‘linsolver’ set but not used [-Wunused-but-set-variable] 463 | int (*linsolver)(LM_REAL *A, LM_REAL *B, LM_REAL *x, int m)=NULL; | ^~~~~~~~~ lmbc_core.c: At top level: lmbc_core.c:1099:11: warning: argument 10 of type ‘float[5]’ with mismatched bound [-Warray-parameter=] 1099 | LM_REAL opts[5], /* I: opts[0-4] = minim. options [\mu, \epsilon1, \epsilon2, \epsilon3, \delta]. Respectively the levmar.h:269:26: note: previously declared as ‘float *’ 269 | int itmax, float *opts, float *info, float *work, float *covar, void *adata); | ~~~~~~~^~~~ lmbc_core.c:1105:11: warning: argument 11 of type ‘float[10]’ with mismatched bound [-Warray-parameter=] 1105 | LM_REAL info[LM_INFO_SZ], levmar.h:269:39: note: previously declared as ‘float *’ 269 | int itmax, float *opts, float *info, float *work, float *covar, void *adata); | ~~~~~~~^~~~ In file included from lmbc.c:106: lmbc_core.c:407:11: warning: argument 11 of type ‘double[4]’ with mismatched bound [-Warray-parameter=] 407 | LM_REAL opts[4], /* I: minim. options [\mu, \epsilon1, \epsilon2, \epsilon3]. Respectively the scale factor for initial \mu, levmar.h:159:27: note: previously declared as ‘double *’ 159 | int itmax, double *opts, double *info, double *work, double *covar, void *adata); | ~~~~~~~~^~~~ lmbc_core.c:411:11: warning: argument 12 of type ‘double[10]’ with mismatched bound [-Warray-parameter=] 411 | LM_REAL info[LM_INFO_SZ], levmar.h:159:41: note: previously declared as ‘double *’ 159 | int itmax, double *opts, double *info, double *work, double *covar, void *adata); | ~~~~~~~~^~~~ lmbc_core.c: In function ‘dlevmar_bc_der’: lmbc_core.c:463:7: warning: variable ‘linsolver’ set but not used [-Wunused-but-set-variable] 463 | int (*linsolver)(LM_REAL *A, LM_REAL *B, LM_REAL *x, int m)=NULL; | ^~~~~~~~~ lmbc_core.c: At top level: lmbc_core.c:1099:11: warning: argument 10 of type ‘double[5]’ with mismatched bound [-Warray-parameter=] 1099 | LM_REAL opts[5], /* I: opts[0-4] = minim. options [\mu, \epsilon1, \epsilon2, \epsilon3, \delta]. Respectively the levmar.h:164:27: note: previously declared as ‘double *’ 164 | int itmax, double *opts, double *info, double *work, double *covar, void *adata); | ~~~~~~~~^~~~ lmbc_core.c:1105:11: warning: argument 11 of type ‘double[10]’ with mismatched bound [-Warray-parameter=] 1105 | LM_REAL info[LM_INFO_SZ], levmar.h:164:41: note: previously declared as ‘double *’ 164 | int itmax, double *opts, double *info, double *work, double *covar, void *adata); | ~~~~~~~~^~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' rm -f liblevmar.a ar cru liblevmar.a Axb.o lmbc.o lm.o lmblec.o lmbleic.o lmlec.o misc.o ranlib liblevmar.a make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' Making all in wcs make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c cel.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c sph.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c lin.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c tnx.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c poly.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' poly.c: In function ‘poly_initortho’: poly.c:663:34: warning: variable ‘ndim’ set but not used [-Wunused-but-set-variable] 663 | int c,i,j,m,n, ndmc, ndim,ncoeff; | ^~~~ poly.c:663:25: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 663 | int c,i,j,m,n, ndmc, ndim,ncoeff; | ^ poly.c:663:23: warning: variable ‘m’ set but not used [-Wunused-but-set-variable] 663 | int c,i,j,m,n, ndmc, ndim,ncoeff; | ^ poly.c:660:34: warning: variable ‘invec’ set but not used [-Wunused-but-set-variable] 660 | double *basis, *coeff, *invec,*invect0,*invect,*invect02,*invect2, | ^~~~~ poly.c:660:26: warning: variable ‘coeff’ set but not used [-Wunused-but-set-variable] 660 | double *basis, *coeff, *invec,*invect0,*invect,*invect02,*invect2, | ^~~~~ poly.c:660:18: warning: variable ‘basis’ set but not used [-Wunused-but-set-variable] 660 | double *basis, *coeff, *invec,*invect0,*invect,*invect02,*invect2, | ^~~~~ poly.c: In function ‘poly_powers’: poly.c:611:14: warning: ‘gexpo’ may be used uninitialized [-Wmaybe-uninitialized] 611 | if (gexpo[*group]) | ~~~~~^~~~~~~~ poly.c:595:38: note: ‘gexpo’ declared here 595 | int expo[POLY_MAXDIM+1], gexpo[POLY_MAXDIM+1]; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c wcstrig.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c wcs.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c proj.c proj.c: In function ‘tanfwd’: proj.c:415:27: warning: unused variable ‘y1’ [-Wunused-variable] 415 | double r, s, xp[2], x1,y1; | ^~ proj.c:415:24: warning: unused variable ‘x1’ [-Wunused-variable] 415 | double r, s, xp[2], x1,y1; | ^~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' rm -f libwcs_c.a ar cru libwcs_c.a cel.o lin.o poly.o proj.o sph.o tnx.o wcs.o wcstrig.o ranlib libwcs_c.a make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c catout.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from catout.c:37: catout.c: In function ‘init_outcat’: catout.c:87:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 87 | QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ catout.c:94:70: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 94 | QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ catout.c:159:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 159 | QCALLOC(asctab, tabstruct, 1); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ catout.c:161:61: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 161 | QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ catout.c:174:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 174 | QMALLOC(key->naxisn, int, key->naxis); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ catout.c:79:25: warning: unused variable ‘str’ [-Wunused-variable] 79 | char str[80], | ^~~ catout.c:75:26: warning: unused variable ‘samp’ [-Wunused-variable] 75 | samplestruct *samp; | ^~~~ catout.c: In function ‘write_outcat’: catout.c:218:32: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 218 | memset(outsample, 0, sizeof(outsample)); | ^ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c context.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from context.c:38: context.c: In function ‘context_init’: context.c:70:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 70 | QCALLOC(context, contextstruct, 1); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:71:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 71 | QCALLOC(context->name, char *, ndim); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:72:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 72 | QCALLOC(context->group, int, ndim); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:73:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 73 | QCALLOC(context->degree, int, ndim); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:74:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 74 | QCALLOC(context->pcflag, int, ndim); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:75:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 75 | QCALLOC(groupflag, int, ndim); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:89:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 89 | QMALLOC(context->name[d2], char, 80); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c: In function ‘context_apply’: context.c:193:56: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 193 | QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:219:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 219 | QCALLOC(comp2, float, comp2size); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:221:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 221 | QCALLOC(bcoeff2, float, bcoeff2size); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ context.c:243:54: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ context.c:245:66: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ context.c:147:66: warning: variable ‘ncontext2’ set but not used [-Wunused-but-set-variable] 147 | c,c2, e, i, n,n2, p, npc, npix,comp2size,ncontext2, | ^~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fft.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from fft.c:41: fft.c: In function ‘fft_shift’: fft.c:300:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 300 | QMALLOC(temp, float, width*height); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c field.c In file included from field.c:38: field.c: In function ‘field_init’: field.c:67:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 67 | QCALLOC(field, fieldstruct, 1); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:85:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 85 | QMALLOC(field->psf, psfstruct *, next0); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:103:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 103 | QMALLOC(field->wcs, wcsstruct *, next0); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:116:63: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 116 | QCALLOC(imatab->headbuf, char, imatab->headnblock*FBSIZE); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:134:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); | ^ field.c:134:3: note: in expansion of macro ‘QCALLOC’ 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); | ^~~~~~~ field.c:136:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 136 | QMALLOC(field->lcount, int *, next0); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:137:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 137 | QMALLOC(field->acount, int *, next0); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:138:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 138 | QMALLOC(field->count, int *, next0); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:139:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 139 | QMALLOC(field->modchi2, double *, next0); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:140:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 140 | QMALLOC(field->modresi, double *, next0); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:143:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 143 | QCALLOC(field->lcount[e], int, countsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:144:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 144 | QCALLOC(field->acount[e], int, countsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:145:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 145 | QCALLOC(field->count[e], int, countsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:146:49: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 146 | QCALLOC(field->modchi2[e], double, countsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:147:49: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 147 | QCALLOC(field->modresi[e], double, countsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c: In function ‘field_locate’: field.c:215:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 215 | QMALLOC(scale[i], double, field->next); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c: In function ‘field_psfsave’: field.c:462:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 462 | QMALLOC(key->naxisn, int, key->naxis); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ field.c:478:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 478 | QMALLOC(key->naxisn, int, key->naxis); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c diagnostic.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from diagnostic.c:41: diagnostic.c: In function ‘psf_diagnostic’: diagnostic.c:245:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 245 | QMALLOC(moffat, moffatstruct, nt); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ diagnostic.c:246:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 246 | QMALLOC(pfmoffat, moffatstruct, nt); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ diagnostic.c:250:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 250 | QMALLOC(proc, int, prefs.nthreads); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ diagnostic.c:251:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 251 | QMALLOC(thread, pthread_t, prefs.nthreads); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ diagnostic.c: In function ‘pthread_psf_compdiag’: diagnostic.c:453:22: warning: variable ‘proc’ set but not used [-Wunused-but-set-variable] 453 | int i,n, proc, overflag; | ^~~~ diagnostic.c: In function ‘psf_compdiag’: diagnostic.c:511:38: warning: variable ‘niter’ set but not used [-Wunused-but-set-variable] 511 | int i,m,w,h, npc,niter; | ^~~~~ diagnostic.c: In function ‘psf_normresi’: diagnostic.c:686:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 686 | QMALLOC(fvec, float, w*h*sizeof(float)); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c homo.c In file included from homo.c:38: homo.c: In function ‘psf_homo’: homo.c:101:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 101 | QCALLOC(moffat, moffatstruct, 1); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:111:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 111 | QMEMCPY(psf->loc, target, float, npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ homo.c:118:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 118 | QMALLOC(bigbasis, float, nbigpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:120:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 120 | QMALLOC(bigconv, float, nbigpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:123:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 123 | QMALLOC(basisc, float, nfree*npix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:124:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 124 | QMALLOC(cross, double, nfree*nfree); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:125:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 125 | QMALLOC(tcross, double, nfree); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:167:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 167 | QCALLOC(amat, double, nfree*nfree); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:168:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 168 | QCALLOC(bmat, double, nfree); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c:231:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 231 | QCALLOC(kernel, float, npix*ncoeff); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ homo.c: In function ‘psf_savehomo’: homo.c:360:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 360 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c main.c main.c: In function ‘main’: main.c:83:24: warning: passing argument 2 of ‘c_plparseopts’ from incompatible pointer type [-Wincompatible-pointer-types] 83 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); | ^~~~~~~~~~~~~~~~~~~ | | | const char ** In file included from main.c:40: /usr/include/plplot/plplot.h:2305:46: note: expected ‘PLCHAR_NC_MATRIX’ {aka ‘char **’} but argument is of type ‘const char **’ 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); | ~~~~~~~~~~~~~~~~~^~~~ In file included from main.c:43: main.c:86:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 86 | QMALLOC(argkey, char *, argc); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ main.c:87:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 87 | QMALLOC(argval, char *, argc); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ main.c:127:32: warning: passing argument 2 of ‘c_plparseopts’ from incompatible pointer type [-Wincompatible-pointer-types] 127 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); | ^~~~~~~~~~~~~~~~~~~ | | | const char ** /usr/include/plplot/plplot.h:2305:46: note: expected ‘PLCHAR_NC_MATRIX’ {aka ‘char **’} but argument is of type ‘const char **’ 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); | ~~~~~~~~~~~~~~~~~^~~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c cplot.c cplot.c: In function ‘cplot_init’: cplot.c:129:39: warning: comparison between ‘cplotenum’ and ‘enum ’ [-Wenum-compare] 129 | && (prefs.cplot_device[dev-1] == CPLOT_PNG | ^~ cplot.c:130:38: warning: comparison between ‘cplotenum’ and ‘enum ’ [-Wenum-compare] 130 | || prefs.cplot_device[dev-1] == CPLOT_JPEG)) | ^~ cplot.c:149:32: warning: comparison between ‘cplotenum’ and ‘cplotdevenum’ [-Wenum-compare] 149 | if (prefs.cplot_device[dev]==cplot_device[j].device) | ^~ In file included from cplot.c:42: cplot.c:167:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 167 | QMALLOC(devmenu, char *, ndev); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:168:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 168 | QMALLOC(devname, char *, ndev); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:119:20: warning: variable ‘num’ set but not used [-Wunused-but-set-variable] 119 | int j, num, cval, dev, argc, ndev, gdflag; | ^~~ cplot.c: In function ‘cplot_drawloccoordgrid’: cplot.c:525:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 525 | QMALLOC(x, PLFLT, CPLOT_NPOINTDEF); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:526:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 526 | QMALLOC(y, PLFLT, CPLOT_NPOINTDEF); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c: In function ‘cplot_fwhm’: cplot.c:696:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 696 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:826:16: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 826 | plshades(fwhm, nsnap2, nsnap2, NULL, | ^~~~ | | | PLFLT ** {aka double **} In file included from cplot.c:39: /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:846:14: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 846 | plshades(fwhm, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:853:14: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 853 | plshades(fwhm, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c: In function ‘cplot_ellipticity’: cplot.c:928:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 928 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:1058:16: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1058 | plshades(ellip, nsnap2, nsnap2, NULL, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1076:12: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1076 | plshades(ellip, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c: In function ‘cplot_moffatresi’: cplot.c:1146:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1146 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:1274:16: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1274 | plshades(resi, nsnap2, nsnap2, NULL, | ^~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1292:12: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1292 | plshades(resi, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c: In function ‘cplot_asymresi’: cplot.c:1365:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1365 | QMALmake[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' LOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:1493:16: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1493 | plshades(resi, nsnap2, nsnap2, NULL, | ^~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1511:12: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1511 | plshades(resi, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c: In function ‘cplot_counts’: cplot.c:1579:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1579 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:1663:14: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1663 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1680:12: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1680 | plshades(count, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, cmin,cmax, clevel, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1565:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 1565 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:1561:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 1561 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_countfrac’: cplot.c:1738:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1738 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:1823:14: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1823 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1840:12: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1840 | plshades(count, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, cmin,cmax, clevel, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1724:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 1724 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:1720:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 1720 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_modchi2’: cplot.c:1898:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1898 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:1982:14: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1982 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1999:12: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 1999 | plshades(count, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, cmin,cmax, clevel, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:1884:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 1884 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:1879:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 1879 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_modresi’: cplot.c:2057:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 2057 | QMALLOC(ctype[i], char, 16); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ cplot.c:2141:14: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 2141 | plshades(count, nsnap2, nsnap2, NULL, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:2158:12: warning: passing argument 1 of ‘c_plshades’ from incompatible pointer type [-Wincompatible-pointer-types] 2158 | plshades(count, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, cmin,cmax, clevel, | ^~~~~ | | | PLFLT ** {aka double **} /usr/include/plplot/plplot.h:1763:26: note: expected ‘PLFLT_MATRIX’ {aka ‘const double * const*’} but argument is of type ‘PLFLT **’ {aka ‘double **’} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ cplot.c:2043:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 2043 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:2038:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 2038 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_init’: cplot.c:136:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 136 | system(str); | ^~~~~~~~~~~ cplot.c:132:58: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] 132 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", | ^~ ...... 135 | plotfilename, plotfilename); | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from cplot.c:35: In function ‘sprintf’, inlined from ‘cplot_init’ at cplot.c:132:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 37 and 1079 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c check.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from check.c:38: check.c: In function ‘check_write’: check.c:126:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 126 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:132:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 132 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:150:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 150 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:182:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 182 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:188:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 188 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:210:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 210 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:229:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 229 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:235:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 235 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:253:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 253 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:277:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 277 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:283:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 283 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:305:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 305 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:325:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 325 | QCALLOC(gridsample, samplestruct *, nt); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:356:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 356 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:363:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 363 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:379:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 379 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:402:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 402 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:408:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 408 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:430:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 430 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:450:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 450 | QCALLOC(gridsample, samplestruct *, nt); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:481:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 481 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:488:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 488 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:504:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 504 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:527:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 527 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:533:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 533 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:555:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 555 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:587:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 587 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:594:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 594 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:619:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 619 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:650:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 650 | QMALLOC(vig0, float, w*h); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:660:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 660 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:667:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 667 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:696:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 696 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:735:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 735 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:774:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 774 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:818:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 818 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:897:49: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 897 | QMALLOC(list, double, size = spoonsize); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:900:51: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 900 | QREALLOC(list, double, size += spoonsize); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:920:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 920 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:926:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 926 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:953:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 953 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:954:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 954 | QMALLOC(vig0, float, w*h); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:83:30: warning: unused variable ‘step2’ [-Wunused-variable] 83 | step,step2, ipos, inpos, ival1,ival2, npix; | ^~~~~ check.c:82:66: warning: unused variable ‘npos2’ [-Wunused-variable] 82 | int i,j,l,x,y, w,h,n, npc,nt, nw,nh,np, npos,npos2, | ^~~~~ check.c:82:57: warning: variable ‘np’ set but not used [-Wunused-but-set-variable] 82 | int i,j,l,x,y, w,h,n, npc,nt, nw,nh,np, npos,npos2, | ^~ check.c:77:26: warning: variable ‘head’ set but not used [-Wunused-but-set-variable] 77 | *head, *pstr,*pstr2; | ^~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c misc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c pca.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from pca.c:38: pca.c: In function ‘pca_onsnaps’: pca.c:79:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 79 | QCALLOC(covmat, double, npix*npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ pca.c:112:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 112 | QMALLOC(basis, float, npc*npix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ pca.c: In function ‘pca_oncomps’: pca.c:162:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 162 | QMALLOC(comp, double, ncat*npixt); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ pca.c:206:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 206 | QCALLOC(covmat, double, ncat*ncat); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ pca.c:227:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 227 | QMALLOC(vector, float, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ pca.c:228:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 228 | QMALLOC(pc, double, ncat*npc); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ pca.c: In function ‘pca_findpc’: pca.c:265:29: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 265 | QMALLOC(xmat, double, nmat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ pca.c:268:29: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 268 | QMALLOC(tmat, double, nmat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c fitswcs.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from fitswcs.c:43: fitswcs.c: In function ‘copy_wcs’: fitswcs.c:68:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 68 | QMEMCPY(wcsin, wcs, wcsstruct, 1); | ^ fits/fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitswcs.c:70:59: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 70 | QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); | ^ fits/fitscat_defs.h:160:37: note: in definition of macro ‘QMEMCPY’ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitswcs.c:81:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 81 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function ‘create_wcs’: fitswcs.c:119:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 119 | QCALLOC(wcs, wcsstruct, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:121:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 121 | QCALLOC(wcs->projp, double, naxis*100); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:142:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 142 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function ‘init_wcs’: fitswcs.c:182:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 182 | QCALLOC(wcs->lin, struct linprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:183:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 183 | QCALLOC(wcs->lin->cdelt, double, naxis); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:184:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 184 | QCALLOC(wcs->lin->crpix, double, naxis); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:185:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 185 | QCALLOC(wcs->lin->pc, double, naxis*naxis); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:190:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 190 | QCALLOC(wcs->cel, struct celprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:194:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 194 | QCALLOC(wcs->prj, struct prjprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function ‘read_wcs’: fitswcs.c:364:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 364 | QCALLOC(wcs, wcsstruct, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:373:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 373 | QCALLOC(wcs->projp, double, naxis*100); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:438:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 438 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); | ^ fits/fitscat_defs.h:129:35: note: in definition of macro ‘QCALLOC’ 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c: In function ‘invert_wcs’: fitswcs.c:854:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 854 | QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:855:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 855 | QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:856:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 856 | QMALLOC(latpos, double, WCS_NGRIDPOINTS2); | ^ fits/fitscat_defs.h:139:35: note: in definition of macro ‘QMALLOC’ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitswcs.c:835:43: warning: variable ‘maxflag’ set but not used [-Wunused-but-set-variable] 835 | int i,j,lng,lat,deg, tnxflag, maxflag; | ^~~~~~~ fitswcs.c:835:29: warning: unused variable ‘deg’ [-Wunused-variable] 835 | int i,j,lng,lat,deg, tnxflag, maxflag; | ^~~ fitswcs.c:833:25: warning: unused variable ‘group’ [-Wunused-variable] 833 | int group[] = {1,1}; | ^~~~~ fitswcs.c:828:26: warning: variable ‘poly’ set but not used [-Wunused-but-set-variable] 828 | polystruct *poly; | ^~~~ fitswcs.c: In function ‘copy_wcs’: fitswcs.c:70:48: warning: ‘wcs’ may be used uninitialized [-Wmaybe-uninitialized] 70 | QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); | ~~~^~~~~~~ fits/fitscat_defs.h:158:58: note: in definition of macro ‘QMEMCPY’ 158 | {if (!(ptrout = (typ *)malloc((size_t)(nel)*sizeof(typ)))) \ | ^~~ fitswcs.c:65:18: note: ‘wcs’ was declared here 65 | wcsstruct *wcs; | ^~~ fitswcs.c: In function ‘create_wcs’: fitswcs.c:134:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 134 | strncpy(wcs->ctype[l], "DEC--AIT", 8); | ^ fitswcs.c:132:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 132 | strncpy(wcs->ctype[l], "RA---AIT", 8); | ^ fitswcs.c: In function ‘read_wcs’: fitswcs.c:380:5: warning: ‘__builtin___strncpy_chk’ output may be truncated copying 8 bytes from a string of length 255 [-Wstringop-truncation] 380 | strncpy(wcs->ctype[l], str, 8); | ^ fitswcs.c:383:5: warning: ‘__builtin___strncpy_chk’ output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] 383 | strncpy(wcs->cunit[l], str, 32); | ^ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c makeit.c In file included from makeit.c:45: makeit.c: In function ‘makeit’: makeit.c:136:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 136 | QMALLOC(fields, fieldstruct *, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ makeit.c:198:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 198 | QMALLOC(psfsteps, float, next); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ makeit.c:211:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 211 | QMALLOC(cpsf, psfstruct *, ncat*next); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ makeit.c:233:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 233 | QMALLOC(psfbasiss, float *, next); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ makeit.c:240:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 240 | QMALLOC(cpsf, psfstruct *, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ makeit.c:261:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 261 | QMALLOC(cpsf, psfstruct *, ncat*next); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ makeit.c:331:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 331 | QMALLOC(cpsf, psfstruct *, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ makeit.c:86:49: warning: variable ‘nmed’ set but not used [-Wunused-but-set-variable] 86 | int c,i,p, ncat, ext, next, nmed, nbasis; | ^~~~ makeit.c: In function ‘make_psf’: makeit.c:646:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 646 | QMEMCPY(basis, psf->basis, float, nbasis*psf->size[0]*psf->size[1]); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ makeit.c: In function ‘makeit’: makeit.c:97:35: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 97 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~ makeit.c:97:29: note: directive argument in the range [-2147483647, 2147483647] 97 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from makeit.c:40: In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:97:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 11 and 36 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:215:58: warning: ‘%s’ directive writing up to 511 bytes into a region of size 477 [-Wformat-overflow=] 215 | sprintf(str, "Computing new PCA image basis from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:215:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 39 and 550 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:243:58: warning: ‘%s’ directive writing up to 511 bytes into a region of size 477 [-Wformat-overflow=] 243 | sprintf(str, "Computing new PCA image basis from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:243:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 39 and 550 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:264:67: warning: ‘%s’ directive writing up to 511 bytes into a region of size 466 [-Wformat-overflow=] 264 | sprintf(str, "Computing hidden dependency parameter(s) from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:264:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 50 and 561 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:343:73: warning: ‘%s’ directive writing up to 511 bytes into a region of size 466 [-Wformat-overflow=] 343 | sprintf(str, "Computing hidden dependency parameter(s) from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:343:13: /usr/include/bits/stdio2.h:30:10: note: ‘make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' __builtin___sprintf_chk’ output between 50 and 561 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:340:64: warning: ‘%s’ directive writing up to 511 bytes into a region of size 466 [-Wformat-overflow=] 340 | "Computing hidden dependency parameter(s) from %s[%d/%d]...", | ^~ makeit.c:340:17: note: directive argument in the range [1, 2147483647] 340 | "Computing hidden dependency parameter(s) from %s[%d/%d]...", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:340:17: note: directive argument in the range [2, 2147483647] In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:339:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 55 and 584 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:392:45: warning: ‘%s’ directive writing up to 511 bytes into a region of size 494 [-Wformat-overflow=] 392 | sprintf(str, "Reading data from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:392:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 22 and 533 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:389:45: warning: ‘%s’ directive writing up to 511 bytes into a region of size 494 [-Wformat-overflow=] 389 | sprintf(str, "Reading data from %s[%d/%d]...", | ^~ makeit.c:389:26: note: directive argument in the range [1, 2147483647] 389 | sprintf(str, "Reading data from %s[%d/%d]...", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:389:26: note: directive argument in the range [2, 2147483647] In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:389:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 27 and 556 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:406:57: warning: ‘%s’ directive writing up to 511 bytes into a region of size 482 [-Wformat-overflow=] 406 | sprintf(str, "Computing final PSF model for %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:406:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 34 and 545 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:403:57: warning: ‘%s’ directive writing up to 511 bytes into a region of size 482 [-Wformat-overflow=] 403 | sprintf(str, "Computing final PSF model for %s[%d/%d]...", | ^~ makeit.c:403:26: note: directive argument in the range [1, 2147483647] 403 | sprintf(str, "Computing final PSF model for %s[%d/%d]...", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:403:26: note: directive argument in the range [2, 2147483647] In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:403:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 39 and 568 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:307:54: warning: ‘%s’ directive writing up to 511 bytes into a region of size 481 [-Wformat-overflow=] 307 | sprintf(str, "Computing final PSF model from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:307:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 35 and 546 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:455:49: warning: ‘%s’ directive writing up to 511 bytes into a region of size 486 [-Wformat-overflow=] 455 | sprintf(str, "Computing diagnostics for %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:455:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 30 and 541 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:452:49: warning: ‘%s’ directive writing up to 511 bytes into a region of size 486 [-Wformat-overflow=] 452 | sprintf(str, "Computing diagnostics for %s[%d/%d]...", | ^~ makeit.c:452:22: note: directive argument in the range [1, 2147483647] 452 | sprintf(str, "Computing diagnostics for %s[%d/%d]...", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:452:22: note: directive argument in the range [2, 2147483647] In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:452:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 35 and 564 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:519:53: warning: ‘%s’ directive writing up to 511 bytes into a region of size 478 [-Wformat-overflow=] 519 | sprintf(str, "Saving PSF model and metadata for %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:519:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 38 and 549 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:529:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 529 | sprintf(str, "%s/%s", prefs.psf_dir, pstr); | ^ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:529:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:546:61: warning: ‘%s’ directive writing up to 511 bytes into a region of size 476 [-Wformat-overflow=] 546 | sprintf(str, "Computing homogenisation kernel for %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:546:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 40 and 551 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:543:61: warning: ‘%s’ directive writing up to 511 bytes into a region of size 476 [-Wformat-overflow=] 543 | sprintf(str, "Computing homogenisation kernel for %s[%d/%d]...", | ^~ makeit.c:543:24: note: directive argument in the range [1, 2147483647] 543 | sprintf(str, "Computing homogenisation kernel for %s[%d/%d]...", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:543:24: note: directive argument in the range [2, 2147483647] In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:543:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 45 and 574 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:555:30: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 555 | sprintf(str, "%s/%s", prefs.homokernel_dir, pstr); | ^ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:555:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 513) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:585:33: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 585 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:585:27: note: directive argument in the range [-2147483647, 2147483647] 585 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:585:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 11 and 36 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:119:35: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 119 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:119:29: note: directive argument in the range [-2147483647, 2147483647] 119 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:119:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 11 and 36 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ makeit.c: In function ‘makeit’: makeit.c:500:9: warning: ‘outcat’ may be used uninitialized [-Wmaybe-uninitialized] 500 | write_outcat(outcat, set2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:78:26: note: ‘outcat’ was declared here 78 | outcatstruct *outcat; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c prefs.c In file included from prefs.c:52: prefs.c: In function ‘readprefs’: prefs.c:352:65: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 352 | QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ prefs.c: In function ‘list_to_str’: prefs.c:448:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 448 | QMALLOC(listbuf, char, bufsize); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ prefs.c:458:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 458 | QREALLOC(listbuf, char, bufsize); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c vignet.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' In file included from vignet.c:38: vignet.c: In function ‘vignet_resample’: vignet.c:140:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 140 | QMALLOC(mask, double, nx2*interpw); /* Interpolation masks */ | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ vignet.c:141:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 141 | QMALLOC(nmask, int, nx2); /* Interpolation mask sizes */ | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ vignet.c:142:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 142 | QMALLOC(start, int, nx2); /* Int part of Im1 conv starts */ | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ vignet.c:173:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 173 | QCALLOC(pix12, float, nx2*ny1); /* Intermediary frame-buffer */ | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ vignet.c:195:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 195 | QREALLOC(mask, double, ny2*interph); /* Interpolation masks */ | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ vignet.c:196:27: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 196 | QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ vignet.c:197:27: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 197 | QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ vignet.c: In function ‘vignet_aperflux’: vignet.c:372:44: warning: unused variable ‘corrflag’ [-Wunused-variable] 372 | fymin,fymax, pflag,corrflag; | ^~~~~~~~ vignet.c:372:38: warning: unused variable ‘pflag’ [-Wunused-variable] 372 | fymin,fymax, pflag,corrflag; | ^~~~~ vignet.c:372:31: warning: unused variable ‘fymax’ [-Wunused-variable] 372 | fymin,fymax, pflag,corrflag; | ^~~~~ vignet.c:372:25: warning: unused variable ‘fymin’ [-Wunused-variable] 372 | fymin,fymax, pflag,corrflag; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c sample.c In file included from sample.c:39: sample.c: In function ‘load_samples’: sample.c:95:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 95 | QMALLOC(fwhmmin, float, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:96:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 96 | QMALLOC(fwhmmax, float, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:97:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 97 | QMALLOC(fwhmmode, float, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:103:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 103 | QMALLOC(fwhm, float, nobjmax); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:104:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 104 | QMALLOC(fwhmindex, int, ncat+1); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:111:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 111 | QMALLOC(pkeynames, char *, nkeys); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:202:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 202 | QREALLOC(fwhm, float, nobjmax); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:84:62: warning: unused variable ‘ext2’ [-Wunused-variable] 84 | e,i,j,n, icat, nobj,nobjmax, ldflag, ext2, nkeys; | ^~~~ sample.c:84:54: warning: unused variable ‘ldflag’ [-Wunused-variable] 84 | e,i,j,n, icat, nobj,nobjmax, ldflag, ext2, nkeys; | ^~~~~~ sample.c:80:25: warning: unused variable ‘backnoise’ [-Wunused-variable] 80 | backnoise, minsn, maxelong, min,max, mode, fval; | ^~~~~~~~~ sample.c:77:26: warning: unused variable ‘head’ [-Wunused-variable] 77 | *head; | ^~~~ sample.c:72:26: warning: unused variable ‘fkey’ [-Wunused-variable] 72 | keystruct *fkey, *key; | ^~~~ sample.c: In function ‘read_samples’: sample.c:441:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 441 | QMALLOC(cmin, double, set->ncontext); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:442:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 442 | QMALLOC(cmax, double, set->ncontext); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:481:54: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 481 | QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:416:46: warning: variable ‘nobj’ set but not used [-Wunused-but-set-variable] 416 | vigw, vigh, vigsize, nobj, nt, ndet, | ^~~~ sample.c: In function ‘malloc_samples’: sample.c:976:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 976 | QMALLOC(set->sample, samplestruct, nsample); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:980:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 980 | QMALLOC(sample->vig, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:981:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 981 | QMALLOC(sample->vigresi, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:982:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 982 | QMALLOC(sample->vigweight, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:983:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 983 | QMALLOC(sample->vigchi, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:985:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 985 | QMALLOC(sample->context, double, set->ncontext); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprimake[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' ntf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c: In function ‘realloc_samples’: sample.c:1017:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1017 | QREALLOC(set->sample, samplestruct, nsample); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1021:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1021 | QMALLOC(sample->vig, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1022:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1022 | QMALLOC(sample->vigresi, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1023:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1023 | QMALLOC(sample->vigchi, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1024:50: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1024 | QMALLOC(sample->vigweight, float, set->nvig); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1026:55: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1026 | QMALLOC(sample->context, double, set->ncontext); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1041:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1041 | QREALLOC(set->sample, samplestruct, nsample); | ^ define.h:154:35: note: in definition of macro ‘QREALLOC’ 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c: In function ‘init_set’: sample.c:1135:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1135 | QCALLOC(set, setstruct, 1); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1138:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1138 | QMALLOC(set->vigsize, int, set->vigdim); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1142:54: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1142 | QMALLOC(set->contextoffset, double, set->ncontext); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1143:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1143 | QMALLOC(set->contextscale, double, set->ncontext); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1144:52: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1144 | QMALLOC(set->contextname, char *, set->ncontext); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c:1146:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1146 | QMALLOC(set->contextname[i], char, 80); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ sample.c: In function ‘read_samples’: sample.c:556:46: warning: ‘%s’ directive writing up to 511 bytes into a region of size 487 [-Wformat-overflow=] 556 | sprintf(str, "Not enough apertures for %s in catalogue %s: ", | ^~ 557 | prefs.photflux_key, filename); | ~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from sample.c:35: In function ‘sprintf’, inlined from ‘read_samples’ at sample.c:556:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 42 or more bytes (assuming 553) into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sample.c: In function ‘read_samples’: sample.c:545:28: warning: ‘%s’ directive writing up to 511 bytes into a region of size 503 [-Wformat-overflow=] 545 | sprintf(str, "*Error*: %s parameter not found in catalogue ", | ^~ 546 | prefs.photflux_rkey); | ~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘read_samples’ at sample.c:545:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 44 and 555 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c psf.c In file included from psf.c:38: psf.c: In function ‘psf_clean’: psf.c:88:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 88 | QMALLOC(chi, float, nsample); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c: In function ‘psf_init’: psf.c:256:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 256 | QCALLOC(psf, psfstruct, 1); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:258:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 258 | QMALLOC(psf->size, int, psf->dim); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:266:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 266 | QMEMCPY(context->group, group2, int, ndim); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:267:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 267 | QMEMCPY(context->name, names2, char *, ndim); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:270:56: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 270 | QMEMCPY(context->degree, dim2, int, context->ngroup); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:313:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 313 | QCALLOC(psf->comp, float, psf->npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:315:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 315 | QCALLOC(psf->loc, float, npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:316:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 316 | QCALLOC(psf->resi, float, npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:324:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 324 | QMALLOC(psf->contextoffset, double, ndim2); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:325:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 325 | QMALLOC(psf->contextscale, double, ndim2); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:326:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 326 | QMALLOC(psf->contextname, char *, ndim2); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:330:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 330 | QMALLOC(psf->contextname[d], char, 80); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c: In function ‘psf_inherit’: psf.c:386:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 386 | QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:388:63: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 388 | QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c: In function ‘psf_copy’: psf.c:453:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 453 | QMALLOC(newpsf, psfstruct, 1); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:456:49: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 456 | QMEMCPY(psf->size, newpsf->size, int, psf->dim); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:457:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 457 | QMALLOC(newpsf->contextname, char *, ndim); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:460:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' ] 460 | QMALLOC(newpsf->contextname[d], char, 80); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:465:68: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 465 | QMEMCPY(psf->contextoffset, newpsf->contextoffset, double, ndim); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:466:66: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 466 | QMEMCPY(psf->contextscale, newpsf->contextscale, double, ndim); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:471:53: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 471 | QMEMCPY(psf->pixmask, newpsf->pixmask, int, npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:473:63: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 473 | QMEMCPY(psf->basis, newpsf->basis, float, psf->nbasis*npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:476:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 476 | psf->nbasis*psf->poly->ncoeff); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:477:52: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 477 | QMEMCPY(psf->comp, newpsf->comp, float, psf->npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:478:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 478 | QMEMCPY(psf->loc, newpsf->loc, float, npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:479:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 479 | QMEMCPY(psf->resi, newpsf->resi, float, npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:487:61: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 487 | QMEMCPY(psf->moffat, newpsf->moffat, moffatstruct, nsnap); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:489:65: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 489 | QMEMCPY(psf->pfmoffat, newpsf->pfmoffat, moffatstruct, nsnap); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:491:68: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 491 | QMEMCPY(psf->homo_kernel, newpsf->homo_kernel, float, psf->npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c: In function ‘psf_make’: psf.c:532:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 532 | QCALLOC(image, float, nsample*npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:533:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 533 | QMALLOC(weight, float, nsample*npix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:534:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 534 | QMALLOC(pstack, double, nsample); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:535:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 535 | QMALLOC(wstack, double, nsample); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:536:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 536 | QMALLOC(pos, double, poly->ndim?(nsample*poly->ndim):1); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:537:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 537 | QMALLOC(basis, double, poly->ncoeff*nsample); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c: In function ‘psf_build’: psf.c:632: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 632 | #pragma ivdep | psf.c: In function ‘psf_makeresi’: psf.c:675:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 675 | QCALLOC(dresi, double, npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:687:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 687 | QMALLOC(cdata, float, ncpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:688:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 688 | QMALLOC(cbasis, float, ncpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:689:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 689 | QMALLOC(cvigw, float, ncpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:690:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 690 | QMALLOC(cvigx, double, ncpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:691:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 691 | QMALLOC(cvigy, double, ncpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:840: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 840 | #pragma ivdep | psf.c:871:29: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 871 | QMALLOC(fresi, float, npix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c: In function ‘psf_refine’: psf.c:942:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 942 | QCALLOC(vecvig, float, nvpix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:947:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 947 | QCALLOC(desmat, double, npsf*ndata); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:948:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 948 | QCALLOC(desindex, int, npsf*ndata); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:949:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 949 | QMALLOC(bmat, double, nvpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:951:42: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 951 | QMALLOC(coeffmat, double, ncoeff*ncoeff); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:953:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 953 | QMALLOC(vig, float, nvpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:955:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 955 | QMALLOC(sigvig, double, nvpix); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:957:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 957 | QCALLOC(alphamat, double, nunknown*nunknown); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:958:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 958 | QCALLOC(betamat, double, nunknown); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1139:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1139 | QMALLOC(psf->basiscoeff, float, nunknown); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1142:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1142 | QMALLOC(betamat2, double, ncoeff); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1151: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1151 | #pragma ivdep | psf.c: In function ‘psf_orthopoly’: psf.c:1193:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1193 | QMALLOC(data, double, ndata*ncoeff); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1205: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1205 | #pragma ivdep | psf.c: In function ‘psf_makebasis’: psf.c:1253:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1253 | QMEMCPY(psf->comp, psforder, float, npix); | ^ define.h:165:37: note: in definition of macro ‘QMEMCPY’ 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ psf.c:1261:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1261 | QCALLOC(psf->pixmask, int, npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1292:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1292 | QCALLOC(psf->basis, float, npsf*npix); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c: In function ‘psf_pshapelet’: psf.c:1396:59: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1396 | QMALLOC(fr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1397:62: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1397 | QMALLOC(fexpr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1398:62: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1398 | QMALLOC(ftheta, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1422:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1422 | QCALLOC(*basis, float, w*h*kmax); | ^ define.h:134:35: note: in definition of macro ‘QCALLOC’ 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c: In function ‘psf_readbasis’: psf.c:1523:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1523 | QMALLOC(pixin, PIXTYPE, npixin); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1525:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1525 | QMALLOC(psf->basis, float, ncomp*npixout); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:1492:24: warning: variable ‘firstab’ set but not used [-Wunused-but-set-variable] 1492 | tabstruct *tab, *firstab; | ^~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c xml.c In file included from xml.c:39: xml.c: In function ‘init_xml’: xml.c:71:43: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 71 | QMALLOC(field_xml, fieldstruct *, ncat); | ^ define.h:144:35: note: in definition of macro ‘QMALLOC’ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ xml.c: In function ‘write_xml_meta’: xml.c:310:32: warning: comparison between ‘cplotenum’ and ‘enum ’ [-Wenum-compare] 310 | if ((prefs.cplot_device[j] == CPLOT_PNG)) | ^~ xml.c:233:35: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ xml.c:233:29: note: directive argument in the range [-2147483647, 2147483647] 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from xml.c:34: In function ‘sprintf’, inlined from ‘write_xml_meta’ at xml.c:233:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 11 and 36 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xml.c: In function ‘write_xml_meta’: xml.c:1073:10: warning: ‘pffwhm_wcs_min’ may be used uninitialized [-Wmaybe-uninitialized] 1073 | if (psf->pfmoffat_fwhm_wcs_min < pffwhm_wcs_min) | ^ xml.c:208:25: note: ‘pffwhm_wcs_min’ was declared here 208 | pffwhm_wcs_min,pffwhm_wcs_mean,pffwhm_wcs_max, | ^~~~~~~~~~~~~~ xml.c:1076:10: warning: ‘pffwhm_wcs_max’ may be used uninitialized [-Wmaybe-uninitialized] 1076 | if (psf->pfmoffat_fwhm_wcs_max > pffwhm_wcs_max) | ^ xml.c:208:56: note: ‘pffwhm_wcs_max’ was declared here 208 | pffwhm_wcs_min,pffwhm_wcs_mean,pffwhm_wcs_max, | ^~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -L/usr/lib64/atlas -lsatlas -lfftw3f_threads -lfftw3f -lm -lplplot libtool: link: gcc -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -L/usr/lib64/atlas -lsatlas -lfftw3f_threads -lfftw3f -lm -lplplot make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UavEGn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd psfex-3.17.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/man' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 psfex.1 '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/man/manx' /usr/bin/install -p -m 644 psfex.x '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/man/manx' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/man' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/man' Making install in src make[1]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' Making install in fits make[2]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/fits' Making install in levmar make[2]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/levmar' Making install in wcs make[2]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src/wcs' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.17.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p psfex '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/bin' libtool: install: /usr/bin/install -p psfex /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/bin/psfex make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1/src' make[1]: Entering directory '/builddir/build/BUILD/psfex-3.17.1' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.17.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/psfex' /usr/bin/install -p -m 644 config/default.conv config/default.psfex config/prepsfex.param config/prepsfex.sex xsl/psfex.xsl '/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/psfex' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.17.1' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.17.1-29.fc40 --unique-debug-suffix -3.17.1-29.fc40.riscv64 --unique-debug-src-base psfex-3.17.1-29.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/psfex-3.17.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/psfex-3.17.1-29.fc40.riscv64 2157 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: psfex-3.17.1-29.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yTpyOW + umask 022 + cd /builddir/build/BUILD + cd psfex-3.17.1 + DOCDIR=/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/doc/psfex + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.17.1/AUTHORS /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.17.1/HISTORY /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.17.1/README /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.17.1/THANKS /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.17.1/doc/psfex.pdf /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/doc/psfex + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KXlbyP + umask 022 + cd /builddir/build/BUILD + cd psfex-3.17.1 + LICENSEDIR=/builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/licenses/psfex + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/licenses/psfex + cp -pr /builddir/build/BUILD/psfex-3.17.1/COPYRIGHT /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/licenses/psfex + cp -pr /builddir/build/BUILD/psfex-3.17.1/LICENSE /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64/usr/share/licenses/psfex + RPM_EC=0 ++ jobs -p + exit 0 Provides: psfex = 3.17.1-29.fc40 psfex(riscv-64) = 3.17.1-29.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libfftw3f.so.3()(64bit) libfftw3f_threads.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libplplot.so.17()(64bit) libsatlas.so.3()(64bit) rtld(GNU_HASH) Processing files: psfex-debugsource-3.17.1-29.fc40.riscv64 Provides: psfex-debugsource = 3.17.1-29.fc40 psfex-debugsource(riscv-64) = 3.17.1-29.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: psfex-debuginfo-3.17.1-29.fc40.riscv64 Provides: debuginfo(build-id) = c7e7acb89cffbe5bb87b78b213a9cc470d630578 psfex-debuginfo = 3.17.1-29.fc40 psfex-debuginfo(riscv-64) = 3.17.1-29.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: psfex-debugsource(riscv-64) = 3.17.1-29.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/psfex-3.17.1-29.fc40.riscv64 Wrote: /builddir/build/RPMS/psfex-3.17.1-29.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/psfex-debuginfo-3.17.1-29.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/psfex-debugsource-3.17.1-29.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0