Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/opendnssec.spec'], chrootPath='/var/lib/mock/f40-build-747166-112896/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/opendnssec.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/opendnssec-2.1.10-7.fc40.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/opendnssec.spec'], chrootPath='/var/lib/mock/f40-build-747166-112896/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/opendnssec.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I933Pf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opendnssec-2.1.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/opendnssec-2.1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd opendnssec-2.1.10 + rm -rf /builddir/build/BUILD/opendnssec-2.1.10-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/opendnssec-2.1.10-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Pass-right-remaining-buffer-size-in-hsm_hex_unparse-.patch):' Patch #1 (0001-Pass-right-remaining-buffer-size-in-hsm_hex_unparse-.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libhsm/src/lib/libhsm.c + echo 'Patch #2 (opendnssec-configure-c99.patch):' Patch #2 (opendnssec-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file m4/acx_broken_setres.m4 + echo 'Patch #3 (opendnssec-c99-1.patch):' Patch #3 (opendnssec-c99-1.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file common/scheduler/task.c + echo 'Patch #4 (opendnssec-c99-2.patch):' Patch #4 (opendnssec-c99-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file enforcer/src/daemon/time_leap_cmd.c + touch -r aclocal.m4 configure configure.ac m4/acx_broken_setres.m4 m4/acx_check_strptime.m4 m4/acx_cunit.m4 m4/acx_dlopen.m4 m4/acx_enforcer_database.m4 m4/acx_ldns.m4 m4/acx_libc.m4 m4/acx_libreadline.m4 m4/acx_libxml2.m4 m4/acx_pedantic.m4 m4/acx_pkcs11_modules.m4 m4/acx_prefixhack.m4 m4/acx_rpath.m4 m4/acx_rt.m4 m4/acx_ssl.m4 m4/ax_append_compile_flags.m4 m4/ax_append_flag.m4 m4/ax_c___attribute__.m4 m4/ax_cflags_warn_all.m4 m4/ax_check_compile_flag.m4 m4/ax_compiler_flags_cflags.m4 m4/ax_lib_mysql.m4 m4/ax_lib_sqlite3.m4 m4/ax_prog_doxygen.m4 m4/ax_pthread.m4 m4/ax_require_defined.m4 m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 m4/opendnssec_common.m4 m4/pkg.m4 + sed -i s/1024/2048/ conf/kasp.xml.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ytOCR4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd opendnssec-2.1.10 + export 'LDFLAGS=-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security' + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wformat-nonliteral -Wformat-security' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wformat-nonliteral -Wformat-security' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wformat-nonliteral -Wformat-security' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-09-10 20:11:25.000000000 +0100 +++ ./configure 2023-11-24 09:49:38.878228899 +0000 @@ -2089,7 +2089,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-11-24 09:49:38.878228899 +0000 +++ ./configure 2023-11-24 09:49:39.098228695 +0000 @@ -7844,7 +7844,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -26261,7 +26261,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './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"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-ldns=/usr/lib64 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 configure: Detecting common OpenDNSSEC settings checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for riscv64-redhat-linux-gnu-gcc... (cached) 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 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 fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7850: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether make sets $(MAKE)... (cached) yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for xmllint... /usr/bin/xmllint checking for xsltproc... no checking for java... no checking for cp... /usr/bin/cp checking for riscv64-redhat-linux-gnu-gcc... (cached) 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 whether C compiler accepts -Werror=unknown-warning-option... no checking whether C compiler accepts -Wno-suggest-attribute=format... yes checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -Wnested-externs... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -Wdeclaration-after-statement... yes checking whether C compiler accepts -Wimplicit-function-declaration... yes checking whether C compiler accepts -Wold-style-definition... yes checking whether C compiler accepts -Wjump-misses-init... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wredundant-decls... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -Wno-missing-field-initializers... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wcast-align... yes checking whether C compiler accepts -Wformat-nonliteral... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wstrict-aliasing... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Winline... yes checking whether C compiler accepts -Wpacked... yes checking whether C compiler accepts -Wmissing-format-attribute... yes checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wredundant-decls... (cached) yes checking whether C compiler accepts -Wmissing-include-dirs... yes checking whether C compiler accepts -Wunused-but-set-variable... yes checking whether C compiler accepts -Warray-bounds... yes checking whether C compiler accepts -Wreturn-type... yes checking whether C compiler accepts -Wswitch-enum... yes checking whether C compiler accepts -Wswitch-default... yes checking whether C compiler accepts -Wduplicated-cond... yes checking whether C compiler accepts -Wduplicated-branches... yes checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -Wrestrict... yes checking whether C compiler accepts -Wnull-dereference... yes checking whether C compiler accepts -Wdouble-promotion... yes checking whether C compiler accepts -Wno-error=unused-parameter... yes checking whether C compiler accepts -Wno-error=missing-field-initializers... yes checking for __attribute__... yes checking CFLAGS for maximum warnings... -Wall checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for getopt.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking libxml/parser.h usability... no checking libxml/parser.h presence... no checking for libxml/parser.h... no checking libxml/relaxng.h usability... no checking libxml/relaxng.h presence... no checking for libxml/relaxng.h... no checking libxml/xmlreader.h usability... no checking libxml/xmlreader.h presence... no checking for libxml/xmlreader.h... no checking libxml/xpath.h usability... no checking libxml/xpath.h presence... no checking for libxml/xpath.h... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for uint16_t... yes checking for union semun... no checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for arc4random... yes checking for arc4random_uniform... yes checking for dup2... yes checking for endpwent... yes checking for select... yes checking for strerror... yes checking for strtol... yes checking for getpass... yes checking for getpassphrase... no checking for memset... yes checking for localtime_r... yes checking for memset... (cached) yes checking for strdup... yes checking for strerror... (cached) yes checking for strstr... yes checking for strtol... (cached) yes checking for strtoul... yes checking for setregid... yes checking for setreuid... yes checking for chown... yes checking for stat... yes checking for exit... yes checking for time... yes checking for atoi... yes checking for getpid... yes checking for waitpid... yes checking for sigfillset... yes checking for malloc... yes checking for calloc... yes checking for realloc... yes checking for free... yes checking for strlen... yes checking for strncmp... yes checking for strncat... yes checking for strncpy... yes checking for strerror... (cached) yes checking for strncasecmp... yes checking for strdup... (cached) yes checking for fgetc... yes checking for fopen... yes checking for fclose... yes checking for ferror... yes checking for fprintf... yes checking for vsnprintf... yes checking for snprintf... yes checking for fflush... yes checking for openlog... yes checking for closelog... yes checking for syslog... yes checking for openlog_r... no checking for closelog_r... no checking for syslog_r... no checking for vsyslog_r... no checking for chroot... yes checking for getgroups... yes checking for setgroups... yes checking for initgroups... yes checking for close... yes checking for unlink... yes checking for fcntl... yes checking for socket... yes checking for listen... yes checking for bzero... yes checking for va_start... no checking for va_end... no checking for xmlInitParser... no checking for xmlCleanupParser... no checking for xmlCleanupThreads... no checking for pthread_mutex_init... yes checking for pthread_mutex_destroy... yes checking for pthread_mutex_lock... yes checking for pthread_mutex_unlock... yes checking for pthread_cond_init... yes checking for pthread_cond_signal... yes checking for pthread_cond_destroy... yes checking for pthread_cond_wait... yes checking for pthread_cond_timedwait... yes checking for pthread_create... yes checking for pthread_detach... yes checking for pthread_self... yes checking for pthread_join... yes checking for pthread_sigmask... yes checking for pthread_barrier_wait... yes checking for unistd.h... (cached) yes checking for working chown... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for vprintf... yes checking for _doprnt... no checking for strlcat... yes checking for strlcpy... yes checking for b64_pton... no checking for b64_ntop... no checking for setresuid... yes checking if setresuid seems to work... yes checking for setresgid... yes checking if setresgid seems to work... yes checking whether strptime needs defines... yes checking for struct sockaddr_un.sun_len... no checking for xml2-config... /usr/bin/xml2-config checking what are the xml2 includes... -I/usr/include/libxml2 checking what are the xml2 libs... -lxml2 -lz -llzma -lm checking for xmlDocGetRootElement in -lxml2... yes checking for ldns-config... no checking what are the ldns includes... -I/usr/lib64/include checking what are the ldns libs... -L/usr/lib64/lib -lldns checking for ldns_rr_new in -lldns... yes checking for ldns version... >= 1.6.17 checking for ldns-config... no checking what are the ldns includes... -I/usr/lib64/include checking what are the ldns libs... -L/usr/lib64/lib -lldns checking for ldns version not 1.6.14... ok checking for ldns-config... no checking what are the ldns includes... -I/usr/lib64/include checking what are the ldns libs... -L/usr/lib64/lib -lldns checking for ldns version not 1.6.15... ok checking for clock_gettime in -lrt... yes checking for sys/time.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for SSL... found in /usr checking for HMAC_CTX_reset in -lcrypto... yes checking for EVP_sha1... yes checking for EVP_sha256... yes checking what are the cunit includes... -I/usr/local/include checking what are the cunit libs... -L/usr/local/lib -lcunit checking for CU_run_test in -lcunit... yes checking for dlopen... yes checking for database backend... SQLite3 checking for SQLite3 library >= 3.0.0... yes grep: warning: stray \ before " checking for riscv64-redhat-linux-gnu-doxygen... no checking for doxygen... /usr/bin/doxygen checking for riscv64-redhat-linux-gnu-perl... no checking for perl... /usr/bin/perl checking for backtrace... yes checking for backtrace_full in -lbacktrace... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating common/Makefile config.status: creating conf/Makefile config.status: creating conf/addns.xml config.status: creating conf/conf.xml config.status: creating conf/enforcerstate.xml config.status: creating conf/kasp.xml config.status: creating conf/signconf.xml config.status: creating conf/zonelist.xml config.status: creating enforcer/Makefile config.status: creating enforcer/src/Makefile config.status: creating enforcer/man/Makefile config.status: creating enforcer/src/db/test/Makefile config.status: creating enforcer/man/ods-enforcer.8 config.status: creating enforcer/man/ods-enforcer-db-setup.8 config.status: creating enforcer/man/ods-enforcerd.8 config.status: creating enforcer/src/utils/Makefile config.status: creating enforcer/src/utils/ods-kaspcheck.1 config.status: creating libhsm/Makefile config.status: creating libhsm/src/Makefile config.status: creating libhsm/src/bin/Makefile config.status: creating libhsm/src/bin/ods-hsmspeed.1 config.status: creating libhsm/src/bin/ods-hsmutil.1 config.status: creating libhsm/src/lib/Makefile config.status: creating libhsm/checks/Makefile config.status: creating libhsm/checks/conf-softhsm.xml config.status: creating libhsm/checks/conf-sca6000.xml config.status: creating libhsm/checks/conf-etoken.xml config.status: creating libhsm/checks/conf-multi.xml config.status: creating libhsm/checks/conf-opensc.xml config.status: creating libhsm/checks/conf-ncipher.xml config.status: creating libhsm/checks/conf-aepkeyper.xml config.status: creating signer/Makefile config.status: creating signer/man/Makefile config.status: creating signer/man/ods-signer.8 config.status: creating signer/man/ods-signerd.8 config.status: creating signer/src/Makefile config.status: creating tools/Makefile config.status: creating tools/ods-control config.status: creating tools/solaris/Makefile config.status: creating tools/solaris/ods-enforcerd.init config.status: creating tools/solaris/ods-signerd.init config.status: creating tools/ods-timing.5 config.status: creating tools/ods-kasp.5 config.status: creating tools/opendnssec.7 config.status: creating tools/ods-control.8 config.status: creating tools/ods-kasp2html config.status: creating common/config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 Making all in common /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o b64_ntop.o b64_ntop.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o b64_pton.o b64_pton.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o clientpipe.o clientpipe.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o duration.o duration.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' duration.c: In function ‘time_datestamp’: duration.c:499:5: warning: format not a string literal, format string not checked [-Wformat-nonliteral] 499 | if (strftime(outstr, sizeof(outstr), format, tmp) == 0) { | ^~ make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o locks.o locks.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' locks.c: In function ‘alertoutput’: locks.c:89:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 89 | if (buffer->index < sizeof(buffer->buffer)) { | ^ locks.c: In function ‘alertinteger’: locks.c:100:15: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 100 | if (value > base - 1) | ^ locks.c: In function ‘valert’: locks.c:109:14: warning: unused variable ‘len’ [-Wunused-variable] 109 | int idx, len; | ^~~ locks.c: In function ‘alertsyslog’: locks.c:192:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 192 | if (buffer.index < sizeof(buffer.buffer)) { | ^ locks.c: At top level: locks.c:75:13: warning: ‘alert’ declared ‘static’ but never defined [-Wunused-function] 75 | static void alert(struct alertbuffer_struct* buffer, const char *format, ...) | ^~~~~ locks.c: In function ‘alertsyslog’: locks.c:197:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 197 | (void)write(2, buffer.buffer, strlen(buffer.buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o file.o file.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' file.c: In function ‘ods_build_path’: file.c:128:13: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 128 | strncpy(openf, file, len_file); | ^ file.c:112:20: note: length computed here 112 | len_file = strlen(file); | ^~~~~~~~~~~~ file.c: In function ‘ods_replace’: file.c:394:9: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 394 | strncpy(buffer, newstr, part2_len); | ^ file.c:378:17: note: length computed here 378 | part2_len = strlen(newstr); | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o privdrop.o privdrop.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o pselect.o pselect.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o strlcat.o strlcat.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' strlcat.c:64: warning: ISO C forbids an empty translation unit [-Wpedantic] make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o strlcpy.o strlcpy.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' strlcpy.c:60: warning: ISO C forbids an empty translation unit [-Wpedantic] make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o status.o status.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o log.o log.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o str.o str.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o datastructure.o datastructure.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o util.o util.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o janitor.o janitor.c janitor.c: In function ‘janitor_thread_join’: janitor.c:371:22: warning: unused variable ‘info’ [-Wunused-variable] 371 | janitor_thread_t info; | ^~~~ janitor.c: In function ‘outputbacktrace’: janitor.c:491:34: warning: unused parameter ‘workaround’ [-Wunused-parameter] 491 | outputbacktrace(int skips, void *workaround) | ~~~~~~^~~~~~~~~~ janitor.c: In function ‘handlesignal’: janitor.c:552:16: warning: unused variable ‘i’ [-Wunused-variable] 552 | int count, i; | ^ janitor.c:552:9: warning: unused variable ‘count’ [-Wunused-variable] 552 | int count, i; | ^~~~~ janitor.c:551:11: warning: unused variable ‘bt’ [-Wunused-variable] 551 | void *bt[20]; | ^~ janitor.c:546:22: warning: unused variable ‘thrinfo’ [-Wunused-variable] 546 | janitor_thread_t thrinfo; | ^~~~~~~ janitor.c: In function ‘callbackstring’: janitor.c:641:38: warning: unused parameter ‘pc’ [-Wunused-parameter] 641 | callbackstring(void* data, uintptr_t pc, const char *filename, int lineno, const char *function) | ~~~~~~~~~~^~ janitor.c: In function ‘janitor_trapsignals’: janitor.c:691:36: warning: unused variable ‘frames’ [-Wunused-variable] 691 | static struct backtrace_state *frames; | ^~~~~~ janitor.c:689:13: warning: unused variable ‘ss’ [-Wunused-variable] 689 | stack_t ss; | ^~ janitor.c: At top level: janitor.c:641:1: warning: ‘callbackstring’ defined but not used [-Wunused-function] 641 | callbackstring(void* data, uintptr_t pc, const char *filename, int lineno, const char *function) | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o cmdhandler.o cmdhandler.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' cmdhandler.c: In function ‘cmdhandler_accept_client’: cmdhandler.c:270:9: warning: unused variable ‘err’ [-Wunused-variable] 270 | int err; | ^~~ cmdhandler.c: In function ‘cmdhandler_start’: cmdhandler.c:393:13: warning: unused variable ‘i’ [-Wunused-variable] 393 | ssize_t i; | ^ cmdhandler.c: In function ‘self_pipe_trick’: cmdhandler.c:480:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 480 | client_printf(sockfd, ""); | ^~ make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o scheduler/task.o scheduler/task.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o scheduler/schedule.o scheduler/schedule.c scheduler/schedule.c: In function ‘schedule_get_first_task’: scheduler/schedule.c:80:20: warning: unused variable ‘node’ [-Wunused-variable] 80 | ldns_rbnode_t* node = LDNS_RBTREE_NULL; | ^~~~ make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o scheduler/fifoq.o scheduler/fifoq.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' gcc -DHAVE_CONFIG_H -I. -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o scheduler/worker.o scheduler/worker.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/common' rm -f libcompat.a ar cru libcompat.a b64_ntop.o b64_pton.o clientpipe.o duration.o file.o locks.o log.o privdrop.o pselect.o status.o str.o strlcat.o strlcpy.o util.o datastructure.o scheduler/schedule.o scheduler/task.o scheduler/fifoq.o scheduler/worker.o scheduler/task.o cmdhandler.o janitor.o ranlib libcompat.a make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/common' Making all in libhsm Making all in src Making all in lib make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/lib' gcc -DHAVE_CONFIG_H -I. -I../../../common -I../../../common -I../../../common -I./cryptoki_compat -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o pin.o pin.c make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/lib' make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/lib' gcc -DHAVE_CONFIG_H -I. -I../../../common -I../../../common -I../../../common -I./cryptoki_compat -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o libhsm.o libhsm.c make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/lib' libhsm.c: In function ‘hsm_pkcs11_load_functions’: libhsm.c:293:28: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 293 | pGetFunctionList = (CK_C_GetFunctionList) dlsym(pDynLib, "C_GetFunctionList"); | ^ libhsm.c: In function ‘hsm_get_key_info’: libhsm.c:3230:18: warning: ‘%lu’ directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 3230 | "%lu", key_info->algorithm); | ^~~ libhsm.c:3230:17: note: directive argument in the range [2, 18446744073709551615] 3230 | "%lu", key_info->algorithm); | ^~~~~ In file included from /usr/include/stdio.h:980, from libhsm.c:30: In function ‘snprintf’, inlined from ‘hsm_get_key_info’ at libhsm.c:3229:13: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 2 and 21 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libhsm.c: In function ‘hsm_get_error’: libhsm.c:3533:18: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 501 and 510 [-Wformat-truncation=] 3533 | "%s: %s", | ^~ In function ‘snprintf’, inlined from ‘hsm_get_error’ at libhsm.c:3532:9: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 3 or more bytes (assuming 523) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/lib' rm -f libhsm.a ar cru libhsm.a libhsm.o pin.o ranlib libhsm.a make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/lib' Making all in bin make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' gcc -DHAVE_CONFIG_H -I. -I../../../common -I../../../common -I../../../common -I./../lib -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o confparser.o confparser.c make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' gcc -DHAVE_CONFIG_H -I. -I../../../common -I../../../common -I../../../common -I./../lib -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o hsmspeed.o hsmspeed.c make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' gcc -DHAVE_CONFIG_H -I. -I../../../common -I../../../common -I../../../common -I./../lib -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o hsmtest.o hsmtest.c make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' gcc -DHAVE_CONFIG_H -I. -I../../../common -I../../../common -I../../../common -I./../lib -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o hsmutil.o hsmutil.c make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' /bin/sh ../../../libtool --tag=CC --mode=link gcc -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ods-hsmspeed hsmspeed.o confparser.o ../lib/libhsm.a -lpthread -L/usr/lib64/lib -lldns -lxml2 -lz -llzma -lm ../../../common/libcompat.a libtool: link: gcc -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ods-hsmspeed hsmspeed.o confparser.o ../lib/libhsm.a -lpthread -L/usr/lib64/lib -lldns -lxml2 -lz -llzma -lm ../../../common/libcompat.a make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' /bin/sh ../../../libtool --tag=CC --mode=link gcc -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ods-hsmutil hsmutil.o hsmtest.o confparser.o ../lib/libhsm.a -L/usr/lib64/lib -lldns -lxml2 -lz -llzma -lm ../../../common/libcompat.a libtool: link: gcc -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ods-hsmutil hsmutil.o hsmtest.o confparser.o ../lib/libhsm.a -L/usr/lib64/lib -lldns -lxml2 -lz -llzma -lm ../../../common/libcompat.a make[3]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/src/bin' make[3]: Nothing to be done for 'all-am'. Making all in checks make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/checks' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I./../src/lib -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o confparser.o confparser.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/checks' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/checks' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I./../src/lib -I/usr/lib64/include -I/usr/include/libxml2 -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o hsmcheck.o hsmcheck.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/checks' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/checks' /bin/sh ../../libtool --tag=CC --mode=link gcc -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -no-install -Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hsmcheck hsmcheck.o confparser.o ../src/lib/libhsm.a -L/usr/lib64/lib -lldns -lxml2 -lz -llzma -lm ../../common/libcompat.a libtool: link: gcc -std=c99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hsmcheck hsmcheck.o confparser.o ../src/lib/libhsm.a -L/usr/lib64/lib -lldns -lxml2 -lz -llzma -lm ../../common/libcompat.a make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/libhsm/checks' make[2]: Nothing to be done for 'all-am'. Making all in conf make[1]: Nothing to be done for 'all'. Making all in tools Making all in solaris make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in signer Making all in src make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o hsm.o hsm.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o ods-signer.o ods-signer.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' ods-signer.c: In function ‘interface_start’: ods-signer.c:349:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 349 | fgets(line, 80, cmd2); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o ods-signerd.o ods-signerd.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' ods-signerd.c: In function ‘program_setup’: ods-signerd.c:97:5: error: implicit declaration of function ‘xmlInitGlobals’ [-Werror=implicit-function-declaration] 97 | xmlInitGlobals(); | ^~~~~~~~~~~~~~ ods-signerd.c:99:5: warning: ‘xmlInitThreads’ is deprecated [-Wdeprecated-declarations] 99 | xmlInitThreads(); | ^~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:26, from ods-signerd.c:39: /usr/include/libxml2/libxml/threads.h:58:25: note: declared here 58 | xmlInitThreads (void); | ^~~~~~~~~~~~~~ ods-signerd.c: In function ‘program_teardown’: ods-signerd.c:109:5: error: implicit declaration of function ‘xmlCleanupGlobals’; did you mean ‘xmlCleanupThreads’? [-Werror=implicit-function-declaration] 109 | xmlCleanupGlobals(); | ^~~~~~~~~~~~~~~~~ | xmlCleanupThreads ods-signerd.c: In function ‘main’: ods-signerd.c:141:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 141 | asprintf(&argv0, "%s/%s", path, argv[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:798: ods-signerd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o adapter/adapi.o adapter/adapi.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' adapter/adapi.c: In function ‘adapi_process_rr’: adapter/adapi.c:329:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 329 | for (int i = 0; i < strlen(str); i++) { | ^ make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o adapter/adapter.o adapter/adapter.c make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' make[2]: Entering directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/lib64/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security -pedantic -c -o adapter/addns.o adapter/addns.c adapter/addns.c: In function ‘dnsin_update’: adapter/addns.c:570:17: warning: unused variable ‘new_addns’ [-Wunused-variable] 570 | dnsin_type* new_addns = NULL; | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/opendnssec-2.1.10/signer/src' make[1]: *** [Makefile:475: all-recursive] Error 1 make: *** [Makefile:526: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.ytOCR4 (%build) RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ytOCR4 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/opendnssec.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/opendnssec.spec