Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libccp4.spec'], chrootPath='/var/lib/mock/f33-build-160952-43420/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libccp4.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/libccp4-6.5.1-4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libccp4.spec'], chrootPath='/var/lib/mock/f33-build-160952-43420/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libccp4.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.s7OiV1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libccp4-6.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libccp4-6.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libccp4-6.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libccp4-pkgconfig.patch):' Patch #0 (libccp4-pkgconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file libccp4f.pc.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RzitvY + umask 022 + cd /builddir/build/BUILD + cd libccp4-6.5.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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 ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgfortran... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for riscv64-redhat-linux-gnu-nagfor... no checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... no checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for m4... /usr/bin/m4 configure: fortran/unix.m4 will be processed with m4 -D_gfort=1 checking for library containing cos... -lm checking for MMDB_CCIF_Init in -lmmdb2... no configure: WARNING: mmdb2 library not found. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libccp4c.pc config.status: creating libccp4f.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make -j4 m4 -D_gfort=1 fortran/unix.m4 > fortran/unix.f make all-am make[1]: Entering directory '/builddir/build/BUILD/libccp4-6.5.1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/ccp4_array.lo ccp4/ccp4_array.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_data.lo ccp4/cmap_data.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmtzlib.lo ccp4/cmtzlib.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/ccp4_general.lo ccp4/ccp4_general.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/ccp4_array.c -fPIC -DPIC -o ccp4/.libs/ccp4_array.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmtzlib.c -fPIC -DPIC -o ccp4/.libs/cmtzlib.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_data.c -fPIC -DPIC -o ccp4/.libs/cmap_data.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/ccp4_general.c -fPIC -DPIC -o ccp4/.libs/ccp4_general.o ccp4/ccp4_general.c:230:20: warning: 'get_parent_directory' defined but not used [-Wunused-function] 230 | static const char* get_parent_directory(const char* arg) | ^~~~~~~~~~~~~~~~~~~~ ccp4/cmtzlib.c: In function 'MtzAssignHKLtoBase': ccp4/cmtzlib.c:2194:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2194 | for (i = 0; i < mtz->nxtal; ++i) | ^~~ ccp4/cmtzlib.c:2202:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2202 | assign: | ^~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_header.lo ccp4/cmap_header.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_header.c -fPIC -DPIC -o ccp4/.libs/cmap_header.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/csymlib.lo ccp4/csymlib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/csymlib.c -fPIC -DPIC -o ccp4/.libs/csymlib.o In file included from /usr/include/string.h:495, from ccp4/cmap_header.c:19: In function 'strncpy', inlined from 'parse_mapheader' at ccp4/cmap_header.c:80:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parse_mapheader' at ccp4/cmap_header.c:83:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parse_mapheader' at ccp4/cmap_header.c:86:33: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parse_mapheader' at ccp4/cmap_header.c:87:32: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/ccp4_parser.lo ccp4/ccp4_parser.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_labels.lo ccp4/cmap_labels.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/ccp4_parser.c -fPIC -DPIC -o ccp4/.libs/ccp4_parser.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_labels.c -fPIC -DPIC -o ccp4/.libs/cmap_labels.o In file included from /usr/include/string.h:495, from ccp4/cmap_labels.c:19: In function 'strncpy', inlined from 'write_maplabels' at ccp4/cmap_labels.c:66:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/cmap_labels.c: In function 'write_maplabels': ccp4/cmap_labels.c:64:12: note: length computed here 64 | slen = strlen(mfile->labels.labels[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ccp4/ccp4_parser.c:90: In function 'strncpy', inlined from 'ccp4_parse_delimiters' at ccp4/ccp4_parser.c:315:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/ccp4_parser.c: In function 'ccp4_parse_delimiters': ccp4/ccp4_parser.c:307:16: note: length computed here 307 | ldelim = strlen(defdelim) + 1; | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ccp4/ccp4_parser.c:90: In function 'strncpy', inlined from 'ccp4_parse_delimiters' at ccp4/ccp4_parser.c:332:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/ccp4_parser.c: In function 'ccp4_parse_delimiters': ccp4/ccp4_parser.c:324:20: note: length computed here 324 | lnulldelim = strlen(defnulldelim) + 1; | ^~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cvecmat.lo ccp4/cvecmat.c In file included from /usr/include/string.h:495, from ccp4/ccp4_parser.c:90: In function 'strncpy', inlined from 'ccp4_parse_comments' at ccp4/ccp4_parser.c:388:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/ccp4_parser.c: In function 'ccp4_parse_comments': ccp4/ccp4_parser.c:381:18: note: length computed here 381 | lcomment = strlen(def_comment_chars) + 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cvecmat.c -fPIC -DPIC -o ccp4/.libs/cvecmat.o In file included from /usr/include/string.h:495, from ccp4/ccp4_parser.c:90: In function 'strncpy', inlined from 'ccp4_keymatch' at ccp4/ccp4_parser.c:1086:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/ccp4_parser.c: In function 'ccp4_keymatch': ccp4/ccp4_parser.c:1075:10: note: length computed here 1075 | len1 = strlen(keyin1); | ^~~~~~~~~~~~~~ ccp4/cmtzlib.c: In function 'ccp4_lrrefl': ccp4/cmtzlib.c:1517:39: warning: 'refldata' may be used uninitialized in this function [-Wmaybe-uninitialized] 1517 | adata[colin - 1] = refldata[colin - 1]; | ^ ccp4/cmtzlib.c: In function 'ccp4_lrreff': ccp4/cmtzlib.c:1588:34: warning: 'refldata' may be used uninitialized in this function [-Wmaybe-uninitialized] 1588 | adata[icol] = refldata[colin - 1]; | ^ ccp4/ccp4_parser.c: In function 'ccp4_parse': ccp4/ccp4_parser.c:699:4: warning: 'ibeg' may be used uninitialized in this function [-Wmaybe-uninitialized] 699 | strncpy(tokenarray[ntok].fullstring,&line[ibeg],lword); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/ccp4_program.lo ccp4/ccp4_program.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/ccp4_program.c -fPIC -DPIC -o ccp4/.libs/ccp4_program.o ccp4/ccp4_program.c: In function 'ccp4_vers_no': ccp4/ccp4_program.c:68:12: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fgets(ccp4version,MAXLEN_PROGVERSION,cfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ccp4/cmtzlib.c:24: In function 'strncpy', inlined from 'ccp4_lrbat' at ccp4/cmtzlib.c:1936:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ccp4_lrbat' at ccp4/cmtzlib.c:1937:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ccp4_lrbat' at ccp4/cmtzlib.c:1938:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ccp4_lrbat' at ccp4/cmtzlib.c:1939:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/csymlib.c: In function 'range_to_limits': ccp4/csymlib.c:1825:37: warning: 'value2' may be used uninitialized in this function [-Wmaybe-uninitialized] 1825 | if (frac) limits[0] = value1/value2; | ~~~~~~^~~~~~~ ccp4/csymlib.c:1825:37: warning: 'value1' may be used uninitialized in this function [-Wmaybe-uninitialized] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_open.lo ccp4/cmap_open.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_open.c -fPIC -DPIC -o ccp4/.libs/cmap_open.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/library_err.lo ccp4/library_err.c In function 'strncpy', inlined from 'ccp4_lwbat' at ccp4/cmtzlib.c:2426:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 94 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ccp4_lwbat' at ccp4/cmtzlib.c:2427:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 24 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ccp4_lwbat' at ccp4/cmtzlib.c:2428:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 16 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ccp4_lwbat' at ccp4/cmtzlib.c:2429:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/library_err.c -fPIC -DPIC -o ccp4/.libs/library_err.o In file included from /usr/include/string.h:495, from ccp4/csymlib.c:24: In function 'strncpy', inlined from 'ccp4spg_load_spacegroup' at ccp4/csymlib.c:388:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 15359 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/csymlib.c: In function 'ccp4spg_load_spacegroup': ccp4/csymlib.c:269:14: warning: 'sg_ccp4_num' may be used uninitialized in this function [-Wmaybe-uninitialized] 269 | if (sg_ccp4_num == ccp4numspg) | ^ ccp4/csymlib.c:266:14: warning: 'sg_num' may be used uninitialized in this function [-Wmaybe-uninitialized] 266 | if (sg_num == numspg) | ^ ccp4/csymlib.c:295:17: warning: 'op3' may be used uninitialized in this function [-Wmaybe-uninitialized] 295 | if (ccp4_spgrp_equal(nsym1,op3,nsym2,op2)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/library_err.c: In function 'CFile_Perror': ccp4/library_err.c:247:26: warning: comparison between pointer and zero character constant [-Wpointer-compare] 247 | if (msg == NULL || msg == '\0') colon = ""; | ^~ ccp4/library_err.c:247:22: note: did you mean to dereference the pointer? 247 | if (msg == NULL || msg == '\0') colon = ""; | ^ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/ccp4_unitcell.lo ccp4/ccp4_unitcell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/ccp4_unitcell.c -fPIC -DPIC -o ccp4/.libs/ccp4_unitcell.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_skew.lo ccp4/cmap_skew.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_skew.c -fPIC -DPIC -o ccp4/.libs/cmap_skew.o In function 'strncpy', inlined from 'MtzGetUserCellTolerance' at ccp4/cmtzlib.c:422:19: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'MtzGetUserCellTolerance' at ccp4/cmtzlib.c:496:19: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'MtzGetUserCellTolerance' at ccp4/cmtzlib.c:665:19: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'MtzGetUserCellTolerance' at ccp4/cmtzlib.c:741:19: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'MtzGetUserCellTolerance' at ccp4/cmtzlib.c:778:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'MtzGetUserCellTolerance' at ccp4/cmtzlib.c:520:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 74 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/cmtzlib.c: In function 'MtzGetUserCellTolerance': ccp4/cmtzlib.c:86:14: warning: 'jxtal' may be used uninitialized in this function [-Wmaybe-uninitialized] 86 | int ixtal, jxtal, iset, iiset, icset, nxtal=0, nset[MXTALS]={0}, isym=0; | ^~~~~ ccp4/cmtzlib.c:782:7: warning: 'nbat' may be used uninitialized in this function [-Wmaybe-uninitialized] 782 | for (ibat = 0; ibat < nbat; ++ibat) { | ^~~ ccp4/cmtzlib.c:390:13: warning: 'nref' may be used uninitialized in this function [-Wmaybe-uninitialized] 390 | mtz->nref = nref; | ~~~~~~~~~~^~~~~~ ccp4/cmtzlib.c:292:11: warning: 'newproj' may be used uninitialized in this function [-Wmaybe-uninitialized] 292 | if (newproj == 1) { | ^ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/library_file.lo ccp4/library_file.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_accessor.lo ccp4/cmap_accessor.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_stats.lo ccp4/cmap_stats.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/library_file.c -fPIC -DPIC -o ccp4/.libs/library_file.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_accessor.c -fPIC -DPIC -o ccp4/.libs/cmap_accessor.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_stats.c -fPIC -DPIC -o ccp4/.libs/cmap_stats.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/library_utils.lo ccp4/library_utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/library_utils.c -fPIC -DPIC -o ccp4/.libs/library_utils.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_close.lo ccp4/cmap_close.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_close.c -fPIC -DPIC -o ccp4/.libs/cmap_close.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/cmap_symop.lo ccp4/cmap_symop.c In file included from /usr/include/string.h:495, from ccp4/ccp4_sysdep.h:84, from ccp4/library_utils.c:44: In function 'strncpy', inlined from 'ccp4_utils_joinfilenames' at ccp4/library_utils.c:543:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/library_utils.c: In function 'ccp4_utils_joinfilenames': ccp4/library_utils.c:534:12: note: length computed here 534 | lendir = strlen(dir); | ^~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/cmap_symop.c -fPIC -DPIC -o ccp4/.libs/cmap_symop.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ccp4/pack_c.lo ccp4/pack_c.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ccp4/pack_c.c -fPIC -DPIC -o ccp4/.libs/pack_c.o ccp4/pack_c.c: In function 'pack_chunk': ccp4/pack_c.c:848:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 848 | { for (i = nmbr, j = 0; i > 1; i /= 2, ++j); | ^~~ ccp4/pack_c.c:849:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 849 | descriptor[0] = j; | ^~~~~~~~~~ ccp4/pack_c.c: In function 'v2pack_chunk': ccp4/pack_c.c:897:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 897 | { for (i = nmbr, j = 0; i > 1; i /= 2, ++j); | ^~~ ccp4/pack_c.c:898:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 898 | descriptor[0] = j; | ^~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-ccp4_diskio_f.lo `test -f 'fortran/ccp4_diskio_f.c' || echo './'`fortran/ccp4_diskio_f.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/ccp4_diskio_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-ccp4_diskio_f.o fortran/ccp4_diskio_f.c: In function 'qopen_': fortran/ccp4_diskio_f.c:156:37: warning: 'istat' may be used uninitialized in this function [-Wmaybe-uninitialized] 156 | if (!(_ioChannels[*iunit]->iobj = ccp4_file_open (fname, | ^~~~~~~~~~~~~~~~~~~~~~ 157 | file_attribute[istat]) ) ) { | ~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ccp4/cmtzlib.c:24: In function 'strncpy', inlined from 'MtzPut' at ccp4/cmtzlib.c:2615:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'MtzPut' at ccp4/cmtzlib.c:2659:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/cmtzlib.c: In function 'MtzPut': ccp4/cmtzlib.c:2721:27: warning: '%74s' directive writing between 74 and 80 bytes into a region of size 76 [-Wformat-overflow=] 2721 | sprintf(hdrrec,"SYMM %74s",symline); | ^~~~ ~~~~~~~ In file included from /usr/include/stdio.h:871, from ccp4/cmtzlib.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 80 and 86 bytes into a destination of size 81 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/cmtzlib.c:2815:45: warning: '%1X' directive writing between 1 and 8 bytes into a region of size 7 [-Wformat-overflow=] 2815 | sprintf(hdrrec,"COLGRP %-30s %-30s %-4s %1X %4d","M/ISYM",mtz->xtal[i]->set[j]->col[k]->grpname,mtz->xtal[i]->set[j]->col[k]->grptype,mtz->xtal[i]->set[j]->col[k]->grpposn,mtz->xtal[i]->set[j]->setid); | ^~~ ccp4/cmtzlib.c:2815:20: note: directive argument in the range [0, 2147483647] 2815 | sprintf(hdrrec,"COLGRP %-30s %-30s %-4s %1X %4d","M/ISYM",mtz->xtal[i]->set[j]->col[k]->grpname,mtz->xtal[i]->set[j]->col[k]->grptype,mtz->xtal[i]->set[j]->col[k]->grpposn,mtz->xtal[i]->set[j]->setid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from ccp4/cmtzlib.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 81 and 95 bytes into a destination of size 81 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/cmtzlib.c:2817:45: warning: '%1X' directive writing between 1 and 8 bytes into a region of size 7 [-Wformat-overflow=] 2817 | sprintf(hdrrec,"COLGRP %-30s %-30s %-4s %1X %4d",mtz->xtal[i]->set[j]->col[k]->label,mtz->xtal[i]->set[j]->col[k]->grpname,mtz->xtal[i]->set[j]->col[k]->grptype,mtz->xtal[i]->set[j]->col[k]->grpposn,mtz->xtal[i]->set[j]->setid); | ^~~ ccp4/cmtzlib.c:2817:20: note: directive argument in the range [0, 2147483647] 2817 | sprintf(hdrrec,"COLGRP %-30s %-30s %-4s %1X %4d",mtz->xtal[i]->set[j]->col[k]->label,mtz->xtal[i]->set[j]->col[k]->grpname,mtz->xtal[i]->set[j]->col[k]->grptype,mtz->xtal[i]->set[j]->col[k]->grpposn,mtz->xtal[i]->set[j]->setid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from ccp4/cmtzlib.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 81 and 95 bytes into a destination of size 81 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ccp4/cmtzlib.c:24: In function 'strncpy', inlined from 'MtzPut' at ccp4/cmtzlib.c:2931:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccp4/cmtzlib.c: In function 'MtzPut': ccp4/cmtzlib.c:2874:27: warning: 'lastoldbatch' may be used uninitialized in this function [-Wmaybe-uninitialized] 2874 | lastoldbatch->next = batch; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-ccp4_parser_f.lo `test -f 'fortran/ccp4_parser_f.c' || echo './'`fortran/ccp4_parser_f.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/ccp4_parser_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-ccp4_parser_f.o In file included from /usr/include/string.h:495, from fortran/ccp4_diskio_f.c:59: In function 'strncpy', inlined from 'qqinq_' at fortran/ccp4_diskio_f.c:718:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./ccp4/ccp4_utils.h:29, from fortran/ccp4_diskio_f.c:60: fortran/ccp4_diskio_f.c: In function 'qqinq_': fortran/ccp4_diskio_f.c:719:25: note: length computed here 719 | MIN(strlen(_ioChannels[*istrm]->iobj->name), ./ccp4/ccp4_types.h:69:22: note: in definition of macro 'MIN' 69 | #define MIN(x, y) (((x)<(y))?(x):(y)) | ^ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-cmaplib_f.lo `test -f 'fortran/cmaplib_f.c' || echo './'`fortran/cmaplib_f.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/cmaplib_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-cmaplib_f.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-csymlib_f.lo `test -f 'fortran/csymlib_f.c' || echo './'`fortran/csymlib_f.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-ccp4_general_f.lo `test -f 'fortran/ccp4_general_f.c' || echo './'`fortran/ccp4_general_f.c fortran/cmaplib_f.c: In function 'msymop_': fortran/cmaplib_f.c:1236:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1236 | for (k = 0; k !=4 ; k++) | ^~~ fortran/cmaplib_f.c:1238:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1238 | *nsym = 1; } | ^ fortran/cmaplib_f.c: In function 'ccp4_map_read_symm_matrix_': fortran/cmaplib_f.c:1278:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1278 | for (k = 0; k !=4 ; k++) | ^~~ fortran/cmaplib_f.c:1280:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1280 | *nsym = 1; } | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/csymlib_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-csymlib_f.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/ccp4_general_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-ccp4_general_f.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-ccp4_unitcell_f.lo `test -f 'fortran/ccp4_unitcell_f.c' || echo './'`fortran/ccp4_unitcell_f.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/ccp4_unitcell_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-ccp4_unitcell_f.o In file included from fortran/ccp4_general_f.c:34: fortran/ccp4_general_f.c: In function 'ccpfyp_': fortran/ccp4_general_f.c:88:23: warning: implicit declaration of function 'outbuf_' [-Wimplicit-function-declaration] 88 | FORTRAN_CALL(OUTBUF,outbuf,(),(),()); | ^~~~~~ ./ccp4/ccp4_fortran.h:187:5: note: in definition of macro 'FORTRAN_CALL' 187 | name##_ p_sun | ^~~~ fortran/ccp4_general_f.c:114:5: warning: implicit declaration of function '_gfortran_getarg_i4'; did you mean '_gfortran_getarg'? [-Wimplicit-function-declaration] 114 | _gfortran_getarg_i4(&i,arg,arg_len); | ^~~~~~~~~~~~~~~~~~~ | _gfortran_getarg In file included from fortran/ccp4_general_f.c:34: fortran/ccp4_general_f.c:145:29: warning: implicit declaration of function 'ccp4h_init_' [-Wimplicit-function-declaration] 145 | FORTRAN_CALL (CCP4H_INIT, ccp4h_init, (), (), ()); | ^~~~~~~~~~ ./ccp4/ccp4_fortran.h:187:5: note: in definition of macro 'FORTRAN_CALL' 187 | name##_ p_sun | ^~~~ fortran/ccp4_general_f.c: In function 'ccperr_': fortran/ccp4_general_f.c:218:37: warning: implicit declaration of function 'ccp4_fflush_stdout_' [-Wimplicit-function-declaration] 218 | FORTRAN_CALL (CCP4_FFLUSH_STDOUT, ccp4_fflush_stdout, (), (), ()); | ^~~~~~~~~~~~~~~~~~ ./ccp4/ccp4_fortran.h:187:5: note: in definition of macro 'FORTRAN_CALL' 187 | name##_ p_sun | ^~~~ fortran/ccp4_general_f.c:222:38: warning: implicit declaration of function 'ccp4h_summary_beg_' [-Wimplicit-function-declaration] 222 | FORTRAN_CALL (CCP4H_SUMMARY_BEG, ccp4h_summary_beg, (), (), ()); | ^~~~~~~~~~~~~~~~~ ./ccp4/ccp4_fortran.h:187:5: note: in definition of macro 'FORTRAN_CALL' 187 | name##_ p_sun | ^~~~ fortran/ccp4_general_f.c:230:38: warning: implicit declaration of function 'ccp4h_summary_end_' [-Wimplicit-function-declaration] 230 | FORTRAN_CALL (CCP4H_SUMMARY_END, ccp4h_summary_end, (), (), ()); | ^~~~~~~~~~~~~~~~~ ./ccp4/ccp4_fortran.h:187:5: note: in definition of macro 'FORTRAN_CALL' 187 | name##_ p_sun | ^~~~ fortran/ccp4_general_f.c: In function 'ccpvrs_': fortran/ccp4_general_f.c:376:32: warning: implicit declaration of function 'ccp4h_pre_beg_' [-Wimplicit-function-declaration] 376 | FORTRAN_CALL (CCP4H_PRE_BEG, ccp4h_pre_beg, (), (), ()); | ^~~~~~~~~~~~~ ./ccp4/ccp4_fortran.h:187:5: note: in definition of macro 'FORTRAN_CALL' 187 | name##_ p_sun | ^~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-cmtzlib_f.lo `test -f 'fortran/cmtzlib_f.c' || echo './'`fortran/cmtzlib_f.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fortran/fortran_libccp4f_la-library_f.lo `test -f 'fortran/library_f.c' || echo './'`fortran/library_f.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/cmtzlib_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-cmtzlib_f.o In file included from /usr/include/string.h:495, from fortran/cmaplib_f.c:46: In function 'strncpy', inlined from 'mrdhds_' at fortran/cmaplib_f.c:713:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./ccp4/ccp4_utils.h:29, from ./ccp4/cmaplib.h:58, from ./ccp4/cmaplib_f.h:22, from fortran/cmaplib_f.c:49: fortran/cmaplib_f.c: In function 'mrdhds_': fortran/cmaplib_f.c:713:32: note: length computed here 713 | strncpy(title,temp_title,MIN(strlen(temp_title),FTN_LEN(title))); ./ccp4/ccp4_types.h:69:22: note: in definition of macro 'MIN' 69 | #define MIN(x, y) (((x)<(y))?(x):(y)) | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./ccp4 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortran/library_f.c -fPIC -DPIC -o fortran/.libs/fortran_libccp4f_la-library_f.o In file included from /usr/include/string.h:495, from fortran/cmaplib_f.c:46: In function 'strncpy', inlined from 'ccp4_map_read_open_header_' at fortran/cmaplib_f.c:917:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./ccp4/ccp4_utils.h:29, from ./ccp4/cmaplib.h:58, from ./ccp4/cmaplib_f.h:22, from fortran/cmaplib_f.c:49: fortran/cmaplib_f.c: In function 'ccp4_map_read_open_header_': fortran/cmaplib_f.c:917:32: note: length computed here 917 | strncpy(title,temp_title,MIN(strlen(temp_title),FTN_LEN(title))); ./ccp4/ccp4_types.h:69:22: note: in definition of macro 'MIN' 69 | #define MIN(x, y) (((x)<(y))?(x):(y)) | ^ In file included from fortran/cmtzlib_f.c:70: fortran/cmtzlib_f.c: In function 'mtzini_': fortran/cmtzlib_f.c:152:33: warning: implicit declaration of function 'ccp4h_init_lib_' [-Wimplicit-function-declaration] 152 | FORTRAN_CALL (CCP4H_INIT_LIB, ccp4h_init_lib, (&ihtml,&isumm), (&ihtml,&isumm), (&ihtml,&isumm)); | ^~~~~~~~~~~~~~ ./ccp4/ccp4_fortran.h:187:5: note: in definition of macro 'FORTRAN_CALL' 187 | name##_ p_sun | ^~~~ fortran/cmtzlib_f.c: In function 'lrhist_': fortran/cmtzlib_f.c:277:43: warning: passing argument 2 of 'ccp4_lrhist' from incompatible pointer type [-Wincompatible-pointer-types] 277 | *nlines = ccp4_lrhist(mtzdata[*mindx-1], hstrng, *nlines); | ^~~~~~ | | | fpstr {aka char *} In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:668:38: note: expected 'char (*)[80]' but argument is of type 'fpstr' {aka 'char *'} 668 | int ccp4_lrhist(const MTZ *mtz, char history[][MTZRECORDLENGTH], int nlines); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lkyin_': fortran/cmtzlib_f.c:632:31: warning: passing argument 2 of 'MtzParseLabin' from incompatible pointer type [-Wincompatible-pointer-types] 632 | if (MtzParseLabin(temp_name,label,*nlprgi,user_label_in[*mindx-1]) == -1) | ^~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:738:48: note: expected 'const char (*)[31]' but argument is of type 'char *' 738 | int MtzParseLabin(char *labin_line, const char prog_labels[][31], | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lkyout_': fortran/cmtzlib_f.c:686:31: warning: passing argument 2 of 'MtzParseLabin' from incompatible pointer type [-Wincompatible-pointer-types] 686 | if (MtzParseLabin(temp_name,label,*nlprgo,user_label_out[*mindx-1]) == -1) | ^~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:738:48: note: expected 'const char (*)[31]' but argument is of type 'char *' 738 | int MtzParseLabin(char *labin_line, const char prog_labels[][31], | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lkyset_': fortran/cmtzlib_f.c:731:31: warning: passing argument 2 of 'MtzParseLabin' from incompatible pointer type [-Wincompatible-pointer-types] 731 | if (MtzParseLabin(temp_name,label,*nlprgi,user_lab) == -1) | ^~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:738:48: note: expected 'const char (*)[31]' but argument is of type 'char *' 738 | int MtzParseLabin(char *labin_line, const char prog_labels[][31], | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ fortran/cmtzlib_f.c:731:45: warning: passing argument 4 of 'MtzParseLabin' from incompatible pointer type [-Wincompatible-pointer-types] 731 | if (MtzParseLabin(temp_name,label,*nlprgi,user_lab) == -1) | ^~~~~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:739:28: note: expected 'char (*)[2][31]' but argument is of type 'char *' 739 | const int nlprgi, char user_labels[][2][31]); | ~~~~~^~~~~~~~~~~~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lrassn_': fortran/cmtzlib_f.c:830:44: warning: passing argument 2 of 'ccp4_lrassn' from incompatible pointer type [-Wincompatible-pointer-types] 830 | colarray = ccp4_lrassn(mtzdata[*mindx-1],label,*nlprgi,type); | ^~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:754:49: note: expected 'const char (*)[31]' but argument is of type 'char *' 754 | MTZCOL **ccp4_lrassn(const MTZ *mtz, const char labels[][31], const int nlabels, | ~~~~~~~~~~~^~~~~~~~~~~~ fortran/cmtzlib_f.c:830:58: warning: passing argument 4 of 'ccp4_lrassn' from incompatible pointer type [-Wincompatible-pointer-types] 830 | colarray = ccp4_lrassn(mtzdata[*mindx-1],label,*nlprgi,type); | ^~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:755:8: note: expected 'char (*)[3]' but argument is of type 'char *' 755 | char types[][3]); | ~~~~~^~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lrrefl_': fortran/cmtzlib_f.c:1159:11: warning: variable 'biomol' set but not used [-Wunused-but-set-variable] 1159 | int ieof,biomol,mindex; | ^~~~~~ fortran/cmtzlib_f.c: In function 'lrreff_': fortran/cmtzlib_f.c:1210:23: warning: passing argument 5 of 'ccp4_lrreff' from incompatible pointer type [-Wincompatible-pointer-types] 1210 | collookup[mindex-1], ndatmss[mindex-1], irref[mindex-1]); | ~~~~~~~~~^~~~~~~~~~ | | | MTZCOL ** In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:808:17: note: expected 'const MTZCOL **' but argument is of type 'MTZCOL **' 808 | const MTZCOL *lookup[], const int ncols, const int iref); | ~~~~~~~~~~~~~~^~~~~~~~ fortran/cmtzlib_f.c:1193:11: warning: variable 'biomol' set but not used [-Wunused-but-set-variable] 1193 | int ieof,biomol,mindex; | ^~~~~~ fortran/cmtzlib_f.c: In function 'lwhist_': fortran/cmtzlib_f.c:1807:35: warning: passing argument 2 of 'MtzAddHistory' from incompatible pointer type [-Wincompatible-pointer-types] 1807 | MtzAddHistory(mtzdata[*mindx-1], hstrng, *nlines); | ^~~~~~ | | | fpstr {aka char *} In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:875:40: note: expected 'const char (*)[80]' but argument is of type 'fpstr' {aka 'char *'} 875 | int MtzAddHistory(MTZ *mtz, const char history[][MTZRECORDLENGTH], const int nlines); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lwhstl_': fortran/cmtzlib_f.c:1859:35: warning: passing argument 2 of 'MtzAddHistory' from incompatible pointer type [-Wincompatible-pointer-types] 1859 | MtzAddHistory(mtzdata[*mindx-1], hline, 1); | ^~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:875:40: note: expected 'const char (*)[80]' but argument is of type 'char *' 875 | int MtzAddHistory(MTZ *mtz, const char history[][MTZRECORDLENGTH], const int nlines); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lwid_': fortran/cmtzlib_f.c:1898:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1898 | if (MtzXtalLookup(mtz,temp_xname) == NULL && | ^~ fortran/cmtzlib_f.c:1903:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1903 | ccp4_lwidx(mtz, temp_xname, temp_dname, temp_pname, datcell, &datwave); | ^~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lwassn_': fortran/cmtzlib_f.c:2432:46: warning: passing argument 2 of 'ccp4_lwassn' from incompatible pointer type [-Wincompatible-pointer-types] 2432 | colarray = ccp4_lwassn(mtzdata[*mindx-1],label,*nlprgo,type,*iappnd); | ^~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:935:43: note: expected 'const char (*)[31]' but argument is of type 'char *' 935 | MTZCOL **ccp4_lwassn(MTZ *mtz, const char labels[][31], const int nlabels, | ~~~~~~~~~~~^~~~~~~~~~~~ fortran/cmtzlib_f.c:2432:60: warning: passing argument 4 of 'ccp4_lwassn' from incompatible pointer type [-Wincompatible-pointer-types] 2432 | colarray = ccp4_lwassn(mtzdata[*mindx-1],label,*nlprgo,type,*iappnd); | ^~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:936:25: note: expected 'const char (*)[3]' but argument is of type 'char *' 936 | const char types[][3], const int iappnd); | ~~~~~~~~~~~^~~~~~~~~~ fortran/cmtzlib_f.c: In function 'lwclab_': fortran/cmtzlib_f.c:2510:44: warning: passing argument 2 of 'ccp4_lwassn' from incompatible pointer type [-Wincompatible-pointer-types] 2510 | colarray = ccp4_lwassn(mtzdata[*mindx-1],label,*nlprgo,type,*iappnd); | ^~~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:935:43: note: expected 'const char (*)[31]' but argument is of type 'char *' 935 | MTZCOL **ccp4_lwassn(MTZ *mtz, const char labels[][31], const int nlabels, | ~~~~~~~~~~~^~~~~~~~~~~~ fortran/cmtzlib_f.c:2510:58: warning: passing argument 4 of 'ccp4_lwassn' from incompatible pointer type [-Wincompatible-pointer-types] 2510 | colarray = ccp4_lwassn(mtzdata[*mindx-1],label,*nlprgo,type,*iappnd); | ^~~~ | | | char * In file included from fortran/cmtzlib_f.c:72: ./ccp4/cmtzlib.h:936:25: note: expected 'const char (*)[3]' but argument is of type 'char *' 936 | const char types[][3], const int iappnd); | ~~~~~~~~~~~^~~~~~~~~~ fortran/library_f.c: In function 'ccpal1_': fortran/library_f.c:303:20: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] 303 | pointer[i+1] = calloc ((size_t) length[i], (size_t) size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortran/cmaplib_f.c: In function 'msycpy_': fortran/cmaplib_f.c:1800:34: warning: 'jj' may be used uninitialized in this function [-Wmaybe-uninitialized] 1800 | ccp4_cmap_set_symop(ioArray[jj]->mapfile, symop); | ~~~~~~~^~~~ /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/ccplib.lo fortran/ccplib.f libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/ccplib.f -fPIC -o fortran/.libs/ccplib.o In file included from /usr/include/string.h:495, from fortran/cmaplib_f.c:46: In function 'strncpy', inlined from 'mwfnam_' at fortran/cmaplib_f.c:2110:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./ccp4/ccp4_utils.h:29, from ./ccp4/cmaplib.h:58, from ./ccp4/cmaplib_f.h:22, from fortran/cmaplib_f.c:49: fortran/cmaplib_f.c: In function 'mwfnam_': fortran/cmaplib_f.c:2111:8: note: length computed here 2111 | MIN(strlen(ioArray[last_Write]->logname), ./ccp4/ccp4_types.h:69:22: note: in definition of macro 'MIN' 69 | #define MIN(x, y) (((x)<(y))?(x):(y)) | ^ In file included from /usr/include/string.h:495, from fortran/cmaplib_f.c:46: In function 'strncpy', inlined from 'mrfnam_' at fortran/cmaplib_f.c:2138:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./ccp4/ccp4_utils.h:29, from ./ccp4/cmaplib.h:58, from ./ccp4/cmaplib_f.h:22, from fortran/cmaplib_f.c:49: fortran/cmaplib_f.c: In function 'mrfnam_': fortran/cmaplib_f.c:2139:8: note: length computed here 2139 | MIN(strlen(ioArray[last_Read]->logname), ./ccp4/ccp4_types.h:69:22: note: in definition of macro 'MIN' 69 | #define MIN(x, y) (((x)<(y))?(x):(y)) | ^ f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran In file included from /usr/include/string.h:495, from fortran/cmaplib_f.c:46: In function 'strncpy', inlined from 'mstmst_' at fortran/cmaplib_f.c:2163:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortran/ccplib.f:1039:72: 1039 | 10 IARR1(J)=IARR2(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) fortran/ccplib.f:1064:72: 1064 | 10 ARR1(J)=ARR2(J) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/fftlib.lo fortran/fftlib.f fortran/ccplib.f:1834:72: 1834 | 10 ARR1(J)=0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) fortran/ccplib.f:1856:72: 1856 | 10 IARR1(J)=0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) fortran/ccplib.f:1879:72: 1879 | 10 ARR1(J)=0.0 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1) /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/modlib.lo fortran/modlib.f fortran/ccplib.f:841:19: 841 | IBYT(I) = IA(I) | 1 Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(1) at (1) [-Wconversion] fortran/ccplib.f:903:20: 903 | I2(I) = IA(I) | 1 Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(2) at (1) [-Wconversion] fortran/ccplib.f:1367:72: 1367 | EXTN(ICOUNT) = FEXTN(FILNAM) | 1 Warning: CHARACTER expression will be truncated in assignment (4/200) at (1) [-Wcharacter-truncation] fortran/ccplib.f:1426:72: 1426 | TMPNAM = 'CCP4_SCR:' // PROGNM | 1 Warning: CHARACTER expression will be truncated in assignment (200/209) at (1) [-Wcharacter-truncation] fortran/ccplib.f:2044:26: 2044 | FUNCTION LUNSTO(IDUM) | 1 Warning: Unused dummy argument 'idum' at (1) [-Wunused-dummy-argument] fortran/ccplib.f:1946:37: 1946 | LOGICAL FUNCTION LITEND(IDUM) | 1 Warning: Unused dummy argument 'idum' at (1) [-Wunused-dummy-argument] fortran/ccplib.f:1095:34: 1095 | LOGICAL FUNCTION CCPONL(IDUM) | 1 Warning: Unused dummy argument 'idum' at (1) [-Wunused-dummy-argument] fortran/ccplib.f:2023:26: 2023 | FUNCTION LUNSTI(IDUM) | 1 Warning: Unused dummy argument 'idum' at (1) [-Wunused-dummy-argument] fortran/ccplib.f:2084:34: 2084 | INTEGER IWORD,LSB,NBITS,IVAL,KMSK,KVAL | 1 Warning: Unused variable 'ival' declared at (1) [-Wunused-variable] fortran/ccplib.f:2084:44: 2084 | INTEGER IWORD,LSB,NBITS,IVAL,KMSK,KVAL | 1 Warning: Unused variable 'kval' declared at (1) [-Wunused-variable] libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/fftlib.f -fPIC -o fortran/.libs/fftlib.o libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/modlib.f -fPIC -o fortran/.libs/modlib.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran f951: Warning: Nonconforming tab character in column 2 of line 705 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 706 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 707 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 708 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 713 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 716 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 717 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 718 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 719 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 720 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 721 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 724 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 725 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 728 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 729 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 815 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 818 [-Wtabs] fortran/modlib.f:256:72: 256 | DO 100 I = 1, P | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) fortran/modlib.f:258:72: 258 | DO 100 K = 1, R | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) fortran/modlib.f:259:72: 259 | DO 100 J = 1, Q | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1) fortran/modlib.f:263:72: 263 | 100 D(I,L) = D(I,L) + A(I,J) * B(J,K) * C(K,L) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1) fortran/modlib.f:749:72: 749 | IF (M-2) 30,10,20 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) fortran/fftlib.f:1252:72: 1252 | IF (K-I) 90,130,100 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) fortran/modlib.f:1824:16: 1824 | I=MOD(1802/177,177)+2 | 1 Warning: Integer division truncated to constant '10' at (1) [-Winteger-division] fortran/modlib.f:1826:16: 1826 | K=MOD(9373/169,178)+1 | 1 Warning: Integer division truncated to constant '55' at (1) [-Winteger-division] fortran/modlib.f:1386:18: 1383 | DO 20 J = 2,M | 2 ...... 1386 | A(I,J) = A(J,I) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) fortran/modlib.f:1388:16: 1383 | DO 20 J = 2,M | 2 ...... 1388 | ALPHA(J) = A(J,J) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) fortran/modlib.f:1388:25: 1383 | DO 20 J = 2,M | 2 ...... 1388 | ALPHA(J) = A(J,J) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) fortran/modlib.f:1441:20: 1440 | DO 120 I = 2,M | 2 1441 | H = ALPHA(I) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) fortran/modlib.f:1442:16: 1440 | DO 120 I = 2,M | 2 1441 | H = ALPHA(I) 1442 | ALPHA(I) = A(I,I) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) fortran/modlib.f:1442:25: 1440 | DO 120 I = 2,M | 2 1441 | H = ALPHA(I) 1442 | ALPHA(I) = A(I,I) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) fortran/modlib.f:1443:14: 1440 | DO 120 I = 2,M | 2 ...... 1443 | A(I,I) = H | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) fortran/modlib.f:1066:9: 1066 | IL=G/65536.D0 | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] fortran/modlib.f:1067:9: 1067 | IR=G-65536.D0*FLOAT(IL) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] fortran/modlib.f:2073:8: 2073 | N=V | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] fortran/modlib.f:2380:13: 2380 | M1=X-1 | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] fortran/modlib.f:2434:11: 2434 | NN=N1-(N1-N0)/(1D0-F0/F1) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] fortran/modlib.f:2477:11: 2477 | NN=N1-(N1-N0)/(1D0-F0/F1) | 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] fortran/modlib.f:514:29: 514 | INTEGER INFO, NVECTORS | 1 Warning: Unused variable 'info' declared at (1) [-Wunused-variable] fortran/modlib.f:516:39: 516 | INTEGER ISUPPZ(2*NMAX), IWORK(10*NMAX) | 1 Warning: Unused variable 'isuppz' declared at (1) [-Wunused-variable] fortran/modlib.f:516:55: 516 | INTEGER ISUPPZ(2*NMAX), IWORK(10*NMAX) | 1 Warning: Unused variable 'iwork' declared at (1) [-Wunused-variable] fortran/modlib.f:517:38: 517 | REAL WORK(26*NMAX),EVALUES(NMAX),AM(NMAX,NMAX) | 1 Warning: Unused variable 'work' declared at (1) [-Wunused-variable] In file included from /usr/include/string.h:495, from fortran/cmtzlib_f.c:68: In function 'strncpy', inlined from 'lrbtit_' at fortran/cmtzlib_f.c:1448:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 93 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fortran/modlib.f:2211:0: 2211 | CS=BJV0/F | Warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/modlib.f:2185:0: 2185 | DJ(1)=BJ(0)-(1D0+V0)/X*BJ(1) | Warning: 'bjv0' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:1874:0: 1874 | JJ = MODS + 3 - J | Warning: 'mods' may be used uninitialized in this function [-Wmaybe-uninitialized] /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/parser.lo fortran/parser.f libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/parser.f -fPIC -o fortran/.libs/parser.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran fortran/fftlib.f:874:0: 874 | Y7(K) = I7*C7 - R7*S7 | Warning: 's7' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:872:0: 872 | Y3(K) = I6*C6 - R6*S6 | Warning: 's6' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:870:0: 870 | Y5(K) = I5*C5 - R5*S5 | Warning: 's5' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:868:0: 868 | Y1(K) = I4*C4 - R4*S4 | Warning: 's4' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:866:0: 866 | Y6(K) = I3*C3 - R3*S3 | Warning: 's3' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:864:0: 864 | Y2(K) = I2*C2 - R2*S2 | Warning: 's2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:862:0: 862 | Y4(K) = I1*C1 - R1*S1 | Warning: 's1' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:874:0: 874 | Y7(K) = I7*C7 - R7*S7 | Warning: 'c7' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:872:0: 872 | Y3(K) = I6*C6 - R6*S6 | Warning: 'c6' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:870:0: 870 | Y5(K) = I5*C5 - R5*S5 | Warning: 'c5' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:868:0: 868 | Y1(K) = I4*C4 - R4*S4 | Warning: 'c4' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:866:0: 866 | Y6(K) = I3*C3 - R3*S3 | Warning: 'c3' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:864:0: 864 | Y2(K) = I2*C2 - R2*S2 | Warning: 'c2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:862:0: 862 | Y4(K) = I1*C1 - R1*S1 | Warning: 'c1' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/parser.f:634:37: 634 | SUBROUTINE PUTLIN(STROUT,OUTWIN) | 1 Warning: Unused dummy argument 'outwin' at (1) [-Wunused-dummy-argument] fortran/parser.f:910:55: 910 | SUBROUTINE RDHEAD(JTOK,LINE,IBEG,IEND,ITYP,FVALUE,NTOK, | 1 Warning: Unused dummy argument 'fvalue' at (1) [-Wunused-dummy-argument] fortran/parser.f:910:48: 910 | SUBROUTINE RDHEAD(JTOK,LINE,IBEG,IEND,ITYP,FVALUE,NTOK, | 1 Warning: Unused dummy argument 'ityp' at (1) [-Wunused-dummy-argument] /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/rwbrook.lo fortran/rwbrook.f fortran/fftlib.f:692:0: 692 | Y4(K) = I4*C4 - R4*S4 | Warning: 's4' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:690:0: 690 | Y3(K) = I3*C3 - R3*S3 | Warning: 's3' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:688:0: 688 | Y2(K) = I2*C2 - R2*S2 | Warning: 's2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:686:0: 686 | Y1(K) = I1*C1 - R1*S1 | Warning: 's1' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:692:0: 692 | Y4(K) = I4*C4 - R4*S4 | Warning: 'c4' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:690:0: 690 | Y3(K) = I3*C3 - R3*S3 | Warning: 'c3' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:688:0: 688 | Y2(K) = I2*C2 - R2*S2 | Warning: 'c2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:686:0: 686 | Y1(K) = I1*C1 - R1*S1 | Warning: 'c1' may be used uninitialized in this function [-Wmaybe-uninitialized] libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/rwbrook.f -fPIC -o fortran/.libs/rwbrook.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran f951: Warning: Nonconforming tab character in column 2 of line 34 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 254 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 306 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 612 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 786 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 881 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 1003 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 1069 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 1675 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 1698 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 2184 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 2716 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 2840 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 2901 [-Wtabs] f951: Warning: Nonconforming tab character in column 2 of line 2926 [-Wtabs] fortran/modlib.f:2338:0: 2338 | CS=BJV0/F | Warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/modlib.f:2338:0: Warning: 'bjv0' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:562:0: 562 | Y3(K) = I3*C3 - R3*S3 | Warning: 's3' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:560:0: 560 | Y1(K) = I2*C2 - R2*S2 | Warning: 's2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:558:0: 558 | Y2(K) = I1*C1 - R1*S1 | Warning: 's1' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:562:0: 562 | Y3(K) = I3*C3 - R3*S3 | Warning: 'c3' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:560:0: 560 | Y1(K) = I2*C2 - R2*S2 | Warning: 'c2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:558:0: 558 | Y2(K) = I1*C1 - R1*S1 | Warning: 'c1' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/rwbrook.f:1633:72: 1633 | DO 10 J=1,4 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 10 at (1) fortran/rwbrook.f:1651:72: 1651 | DO 20 J=1,3 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) fortran/rwbrook.f:2314:72: 2314 | DO 10 J=1,3 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 10 at (1) fortran/rwbrook.f:2320:72: 2320 | DO 20 J=1,3 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1) fortran/rwbrook.f:2374:72: 2374 | 1 CELLD(I) = CELL(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1) fortran/rwbrook.f:2410:72: 2410 | 1 RCEL(I) = CELLAS(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1) fortran/rwbrook.f:2817:72: 2817 | DO 40 J = 1,3 | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 40 at (1) fortran/rwbrook.f:487:72: 487 | BRKSPGRP = SPGCHK | 1 Warning: CHARACTER expression will be truncated in assignment (15/30) at (1) [-Wcharacter-truncation] fortran/rwbrook.f:714:31: 714 | INTEGER I,II,IRET,IRE,ITE | 1 Warning: Unused variable 'ite' declared at (1) [-Wunused-variable] fortran/rwbrook.f:716:26: 716 | CHARACTER*6 ITYPE(7) | 1 Warning: Unused variable 'itype' declared at (1) [-Wunused-variable] fortran/rwbrook.f:823:26: 823 | CHARACTER*6 ITYPE(7) | 1 Warning: Unused variable 'itype' declared at (1) [-Wunused-variable] fortran/rwbrook.f:831:19: 831 | REAL U(6),OCC,X,Y,Z | 1 Warning: Unused variable 'occ' declared at (1) [-Wunused-variable] fortran/rwbrook.f:831:15: 831 | REAL U(6),OCC,X,Y,Z | 1 Warning: Unused variable 'u' declared at (1) [-Wunused-variable] fortran/rwbrook.f:831:21: 831 | REAL U(6),OCC,X,Y,Z | 1 Warning: Unused variable 'x' declared at (1) [-Wunused-variable] fortran/rwbrook.f:831:23: 831 | REAL U(6),OCC,X,Y,Z | 1 Warning: Unused variable 'y' declared at (1) [-Wunused-variable] fortran/rwbrook.f:831:25: 831 | REAL U(6),OCC,X,Y,Z | 1 Warning: Unused variable 'z' declared at (1) [-Wunused-variable] fortran/rwbrook.f:953:23: 953 | CHARACTER ATNAM*4,RESNAM*4,RESNO*4,ID*4,CHNNAM*1,SEGID*4 | 1 Warning: Unused variable 'atnam' declared at (1) [-Wunused-variable] fortran/rwbrook.f:953:54: 953 | CHARACTER ATNAM*4,RESNAM*4,RESNO*4,ID*4,CHNNAM*1,SEGID*4 | 1 Warning: Unused variable 'chnnam' declared at (1) [-Wunused-variable] fortran/rwbrook.f:953:45: 953 | CHARACTER ATNAM*4,RESNAM*4,RESNO*4,ID*4,CHNNAM*1,SEGID*4 | 1 Warning: Unused variable 'id' declared at (1) [-Wunused-variable] fortran/rwbrook.f:951:19: 951 | INTEGER IRESN,ISER,IZ | 1 Warning: Unused variable 'iresn' declared at (1) [-Wunused-variable] fortran/rwbrook.f:951:24: 951 | INTEGER IRESN,ISER,IZ | 1 Warning: Unused variable 'iser' declared at (1) [-Wunused-variable] fortran/rwbrook.f:951:27: 951 | INTEGER IRESN,ISER,IZ | 1 Warning: Unused variable 'iz' declared at (1) [-Wunused-variable] fortran/rwbrook.f:953:32: 953 | CHARACTER ATNAM*4,RESNAM*4,RESNO*4,ID*4,CHNNAM*1,SEGID*4 | 1 Warning: Unused variable 'resnam' declared at (1) [-Wunused-variable] fortran/rwbrook.f:953:40: 953 | CHARACTER ATNAM*4,RESNAM*4,RESNO*4,ID*4,CHNNAM*1,SEGID*4 | 1 Warning: Unused variable 'resno' declared at (1) [-Wunused-variable] fortran/rwbrook.f:953:62: 953 | CHARACTER ATNAM*4,RESNAM*4,RESNO*4,ID*4,CHNNAM*1,SEGID*4 | 1 Warning: Unused variable 'segid' declared at (1) [-Wunused-variable] fortran/rwbrook.f:949:22: 949 | REAL EIGHTPI2,XX,YY,ZZ | 1 Warning: Unused variable 'xx' declared at (1) [-Wunused-variable] fortran/rwbrook.f:949:25: 949 | REAL EIGHTPI2,XX,YY,ZZ | 1 Warning: Unused variable 'yy' declared at (1) [-Wunused-variable] fortran/rwbrook.f:949:28: 949 | REAL EIGHTPI2,XX,YY,ZZ | 1 Warning: Unused variable 'zz' declared at (1) [-Wunused-variable] /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/libhtml.lo fortran/libhtml.f fortran/rwbrook.f:333:13: 333 | REAL AM,BM,RCHK1,RCHK2,FAC | 1 Warning: Unused variable 'am' declared at (1) [-Wunused-variable] fortran/rwbrook.f:333:16: 333 | REAL AM,BM,RCHK1,RCHK2,FAC | 1 Warning: Unused variable 'bm' declared at (1) [-Wunused-variable] fortran/rwbrook.f:348:16: 348 | REAL ERROR,VOLCHK | 1 Warning: Unused variable 'error' declared at (1) [-Wunused-variable] fortran/rwbrook.f:332:39: 332 | INTEGER IFAIL,IUNIT,ICRYST,II,III,JJ,K,ISYM | 1 Warning: Unused variable 'iii' declared at (1) [-Wunused-variable] fortran/rwbrook.f:350:21: 350 | INTEGER I,IORTH,IFILTYP,J,LL,ILEN,KLEN | 1 Warning: Unused variable 'iorth' declared at (1) [-Wunused-variable] fortran/rwbrook.f:343:52: 343 | integer nsymchk,lspgrp,nsymppdbs,nsympdbs,ist | 1 Warning: Unused variable 'ist' declared at (1) [-Wunused-variable] fortran/rwbrook.f:332:49: 332 | INTEGER IFAIL,IUNIT,ICRYST,II,III,JJ,K,ISYM | 1 Warning: Unused variable 'isym' declared at (1) [-Wunused-variable] fortran/rwbrook.f:350:31: 350 | INTEGER I,IORTH,IFILTYP,J,LL,ILEN,KLEN | 1 Warning: Unused variable 'j' declared at (1) [-Wunused-variable] fortran/rwbrook.f:332:42: 332 | INTEGER IFAIL,IUNIT,ICRYST,II,III,JJ,K,ISYM | 1 Warning: Unused variable 'jj' declared at (1) [-Wunused-variable] fortran/rwbrook.f:332:44: 332 | INTEGER IFAIL,IUNIT,ICRYST,II,III,JJ,K,ISYM | 1 Warning: Unused variable 'k' declared at (1) [-Wunused-variable] fortran/rwbrook.f:350:44: 350 | INTEGER I,IORTH,IFILTYP,J,LL,ILEN,KLEN | 1 Warning: Unused variable 'klen' declared at (1) [-Wunused-variable] fortran/rwbrook.f:343:29: 343 | integer nsymchk,lspgrp,nsymppdbs,nsympdbs,ist | 1 Warning: Unused variable 'lspgrp' declared at (1) [-Wunused-variable] fortran/rwbrook.f:345:39: 345 | character NAMSPG_CIFS*20,nampg*10 | 1 Warning: Unused variable 'nampg' declared at (1) [-Wunused-variable] fortran/rwbrook.f:345:30: 345 | character NAMSPG_CIFS*20,nampg*10 | 1 Warning: Unused variable 'namspg_cifs' declared at (1) [-Wunused-variable] fortran/rwbrook.f:343:22: 343 | integer nsymchk,lspgrp,nsymppdbs,nsympdbs,ist | 1 Warning: Unused variable 'nsymchk' declared at (1) [-Wunused-variable] fortran/rwbrook.f:343:48: 343 | integer nsymchk,lspgrp,nsymppdbs,nsympdbs,ist | 1 Warning: Unused variable 'nsympdbs' declared at (1) [-Wunused-variable] fortran/rwbrook.f:343:39: 343 | integer nsymchk,lspgrp,nsymppdbs,nsympdbs,ist | 1 Warning: Unused variable 'nsymppdbs' declared at (1) [-Wunused-variable] fortran/rwbrook.f:356:17: 356 | REAL P(4,4) | 1 Warning: Unused variable 'p' declared at (1) [-Wunused-variable] fortran/rwbrook.f:333:22: 333 | REAL AM,BM,RCHK1,RCHK2,FAC | 1 Warning: Unused variable 'rchk1' declared at (1) [-Wunused-variable] fortran/rwbrook.f:333:28: 333 | REAL AM,BM,RCHK1,RCHK2,FAC | 1 Warning: Unused variable 'rchk2' declared at (1) [-Wunused-variable] fortran/rwbrook.f:344:30: 344 | real rsymchk(4,4,maxsym), rsympdbs(4,4,maxsym) | 1 Warning: Unused variable 'rsymchk' declared at (1) [-Wunused-variable] fortran/rwbrook.f:344:52: 344 | real rsymchk(4,4,maxsym), rsympdbs(4,4,maxsym) | 1 Warning: Unused variable 'rsympdbs' declared at (1) [-Wunused-variable] fortran/rwbrook.f:348:23: 348 | REAL ERROR,VOLCHK | 1 Warning: Unused variable 'volchk' declared at (1) [-Wunused-variable] fortran/fftlib.f:454:0: 454 | Y2(K) = I2*C2 - R2*S2 | Warning: 's2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:452:0: 452 | Y1(K) = I1*C1 - R1*S1 | Warning: 's1' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:454:0: 454 | Y2(K) = I2*C2 - R2*S2 | Warning: 'c2' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:452:0: 452 | Y1(K) = I1*C1 - R1*S1 | Warning: 'c1' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/rwbrook.f:1131:30: 1131 | *X,Y,Z,OCC,B,IZ,IOUT,MSG1,MSG2,ITER,*,*) | 1 Warning: Unused dummy argument 'msg1' at (1) [-Wunused-dummy-argument] fortran/rwbrook.f:1131:35: 1131 | *X,Y,Z,OCC,B,IZ,IOUT,MSG1,MSG2,ITER,*,*) | 1 Warning: Unused dummy argument 'msg2' at (1) [-Wunused-dummy-argument] fortran/rwbrook.f:1180:63: 1180 | SUBROUTINE WBROOK(IUNIT,ISER,ATNAM,RESNAM,CHNNAM,IRESN,IS, | 1 Warning: Unused dummy argument 'is' at (1) [-Wunused-dummy-argument] fortran/rwbrook.f:1670:42: 1670 | SUBROUTINE RBFRAC(A,B,C,AL,BE,GA,MSG) | 1 Warning: Unused dummy argument 'msg' at (1) [-Wunused-dummy-argument] fortran/rwbrook.f:2179:48: 2179 | SUBROUTINE CVFRAC(X,Y,Z,XX,YY,ZZ,IFLAG,MSG) | 1 Warning: Unused dummy argument 'msg' at (1) [-Wunused-dummy-argument] fortran/rwbrook.f:2711:64: 2711 | SUBROUTINE SFREAD(ID,NG,A,B,C,IWT,IELEC,CU,MO,IFAIL,IFILFF) | 1 Warning: Unused dummy argument 'ifilff' at (1) [-Wunused-dummy-argument] fortran/rwbrook.f:2865:25: 2865 | CHARACTER OUTLIN*80,ERRLIN*80 | 1 Warning: Unused variable 'outlin' declared at (1) [-Wunused-variable] fortran/rwbrook.f:3028:22: 3028 | INTEGER I, II, J, IRET | 1 Warning: Unused variable 'j' declared at (1) [-Wunused-variable] libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/libhtml.f -fPIC -o fortran/.libs/libhtml.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran fortran/fftlib.f:360:0: 360 | Y1(K) = IU*C - RU*S | Warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/fftlib.f:360:0: Warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/parser.f:1849:0: 1849 | IFAIL = ITOK | Warning: 'itok' may be used uninitialized in this function [-Wmaybe-uninitialized] fortran/parser.f:1827:15: 1827 | ELSE IF (ILIMIT(1).GT.ILIMIT(2)) THEN | ^ Warning: 'ilimit[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/keyparse.lo fortran/keyparse.f /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/dna_output.lo fortran/dna_output.f libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/keyparse.f -fPIC -o fortran/.libs/keyparse.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/dna_output.f -fPIC -o fortran/.libs/dna_output.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran /bin/sh ./libtool --tag=F77 --mode=compile gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c -o fortran/pack_f.lo fortran/pack_f.f libtool: compile: gfortran -fno-second-underscore -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules -c fortran/pack_f.f -fPIC -o fortran/.libs/pack_f.o f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran fortran/pack_f.f:167:19: 167 | do 10, j = 1, len(filn) | 1 Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(2) at (1) [-Wconversion] fortran/pack_f.f:109:28: 45 | call pack_wordimage_f(data, x, y, filnarray) | 2 ...... 109 | call pack_wordimage_f(data, x, y, filnarray) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)). fortran/pack_f.f:141:30: 77 | call v2pack_wordimage_f(data, x, y, filnarray) | 2 ...... 141 | call v2pack_wordimage_f(data, x, y, filnarray) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)). make[1]: *** [Makefile:809: fortran/pack_f.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/libccp4-6.5.1' make: *** [Makefile:491: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.RzitvY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RzitvY (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libccp4.spec