<86>Apr 19 03:07:23 userdel[3952215]: delete user 'rooter'
<86>Apr 19 03:07:23 userdel[3952215]: removed group 'rooter' owned by 'rooter'
<86>Apr 19 03:07:23 userdel[3952215]: removed shadow group 'rooter' owned by 'rooter'
<86>Apr 19 03:07:23 groupadd[3952358]: group added to /etc/group: name=rooter, GID=591
<86>Apr 19 03:07:23 groupadd[3952358]: group added to /etc/gshadow: name=rooter
<86>Apr 19 03:07:23 groupadd[3952358]: new group: name=rooter, GID=591
<86>Apr 19 03:07:23 useradd[3952381]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash
<86>Apr 19 03:07:23 userdel[3952404]: delete user 'builder'
<86>Apr 19 03:07:23 userdel[3952404]: removed group 'builder' owned by 'builder'
<86>Apr 19 03:07:23 userdel[3952404]: removed shadow group 'builder' owned by 'builder'
<86>Apr 19 03:07:23 groupadd[3952414]: group added to /etc/group: name=builder, GID=592
<86>Apr 19 03:07:23 groupadd[3952414]: group added to /etc/gshadow: name=builder
<86>Apr 19 03:07:23 groupadd[3952414]: new group: name=builder, GID=592
<86>Apr 19 03:07:23 useradd[3952429]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash
<13>Apr 19 03:07:26 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed
<13>Apr 19 03:07:26 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696275 installed
<13>Apr 19 03:07:26 rpmi: libgpg-error-devel-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed
<13>Apr 19 03:07:26 rpmi: libgcrypt20-1.8.5-alt3 p9+239665.100.7.1 1586364671 installed
<13>Apr 19 03:07:26 rpmi: libsysfs-2.1.0-alt8 1435686567 installed
<13>Apr 19 03:07:26 rpmi: publicsuffix-list-dafsa-20200401-alt1 p9+249162.100.3.1 1586187723 installed
<13>Apr 19 03:07:26 rpmi: libpsl-0.21.0-alt1 sisyphus+227314.100.1.2 1555618432 installed
<13>Apr 19 03:07:26 rpmi: libnghttp2-1.34.0-alt1 sisyphus+222625.100.1.1 1550947249 installed
<13>Apr 19 03:07:26 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed
<13>Apr 19 03:07:26 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed
<13>Apr 19 03:07:26 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed
<13>Apr 19 03:07:26 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed
<13>Apr 19 03:07:26 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed
<13>Apr 19 03:07:26 rpmi: jitterentropy-2.1.2-alt1 sisyphus+226444.40.3.1 1554369238 installed
<13>Apr 19 03:07:26 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed
<13>Apr 19 03:07:26 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed
<13>Apr 19 03:07:26 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587848 installed
<13>Apr 19 03:07:26 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Apr 19 03:07:26 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Apr 19 03:07:26 rpmi: ca-certificates-2020.01.23-alt1 p9+245253.100.3.1 1580749631 installed
<13>Apr 19 03:07:26 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed
<13>Apr 19 03:07:26 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed
<13>Apr 19 03:07:26 rpmi: libcrypto1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251778 installed
<13>Apr 19 03:07:26 rpmi: libssl1.1-1.1.1d-alt1.1 p9+237853.200.3.1 1569251778 installed
<86>Apr 19 03:07:26 groupadd[3964577]: group added to /etc/group: name=_keytab, GID=499
<86>Apr 19 03:07:26 groupadd[3964577]: group added to /etc/gshadow: name=_keytab
<86>Apr 19 03:07:26 groupadd[3964577]: new group: name=_keytab, GID=499
<13>Apr 19 03:07:26 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572448 installed
<86>Apr 19 03:07:26 groupadd[3964806]: group added to /etc/group: name=sasl, GID=498
<86>Apr 19 03:07:26 groupadd[3964806]: group added to /etc/gshadow: name=sasl
<86>Apr 19 03:07:26 groupadd[3964806]: new group: name=sasl, GID=498
<13>Apr 19 03:07:26 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139861 installed
<13>Apr 19 03:07:26 rpmi: libldap-2.4.48-alt3 p9+238817.100.1.1 1570449030 installed
<13>Apr 19 03:07:26 rpmi: libcurl-7.65.0-alt1 p9+229801.100.1.1 1558513332 installed
<13>Apr 19 03:07:26 rpmi: libssl-devel-1.1.1d-alt1.1 p9+237853.200.3.1 1569251778 installed
<13>Apr 19 03:07:26 rpmi: libp11-0.4.10-alt1 p9+236480.100.1.1 1566518344 installed
<13>Apr 19 03:07:26 rpmi: libp11-devel-0.4.10-alt1 p9+236480.100.1.1 1566518344 installed
<13>Apr 19 03:07:27 rpmi: libcurl-devel-7.65.0-alt1 p9+229801.100.1.1 1558513332 installed
<13>Apr 19 03:07:27 rpmi: jitterentropy-devel-2.1.2-alt1 sisyphus+226444.40.3.1 1554369238 installed
<13>Apr 19 03:07:27 rpmi: libsysfs-devel-2.1.0-alt8 1435686567 installed
<13>Apr 19 03:07:27 rpmi: libgcrypt-devel-1.8.5-alt3 p9+239665.100.7.1 1586364671 installed
<13>Apr 19 03:07:27 rpmi: libxml2-devel-1:2.9.10-alt2 p9+240157.100.1.1 1572735290 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/rng-tools-6.7-alt2.nosrc.rpm
Installing rng-tools-6.7-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24132
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf rng-tools-6.7
+ echo 'Source #0 (rng-tools-6.7.tar):'
Source #0 (rng-tools-6.7.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/rng-tools-6.7.tar
+ cd rng-tools-6.7
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #100 (0002-Remove-superfluous-variables.patch):'
Patch #100 (0002-Remove-superfluous-variables.patch):
+ /usr/bin/patch -p1
patching file rngd_linux.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.24132
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd rng-tools-6.7
+ ./autogen.sh
configure.ac:52: 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='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext
configure: WARNING: unrecognized options: --without-included-gettext
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking target system type... x86_64-alt-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /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 x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed
checking whether x86_64-alt-linux-gcc understands -c and -o together... yes
checking dependency style of x86_64-alt-linux-gcc... none
checking dependency style of x86_64-alt-linux-gcc... none
checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed
checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes
checking dependency style of x86_64-alt-linux-gcc... (cached) none
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether x86_64-alt-linux-gcc needs -traditional... no
checking for x86_64-alt-linux-ar... no
checking for x86_64-alt-linux-gar... no
checking for ar... ar
checking for a sed that does not truncate output... /bin/sed
checking whether x86_64-alt-linux-gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
configure: Searching for jitterentropy library
checking for library containing jent_version... -ljitterentropy
checking for x86_64-alt-linux-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 libxml-2.0... yes
checking for openssl... yes
checking for libp11... 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 x86_64-alt-linux-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
configure: WARNING: unrecognized options: --without-included-gettext
+ make -j8
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 '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -c -o stats.o stats.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fips.o fips.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rdrand_asm.o rdrand_asm.S
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-util.o `test -f 'util.c' || echo './'`util.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-rngd_entsource.o `test -f 'rngd_entsource.c' || echo './'`rngd_entsource.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
rm -f librngd.a
ar cru librngd.a fips.o 
ranlib librngd.a
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-rngd_linux.o `test -f 'rngd_linux.c' || echo './'`rngd_linux.c
rngd_linux.c: In function 'default_watermark':
rngd_linux.c:67:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
  fscanf(f,"%d", &wm);
  ^~~~~~~~~~~~~~~~~~~
