Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/redwax-tool.spec'], chrootPath='/var/lib/mock/f45-build-34525-686/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9c64e37a72c84d9898b5fbb1c8b82939', '-D', '/var/lib/mock/f45-build-34525-686/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/redwax-tool.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1769644800 Wrote: /builddir/build/SRPMS/redwax-tool-1.0.0-9.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/redwax-tool.spec'], chrootPath='/var/lib/mock/f45-build-34525-686/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '80d1775fc6fa40e2a2fcb51db2042f4f', '-D', '/var/lib/mock/f45-build-34525-686/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/redwax-tool.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1769644800 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.FB0E3x Creating(rpmbuild.env): /builddir/build/BUILD/redwax-tool-1.0.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/redwax-tool-1.0.0-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/redwax-tool-1.0.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="redwax-tool" RPM_PACKAGE_VERSION="1.0.0" RPM_PACKAGE_RELEASE="9.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/redwax-tool-1.0.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fFjU50 + umask 022 + cd /builddir/build/BUILD/redwax-tool-1.0.0-build + /usr/libexec/gpgverify --keyring=/builddir/build/SOURCES/KEYS --signature=/builddir/build/SOURCES/redwax-tool-1.0.0.tar.bz2.asc --data=/builddir/build/SOURCES/redwax-tool-1.0.0.tar.bz2 gpgv: Signature made Mon Jun 23 20:30:36 2025 CST gpgv: using RSA key CBA1525BAA7A47BE28FF23DDD3B13FCA2CE60BED gpgv: Good signature from "Graham Leggett " gpgv: aka "Graham Leggett " gpgv: aka "Graham Leggett " gpgv: Signature made Mon Jun 23 20:43:35 2025 CST gpgv: using RSA key E3C50331480FC080CB6EA815B5B06935F24412A0 gpgv: Good signature from "Dirk-Willem van Gulik (backonacorn) " + cd /builddir/build/BUILD/redwax-tool-1.0.0-build + rm -rf redwax-tool-1.0.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/redwax-tool-1.0.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd redwax-tool-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IgBrIE + umask 022 + cd /builddir/build/BUILD/redwax-tool-1.0.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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-hardened-ld-errors -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 redwax-tool-1.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' ']' ++ 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors"~' ./build-aux/ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-openssl --with-nss --with-p11-kit --with-libical --with-ldns --with-unbound --with-bash-completion-dir=/usr/share/bash-completion/completions 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 build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-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 for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-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-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for riscv64-koji-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 for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for openssl... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking for nss... yes checking for p11kit... yes checking for libical... yes checking libical/ical.h usability... yes checking libical/ical.h presence... yes checking for libical/ical.h... yes checking for ldns... yes checking ldns/ldns.h usability... yes checking ldns/ldns.h presence... yes checking for ldns/ldns.h... yes checking for libunbound... yes checking unbound.h usability... yes checking unbound.h presence... yes checking for unbound.h... yes checking for apr... yes checking for apu... yes checking for stdbool.h that conforms to C99... no checking for _Bool... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint32_t... yes checking for unistd.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking openssl/core_names.h usability... yes checking openssl/core_names.h presence... yes checking for openssl/core_names.h... yes checking openssl/ct.h usability... yes checking openssl/ct.h presence... yes checking for openssl/ct.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for OPENSSL_init_crypto... yes checking for PKCS12_SAFEBAG_get0_safes... yes checking for PKCS12_SAFEBAG_get_bag_nid... yes checking for PKCS12_SAFEBAG_get_nid... yes checking for PKCS12_SAFEBAG_get0_attr... yes checking for PKCS12_SAFEBAG_get0_p8inf... yes checking for PKCS12_SAFEBAG_get1_cert... yes checking for PKCS12_SAFEBAG_get1_crl... yes checking for OPENSSL_uni2utf8... yes checking for ASN1_TIME_diff... yes checking for ASN1_TIME_print_ex... yes checking for X509_STORE_get0_param... yes checking for X509_STORE_CTX_set0_trusted_stack... yes checking for X509_STORE_CTX_get_num_untrusted... yes checking for X509_get0_notBefore... yes checking for X509_get0_notAfter... yes checking for X509_get0_tbs_sigalg... yes checking for X509_get0_uids... yes checking for X509_get0_extensions... yes checking for X509_get0_signature... yes checking for X509_get_extension_flags... yes checking for X509_up_ref... yes checking for EVP_PKEY_get0_description... yes checking for EVP_PKEY_CTX_new_from_name... yes checking for EVP_PKEY_get_bn_param... yes checking for RSA_get0_n... yes checking for RSA_get0_e... yes checking for RSA_get0_d... yes checking for RSA_get0_p... yes checking for RSA_get0_q... yes checking for RSA_get0_dmp1... yes checking for RSA_get0_dmq1... yes checking for RSA_get0_iqmp... yes checking for RSA_set0_key... yes checking for RSA_set0_factors... yes checking for RSA_set0_crt_params... yes checking for NSS_Initialize... yes checking for p11_kit_modules_load_and_initialize... yes checking for apr_crypto_clear... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating redwax-tool.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_keychain.o redwax_keychain.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_openssl.o redwax_openssl.c redwax_openssl.c: In function ‘redwax_openssl_process_pem_in’: redwax_openssl.c:1276:33: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1276 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:1289:33: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1289 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:1349:33: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1349 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:1363:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1363 | redwax_openssl_name(r->pool, X509_CRL_get_issuer(c))); | ^~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c: In function ‘redwax_openssl_process_trust_pem_in’: redwax_openssl.c:1592:29: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1592 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:1648:33: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1648 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:1662:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1662 | redwax_openssl_name(r->pool, X509_CRL_get_issuer(c))); | ^~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c: In function ‘redwax_openssl_process_der_out’: redwax_openssl.c:2517:55: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2517 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:2563:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2563 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:2609:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2609 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:2655:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2655 | redwax_openssl_name(r->pool, X509_CRL_get_issuer(c))); | ^~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c: In function ‘redwax_openssl_process_pem_out_all’: redwax_openssl.c:2812:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2812 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:2838:54: wamake[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' rning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2838 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:2864:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2864 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:2904:54: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2904 | redwax_openssl_name(r->pool, X509_CRL_get_issuer(c))); | ^~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c: In function ‘process_pem_out_chain’: redwax_openssl.c:3040:46: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3040 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c: In function ‘import_bag’: redwax_openssl.c:3406:69: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} 3406 | key->label = OPENSSL_uni2utf8(label->value.bmpstring->data, | ^~ redwax_openssl.c:3407:47: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} 3407 | label->value.bmpstring->length); | ^~ redwax_openssl.c:3479:69: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} 3479 | key->label = OPENSSL_uni2utf8(label->value.bmpstring->data, | ^~ redwax_openssl.c:3480:47: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} 3480 | label->value.bmpstring->length); | ^~ redwax_openssl.c:3538:29: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3538 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:3553:29: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3553 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:3575:70: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} 3575 | cert->label = OPENSSL_uni2utf8(label->value.bmpstring->data, | ^~ redwax_openssl.c:3576:47: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} 3576 | label->value.bmpstring->length); | ^~ redwax_openssl.c:3609:50: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3609 | redwax_openssl_name(r->pool, X509_CRL_get_issuer(c))); | ^~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c: In function ‘redwax_openssl_handshake_cb’: redwax_openssl.c:3839:33: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3839 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:3852:33: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3852 | X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c: In function ‘redwax_openssl_filter_write_cb’: redwax_openssl.c:4093:9: warning: ‘SSL_set1_host’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] 4093 | if (SSL_set1_host(tls_host->ssl, tls_host->hostname) <= 0) { | ^~ In file included from redwax_openssl.c:51: /usr/include/openssl/ssl.h:1928:34: note: declared here 1928 | OSSL_DEPRECATEDIN_4_0 __owur int SSL_set1_host(SSL *s, const char *host); | ^~~~~~~~~~~~~ redwax_openssl.c: In function ‘redwax_openssl_process_pkcs12_out’: redwax_openssl.c:4314:50: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4314 | redwax_openssl_name(r->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:4344:50: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4344 | redwax_openssl_name(r->pool, X509_get_subject_name(xi))); | ^~~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:4367:50: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4367 | redwax_openssl_name(r->pool, X509_get_subject_name(xi))); | ^~~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:4429:30: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4429 | X509_NAME *subject = X509_get_subject_name(x); | ^~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:4444:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4444 | e = X509_NAME_get_entry(subject, lastpos); | ^ redwax_openssl.c:4445:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4445 | cn = X509_NAME_ENTRY_get_data(e); | ^ redwax_openssl.c: In function ‘redwax_openssl_general_name_metadata’: redwax_openssl.c:4670:65: error: invalid use of incomplete typedef ‘ASN1_UTF8STRING’ {aka ‘struct asn1_string_st’} 4670 | gen->d.otherName->value->value.utf8string->data); | ^~ redwax_openssl.c:4678:65: error: invalid use of incomplete typedef ‘ASN1_UTF8STRING’ {aka ‘struct asn1_string_st’} 4678 | gen->d.otherName->value->value.utf8string->data); | ^~ redwax_openssl.c:4686:64: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} 4686 | gen->d.otherName->value->value.ia5string->data); | ^~ redwax_openssl.c:4693:65: error: invalid use of incomplete typedef ‘ASN1_UTF8STRING’ {aka ‘struct asn1_string_st’} 4693 | gen->d.otherName->value->value.utf8string->data); | ^~ redwax_openssl.c:4700:65: error: invalid use of incomplete typedef ‘ASN1_UTF8STRING’ {aka ‘struct asn1_string_st’} 4700 | gen->d.otherName->value->value.utf8string->data); | ^~ redwax_openssl.c:4752:22: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 4752 | p = gen->d.ip->data; | ^~ redwax_openssl.c:4753:22: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 4753 | if (gen->d.ip->length == 4) { | ^~ redwax_openssl.c:4757:27: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 4757 | else if (gen->d.ip->length == 16) { | ^~ redwax_openssl.c: In function ‘redwax_openssl_extension_metadata’: redwax_openssl.c:4875:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 4875 | obj = X509_EXTENSION_get_object(ex); | ^ redwax_openssl.c:4905:33: error: invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’} 4905 | if ((bs->pathlen->type == V_ASN1_NEG_INTEGER) || !bs->ca) { | ^~ redwax_openssl.c:4925:18: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4925 | if (usage->length > 0) { | ^~ redwax_openssl.c:4926:30: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4926 | ex_kusage = usage->data[0]; | ^~ redwax_openssl.c:4927:22: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4927 | if (usage->length > 1) | ^~ redwax_openssl.c:4928:35: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4928 | ex_kusage |= usage->data[1] << 8; | ^~ redwax_openssl.c:4995:19: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4995 | if (nscert->length > 0) { | ^~ redwax_openssl.c:4996:31: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4996 | ex_nscert = nscert->data[0]; | ^~ redwax_openssl.c:4997:23: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4997 | if (nscert->length > 1) | ^~ redwax_openssl.c:4998:36: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} 4998 | ex_nscert |= nscert->data[1] << 8; | ^~ redwax_openssl.c:5081:28: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 5081 | oct->data, oct->length, | ^~ redwax_openssl.c:5081:39: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 5081 | oct->data, oct->length, | ^~ redwax_openssl.c:5094:42: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 5094 | akeyid->keyid->data, akeyid->keyid->length, | ^~ redwax_openssl.c:5094:63: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 5094 | akeyid->keyid->data, akeyid->keyid->length, | ^~ redwax_openssl.c:5109:43: error: invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’} 5109 | akeyid->serial->data, akeyid->serial->length, | ^~ redwax_openssl.c:5109:65: error: invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’} 5109 | akeyid->serial->data, akeyid->serial->length, | ^~ redwax_openssl.c:5173:67: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} 5173 | qualinfo->d.cpsuri->length, | ^~ redwax_openssl.c:5174:67: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} 5174 | qualinfo->d.cpsuri->data)); | ^~ redwax_openssl.c:5193:65: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} 5193 | && ref->organization->data) { | ^~ redwax_openssl.c:5198:74: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} 5198 | ref->organization->length, | ^~ redwax_openssl.c:5199:74: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} 5199 | ref->organization->data)); | ^~ redwax_openssl.c:5249:68: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} 5249 | notice->exptext->length, | ^~ redwax_openssl.c:5250:68: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} 5250 | notice->exptext->data)); | ^~ redwax_openssl.c: In function ‘redwax_openssl_signature_metadata’: redwax_openssl.c:5534:28: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} 5534 | sig->data, sig->length, | ^~ redwax_openssl.c:5534:39: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} 5534 | sig->data, sig->length, | ^~ redwax_openssl.c: In function ‘redwax_openssl_cert_metadata’: redwax_openssl.c:5624:35: error: invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’} 5624 | bs->data, bs->length, | ^~ redwax_openssl.c:5624:45: error: invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’} 5624 | bs->data, bs->length, | ^~ redwax_openssl.c:5637:50: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 5637 | redwax_openssl_name(m->pool, X509_get_issuer_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:5710:50: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 5710 | redwax_openssl_name(m->pool, X509_get_subject_name(x))); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:5713:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 5713 | xpkey = X509_get_X509_PUBKEY(x); | ^ redwax_openssl.c:5725:37: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} 5725 | iuid->data, iuid->length, | ^~ redwax_openssl.c:5725:49: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} 5725 | iuid->data, iuid->length, | ^~ redwax_openssl.c:5732:37: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} 5732 | suid->data, suid->length, | ^~ redwax_openssl.c:5732:49: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} 5732 | suid->data, suid->length, | ^~ redwax_openssl.c: In function ‘redwax_openssl_compare_certificate’: redwax_openssl.c:6173:5: warning: ‘X509_cmp_time’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] 6173 | bc1 = b1 ? X509_cmp_time(b1, r->now) : -1; | ^~~ In file included from /usr/include/openssl/pem.h:23, from redwax_openssl.c:39: /usr/include/openssl/x509.h:693:27: note: declared here 693 | OSSL_DEPRECATEDIN_4_0 int X509_cmp_time(const ASN1_TIME *s, const time_t *t); | ^~~~~~~~~~~~~ redwax_openssl.c:6174:5: warning: ‘X509_cmp_time’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] 6174 | bc2 = b2 ? X509_cmp_time(b2, r->now) : -1; | ^~~ /usr/include/openssl/x509.h:693:27: note: declared here 693 | OSSL_DEPRECATEDIN_4_0 int X509_cmp_time(const ASN1_TIME *s, const time_t *t); | ^~~~~~~~~~~~~ redwax_openssl.c:6195:5: warning: ‘X509_cmp_time’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] 6195 | ac1 = a1 ? X509_cmp_time(a1, r->now) : 1; | ^~~ /usr/include/openssl/x509.h:693:27: note: declared here 693 | OSSL_DEPRECATEDIN_4_0 int X509_cmp_time(const ASN1_TIME *s, const time_t *t); | ^~~~~~~~~~~~~ redwax_openssl.c:6196:5: warning: ‘X509_cmp_time’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] 6196 | ac2 = a2 ? X509_cmp_time(a2, r->now) : 1; | ^~~ /usr/include/openssl/x509.h:693:27: note: declared here 693 | OSSL_DEPRECATEDIN_4_0 int X509_cmp_time(const ASN1_TIME *s, const time_t *t); | ^~~~~~~~~~~~~ redwax_openssl.c: In function ‘redwax_openssl_normalise_certificate’: redwax_openssl.c:6749:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6749 | pub = X509_get_X509_PUBKEY(x); | ^ redwax_openssl.c:6804:17: warning: passing argument 2 of ‘redwax_openssl_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6804 | X509_get_subject_name(x)); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:908:66: note: expected ‘X509_NAME *’ {aka ‘struct X509_name_st *’} but argument is of type ‘const X509_NAME *’ {aka ‘const struct X509_name_st *’} 908 | static const char *redwax_openssl_name(apr_pool_t *p, X509_NAME *name) | ~~~~~~~~~~~^~~~ redwax_openssl.c:6806:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6806 | name = X509_get_subject_name(x); | ^ redwax_openssl.c:6812:40: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6812 | X509_NAME_ENTRY *cnEntry = X509_NAME_get_entry(name, index); | ^~~~~~~~~~~~~~~~~~~ redwax_openssl.c:6816:39: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6816 | ASN1_STRING *cnASN1 = X509_NAME_ENTRY_get_data(cnEntry); | ^~~~~~~~~~~~~~~~~~~~~~~~ redwax_openssl.c:6842:34: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 6842 | x509->skid_len = skid->length; | ^~ redwax_openssl.c:6843:58: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 6843 | x509->skid_der = apr_pmemdup(cert->pool, skid->data, skid->length); | ^~ redwax_openssl.c:6843:70: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} 6843 | x509->skid_der = apr_pmemdup(cert->pool, skid->data, skid->length); | ^~ redwax_openssl.c:6847:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 6847 | name = X509_get_issuer_name(x); | ^ make[1]: *** [Makefile:535: redwax_openssl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_unbound.o redwax_unbound.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_ldns.o redwax_ldns.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_libical.o redwax_libical.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_nss.o redwax_nss.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_util.o redwax_util.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax_p11kit.o redwax_p11kit.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' redwax_p11kit.c:60:9: warning: ‘CK_CERTIFICATE_CATEGORY_UNSPECIFIED’ redefined 60 | #define CK_CERTIFICATE_CATEGORY_UNSPECIFIED 0UL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/p11-kit-1/p11-kit/p11-kit.h:38, from redwax_p11kit.c:47: /usr/include/p11-kit-1/p11-kit/pkcs11.h:596:9: note: this is the location of the previous definition 596 | #define CK_CERTIFICATE_CATEGORY_UNSPECIFIED (0UL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redwax_p11kit.c:61:9: warning: ‘CK_CERTIFICATE_CATEGORY_TOKEN_USER’ redefined 61 | #define CK_CERTIFICATE_CATEGORY_TOKEN_USER 1UL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/p11-kit-1/p11-kit/pkcs11.h:597:9: note: this is the location of the previous definition 597 | #define CK_CERTIFICATE_CATEGORY_TOKEN_USER (1UL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redwax_p11kit.c:62:9: warning: ‘CK_CERTIFICATE_CATEGORY_AUTHORITY’ redefined 62 | #define CK_CERTIFICATE_CATEGORY_AUTHORITY 2UL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/p11-kit-1/p11-kit/pkcs11.h:598:9: note: this is the location of the previous definition 598 | #define CK_CERTIFICATE_CATEGORY_AUTHORITY (2UL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redwax_p11kit.c:63:9: warning: ‘CK_CERTIFICATE_CATEGORY_OTHER_ENTITY’ redefined 63 | #define CK_CERTIFICATE_CATEGORY_OTHER_ENTITY 3UL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/p11-kit-1/p11-kit/pkcs11.h:599:9: note: this is the location of the previous definition 599 | #define CK_CERTIFICATE_CATEGORY_OTHER_ENTITY (3UL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' gcc -DHAVE_CONFIG_H -I. -DPKGSYSCONFDIR='"/etc/redwax-tool"' -DPKGLIBEXECDIR='"/usr/libexec/redwax-tool"' -DP11_MODULE_PATH='"/usr/lib64/pkcs11"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/p11-kit-1 -I/usr/include/python3.15 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/nss3 -I/usr/include/nspr4 -c -o redwax-tool.o redwax-tool.c make[1]: Leaving directory '/builddir/build/BUILD/redwax-tool-1.0.0-build/redwax-tool-1.0.0' make: *** [Makefile:400: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.IgBrIE (%build) Bad exit status from /var/tmp/rpm-tmp.IgBrIE (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 80d1775fc6fa40e2a2fcb51db2042f4f -D /var/lib/mock/f45-build-34525-686/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/redwax-tool.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.14/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 80d1775fc6fa40e2a2fcb51db2042f4f -D /var/lib/mock/f45-build-34525-686/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zvwx9pg6:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/redwax-tool.spec'