Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocspd.spec'], chrootPath='/var/lib/mock/f37-build-680567-77069/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocspd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/ocspd-1.9.0-24.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocspd.spec'], chrootPath='/var/lib/mock/f37-build-680567-77069/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocspd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CDjPqU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openca-ocspd-1.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openca-ocspd-1.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openca-ocspd-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ocspd-1.7.0-bufresponse.patch):' Patch #1 (ocspd-1.7.0-bufresponse.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bufresponse --fuzz=0 patching file src/ocspd_engine.c patching file src/ocsp_response.c + echo 'Patch #2 (ocspd-1.9.0-misc.patch):' Patch #2 (ocspd-1.9.0-misc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .misc --fuzz=0 patching file configure.in patching file docs/ocspd.conf.3.pod patching file etc/Makefile.am patching file etc/ocspd.conf.in patching file etc/ocspd.in patching file etc/ocspd.sysconfig.in patching file examples/index.txt patching file examples/ocspd.conf patching file src/core.c patching file src/core.h patching file src/general.h patching file src/ocspd.c patching file src/sock.c patching file src/sock.h Patch #3 (ocspd-1.7.0-openssl.patch): + echo 'Patch #3 (ocspd-1.7.0-openssl.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl --fuzz=0 patching file src/general.h patching file src/ocspd_engine.c Patch #4 (ocspd-1.7.0-podsyntax.patch): + echo 'Patch #4 (ocspd-1.7.0-podsyntax.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .podsyntax --fuzz=0 patching file docs/ocspd.conf.3.pod Patch #5 (ocspd-1.7.0-badalgorcast.patch): + echo 'Patch #5 (ocspd-1.7.0-badalgorcast.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .badalgorcast --fuzz=0 patching file src/hash-db.c Patch #6 (ocspd-1.7.0-badcasts.patch): + echo 'Patch #6 (ocspd-1.7.0-badcasts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .badcasts --fuzz=0 patching file src/hash-db.c patching file src/http_client.c patching file src/ocsp_request.c patching file src/threads.c Patch #7 (ocspd-1.7.0-deprecldap.patch): + echo 'Patch #7 (ocspd-1.7.0-deprecldap.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .deprecldap --fuzz=0 patching file src/hash-db.c Patch #8 (ocspd-1.7.0-threadinit.patch): + echo 'Patch #8 (ocspd-1.7.0-threadinit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .threadinit --fuzz=0 patching file src/core.c patching file src/threads.c Patch #9 (ocspd-1.7.0-config.patch): + echo 'Patch #9 (ocspd-1.7.0-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file docs/ocspd.conf.3 patching file etc/ocspd.conf.in patching file examples/ocspd.conf Patch #10 (ocspd-1.7.0-setgroups.patch): + echo 'Patch #10 (ocspd-1.7.0-setgroups.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .setgroups --fuzz=0 patching file configure.in Hunk #1 succeeded at 50 (offset 5 lines). patching file src/support.c Patch #11 (ocspd-1.9.0-stealthy.patch): + echo 'Patch #11 (ocspd-1.9.0-stealthy.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stealthy --fuzz=0 patching file src/ocsp_request.c Patch #12 (ocspd-1.9.0-noformat.patch): + echo 'Patch #12 (ocspd-1.9.0-noformat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .noformat --fuzz=0 patching file src/ocspd.c Patch #13 (ocspd-1.9.0-openssl11.patch): + echo 'Patch #13 (ocspd-1.9.0-openssl11.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl11 --fuzz=0 patching file src/configuration.c patching file src/crl.c patching file src/general.h patching file src/hash-db.c patching file src/ocspd.c patching file src/ocsp_response.c patching file src/support.c patching file src/threads.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8M5RG2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 openca-ocspd-1.9.0 + aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' + automake --add-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:24: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:48: installing 'build/compile' src/Makefile.am:69: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf configure.in:19: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:19: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:19: the top level configure.in:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from... configure.in:24: the top level configure.in:80: warning: The macro `AC_STDC_HEADERS' is obsolete. configure.in:80: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.in:80: the top level configure.in:80: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:80: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.in:80: the top level configure.in:81: warning: The macro `AC_HAVE_HEADERS' is obsolete. configure.in:81: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... configure.in:81: the top level configure.in:128: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:128: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:128: the top level configure.in:138: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:138: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:138: the top level configure.in:468: warning: AC_OUTPUT should be used without arguments. configure.in:468: You should run autoupdate. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + '[' '-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 2023-01-11 18:08:38.955209907 +0000 +++ ./configure 2023-01-11 18:08:39.105209821 +0000 @@ -1700,7 +1700,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 + mv ./configure.backup ./configure + '[' 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/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-openssl-engine --with-ocspd-group=ocspd checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/openca-ocspd-1.9.0/build/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/openca-ocspd-1.9.0/build/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for pthread_create in -lpthread... yes checking for setgroups... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for string.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for fcntl.h... yes checking for sys/file.h... yes checking for sys/param.h... yes checking for sys/sem.h... yes checking for sys/ipc.h... yes checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for egrep... (cached) /usr/bin/grep -E checking for gethostbyname in -lnsl... no checking for socket in -lsocket... no checking for res_query in -lresolv... yes Detecting pthread cflags ... pthread detected cflags : none checking for pod2man... /usr/bin/pod2man checking for pod2html... pod2html checking for date... /usr/bin/date checking for chmod... /usr/bin/chmod checking for pkgmk... no checking for rpm... /usr/bin/rpm checking for perl... /usr/bin/perl architecture : linux-gnu with openssl-prefix : openssl lib dir : (default) checking for pkg-config... yes 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 for OPENSSL... yes openssl 0.9.7 or greater found via pkgconfig enable openldap support : true with openldap-prefix : openldap lib dir : (default) checking for ber_init in -llber... yes checking for ldap_init in -lldap... yes default ocspd user : ocspd default ocspd group : ocspd enable engine support : true enable semaphores : true enable debug messages : false with openca-prefix : /usr/OpenCA install prefix : /usr checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating etc/Makefile config.status: creating etc/ocspd config.status: creating etc/ocspd.conf config.status: creating etc/ocspd.sysconfig config.status: creating contrib/openca-ocspd.xml config.status: creating contrib/openca-ocspd-common.xml config.status: creating src/config.h config.status: executing depfiles commands + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o ocspd.o ocspd.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o ocsp_response.o ocsp_response.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o ocsp_request.o ocsp_request.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o configuration.o configuration.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o stack.o stack.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o url.o url.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o support.o support.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o support_openssl.o support_openssl.c url.c: In function 'URL_new': url.c:94:17: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 94 | strncpy( ret->addr, &url_s[7], BUFF_MAX_SIZE); | ^ url.c:84:25: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 84 | strncpy( ret->addr, tmp_s, BUFF_MAX_SIZE); | ^ gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o crypto.o crypto.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o http_client.o http_client.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o ocsp_http.o ocsp_http.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o ocspd_pkey.o ocspd_pkey.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o core.o core.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o sock.o sock.c ocspd_pkey.c: In function 'ocspd_load_key': ocspd_pkey.c:94:25: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | ENGINE_load_private_key( engine, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from general.h:81, from ocspd_pkey.c:16: /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o threads.o threads.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o crl.o crl.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o openssl_thread_help.o openssl_thread_help.c threads.c: In function 'thread_main': threads.c:45:17: warning: variable 'engine' set but not used [-Wunused-but-set-variable] 45 | ENGINE *engine; | ^~~~~~ gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o hash-db.o hash-db.c gcc -DOCSPD_ARCH_LINUX=1 -I. -I../include -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o ocspd_engine.o ocspd_engine.c ocspd_engine.c: In function 'ocspd_init_engine': ocspd_engine.c:34:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 34 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./general.h:81, from ocspd_engine.h:21, from ocspd_engine.c:16: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ocspd_engine.c:35:9: warning: 'ERR_load_ENGINE_strings' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | ERR_load_ENGINE_strings(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/cryptoerr.h:17, from /usr/include/openssl/crypto.h:38, from /usr/include/openssl/bio.h:30, from /usr/include/openssl/x509v3.h:24, from ./crypto.h:20, from ./general.h:13: /usr/include/openssl/cryptoerr_legacy.h:55:27: note: declared here 55 | OSSL_DEPRECATEDIN_3_0 int ERR_load_ENGINE_strings(void); | ^~~~~~~~~~~~~~~~~~~~~~~ ocspd_engine.c:48:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | if((e = ENGINE_by_id(engine)) == NULL) { | ^~ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ ocspd_engine.c:62:25: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 62 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ ocspd_engine.c:66:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | if(!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ ocspd_engine.c:68:25: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ ocspd_engine.c:75:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 75 | ENGINE_free( e ); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ ocspd_engine.c:88:17: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 88 | if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) { | ^~ /usr/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ ocspd_engine.c: In function 'ocspd_exec_engine_cmds': ocspd_engine.c:128:9: warning: 'ENGINE_ctrl' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 128 | if(!ENGINE_ctrl(e, ENGINE_CTRL_HAS_CTRL_FUNCTION, 0, NULL, NULL) || | ^~ /usr/include/openssl/engine.h:429:27: note: declared here 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, | ^~~~~~~~~~~ ocspd_engine.c:129:17: warning: 'ENGINE_ctrl' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 129 | ((num = ENGINE_ctrl(e, ENGINE_CTRL_GET_FIRST_CMD_TYPE, | ^ /usr/include/openssl/engine.h:429:27: note: declared here 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, | ^~~~~~~~~~~ ocspd_engine.c:159:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 159 | if(!ENGINE_ctrl_cmd_string(e, cmd, NULL, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ ocspd_engine.c:175:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 175 | if(!ENGINE_ctrl_cmd_string(e, buf, arg, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ gcc -g -Wall -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ocspd ocspd.o ocsp_response.o ocsp_request.o configuration.o stack.o url.o support.o support_openssl.o crypto.o http_client.o ocsp_http.o ocspd_pkey.o core.o sock.o threads.o crl.o openssl_thread_help.o hash-db.o ocspd_engine.o -lssl -lcrypto -llber -lldap -ldl -llber -lresolv make[2]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' Making all in docs make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/docs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/docs' Making all in etc make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/etc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/etc' make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PVBsui + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 openca-ocspd-1.9.0 + make DESTDIR=/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' make[2]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/sbin' /usr/bin/install -c ocspd '/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/src' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/docs' make[2]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/man/man3' /usr/bin/install -c -m 644 ocspd.3 ocspd.conf.3 '/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/docs' make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/docs' Making install in etc make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/etc' make[2]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0/etc' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc; \ /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/rc.d; \ /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/rc.d/init.d; \ /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/sysconfig; \ /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd; \ /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd/certs; \ /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd/crls; \ /bin/sh ../build/mkinstalldirs /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd/private; \ for file in *.conf ; do \ if test -f $file; then \ /usr/bin/install -c -m 644 $file /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd; \ fi \ done ; \ /usr/bin/install -c -m 644 ocspd /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/rc.d/init.d ; \ /usr/bin/chmod +x /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/rc.d/init.d/ocspd; \ /usr/bin/install -c -m 644 ocspd.sysconfig /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/sysconfig/ocspd mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/rc.d mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/rc.d/init.d mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/sysconfig mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd/certs mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd/crls mkdir -p -- /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/ocspd/private make[2]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/etc' make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0/etc' make[1]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0' make[2]: Entering directory '/builddir/build/BUILD/openca-ocspd-1.9.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0' make[1]: Leaving directory '/builddir/build/BUILD/openca-ocspd-1.9.0' + rm -rf /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/etc/rc.d/init.d + mkdir -p '/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64%{_unitdir}/' + cp -a /builddir/build/SOURCES/ocspd.service '/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64%{_unitdir}/' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.9.0-24.fc37 --unique-debug-suffix -1.9.0-24.fc37.riscv64 --unique-debug-src-base ocspd-1.9.0-24.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/openca-ocspd-1.9.0 extracting debug info from /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/sbin/ocspd original debug info size: 768kB, size after compression: 724kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 325 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ocspd-1.9.0-24.fc37.riscv64 error: File must begin with "/": %{_unitdir}/* Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rJ1eik + umask 022 + cd /builddir/build/BUILD + cd openca-ocspd-1.9.0 + DOCDIR=/builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/doc/ocspd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/doc/ocspd + cp -pr AUTHORS /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/doc/ocspd + cp -pr COPYING /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/doc/ocspd + cp -pr ChangeLog /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/doc/ocspd + cp -pr README /builddir/build/BUILDROOT/ocspd-1.9.0-24.fc37.riscv64/usr/share/doc/ocspd + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File must begin with "/": %{_unitdir}/* Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocspd.spec