rngd_linux.c: In function 'random_add_entropy':
rngd_linux.c:147:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(random_fd, buf, size);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-rngd_rdrand.o `test -f 'rngd_rdrand.c' || echo './'`rngd_rdrand.c
rngd_rdrand.c: In function 'init_drng_entropy_source':
rngd_rdrand.c:356:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
   read(fd, key, sizeof key);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngtest.o rngtest.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc  -pipe -frecord-gcc-switches -Wall -g -O2   -o rngtest stats.o rngtest.o librngd.a -lgcrypt -lsysfs -ljitterentropy 
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-rngd_jitter.o `test -f 'rngd_jitter.c' || echo './'`rngd_jitter.c
In file included from rngd_jitter.c:36:
rngd_jitter.c: In function 'xread_jitter':
rngd_jitter.c:156:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
   message(LOG_DAEMON|LOG_DEBUG, "xread_jitter requests %d bytes from pipe\n", need);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~
rngd.h:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd_jitter.c:156:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
   message(LOG_DAEMON|LOG_DEBUG, "xread_jitter requests %d bytes from pipe\n", need);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~
rngd.h:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd_jitter.c:165:19: warning: pointer targets in passing argument 1 of 'gcrypt_mangle' differ in signedness [-Wpointer-sign]
     gcrypt_mangle(aes_buf, current->buf_sz);
                   ^~~~~~~
rngd_jitter.c:115:19: note: expected 'unsigned char *' but argument is of type 'char *'
 static inline int gcrypt_mangle(unsigned char *tmp, size_t size)
                   ^~~~~~~~~~~~~
In file included from rngd_jitter.c:36:
rngd_jitter.c:176:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
     message(LOG_DAEMON|LOG_DEBUG, "request of random data returns %d less than need %d\n",
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      request, need);
      ~~~~~~~                       
