Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rng-tools.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672982556.289072/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zmw2pi1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zmw2pi1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '44a599b9b5ee432ea22bfc99084a4f92', '-D', '/var/lib/mock/centos-stream-9-s390x-1672982556.289072/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zmw2pi1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1672099200 Wrote: /builddir/build/SRPMS/rng-tools-6.15-3.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/rng-tools.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672982556.289072/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zmw2pi1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zmw2pi1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '15863616738348d5b81c154f885cadab', '-D', '/var/lib/mock/centos-stream-9-s390x-1672982556.289072/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zmw2pi1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1672099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9Uh7Je + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rng-tools-6.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/rng-tools-6.15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rng-tools-6.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/1-rt-comment-out-have-aesni.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/2-rt-revert-build-randstat.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + '[' -e /usr/lib/rpm/clang/rng-tools-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XNHLyw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd rng-tools-6.15 + ./autogen.sh configure.ac:74: installing './ar-lib' configure.ac:28: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:25: installing './install-sh' configure.ac:25: installing './missing' Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' + sed -i -e 's/$(libdarn_impl_a_CFLAGS) $(CFLAGS)/$(CFLAGS) $(libdarn_impl_a_CFLAGS)/' Makefile.in + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' 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 ' ']' ++ find . -name ltmain.sh + ./configure --build=s390x-ibm-linux-gnu --host=s390x-ibm-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --without-pkcs11 --without-rtlsdr checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking target system type... s390x-ibm-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 make supports the include directive... yes (GNU style) checking for s390x-ibm-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether to enable maintainer-specific portions of Makefiles... no checking dependency style of clang... none checking for s390x-ibm-linux-gnu-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) none checking for s390x-ibm-linux-gnu-ranlib... ranlib checking for s390x-ibm-linux-gnu-ar... ar checking the archiver (ar) interface... ar checking whether clang needs -traditional... no checking for a sed that does not truncate output... /usr/bin/sed checking whether clang is Clang... yes checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking sys/auxv.h usability... yes checking sys/auxv.h presence... yes checking for sys/auxv.h... yes configure: Searching for jitterentropy library checking for library containing jent_version... -ljitterentropy checking for jent_notime_settick in -ljitterentropy... yes checking whether pthread_attr_setaffinity_np is declared... yes checking for s390x-ibm-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 libxml2... yes checking for libcurl... yes checking for jansson... yes checking for openssl... yes checking for libcap... yes checking dependency style of clang... (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 -j2 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.15' clang -DHAVE_CONFIG_H -I. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o stats.o stats.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngtest.o rngtest.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fips.o fips.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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.15' rngd_linux.c:169:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] write(random_fd, buf, size); ^~~~~ ~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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.15' rngd.c:310:30: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] [QRYPT_OPT_MAX_ERROR_DELAY] { ^ = rngd.c:487:12: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if ((idx == LONG_MAX) || (idx >= ENT_MAX)) { ~~~ ^ ~~~~~~~~ 2 warnings generated. make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-ossl_helpers.o `test -f 'ossl_helpers.c' || echo './'`ossl_helpers.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' rm -f librngd.a ar cru librngd.a fips.o ranlib librngd.a make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rngd-rngd_qrypt.o `test -f 'rngd_qrypt.c' || echo './'`rngd_qrypt.c make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o rngtest stats.o rngtest.o librngd.a -ljitterentropy make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' clang -I/usr/include/libxml2 -pthread -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o rngd rngd-rngd.o rngd-rngd_entsource.o rngd-rngd_linux.o rngd-util.o rngd-ossl_helpers.o rngd-rngd_nistbeacon.o rngd-rngd_jitter.o rngd-rngd_qrypt.o librngd.a -ljitterentropy -ljansson -lcurl -lxml2 -lssl -lcrypto -lcap -ljitterentropy make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u08FDj Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.15/contrib' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15/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.15/contrib' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15/contrib' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.15/tests' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15/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.15/tests' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15/tests' make[1]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x ++ dirname /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd rng-tools-6.15 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x 'INSTALL=/usr/bin/install -p' make[2]: Entering directory '/builddir/build/BUILD/rng-tools-6.15' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/bin' /usr/bin/install -p rngtest '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/sbin' /usr/bin/install -p rngd '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/man/man1' /usr/bin/install -p -m 644 rngtest.1 '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/man/man8' /usr/bin/install -p -m 644 rngd.8 '/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' make[1]: Leaving directory '/builddir/build/BUILD/rng-tools-6.15' + install -Dt /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/lib/systemd/system -m0644 /builddir/build/SOURCES/rngd.service + install -D /builddir/build/SOURCES/rngd.sysconfig -m0644 /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/etc/sysconfig/rngd + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/sbin/rngd error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/sbin/rngd built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/bin/rngtest error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/bin/rngtest built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 6.15-3.eln_clang_unknown --unique-debug-suffix -6.15-3.eln_clang_unknown.s390x --unique-debug-src-base rng-tools-6.15-3.eln_clang_unknown.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/rng-tools-6.15 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/bin/rngtest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/sbin/rngd extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/bin/rngtest extracting debug info from /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/sbin/rngd original debug info size: 256kB, size after compression: 256kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 264 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/rngd-6.15-3.eln_clang_unknown.s390x.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/rngd-6.15-3.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/lib/debug/usr/bin/rngtest-6.15-3.eln_clang_unknown.s390x.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/lib/debug/usr/bin/rngtest-6.15-3.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/sbin/rngd error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/rngd-6.15-3.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/bin/rngtest error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/lib/debug/usr/bin/rngtest-6.15-3.eln_clang_unknown.s390x.debug built with clang + /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.15-3.eln_clang_unknown.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zY40wE + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.15 + DOCDIR=/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/doc/rng-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/doc/rng-tools + cp -pr AUTHORS /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/doc/rng-tools + cp -pr README.md /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/doc/rng-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VsHe3F + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.15 + LICENSEDIR=/builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/licenses/rng-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/licenses/rng-tools + cp -pr COPYING /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x/usr/share/licenses/rng-tools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rng-tools) = 6.15-3.eln_clang_unknown rng-tools = 6.15-3.eln_clang_unknown rng-tools(s390-64) = 6.15-3.eln_clang_unknown 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcap.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libjansson.so.4()(64bit) libjansson.so.4(libjansson.so.4)(64bit) libjitterentropy.so.3()(64bit) Processing files: rng-tools-debugsource-6.15-3.eln_clang_unknown.s390x Provides: rng-tools-debugsource = 6.15-3.eln_clang_unknown rng-tools-debugsource(s390-64) = 6.15-3.eln_clang_unknown 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.15-3.eln_clang_unknown.s390x Provides: debuginfo(build-id) = 01b6f27c616da6b442ad8a8e2f555884eab32ae6 debuginfo(build-id) = 0fe3be551286ada616dbf5d108d3a5f39e2d2128 rng-tools-debuginfo = 6.15-3.eln_clang_unknown rng-tools-debuginfo(s390-64) = 6.15-3.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rng-tools-debugsource(s390-64) = 6.15-3.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x Wrote: /builddir/build/RPMS/rng-tools-6.15-3.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/rng-tools-debuginfo-6.15-3.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/rng-tools-debugsource-6.15-3.eln_clang_unknown.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Eq91Ex + umask 022 + cd /builddir/build/BUILD + cd rng-tools-6.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rng-tools-6.15-3.eln_clang_unknown.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0