Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rng-tools.spec'], chrootPath='/var/lib/mock/f33-build-556053-65439/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rng-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1615507200 Wrote: /builddir/build/SRPMS/rng-tools-6.12-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rng-tools.spec'], chrootPath='/var/lib/mock/f33-build-556053-65439/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rng-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1615507200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vxhdK6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rng-tools-6.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/rng-tools-6.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rng-tools-6.12 + /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.6lciH5 + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.12 + ./autogen.sh configure.ac:60: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:24: installing './install-sh' configure.ac:24: installing './missing' Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' + 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 ' + 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 + mv ./configure.backup ./configure + /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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./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=/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 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 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 whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 dependency style of gcc... none checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-gar... no checking for ar... ar checking for a sed that does not truncate output... /usr/bin/sed checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes configure: Searching for jitterentropy library checking for library containing jent_version... -ljitterentropy 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 libcurl... yes checking for libxml2... yes checking for jansson... yes checking for libp11... yes checking for libcrypto... yes checking for openssl... yes checking dependency style of gcc... (cached) none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating tests/Makefile config.status: creating rngd.8 config.status: creating rngtest.1 config.status: creating rng-tools-config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in contrib make[2]: Nothing to be done for 'all'. Making all in tests make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -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 stats.o stats.c In file included from /usr/include/string.h:519, from stats.c:34: In function 'strncpy', inlined from 'scale_mult_unit' at stats.c:68:3, inlined from 'dump_stat_bw' at stats.c:145:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -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 fips.o fips.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -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 rngtest.o rngtest.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 rngd-rngd_linux.o `test -f 'rngd_linux.c' || echo './'`rngd_linux.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' rngd_linux.c: In function 'random_add_entropy': rngd_linux.c:154:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | write(random_fd, buf, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 rngd-util.o `test -f 'util.c' || echo './'`util.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 rngd-rngd_entsource.o `test -f 'rngd_entsource.c' || echo './'`rngd_entsource.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 rngd-rngd.o `test -f 'rngd.c' || echo './'`rngd.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' rm -f librngd.a ar cru librngd.a fips.o ranlib librngd.a make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 rngd-rngd_pkcs11.o `test -f 'rngd_pkcs11.c' || echo './'`rngd_pkcs11.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -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 -o rngtest stats.o rngtest.o librngd.a -ljitterentropy make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 rngd-rngd_jitter.o `test -f 'rngd_jitter.c' || echo './'`rngd_jitter.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' rngd_jitter.c: In function 'openssl_mangle': rngd_jitter.c:125:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 125 | ciphertext_len = osslencrypt (tmp, strlen(tmp), key, iv_buf, | ^~~ | | | unsigned char * In file included from /usr/include/jitterentropy-base-user.h:61, from /usr/include/jitterentropy.h:45, from rngd_jitter.c:36: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ rngd_jitter.c:125:57: warning: pointer targets in passing argument 3 of 'osslencrypt' differ in signedness [-Wpointer-sign] 125 | ciphertext_len = osslencrypt (tmp, strlen(tmp), key, iv_buf, | ^~~ | | | char * rngd_jitter.c:75:84: note: expected 'unsigned char *' but argument is of type 'char *' 75 | static int osslencrypt(unsigned char *plaintext, int plaintext_len, unsigned char *key, | ~~~~~~~~~~~~~~~^~~ rngd_jitter.c:130:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 130 | memcpy(tmp, ciphertext, strlen(tmp)); | ^~~ | | | unsigned char * In file included from /usr/include/jitterentropy-base-user.h:61, from /usr/include/jitterentropy.h:45, from rngd_jitter.c:36: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 rngd-rngd_nistbeacon.o `test -f 'rngd_nistbeacon.c' || echo './'`rngd_nistbeacon.c rngd_nistbeacon.c: In function 'refill_rand': rngd_nistbeacon.c:223:44: warning: pointer targets in passing argument 1 of 'openssl_mangle' differ in signedness [-Wpointer-sign] 223 | if (openssl_mangle(nist_rand_buf, NIST_BUF_SIZE, ent_src) != 0) { | ^~~~~~~~~~~~~ | | | char * rngd_nistbeacon.c:179:49: note: expected 'unsigned char *' but argument is of type 'char *' 179 | static inline int openssl_mangle(unsigned char *tmp, size_t size, struct rng *ent_src) | ~~~~~~~~~~~~~~~^~~ rngd_nistbeacon.c: In function 'parse_nist_json_block': rngd_nistbeacon.c:353:32: warning: unused variable 'values' [-Wunused-variable] 353 | json_t *json, *pulse, *values, *obj; | ^~~~~~ rngd_nistbeacon.c:352:8: warning: unused variable 'xml' [-Wunused-variable] 352 | char *xml = (char *)ptr; | ^~~ rngd_nistbeacon.c:350:14: warning: unused variable 'name' [-Wunused-variable] 350 | const char *name; | ^~~~ rngd_nistbeacon.c:349:6: warning: unused variable 'ret' [-Wunused-variable] 349 | int ret = 1; | ^~~ rngd_nistbeacon.c:348:19: warning: unused variable 'reader' [-Wunused-variable] 348 | xmlTextReaderPtr reader; | ^~~~~~ rngd_nistbeacon.c: In function 'validate_nist_block': rngd_nistbeacon.c:598:34: warning: pointer targets in passing argument 2 of 'EVP_VerifyFinal' differ in signedness [-Wpointer-sign] 598 | if (EVP_VerifyFinal(mdctx, block.signatureValue, be32toh(block.signatureValueLen), pubkey) < 1) { | ~~~~~^~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from rngd_nistbeacon.c:46: /usr/include/openssl/evp.h:627:66: note: expected 'const unsigned char *' but argument is of type 'char *' 627 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' gcc -DDEFAULT_PKCS11_ENGINE=\"/usr/lib64/opensc-pkcs11.so\" -I/usr/include/libxml2 -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 -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rngd rngd-rngd.o rngd-rngd_entsource.o rngd-rngd_linux.o rngd-util.o rngd-rngd_nistbeacon.o rngd-rngd_jitter.o rngd-rngd_pkcs11.o librngd.a -ljitterentropy -lp11 -lcrypto -ljansson -lcurl -lxml2 -lssl -lcrypto -ljitterentropy make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aDgXc4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64 + cd rng-tools-6.12 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.12/contrib' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12/contrib' 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/rng-tools-6.12/contrib' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12/contrib' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.12/tests' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12/tests' 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/rng-tools-6.12/tests' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12/tests' make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.12' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/bin' /usr/bin/install -p rngtest '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/sbin' /usr/bin/install -p rngd '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 rngtest.1 '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/man/man8' /usr/bin/install -p -m 644 rngd.8 '/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.12' + install -Dt /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/lib/systemd/system -m0644 /builddir/build/SOURCES/rngd.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 6.12-1.fc33 --unique-debug-suffix -6.12-1.fc33.riscv64 --unique-debug-src-base rng-tools-6.12-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rng-tools-6.12 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/sbin/rngd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/bin/rngtest extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/sbin/rngd extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/bin/rngtest original debug info size: 916kB, size after compression: 904kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 220 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rng-tools-6.12-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.W6nwv7 + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.12 + DOCDIR=/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/doc/rng-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/doc/rng-tools + cp -pr AUTHORS /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/doc/rng-tools + cp -pr NEWS /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/doc/rng-tools + cp -pr README /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/doc/rng-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AsZPH7 + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.12 + LICENSEDIR=/builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/licenses/rng-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/licenses/rng-tools + cp -pr COPYING /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64/usr/share/licenses/rng-tools + RPM_EC=0 ++ jobs -p + exit 0 Provides: jitterentropy-rngd rng-tools = 6.12-1.fc33 rng-tools(riscv-64) = 6.12-1.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcurl.so.4()(64bit) libjansson.so.4()(64bit) libjitterentropy.so.2()(64bit) libp11.so.3()(64bit) libp11.so.3(LIBP11_3)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: rng-tools-debugsource-6.12-1.fc33.riscv64 Provides: rng-tools-debugsource = 6.12-1.fc33 rng-tools-debugsource(riscv-64) = 6.12-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rng-tools-debuginfo-6.12-1.fc33.riscv64 Provides: debuginfo(build-id) = 91a15dcf534cf0154ee0357da8cf5c111b20d024 debuginfo(build-id) = e44d164636125bc858e5b15a56504aa706bddd56 rng-tools-debuginfo = 6.12-1.fc33 rng-tools-debuginfo(riscv-64) = 6.12-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rng-tools-debugsource(riscv-64) = 6.12-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64 Wrote: /builddir/build/RPMS/rng-tools-6.12-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rng-tools-debugsource-6.12-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rng-tools-debuginfo-6.12-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.95WIn5 + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rng-tools-6.12-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0