rngd.h:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd_jitter.c:176:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' {aka 'long int'} [-Wformat=]
     message(LOG_DAEMON|LOG_DEBUG, "request of random data returns %d less than need %d\n",
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      request, need);
               ~~~~                 
rngd.h:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd_jitter.c:176:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
     message(LOG_DAEMON|LOG_DEBUG, "request of random data returns %d less than need %d\n",
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      request, need);
      ~~~~~~~                       
rngd.h:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd_jitter.c:176:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' {aka 'long int'} [-Wformat=]
     message(LOG_DAEMON|LOG_DEBUG, "request of random data returns %d less than need %d\n",
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      request, need);
               ~~~~                 
rngd.h:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd_jitter.c:188:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
   message(LOG_DAEMON|LOG_DEBUG, "xread_jitter gets %d bytes\n", request);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~
rngd.h:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd_jitter.c:188:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
   message(LOG_DAEMON|LOG_DEBUG, "xread_jitter gets %d bytes\n", request);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~
rngd.h:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd_jitter.c:150:18: warning: unused variable 'sleep' [-Wunused-variable]
  struct timespec sleep;
                  ^~~~~
In file included from rngd_jitter.c:36:
rngd_jitter.c: In function 'thread_entropy_task':
rngd_jitter.c:290:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
    message(LOG_DAEMON|LOG_DEBUG, "DONE Writing to pipe with return %d\n", ret);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~
rngd.h:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd_jitter.c:290:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Wformat=]
    message(LOG_DAEMON|LOG_DEBUG, "DONE Writing to pipe with return %d\n", ret);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~
rngd.h:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd_jitter.c:239:9: warning: unused variable 'need' [-Wunused-variable]
  size_t need;
         ^~~~
rngd_jitter.c: In function 'close_jitter_entropy_source':
rngd_jitter.c:489:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
     read(pipefds[0], tmpbuf, 1024);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
rngd_jitter.c:41:26: warning: 'ec' defined but not used [-Wunused-variable]
 static struct rand_data *ec = NULL;
                          ^~
