Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rng-tools.spec'], chrootPath='/var/lib/mock/f30-build-38235-22064/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=345600uid=996gid=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 Wrote: /builddir/build/SRPMS/rng-tools-6.3.1-2.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rng-tools.spec'], chrootPath='/var/lib/mock/f30-build-38235-22064/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=345600uid=996gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Re2Zth + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rng-tools-6.3.1 + /usr/bin/tar -xvvof - + /usr/bin/gzip -dc /builddir/build/SOURCES/rng-tools-6.3.1.tar.gz drwxrwxr-x root/root 0 2018-07-11 19:58 rng-tools-6.3.1/ -rw-rw-r-- root/root 255 2018-07-11 19:58 rng-tools-6.3.1/.cvsignore -rw-rw-r-- root/root 129 2018-07-11 19:58 rng-tools-6.3.1/.gitmodules -rw-rw-r-- root/root 402 2018-07-11 19:58 rng-tools-6.3.1/.travis.yml -rw-rw-r-- root/root 91 2018-07-11 19:58 rng-tools-6.3.1/AUTHORS -rw-rw-r-- root/root 5240 2018-07-11 19:58 rng-tools-6.3.1/ChangeLog -rw-rw-r-- root/root 923 2018-07-11 19:58 rng-tools-6.3.1/Makefile.am -rw-rw-r-- root/root 1267 2018-07-11 19:58 rng-tools-6.3.1/NEWS -rw-rw-r-- root/root 358 2018-07-11 19:58 rng-tools-6.3.1/README.md -rwxrwxr-x root/root 209 2018-07-11 19:58 rng-tools-6.3.1/autogen.sh -rw-rw-r-- root/root 4030 2018-07-11 19:58 rng-tools-6.3.1/configure.ac drwxrwxr-x root/root 0 2018-07-11 19:58 rng-tools-6.3.1/contrib/ -rw-rw-r-- root/root 21 2018-07-11 19:58 rng-tools-6.3.1/contrib/.cvsignore -rw-rw-r-- root/root 26 2018-07-11 19:58 rng-tools-6.3.1/contrib/Makefile.am -rw-rw-r-- root/root 436 2018-07-11 19:58 rng-tools-6.3.1/contrib/randstat.c -rw-rw-r-- root/root 1166 2018-07-11 19:58 rng-tools-6.3.1/exits.h -rw-rw-r-- root/root 6399 2018-07-11 19:58 rng-tools-6.3.1/fips.c -rw-rw-r-- root/root 2557 2018-07-11 19:58 rng-tools-6.3.1/fips.h drwxrwxr-x root/root 0 2018-07-11 19:58 rng-tools-6.3.1/jitterentropy-library/ -rw-rw-r-- root/root 7659 2018-07-11 19:58 rng-tools-6.3.1/rdrand_asm.S -rw-rw-r-- root/root 3594 2018-07-11 19:58 rng-tools-6.3.1/rngd.8.in -rw-rw-r-- root/root 12551 2018-07-11 19:58 rng-tools-6.3.1/rngd.c -rw-rw-r-- root/root 2263 2018-07-11 19:58 rng-tools-6.3.1/rngd.h -rw-rw-r-- root/root 4855 2018-07-11 19:58 rng-tools-6.3.1/rngd_darn.c -rw-rw-r-- root/root 5778 2018-07-11 19:58 rng-tools-6.3.1/rngd_entsource.c -rw-rw-r-- root/root 2284 2018-07-11 19:58 rng-tools-6.3.1/rngd_entsource.h -rw-rw-r-- root/root 2718 2018-07-11 19:58 rng-tools-6.3.1/rngd_jitter.c -rw-rw-r-- root/root 3232 2018-07-11 19:58 rng-tools-6.3.1/rngd_linux.c -rw-rw-r-- root/root 1436 2018-07-11 19:58 rng-tools-6.3.1/rngd_linux.h -rw-rw-r-- root/root 12166 2018-07-11 19:58 rng-tools-6.3.1/rngd_nistbeacon.c -rw-rw-r-- root/root 8727 2018-07-11 19:58 rng-tools-6.3.1/rngd_rdrand.c -rw-rw-r-- root/root 3039 2018-07-11 19:58 rng-tools-6.3.1/rngtest.1.in -rw-rw-r-- root/root 10343 2018-07-11 19:58 rng-tools-6.3.1/rngtest.c -rw-rw-r-- root/root 3955 2018-07-11 19:58 rng-tools-6.3.1/stats.c -rw-rw-r-- root/root 2222 2018-07-11 19:58 rng-tools-6.3.1/stats.h drwxrwxr-x root/root 0 2018-07-11 19:58 rng-tools-6.3.1/tests/ -rw-rw-r-- root/root 90 2018-07-11 19:58 rng-tools-6.3.1/tests/Makefile.am -rwxrwxr-x root/root 420 2018-07-11 19:58 rng-tools-6.3.1/tests/rngtesturandom.sh -rwxrwxr-x root/root 162 2018-07-11 19:58 rng-tools-6.3.1/tests/rngtestzero.sh -rw-rw-r-- root/root 2289 2018-07-11 19:58 rng-tools-6.3.1/util.c + STATUS=0 + '[' 0 -ne 0 ']' + cd rng-tools-6.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xvf /builddir/build/SOURCES/jitterentropy-library-3f7b6cc.tar.gz jitterentropy-library/ jitterentropy-library/CHANGES.md jitterentropy-library/COPYING jitterentropy-library/COPYING.bsd jitterentropy-library/COPYING.gplv2 jitterentropy-library/Makefile jitterentropy-library/README.md jitterentropy-library/arch/ jitterentropy-library/arch/android/ jitterentropy-library/arch/android/Android.mk jitterentropy-library/arch/android/AndroidManifest.xml jitterentropy-library/arch/android/README jitterentropy-library/arch/jitterentropy-base-power.h jitterentropy-library/arch/jitterentropy-base-s390.h jitterentropy-library/arch/jitterentropy-base-x86-windows.h jitterentropy-library/arch/jitterentropy-base-x86.h jitterentropy-library/doc/ jitterentropy-library/doc/README jitterentropy-library/doc/jitterentropy.3 jitterentropy-library/jitterentropy-base-user.h jitterentropy-library/jitterentropy-base.c jitterentropy-library/jitterentropy.h Patch #0 (jitterentropy-remove-install.patch): + echo 'Patch #0 (jitterentropy-remove-install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jitterentropy-library/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nDXZh4 + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.3.1 + ./autogen.sh BUILDSTDERR: configure.ac:43: installing './compile' BUILDSTDERR: configure.ac:49: installing './config.guess' BUILDSTDERR: configure.ac:49: installing './config.sub' BUILDSTDERR: configure.ac:23: installing './install-sh' BUILDSTDERR: configure.ac:23: installing './missing' BUILDSTDERR: Makefile.am: installing './INSTALL' BUILDSTDERR: Makefile.am: installing './COPYING' using GNU General Public License v3 file BUILDSTDERR: Makefile.am: Consider adding the COPYING file to the version control system BUILDSTDERR: Makefile.am: for your code, to avoid questions about which license your project uses BUILDSTDERR: Makefile.am: installing './depcomp' BUILDSTDERR: parallel-tests: installing './test-driver' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./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=/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 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-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-koji-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 build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu 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 libcurl... yes checking for libxml2... yes checking for openssl... yes checking for library containing sysfs_get_mnt_path... -lsysfs 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 gcrypt.h usability... yes checking gcrypt.h presence... yes checking for gcrypt.h... yes checking for gcry_check_version in -lgcrypt... 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 /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'. Making all in jitterentropy-library make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' BUILDSTDERR: Makefile:53: warning: overriding recipe for target 'clean' BUILDSTDERR: Makefile:49: warning: ignoring old recipe for target 'clean' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -pedantic -fPIC -O0 -fstack-protector-strong -fwrapv --param ssp-buffer-size=4 -c -o jitterentropy-base.o jitterentropy-base.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' ar rcs libjitterentropy.a jitterentropy-base.o make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' gcc -shared -Wl,-soname,libjitterentropy.so.2 -o libjitterentropy.so.2.1.1 jitterentropy-base.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro,-z,now -lrt make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fips.o fips.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o stats.o stats.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngtest.o rngtest.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-rngd.o `test -f 'rngd.c' || echo './'`rngd.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' BUILDSTDERR: rngd.c:141:3: warning: 'entropy_indexes' defined but not used [-Wunused-variable] BUILDSTDERR: } entropy_indexes; BUILDSTDERR: ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-rngd_linux.o `test -f 'rngd_linux.c' || echo './'`rngd_linux.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-rngd_entsource.o `test -f 'rngd_entsource.c' || echo './'`rngd_entsource.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' rm -f librngd.a ar cru librngd.a fips.o ranlib librngd.a make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -lgcrypt -lsysfs make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-util.o `test -f 'util.c' || echo './'`util.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-rngd_jitter.o `test -f 'rngd_jitter.c' || echo './'`rngd_jitter.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' BUILDSTDERR: In file included from rngd_jitter.c:29: BUILDSTDERR: rngd_jitter.c: In function 'xread_jitter': BUILDSTDERR: rngd_jitter.c:59:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: message(LOG_DAEMON|LOG_DEBUG, "JITTER rng fails with code %d\n", ret); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ BUILDSTDERR: rngd.h:88:22: note: in definition of macro 'message' BUILDSTDERR: syslog((priority), fmt, ##args); \ BUILDSTDERR: ^~~ BUILDSTDERR: rngd_jitter.c:59:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: message(LOG_DAEMON|LOG_DEBUG, "JITTER rng fails with code %d\n", ret); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ BUILDSTDERR: rngd.h:91:20: note: in definition of macro 'message' BUILDSTDERR: fprintf(stderr, fmt, ##args); \ BUILDSTDERR: ^~~ BUILDSTDERR: rngd_jitter.c: In function 'cache_jitter_entropy_data': BUILDSTDERR: rngd_jitter.c:76:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: message(LOG_DAEMON|LOG_DEBUG, "JITTER rng cache fails with code %d\n", ret); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ BUILDSTDERR: rngd.h:88:22: note: in definition of macro 'message' BUILDSTDERR: syslog((priority), fmt, ##args); \ BUILDSTDERR: ^~~ BUILDSTDERR: rngd_jitter.c:76:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: message(LOG_DAEMON|LOG_DEBUG, "JITTER rng cache fails with code %d\n", ret); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ BUILDSTDERR: rngd.h:91:20: note: in definition of macro 'message' BUILDSTDERR: fprintf(stderr, fmt, ##args); \ BUILDSTDERR: ^~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -DHAVE_CONFIG_H -I. -I./jitterentropy-library -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-rngd_nistbeacon.o `test -f 'rngd_nistbeacon.c' || echo './'`rngd_nistbeacon.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' BUILDSTDERR: rngd_nistbeacon.c: In function 'xread_nist': BUILDSTDERR: rngd_nistbeacon.c:148:11: warning: unused variable 'darn_val' [-Wunused-variable] BUILDSTDERR: uint64_t darn_val; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c:147:12: warning: unused variable 'darn_ptr' [-Wunused-variable] BUILDSTDERR: uint64_t *darn_ptr =(uint64_t *)buf; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c: In function 'dup_val_noconvert': BUILDSTDERR: rngd_nistbeacon.c:161:14: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *val = xmlTextReaderReadInnerXml(reader); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c: In function 'dup_val': BUILDSTDERR: rngd_nistbeacon.c:173:14: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *val = xmlTextReaderReadInnerXml(reader); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c: In function 'parse_nist_xml_block': BUILDSTDERR: rngd_nistbeacon.c:287:8: warning: pointer targets in assignment from 'const xmlChar *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: name = xmlTextReaderConstName(reader); BUILDSTDERR: ^ BUILDSTDERR: rngd_nistbeacon.c:290:17: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *val = xmlTextReaderReadInnerXml(reader); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c:299:18: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *val = xmlTextReaderReadInnerXml(reader); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c:308:18: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *val = xmlTextReaderReadInnerXml(reader); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c:326:18: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: char *val = xmlTextReaderReadInnerXml(reader); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c: In function 'validate_nist_block': BUILDSTDERR: rngd_nistbeacon.c:400:34: warning: pointer targets in passing argument 2 of 'EVP_VerifyFinal' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (EVP_VerifyFinal(mdctx, block.sigvalue, block.sigvaluelen, pkey) != 1) { BUILDSTDERR: ~~~~~^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/x509.h:18, BUILDSTDERR: from /usr/include/openssl/ssl.h:20, BUILDSTDERR: from rngd_nistbeacon.c:45: BUILDSTDERR: /usr/include/openssl/evp.h:623:12: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c:350:16: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: unsigned char tmp; BUILDSTDERR: ^~~ BUILDSTDERR: rngd_nistbeacon.c:349:21: warning: unused variable 'msgsz' [-Wunused-variable] BUILDSTDERR: int idx = 0, idx2, msgsz; BUILDSTDERR: ^~~~~ BUILDSTDERR: rngd_nistbeacon.c:349:15: warning: unused variable 'idx2' [-Wunused-variable] BUILDSTDERR: int idx = 0, idx2, msgsz; BUILDSTDERR: ^~~~ BUILDSTDERR: rngd_nistbeacon.c:349:6: warning: unused variable 'idx' [-Wunused-variable] BUILDSTDERR: int idx = 0, idx2, msgsz; BUILDSTDERR: ^~~ BUILDSTDERR: rngd_nistbeacon.c: In function 'get_nist_record': BUILDSTDERR: rngd_nistbeacon.c:425:9: warning: unused variable 'rec' [-Wunused-variable] BUILDSTDERR: time_t rec = time(NULL); BUILDSTDERR: ^~~ BUILDSTDERR: At top level: BUILDSTDERR: rngd_nistbeacon.c:159:13: warning: 'dup_val_noconvert' defined but not used [-Wunused-function] BUILDSTDERR: static void dup_val_noconvert(char **v, size_t *len, xmlTextReaderPtr reader) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: rngd_nistbeacon.c:92:13: warning: 'pubkey' defined but not used [-Wunused-variable] BUILDSTDERR: static RSA *pubkey; BUILDSTDERR: ^~~~~~ BUILDSTDERR: rngd_nistbeacon.c:91:14: warning: 'nist_cert' defined but not used [-Wunused-variable] BUILDSTDERR: static X509 *nist_cert; BUILDSTDERR: ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' gcc -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 librngd.a -lsysfs ./jitterentropy-library/libjitterentropy.a -lcurl -lxml2 -lssl -lcrypto -lgcrypt -lsysfs make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0F6SFO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64 + cd rng-tools-6.3.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64 'INSTALL=/usr/bin/install -p' Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/contrib' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/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.3.1/contrib' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1/contrib' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/tests' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/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.3.1/tests' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1/tests' Making install in jitterentropy-library make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' BUILDSTDERR: Makefile:53: warning: overriding recipe for target 'clean' BUILDSTDERR: Makefile:49: warning: ignoring old recipe for target 'clean' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1/jitterentropy-library' make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.3.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/bin' /usr/bin/install -p rngtest '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/sbin' /usr/bin/install -p rngd '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 rngtest.1 '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/man/man8' /usr/bin/install -p -m 644 rngd.8 '/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.3.1' + install -Dt /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.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.3.1-2.fc30 --unique-debug-suffix -6.3.1-2.fc30.riscv64 --unique-debug-src-base rng-tools-6.3.1-2.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rng-tools-6.3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/sbin/rngd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/bin/rngtest extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/sbin/rngd extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/bin/rngtest /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 201 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rng-tools-6.3.1-2.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.I0SxN5 + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.3.1 + DOCDIR=/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.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.3.1-2.fc30.riscv64/usr/share/doc/rng-tools + cp -pr AUTHORS /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/doc/rng-tools + cp -pr NEWS /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/doc/rng-tools + cp -pr README /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/doc/rng-tools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QA86qO + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.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.3.1-2.fc30.riscv64/usr/share/licenses/rng-tools + cp -pr COPYING /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64/usr/share/licenses/rng-tools + exit 0 Provides: jitterentropy-rngd rng-tools = 6.3.1-2.fc30 rng-tools(riscv-64) = 6.3.1-2.fc30 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-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units 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) libsysfs.so.2()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: rng-tools-debugsource-6.3.1-2.fc30.riscv64 Provides: rng-tools-debugsource = 6.3.1-2.fc30 rng-tools-debugsource(riscv-64) = 6.3.1-2.fc30 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.3.1-2.fc30.riscv64 Provides: debuginfo(build-id) = 576bb4000c39028581fb72ee63cc05680380d5c4 debuginfo(build-id) = 62f6b68faa8b7172187597ebc66763e40c09d780 rng-tools-debuginfo = 6.3.1-2.fc30 rng-tools-debuginfo(riscv-64) = 6.3.1-2.fc30 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.3.1-2.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64 Wrote: /builddir/build/RPMS/rng-tools-6.3.1-2.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/rng-tools-debugsource-6.3.1-2.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/rng-tools-debuginfo-6.3.1-2.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AUZj1h + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rng-tools-6.3.1-2.fc30.riscv64 + exit 0 Child return code was: 0