Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rng-tools.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-2038-170/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rng-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rng-tools-6.6-2.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rng-tools.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-2038-170/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rng-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QOmyz2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rng-tools-6.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/rng-tools-6.6.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2018-10-20 15:38 rng-tools-6.6/ -rw-rw-r-- root/root 255 2018-10-20 15:38 rng-tools-6.6/.cvsignore -rw-rw-r-- root/root 0 2018-10-20 15:38 rng-tools-6.6/.gitmodules -rw-rw-r-- root/root 388 2018-10-20 15:38 rng-tools-6.6/.travis.yml -rw-rw-r-- root/root 91 2018-10-20 15:38 rng-tools-6.6/AUTHORS -rw-rw-r-- root/root 18092 2018-10-20 15:38 rng-tools-6.6/COPYING -rw-rw-r-- root/root 5240 2018-10-20 15:38 rng-tools-6.6/ChangeLog -rw-rw-r-- root/root 832 2018-10-20 15:38 rng-tools-6.6/Makefile.am -rw-rw-r-- root/root 1267 2018-10-20 15:38 rng-tools-6.6/NEWS -rw-rw-r-- root/root 358 2018-10-20 15:38 rng-tools-6.6/README.md -rwxrwxr-x root/root 209 2018-10-20 15:38 rng-tools-6.6/autogen.sh -rw-rw-r-- root/root 4599 2018-10-20 15:38 rng-tools-6.6/configure.ac drwxrwxr-x root/root 0 2018-10-20 15:38 rng-tools-6.6/contrib/ -rw-rw-r-- root/root 21 2018-10-20 15:38 rng-tools-6.6/contrib/.cvsignore -rw-rw-r-- root/root 26 2018-10-20 15:38 rng-tools-6.6/contrib/Makefile.am -rw-rw-r-- root/root 436 2018-10-20 15:38 rng-tools-6.6/contrib/randstat.c -rw-rw-r-- root/root 1166 2018-10-20 15:38 rng-tools-6.6/exits.h -rw-rw-r-- root/root 6399 2018-10-20 15:38 rng-tools-6.6/fips.c -rw-rw-r-- root/root 2557 2018-10-20 15:38 rng-tools-6.6/fips.h drwxrwxr-x root/root 0 2018-10-20 15:38 rng-tools-6.6/m4/ -rw-rw-r-- root/root 20818 2018-10-20 15:38 rng-tools-6.6/m4/ax_pthread.m4 -rw-rw-r-- root/root 7659 2018-10-20 15:38 rng-tools-6.6/rdrand_asm.S -rw-rw-r-- root/root 6515 2018-10-20 15:38 rng-tools-6.6/rngd.8.in -rw-rw-r-- root/root 19159 2018-10-20 15:38 rng-tools-6.6/rngd.c -rw-rw-r-- root/root 2943 2018-10-20 15:38 rng-tools-6.6/rngd.h -rw-rw-r-- root/root 5156 2018-10-20 15:38 rng-tools-6.6/rngd_darn.c -rw-rw-r-- root/root 6014 2018-10-20 15:38 rng-tools-6.6/rngd_entsource.c -rw-rw-r-- root/root 2284 2018-10-20 15:38 rng-tools-6.6/rngd_entsource.h -rw-rw-r-- root/root 14168 2018-10-20 15:38 rng-tools-6.6/rngd_jitter.c -rw-rw-r-- root/root 3545 2018-10-20 15:38 rng-tools-6.6/rngd_linux.c -rw-rw-r-- root/root 1435 2018-10-20 15:38 rng-tools-6.6/rngd_linux.h -rw-rw-r-- root/root 12202 2018-10-20 15:38 rng-tools-6.6/rngd_nistbeacon.c -rw-rw-r-- root/root 9342 2018-10-20 15:38 rng-tools-6.6/rngd_rdrand.c -rw-rw-r-- root/root 3039 2018-10-20 15:38 rng-tools-6.6/rngtest.1.in -rw-rw-r-- root/root 10343 2018-10-20 15:38 rng-tools-6.6/rngtest.c -rw-rw-r-- root/root 3955 2018-10-20 15:38 rng-tools-6.6/stats.c -rw-rw-r-- root/root 2222 2018-10-20 15:38 rng-tools-6.6/stats.h drwxrwxr-x root/root 0 2018-10-20 15:38 rng-tools-6.6/tests/ -rw-rw-r-- root/root 124 2018-10-20 15:38 rng-tools-6.6/tests/Makefile.am -rwxrwxr-x root/root 219 2018-10-20 15:38 rng-tools-6.6/tests/rngtestjitter.sh -rwxrwxr-x root/root 420 2018-10-20 15:38 rng-tools-6.6/tests/rngtesturandom.sh -rwxrwxr-x root/root 162 2018-10-20 15:38 rng-tools-6.6/tests/rngtestzero.sh -rw-rw-r-- root/root 2289 2018-10-20 15:38 rng-tools-6.6/util.c + STATUS=0 + '[' 0 -ne 0 ']' + cd rng-tools-6.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xvf /builddir/build/SOURCES/jitterentropy-library-2.1.2.tar.gz jitterentropy-library-2.1.2/ jitterentropy-library-2.1.2/CHANGES.md jitterentropy-library-2.1.2/COPYING jitterentropy-library-2.1.2/COPYING.bsd jitterentropy-library-2.1.2/COPYING.gplv2 jitterentropy-library-2.1.2/Makefile jitterentropy-library-2.1.2/README.md jitterentropy-library-2.1.2/arch/ jitterentropy-library-2.1.2/arch/android/ jitterentropy-library-2.1.2/arch/android/Android.mk jitterentropy-library-2.1.2/arch/android/AndroidManifest.xml jitterentropy-library-2.1.2/arch/android/README jitterentropy-library-2.1.2/arch/jitterentropy-base-power.h jitterentropy-library-2.1.2/arch/jitterentropy-base-s390.h jitterentropy-library-2.1.2/arch/jitterentropy-base-x86-windows.h jitterentropy-library-2.1.2/arch/jitterentropy-base-x86.h jitterentropy-library-2.1.2/doc/ jitterentropy-library-2.1.2/doc/README jitterentropy-library-2.1.2/doc/jitterentropy.3 jitterentropy-library-2.1.2/jitterentropy-base-user.h jitterentropy-library-2.1.2/jitterentropy-base.c jitterentropy-library-2.1.2/jitterentropy.h + mv jitterentropy-library-2.1.2 jitterentropy-library 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 Patch #1 (jitterentropy-build-static.patch): + echo 'Patch #1 (jitterentropy-build-static.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am Patch #2 (rng-tools-darn.patch): + echo 'Patch #2 (rng-tools-darn.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rngd_darn.c Patch #3 (0001-Default-to-one-thread-if-getaffinity-returns-an-erro.patch): + echo 'Patch #3 (0001-Default-to-one-thread-if-getaffinity-returns-an-erro.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rngd_jitter.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OsklUY + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.6 + ./autogen.sh configure.ac:45: 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 './INSTALL' Makefile.am: installing './depcomp' 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-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 aarch64-redhat-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 aarch64-redhat-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 aarch64-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 aarch64-redhat-linux-gnu-ar... no checking for aarch64-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... no configure: No Jitterentropy libary found checking for aarch64-redhat-linux-gnu-pkg-config... /usr/bin/aarch64-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 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 -j32 /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.6/jitterentropy-library' cc -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-all -fwrapv --param ssp-buffer-size=4 -c -o jitterentropy-base.o jitterentropy-base.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6/jitterentropy-library' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6/jitterentropy-library' ar rcs libjitterentropy.a jitterentropy-base.o make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6/jitterentropy-library' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6/jitterentropy-library' cc -shared -Wl,-soname,libjitterentropy.so.2 -o libjitterentropy.so.2.1.2 jitterentropy-base.o -Wl,-z,relro -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.6/jitterentropy-library' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -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.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -DHAVE_JITTER -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 rngd-util.o `test -f 'util.c' || echo './'`util.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -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.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -DHAVE_JITTER -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 rngd-rngd_linux.o `test -f 'rngd_linux.c' || echo './'`rngd_linux.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' rngd_linux.c: In function 'random_add_entropy': rngd_linux.c:150:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(random_fd, buf, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' rm -f librngd.a ar cru librngd.a fips.o ranlib librngd.a make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -DHAVE_JITTER -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 rngd-rngd_entsource.o `test -f 'rngd_entsource.c' || echo './'`rngd_entsource.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -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.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' 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,-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.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -DHAVE_JITTER -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 rngd-rngd_jitter.o `test -f 'rngd_jitter.c' || echo './'`rngd_jitter.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' rngd_jitter.c: In function 'xread_jitter': rngd_jitter.c:168:30: warning: pointer targets in passing argument 1 of 'gcrypt_mangle' differ in signedness [-Wpointer-sign] if (gcrypt_mangle(current->buf_ptr, current->buf_sz)) ~~~~~~~^~~~~~~~~ rngd_jitter.c:111:19: note: expected 'unsigned char *' but argument is of type 'char *' static inline int gcrypt_mangle(unsigned char *tmp, size_t size) ^~~~~~~~~~~~~ rngd_jitter.c:197:1: warning: label 'next' defined but not used [-Wunused-label] next: ^~~~ In file included from rngd_jitter.c:34: rngd_jitter.c: In function 'thread_entropy_task': rngd_jitter.c:348:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] message(LOG_CONS|LOG_DEBUG, "CPU %d has %d more bytes to fill\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ me->core_id, me->buf_sz - me->avail); ~~~~~~~~~~~~~~~~~~~~~~ rngd.h:132:22: note: in definition of macro 'message' syslog((priority), fmt, ##args); \ ^~~ rngd_jitter.c:348:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] message(LOG_CONS|LOG_DEBUG, "CPU %d has %d more bytes to fill\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ me->core_id, me->buf_sz - me->avail); ~~~~~~~~~~~~~~~~~~~~~~ rngd.h:135:20: note: in definition of macro 'message' fprintf(stderr, fmt, ##args); \ ^~~ At top level: rngd_jitter.c:39:26: warning: 'ec' defined but not used [-Wunused-variable] static struct rand_data *ec = NULL; ^~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -DHAVE_JITTER -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 rngd-rngd_nistbeacon.o `test -f 'rngd_nistbeacon.c' || echo './'`rngd_nistbeacon.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' In file included from rngd_nistbeacon.c:54: rngd_nistbeacon.c: In function 'get_nist_record': rngd_nistbeacon.c:417:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] message(LOG_DAEMON|LOG_DEBUG, "NIST: timestamp is %d, frequency is %d, tv_sec is %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block.timestamp, block.frequency, ct.tv_sec); ~~~~~~~~~~~~~~~ rngd.h:132:22: note: in definition of macro 'message' syslog((priority), fmt, ##args); \ ^~~ rngd_nistbeacon.c:417:33: warning: format '%d' expects argument of type 'int', but argument 5 has type '__time_t' {aka 'long int'} [-Wformat=] message(LOG_DAEMON|LOG_DEBUG, "NIST: timestamp is %d, frequency is %d, tv_sec is %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block.timestamp, block.frequency, ct.tv_sec); ~~~~~~~~~ rngd.h:132:22: note: in definition of macro 'message' syslog((priority), fmt, ##args); \ ^~~ rngd_nistbeacon.c:417:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] message(LOG_DAEMON|LOG_DEBUG, "NIST: timestamp is %d, frequency is %d, tv_sec is %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block.timestamp, block.frequency, ct.tv_sec); ~~~~~~~~~~~~~~~ rngd.h:135:20: note: in definition of macro 'message' fprintf(stderr, fmt, ##args); \ ^~~ rngd_nistbeacon.c:417:33: warning: format '%d' expects argument of type 'int', but argument 5 has type '__time_t' {aka 'long int'} [-Wformat=] message(LOG_DAEMON|LOG_DEBUG, "NIST: timestamp is %d, frequency is %d, tv_sec is %d\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block.timestamp, block.frequency, ct.tv_sec); ~~~~~~~~~ rngd.h:135:20: note: in definition of macro 'message' fprintf(stderr, fmt, ##args); \ ^~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -DHAVE_JITTER -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 rngd-rngd.o `test -f 'rngd.c' || echo './'`rngd.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' In file included from rngd.c:53: rngd.c: In function 'find_ent_src_idx': rngd.c:315:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] message(LOG_CONS|LOG_INFO, "option index out of range: %lu\n", idx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ rngd.h:132:22: note: in definition of macro 'message' syslog((priority), fmt, ##args); \ ^~~ rngd.c:315:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] message(LOG_CONS|LOG_INFO, "option index out of range: %lu\n", idx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ rngd.h:135:20: note: in definition of macro 'message' fprintf(stderr, fmt, ##args); \ ^~~ rngd.c: In function 'parse_opt': rngd.c:398:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] message(LOG_CONS|LOG_INFO, "Option %s not found for source idx %d\n", optkey, idx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ rngd.h:132:22: note: in definition of macro 'message' syslog((priority), fmt, ##args); \ ^~~ rngd.c:398:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] message(LOG_CONS|LOG_INFO, "Option %s not found for source idx %d\n", optkey, idx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ rngd.h:135:20: note: in definition of macro 'message' fprintf(stderr, fmt, ##args); \ ^~~ rngd.c: In function 'main': rngd.c:769:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Mbits/sec averaged over %d iterations for %6.4g seconds\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sum_entropy/test_time/MEGABITS), test_iterations, test_time); ~~~~~~~~~~~~~~~ rngd.h:132:22: note: in definition of macro 'message' syslog((priority), fmt, ##args); \ ^~~ rngd.c:769:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Mbits/sec averaged over %d iterations for %6.4g seconds\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sum_entropy/test_time/MEGABITS), test_iterations, test_time); ~~~~~~~~~~~~~~~ rngd.h:135:20: note: in definition of macro 'message' fprintf(stderr, fmt, ##args); \ ^~~ rngd.c:772:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Kbits/sec averaged over %d iterations for %6.4g seconds\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sum_entropy/test_time/KILOBITS), test_iterations, test_time); ~~~~~~~~~~~~~~~ rngd.h:132:22: note: in definition of macro 'message' syslog((priority), fmt, ##args); \ ^~~ rngd.c:772:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Kbits/sec averaged over %d iterations for %6.4g seconds\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sum_entropy/test_time/KILOBITS), test_iterations, test_time); ~~~~~~~~~~~~~~~ rngd.h:135:20: note: in definition of macro 'message' fprintf(stderr, fmt, ##args); \ ^~~ At top level: rngd.c:154:3: warning: 'entropy_indexes' defined but not used [-Wunused-variable] } entropy_indexes; ^~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' gcc -I/usr/include/libxml2 -pthread -DHAVE_JITTER -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 -pthread -Wl,-z,relro -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 -lgcrypt -lsysfs jitterentropy-library/libjitterentropy.a -lcurl -lxml2 -lssl -lcrypto -lgcrypt -lsysfs make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SU5oIz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64 + cd rng-tools-6.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64 'INSTALL=/usr/bin/install -p' Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.6/contrib' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6/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.6/contrib' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6/contrib' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.6/tests' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6/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.6/tests' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6/tests' Making install in jitterentropy-library make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.6/jitterentropy-library' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6/jitterentropy-library' make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.6' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/bin' /usr/bin/install -p rngtest '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/sbin' /usr/bin/install -p rngd '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 rngtest.1 '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/man/man8' /usr/bin/install -p -m 644 rngd.8 '/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.6' + install -Dt /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/lib/systemd/system -m0644 /builddir/build/SOURCES/rngd.service + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 6.6-2.el8 --unique-debug-suffix -6.6-2.el8.aarch64 --unique-debug-src-base rng-tools-6.6-2.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rng-tools-6.6 extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/bin/rngtest extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/sbin/rngd /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 239 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rng-tools-6.6-2.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1V2xa3 + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.6 + DOCDIR=/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/doc/rng-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/doc/rng-tools + cp -pr AUTHORS /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/doc/rng-tools + cp -pr NEWS /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/doc/rng-tools + cp -pr README /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/doc/rng-tools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WNa97w + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.6 + LICENSEDIR=/builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/licenses/rng-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/licenses/rng-tools + cp -pr COPYING /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64/usr/share/licenses/rng-tools + exit 0 Provides: rng-tools = 6.6-2.el8 rng-tools(aarch-64) = 6.6-2.el8 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcurl.so.4()(64bit) libgcrypt.so.20()(64bit) libgcrypt.so.20(GCRYPT_1.6)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libssl.so.1.1()(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.6-2.el8.aarch64 Provides: rng-tools-debugsource = 6.6-2.el8 rng-tools-debugsource(aarch-64) = 6.6-2.el8 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.6-2.el8.aarch64 Provides: debuginfo(build-id) = 8583ba955004bf1975d730c5e85b63356e6d4cb8 debuginfo(build-id) = dac2f3bc0ec35a71937bd5d7a3b82ae34bdd8fcc rng-tools-debuginfo = 6.6-2.el8 rng-tools-debuginfo(aarch-64) = 6.6-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rng-tools-debugsource(aarch-64) = 6.6-2.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64 Wrote: /builddir/build/RPMS/rng-tools-6.6-2.el8.aarch64.rpm Wrote: /builddir/build/RPMS/rng-tools-debugsource-6.6-2.el8.aarch64.rpm Wrote: /builddir/build/RPMS/rng-tools-debuginfo-6.6-2.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1a2OLf + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rng-tools-6.6-2.el8.aarch64 + exit 0 Child return code was: 0