rngd_jitter.c: In function 'close_jitter_entropy_source':
rngd_jitter.c:494:2: warning: array subscript 2 is above array bounds of 'int[2]' [-Warray-bounds]
  close(pipefds[2]);
  ^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-rngd_pkcs11.o `test -f 'rngd_pkcs11.c' || echo './'`rngd_pkcs11.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-rngd_nistbeacon.o `test -f 'rngd_nistbeacon.c' || echo './'`rngd_nistbeacon.c
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:149: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:149: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:152: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:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.      -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rngd-rngd.o `test -f 'rngd.c' || echo './'`rngd.c
In file included from rngd.c:53:
rngd.c: In function 'find_ent_src_idx':
rngd.c:361: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:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd.c:361: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:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd.c: In function 'parse_opt':
rngd.c:452: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:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd.c:452: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:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd.c: In function 'main':
rngd.c:831: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:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd.c:831: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:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
rngd.c:834: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:149:22: note: in definition of macro 'message'
   syslog((priority), fmt, ##args); \
                      ^~~
rngd.c:834: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:152:20: note: in definition of macro 'message'
    fprintf(stderr, fmt, ##args); \
                    ^~~
At top level:
rngd.c:156:3: warning: 'entropy_indexes' defined but not used [-Wunused-variable]
 } entropy_indexes;
   ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
x86_64-alt-linux-gcc   -I/usr/include/libxml2  -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -pthread   -o rngd rngd-rngd.o rngd-rngd_entsource.o rngd-rngd_linux.o rngd-util.o rngd-rngd_nistbeacon.o rngd-rngd_rdrand.o rdrand_asm.o  rngd-rngd_jitter.o rngd-rngd_pkcs11.o librngd.a -lsysfs -lgcrypt -lsysfs -ljitterentropy  -lp11 -lcurl -lxml2 -lssl -lcrypto  -lgcrypt -lsysfs -ljitterentropy 
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.71699
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/rng-tools-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/rng-tools-buildroot
+ cd rng-tools-6.7
+ make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/rng-tools-buildroot
make: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
Making install in contrib
make[1]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/contrib'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/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 '/usr/src/RPM/BUILD/rng-tools-6.7/contrib'
make[1]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7/contrib'
Making install in tests
make[1]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/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 '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[1]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[1]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
 /bin/mkdir -p '/usr/src/tmp/rng-tools-buildroot/usr/bin'
  /bin/install -p rngtest '/usr/src/tmp/rng-tools-buildroot/usr/bin'
 /bin/mkdir -p '/usr/src/tmp/rng-tools-buildroot/usr/sbin'
  /bin/install -p rngd '/usr/src/tmp/rng-tools-buildroot/usr/sbin'
 /bin/mkdir -p '/usr/src/tmp/rng-tools-buildroot/usr/share/man/man1'
 /bin/install -p -m 644 rngtest.1 '/usr/src/tmp/rng-tools-buildroot/usr/share/man/man1'
 /bin/mkdir -p '/usr/src/tmp/rng-tools-buildroot/usr/share/man/man8'
 /bin/install -p -m 644 rngd.8 '/usr/src/tmp/rng-tools-buildroot/usr/share/man/man8'
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[1]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
+ mkdir -p /usr/src/tmp/rng-tools-buildroot/etc/rc.d/init.d /usr/src/tmp/rng-tools-buildroot/etc/sysconfig /usr/src/tmp/rng-tools-buildroot/lib/systemd/system
+ install -m755 /usr/src/RPM/SOURCES/rng-tools.init /usr/src/tmp/rng-tools-buildroot/etc/rc.d/init.d/rngd
+ install -m644 /usr/src/RPM/SOURCES/rng-tools.default /usr/src/tmp/rng-tools-buildroot/etc/sysconfig/rngd
+ install -m644 /usr/src/RPM/SOURCES/rng-tools.service /usr/src/tmp/rng-tools-buildroot/lib/systemd/system/rngd.service
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/rng-tools-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/rng-tools-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/rng-tools-buildroot/ (default)
Compressing files in /usr/src/tmp/rng-tools-buildroot (auto)
Adjusting library links in /usr/src/tmp/rng-tools-buildroot
./lib:
Verifying ELF objects in /usr/src/tmp/rng-tools-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Hardlinking identical .pyc and .pyo files
Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.78828
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd rng-tools-6.7
+ make check
make: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
Making check in contrib
make[1]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/contrib'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7/contrib'
Making check in tests
make[1]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make  rngtesturandom.sh rngtestzero.sh rngtestjitter.sh
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[2]: Nothing to be done for 'rngtesturandom.sh'.
make[2]: Nothing to be done for 'rngtestzero.sh'.
make[2]: Nothing to be done for 'rngtestjitter.sh'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make  check-TESTS
make[2]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[3]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
PASS: rngtesturandom.sh
PASS: rngtestzero.sh
PASS: rngtestjitter.sh
============================================================================
Testsuite summary for rng-tools 6.7
============================================================================
# TOTAL: 3
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[2]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[1]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7/tests'
make[1]: Entering directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make[1]: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
make: Leaving directory '/usr/src/RPM/BUILD/rng-tools-6.7'
+ exit 0
Processing files: rng-tools-6.7-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fQtF6f
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JNbqWT
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jinwwD
Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lZ7huq
Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.1.1()(64bit) >= set:qlvV2Zj5ILZx4GZLXBsaWANrbqv9isKMv21Gdd5ERMLleyHF21Xz7Gxph001RYwmqo4aj0, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libcurl.so.4()(64bit) >= set:khZKmuOOm6oNiR23, libgcrypt.so.20()(64bit) >= set:liQG9t6P9lj5HdNmVKOHt0, libgcrypt.so.20(GCRYPT_1.6)(64bit), libjitterentropy.so.2()(64bit) >= set:ge1N16l6, libp11.so.3()(64bit) >= set:jfFivgZz1pCSp1EtiKkIt3, libp11.so.3(LIBP11_3)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.4)(64bit), libsysfs.so.2()(64bit) >= set:kity25kJg20, libxml2.so.2()(64bit) >= set:oleMvn4qdn0w6tYmk50, 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)
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(SetVersions)
Requires(post): /bin/sh, /usr/sbin/post_service
Requires(preun): /bin/sh, /usr/sbin/preun_service
Obsoletes: kernel-utils
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jWt2jh
Creating rng-tools-debuginfo package
Processing files: rng-tools-debuginfo-6.7-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3F8Etb
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XezSQ8
find-requires: running scripts (debuginfo)
Requires: rng-tools = 6.7-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libcurl.so.4), debug64(libgcrypt.so.20), debug64(libjitterentropy.so.2), debug64(libp11.so.3), debug64(libpthread.so.0), debug64(libsysfs.so.2), debug64(libxml2.so.2)
Adding to rng-tools-debuginfo a strict dependency on rng-tools
Wrote: /usr/src/RPM/RPMS/x86_64/rng-tools-6.7-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/rng-tools-debuginfo-6.7-alt2.x86_64.rpm
6.94user 1.93system 0:17.41elapsed 51%CPU (0avgtext+0avgdata 53304maxresident)k
0inputs+0outputs (0major+797384minor)pagefaults 0swaps
11.41user 4.29system 0:26.96elapsed 58%CPU (0avgtext+0avgdata 115808maxresident)k
288inputs+0outputs (0major+1145669minor)pagefaults 0swaps