Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/psfex.spec'], chrootPath='/var/lib/mock/f40-build-796440-140692/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706745600 Wrote: /builddir/build/SRPMS/psfex-3.24.1-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/psfex.spec'], chrootPath='/var/lib/mock/f40-build-796440-140692/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706745600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zRL5xB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psfex-3.24.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/psfex-3.24.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psfex-3.24.1 + rm -rf /builddir/build/BUILD/psfex-3.24.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/psfex-3.24.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dvG7x3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd psfex-3.24.1 + ./autogen.sh Preparing the PSFEx build system...please wait Found GNU Autoconf version 2.71 Found GNU Automake version 1.16.5 Found GNU Libtool version 2.4.7 Automatically preparing build ... done The PSFEx build system is now prepared. To build here, run: ./configure make + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' 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-errors -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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./autoconf/ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --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 race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes ******** Configuring: PSFEx 3.24.1 - 1 (2024-03-22) ******** checking if compilation flags are set automatically... no checking whether the classic INTEL compiler is enabled... no checking whether the INTEL compiler is enabled... no checking whether INTEL's MKL is enabled... no checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes 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 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-file... no checking for file... file 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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/param.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 dlfcn.h... (cached) yes checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) 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 unsigned long long int... yes checking for long long int... yes checking for unsigned long long int... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking how to run the C preprocessor... gcc -E checking for uid_t in sys/types.h... yes checking for error_at_line... 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 OpenBLAS is enabled... no checking whether PLPlot is enabled... yes checking for profiler mode... no checking best linking option... no checking for multithreading... maximum of 1024 thread(s) checking for pthread.h... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking for the pthreads library -lpthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no 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 for cblas.h... yes checking for clapack.h... yes checking for library containing clapack_dpotrf... -ltatlas 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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/atlas -ltatlas -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 psfex.spec config.status: creating debian/Makefile config.status: creating debian/changelog config.status: creating doc/Makefile config.status: creating doc/src/conf.py config.status: creating man/Makefile config.status: creating man/psfex.1 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 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 src Making all in fits make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitscleanup.o fitscleanup.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitscat.o fitscat.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' fitscat.c: In function ‘addhistoryto_cat’: fitscat.c:140:21: warning: ‘%.65s’ directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] 140 | 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:140: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:120:25: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 120 | char str2[82]; | ^~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitscheck.o fitscheck.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitsconv.o fitsconv.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' In file included from fitsconv.c:38: fitsconv.c: In function ‘asc2bin_tab’: 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:155:22: note: in definition of macro ‘QMEMCPY’ 155 | {if (ptrin) \ | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitsmisc.o fitsmisc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitsread.o fitsread.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitshead.o fitshead.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' fitshead.c: In function ‘prim_head’: fitshead.c:518:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 80 bytes from a string of the same length [-Wstringop-truncation] 518 | strncpy(tab->headbuf, "SIMPLE = T " | ^ fitshead.c: In function ‘ext_head’: fitshead.c:549:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 80 bytes from a string of the same length [-Wstringop-truncation] 549 | strncpy(tab->headbuf, "XTENSION= 'IMAGE ' " | ^ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitsbody.o fitsbody.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' fitsbody.c: In function ‘read_body’: fitsbody.c:457: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 457 | #pragma ivdep fitsbody.c:465: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 465 | #pragma ivdep fitsbody.c:474: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 474 | #pragma ivdep fitsbody.c:478: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 478 | #pragma ivdep fitsbody.c:496: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 496 | #pragma ivdep fitsbody.c:504: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 504 | #pragma ivdep fitsbody.c:513: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 513 | #pragma ivdep fitsbody.c:517: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 517 | #pragma ivdep fitsbody.c:535: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 535 | #pragma ivdep fitsbody.c:543: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 543 | #pragma ivdep fitsbody.c:552: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 552 | #pragma ivdep fitsbody.c:556: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 556 | #pragma ivdep fitsbody.c:575: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 575 | #pragma ivdep fitsbody.c:583: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 583 | #pragma ivdep fitsbody.c:592: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 592 | #pragma ivdep fitsbody.c:596: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 596 | #pragma ivdep fitsbody.c:609: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 609 | #pragma ivdep fitsbody.c:623: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 623 | #pragma ivdep fitsbody.c:631: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 631 | #pragma ivdep fitsbody.c: In function ‘read_ibody’: fitsbody.c:795: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 795 | #pragma ivdep fitsbody.c:807: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 807 | #pragma ivdep fitsbody.c:819: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 819 | #pragma ivdep fitsbody.c:832: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 832 | #pragma ivdep fitsbody.c: In function ‘write_body’: fitsbody.c:997: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 997 | #pragma ivdep fitsbody.c:1004: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1004 | #pragma ivdep fitsbody.c:1014: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1014 | #pragma ivdep fitsbody.c:1021: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1021 | #pragma ivdep fitsbody.c:1033: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1033 | #pragma ivdep fitsbody.c:1040: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1040 | #pragma ivdep fitsbody.c:1053: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1053 | #pragma ivdep fitsbody.c:1060: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1060 | #pragma ivdep fitsbody.c:1071: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1071 | #pragma ivdep fitsbody.c:1087: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1087 | #pragma ivdep fitsbody.c: In function ‘write_ibody’: fitsbody.c:1222: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1222 | #pragma ivdep fitsbody.c:1229: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1229 | #pragma ivdep fitsbody.c:1239: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1239 | #pragma ivdep fitsbody.c:1246: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1246 | #pragma ivdep fitsbody.c:1258: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1258 | #pragma ivdep fitsbody.c:1265: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1265 | #pragma ivdep fitsbody.c:1278: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1278 | #pragma ivdep fitsbody.c:1285: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1285 | #pragma ivdep fitsbody.c:1296: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1296 | #pragma ivdep fitsbody.c:1307: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1307 | #pragma ivdep fitsbody.c: In function ‘alloc_body’: fitsbody.c:124:31: warning: ‘/vm’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 124 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~ fitsbody.c:124:28: note: directive argument in the range [-2147483648, 2147483647] 124 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~~~~~~~~~~~~~~~~~~~ fitsbody.c:124: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:124: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:230:31: warning: ‘/vm’ directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 230 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~ fitsbody.c:230:28: note: directive argument in the range [-2147483648, 2147483647] 230 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~~~~~~~~~~~~~~~~~~~ fitsbody.c:230:28: note: using the range [0, 4294967295] for directive argument In function ‘sprintf’, inlined from ‘alloc_ibody’ at fitsbody.c:230: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.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitskey.o fitskey.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitstab.o fitstab.c 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; | ^~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitsutil.o fitsutil.c 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]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitswrite.o fitswrite.c fitswrite.c: In function ‘print_obj’: fitswrite.c:455:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘printf’ will never be NULL [-Waddress] 455 | fprintf(stream, key->printf?key->printf:"%d", (int)*ptr); | ^ In file included from fitswrite.c:40: fitscat.h:134:17: note: ‘printf’ declared here 134 | char printf[80]; /* printing format (C Convention) */ | ^~~~~~ fitswrite.c: In function ‘voprint_obj’: fitswrite.c:541:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘printf’ will never be NULL [-Waddress] 541 | fprintf(stream, key->printf?key->printf:"%d", (int)*ptr); | ^ fitscat.h:134:17: note: ‘printf’ declared here 134 | char printf[80]; /* printing format (C Convention) */ | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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.24.1/src/fits' Making all in levmar make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o lmblec.o lmblec.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o lmbleic.o lmbleic.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o lmlec.o lmlec.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o Axb.o Axb.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.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.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o lm.o lm.c 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]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o misc.o misc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.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.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o lmbc.o lmbc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.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.24.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.24.1/src/levmar' Making all in wcs make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o cel.o cel.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o sph.o sph.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o lin.o lin.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o tnx.o tnx.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o poly.o poly.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' poly.c: In function ‘poly_initortho’: poly.c:742:34: warning: variable ‘ndim’ set but not used [-Wunused-but-set-variable] 742 | int c,i,j,m,n, ndmc, ndim,ncoeff; | ^~~~ poly.c:742:25: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 742 | int c,i,j,m,n, ndmc, ndim,ncoeff; | ^ poly.c:742:23: warning: variable ‘m’ set but not used [-Wunused-but-set-variable] 742 | int c,i,j,m,n, ndmc, ndim,ncoeff; | ^ poly.c:739:34: warning: variable ‘invec’ set but not used [-Wunused-but-set-variable] 739 | double *basis, *coeff, *invec,*invect0,*invect,*invect02,*invect2, | ^~~~~ poly.c:739:26: warning: variable ‘coeff’ set but not used [-Wunused-but-set-variable] 739 | double *basis, *coeff, *invec,*invect0,*invect,*invect02,*invect2, | ^~~~~ poly.c:739:18: warning: variable ‘basis’ set but not used [-Wunused-but-set-variable] 739 | double *basis, *coeff, *invec,*invect0,*invect,*invect02,*invect2, | ^~~~~ poly.c: In function ‘poly_powers’: poly.c:690:14: warning: ‘gexpo’ may be used uninitialized [-Wmaybe-uninitialized] 690 | if (gexpo[*group]) | ~~~~~^~~~~~~~ poly.c:674:38: note: ‘gexpo’ declared here 674 | int expo[POLY_MAXDIM+1], gexpo[POLY_MAXDIM+1]; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o wcstrig.o wcstrig.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o wcs.o wcs.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o proj.o 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.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o catout.o catout.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' catout.c: In function ‘init_outcat’: catout.c:77:25: warning: unused variable ‘str’ [-Wunused-variable] 77 | char str[80], | ^~~ catout.c:73:26: warning: unused variable ‘samp’ [-Wunused-variable] 73 | samplestruct *samp; | ^~~~ catout.c: In function ‘write_outcat’: catout.c:215:32: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 215 | memset(outsample, 0, sizeof(outsample)); | ^ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o context.o context.c context.c: In function ‘context_apply’: 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]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fft.o fft.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o field.o field.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o diagnostic.o diagnostic.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' 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; | ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o homo.o homo.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o main.o main.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o check.o check.c check.c: In function ‘check_write’: check.c:83:30: warning: unused variable ‘step2’ [-Wunused-variable] 83 | step,step2, ipos, inpos, ival1,ival2, npix; | ^~~~~ check.c:82:68: warning: unused variable ‘npos2’ [-Wunused-variable] 82 | int i,g,j,l,x,y, w,h,n, npc,nt, nw,nh,np, npos,npos2, | ^~~~~ check.c:82:59: warning: variable ‘np’ set but not used [-Wunused-but-set-variable] 82 | int i,g,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]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o cplot.o cplot.c cplot.c: In function ‘cplot_init’: cplot.c:130:39: warning: comparison between ‘cplotenum’ and ‘enum ’ [-Wenum-compare] 130 | && (prefs.cplot_device[dev-1] == CPLOT_PNG | ^~ cplot.c:131:38: warning: comparison between ‘cplotenum’ and ‘enum ’ [-Wenum-compare] 131 | || prefs.cplot_device[dev-1] == CPLOT_JPEG)) | ^~ cplot.c:150:32: warning: comparison between ‘cplotenum’ and ‘cplotdevenum’ [-Wenum-compare] 150 | if (prefs.cplot_device[dev]==cplot_device[j].device) | ^~ cplot.c:120:56: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 120 | int j, num, cval, dev, argc, ndev, gdflag, ret; | ^~~ cplot.c:120:20: warning: variable ‘num’ set but not used [-Wunused-but-set-variable] 120 | int j, num, cval, dev, argc, ndev, gdflag, ret; | ^~~ cplot.c: In function ‘cplot_counts’: cplot.c:1577:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 1577 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:1573:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 1573 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_countfrac’: cplot.c:1738:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 1738 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:1734:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 1734 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_modchi2’: cplot.c:1900:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 1900 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:1895:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 1895 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_modresi’: cplot.c:2061:52: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] 2061 | i,j, e, n,nt, naxis, nsnap,nsnap2, flag; | ^~~~ cplot.c:2056:45: warning: variable ‘raw’ set but not used [-Wunused-but-set-variable] 2056 | double crpix[NAXIS], cdelt[NAXIS], raw[NAXIS], | ^~~ cplot.c: In function ‘cplot_snrvsfwhm’: cplot.c:2217:23: warning: unused variable ‘s’ [-Wunused-variable] 2217 | int e,i,n,s, ix,iy, nx,ny, next; | ^ cplot.c: In function ‘cplot_init’: cplot.c:133:58: warning: ‘%s’ directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] 133 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", | ^~ ...... 136 | 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:133: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 ()); | ~~~~~~~~~~~~~~~~~ cplot.c: In function ‘cplot_snrvsfwhm’: cplot.c:2339:40: warning: ‘%s’ directive writing up to 511 bytes into a region of size 61 [-Wformat-overflow=] 2339 | sprintf(str, "FWHM selection for %s", field->rtcatname); | ^~ In function ‘sprintf’, inlined from ‘cplot_snrvsfwhm’ at cplot.c:2339:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 20 and 531 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cplot.c: In function ‘cplot_snrvsfwhm’: cplot.c:2337:21: warning: ‘%s’ directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] 2337 | sprintf(str, "%s[%d]", field->rtcatname, e+1); | ^~ cplot.c:2337:20: note: directive argument in the range [1, 2147483647] 2337 | sprintf(str, "%s[%d]", field->rtcatname, e+1); | ^~~~~~~~ In function ‘sprintf’, inlined from ‘cplot_snrvsfwhm’ at cplot.c:2337:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 524 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o misc.o misc.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o pca.o pca.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o fitswcs.o fitswcs.c In file included from fitswcs.c:43: 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:156:58: note: in definition of macro ‘QMEMCPY’ 156 | {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]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o makeit.o makeit.c makeit.c: In function ‘makeit’: makeit.c:87:49: warning: variable ‘nmed’ set but not used [-Wunused-but-set-variable] 87 | int c,i,p, ncat, ext, next, nmed, nbasis; | ^~~~ makeit.c:87:29: warning: unused variable ‘p’ [-Wunused-variable] 87 | int c,i,p, ncat, ext, next, nmed, nbasis; | ^ makeit.c:98:35: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 98 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", | ^~~~ makeit.c:98:29: note: directive argument in the range [-2147483647, 2147483647] 98 | 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:98: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:216:58: warning: ‘%s’ directive writing up to 511 bytes into a region of size 477 [-Wformat-overflow=] 216 | sprintf(str, "Computing new PCA image basis from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:216: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:244:58: warning: ‘%s’ directive writing up to 511 bytes into a region of size 477 [-Wformat-overflow=] 244 | sprintf(str, "Computing new PCA image basis from %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:244: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: ‘__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_Fmake[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' ORTIFY_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:457:49: warning: ‘%s’ directive writing up to 511 bytes into a region of size 486 [-Wformat-overflow=] 457 | sprintf(str, "Computing diagnostics for %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:457: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:454:49: warning: ‘%s’ directive writing up to 511 bytes into a region of size 486 [-Wformat-overflow=] 454 | sprintf(str, "Computing diagnostics for %s[%d/%d]...", | ^~ makeit.c:454:22: note: directive argument in the range [1, 2147483647] 454 | sprintf(str, "Computing diagnostics for %s[%d/%d]...", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:454:22: note: directive argument in the range [2, 2147483647] In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:454: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:534:53: warning: ‘%s’ directive writing up to 511 bytes into a region of size 478 [-Wformat-overflow=] 534 | sprintf(str, "Saving PSF model and metadata for %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:534: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:544:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 544 | sprintf(str, "%s/%s", prefs.psf_dir, pstr); | ^ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:544: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:561:61: warning: ‘%s’ directive writing up to 511 bytes into a region of size 476 [-Wformat-overflow=] 561 | sprintf(str, "Computing homogenisation kernel for %s...", | ^~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:561: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:558:61: warning: ‘%s’ directive writing up to 511 bytes into a region of size 476 [-Wformat-overflow=] 558 | sprintf(str, "Computing homogenisation kernel for %s[%d/%d]...", | ^~ makeit.c:558:24: note: directive argument in the range [1, 2147483647] 558 | sprintf(str, "Computing homogenisation kernel for %s[%d/%d]...", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:558:24: note: directive argument in the range [2, 2147483647] In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:558: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:570:30: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 570 | sprintf(str, "%s/%s", prefs.homokernel_dir, pstr); | ^ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:570: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:601:33: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 601 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:601:27: note: directive argument in the range [-2147483647, 2147483647] 601 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:601: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:120:35: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 120 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ makeit.c:120:29: note: directive argument in the range [-2147483647, 2147483647] 120 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘makeit’ at makeit.c:120: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:502:9: warning: ‘outcat’ may be used uninitialized [-Wmaybe-uninitialized] 502 | write_outcat(outcat, set); | ^~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c:79:26: note: ‘outcat’ was declared here 79 | outcatstruct *outcat; | ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o prefs.o prefs.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o vignet.o vignet.c vignet.c: In function ‘vignet_aperflux’: vignet.c:408:44: warning: unused variable ‘corrflag’ [-Wunused-variable] 408 | fymin,fymax, pflag,corrflag; | ^~~~~~~~ vignet.c:408:38: warning: unused variable ‘pflag’ [-Wunused-variable] 408 | fymin,fymax, pflag,corrflag; | ^~~~~ vignet.c:408:31: warning: unused variable ‘fymax’ [-Wunused-variable] 408 | fymin,fymax, pflag,corrflag; | ^~~~~ vignet.c:408:25: warning: unused variable ‘fymin’ [-Wunused-variable] 408 | fymin,fymax, pflag,corrflag; | ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o sample.o sample.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' sample.c: In function ‘load_samples’: 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:424:46: warning: variable ‘nobj’ set but not used [-Wunused-but-set-variable] 424 | vigw, vigh, vigsize, nobj, nt, ndet, ngood, dgeoflag, | ^~~~ sample.c: In function ‘compute_fwhmrange’: sample.c:369:18: warning: ‘fmin’ may be used uninitialized [-Wmaybe-uninitialized] 369 | *maxout = fmin * dfmin; | ~~~~~^~~~~~~ sample.c:331:31: note: ‘fmin’ was declared here 331 | df, dfmin, f, fmin, var; | ^~~~ sample.c: In function ‘read_samples’: sample.c:561:46: warning: ‘%s’ directive writing up to 511 bytes into a region of size 487 [-Wformat-overflow=] 561 | sprintf(str, "Not enough apertures for %s in catalogue %s: ", | ^~ 562 | 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:561: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 ()); | ~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o psf.o psf.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' psf.c: In function ‘psf_make’: psf.c:520:38: warning: unused variable ‘nsample’ [-Wunused-variable] 520 | int i,c,g,n, ncoeff,npix,nsample,ngood; | ^~~~~~~ psf.c: In function ‘psf_build’: psf.c:641: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 641 | #pragma ivdep psf.c: In function ‘psf_makeresi’: psf.c:854: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 854 | #pragma ivdep psf.c: In function ‘psf_refine’: psf.c:1170: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1170 | #pragma ivdep psf.c: In function ‘psf_orthopoly’: psf.c:1227: warning: ignoring ‘#pragma ivdep ’ [-Wunknown-pragmas] 1227 | #pragma ivdep psf.c: In function ‘psf_readbasis’: psf.c:1514:24: warning: variable ‘firstab’ set but not used [-Wunused-but-set-variable] 1514 | tabstruct *tab, *firstab; | ^~~~~~~ psf.c: In function ‘psf_copy’: psf.c:466:5: warning: ‘__builtin_strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 466 | strncpy(newpsf->contextname[d], psf->contextname[d], 80); | ^ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=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 -o xml.o xml.c make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' 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:208:25: warning: ‘pffwhm_wcs_min’ may be used uninitialized [-Wmaybe-uninitialized] 208 | pffwhm_wcs_min,pffwhm_wcs_mean,pffwhm_wcs_max, | ^~~~~~~~~~~~~~ xml.c:208:56: warning: ‘pffwhm_wcs_max’ may be used uninitialized [-Wmaybe-uninitialized] 208 | pffwhm_wcs_min,pffwhm_wcs_mean,pffwhm_wcs_max, | ^~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o 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 -ltatlas -lfftw3f_threads -lfftw3f -lm -lplplot libtool: link: gcc -D_REENTRANT -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o 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 -ltatlas -lfftw3f_threads -lfftw3f -lm -lplplot make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' Making all in man make[2]: Nothing to be done for 'all'. Making all in doc make[2]: Nothing to be done for 'all'. Making all in debian make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8tQcmy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd psfex-3.24.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/src' Making install in fits make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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.24.1/src/fits' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/fits' Making install in levmar make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/src/levmar' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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.24.1/src/levmar' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/levmar' Making install in wcs make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.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.24.1/src/wcs' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src/wcs' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/src' make[3]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p psfex '/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/bin' libtool: install: /usr/bin/install -p psfex /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/bin/psfex make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/man' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 psfex.1 '/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/man/manx' /usr/bin/install -p -m 644 psfex.x '/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/man/manx' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/man' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/man' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/doc' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/doc' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/doc' Making install in debian make[1]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/debian' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1/debian' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/debian' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1/debian' make[1]: Entering directory '/builddir/build/BUILD/psfex-3.24.1' make[2]: Entering directory '/builddir/build/BUILD/psfex-3.24.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/psfex-3.24.1-1.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.24.1-1.fc40.riscv64/usr/share/psfex' make[2]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1' make[1]: Leaving directory '/builddir/build/BUILD/psfex-3.24.1' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.24.1-1.fc40 --unique-debug-suffix -3.24.1-1.fc40.riscv64 --unique-debug-src-base psfex-3.24.1-1.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/psfex-3.24.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.24.1-1.fc40.riscv64 2224 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.24.1-1.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.I1ZgZC + umask 022 + cd /builddir/build/BUILD + cd psfex-3.24.1 + DOCDIR=/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/doc/psfex + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.24.1/AUTHORS /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.24.1/HISTORY /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.24.1/README.md /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/doc/psfex + cp -pr /builddir/build/BUILD/psfex-3.24.1/THANKS /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/doc/psfex + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FvsKgi + umask 022 + cd /builddir/build/BUILD + cd psfex-3.24.1 + LICENSEDIR=/builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/licenses/psfex + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/licenses/psfex + cp -pr /builddir/build/BUILD/psfex-3.24.1/LICENSE /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64/usr/share/licenses/psfex + RPM_EC=0 ++ jobs -p + exit 0 Provides: psfex = 3.24.1-1.fc40 psfex(riscv-64) = 3.24.1-1.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) libtatlas.so.3()(64bit) rtld(GNU_HASH) Processing files: psfex-debugsource-3.24.1-1.fc40.riscv64 Provides: psfex-debugsource = 3.24.1-1.fc40 psfex-debugsource(riscv-64) = 3.24.1-1.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.24.1-1.fc40.riscv64 Provides: debuginfo(build-id) = e5059d5350e65801835bf9f4a8895465672b0daa psfex-debuginfo = 3.24.1-1.fc40 psfex-debuginfo(riscv-64) = 3.24.1-1.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.24.1-1.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64 Wrote: /builddir/build/RPMS/psfex-3.24.1-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/psfex-debuginfo-3.24.1-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/psfex-debugsource-3.24.1-1.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Tf2H4i + umask 022 + cd /builddir/build/BUILD + cd psfex-3.24.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/psfex-3.24.1-1.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LCs8nk + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/psfex-3.24.1-SPECPARTS + rm -rf psfex-3.24.1 psfex-3.24.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0