* Package: sys-apps/rng-tools-6.7-r2  * Repository: gentoo  * Maintainer: gokturk@gentoo.org base-system@gentoo.org  * USE: arm elibc_glibc kernel_linux userland_GNU  * FEATURES: distcc network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>> cfg-update-1.8.2-r1: Creating checksum index... >>> Unpacking source... >>> Unpacking rng-tools-6.7.tar.gz to /var/tmp/portage/sys-apps/rng-tools-6.7-r2/work >>> Source unpacked in /var/tmp/portage/sys-apps/rng-tools-6.7-r2/work >>> Preparing source in /var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7 ... * Applying test-for-argp.patch ...  [ ok ] * Applying rng-tools-5-fix-textrels-on-PIC-x86.patch ...  [ ok ] * Applying rngd-shutdown.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7' ... * Running aclocal ...  [ ok ] * Running autoconf --force ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy --foreign --force-missing ...  [ ok ] * Running elibtoolize in: rng-tools-6.7/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7 ... * econf: updating rng-tools-6.7/config.sub with /usr/share/gnuconfig/config.sub * econf: updating rng-tools-6.7/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=armv7a-unknown-linux-gnueabihf --host=armv7a-unknown-linux-gnueabihf --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/rng-tools-6.7-r2 --htmldir=/usr/share/doc/rng-tools-6.7-r2/html --libdir=/usr/lib --disable-jitterentropy --without-nistbeacon --without-pkcs11 checking build system type... armv7a-unknown-linux-gnueabihf checking host system type... armv7a-unknown-linux-gnueabihf checking target system type... armv7a-unknown-linux-gnueabihf checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/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 armv7a-unknown-linux-gnueabihf-gcc... armv7a-unknown-linux-gnueabihf-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 armv7a-unknown-linux-gnueabihf-gcc accepts -g... yes checking for armv7a-unknown-linux-gnueabihf-gcc option to accept ISO C89... none needed checking whether armv7a-unknown-linux-gnueabihf-gcc understands -c and -o together... yes checking dependency style of armv7a-unknown-linux-gnueabihf-gcc... none checking dependency style of armv7a-unknown-linux-gnueabihf-gcc... none checking for armv7a-unknown-linux-gnueabihf-gcc... (cached) armv7a-unknown-linux-gnueabihf-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether armv7a-unknown-linux-gnueabihf-gcc accepts -g... (cached) yes checking for armv7a-unknown-linux-gnueabihf-gcc option to accept ISO C89... (cached) none needed checking whether armv7a-unknown-linux-gnueabihf-gcc understands -c and -o together... (cached) yes checking dependency style of armv7a-unknown-linux-gnueabihf-gcc... (cached) none checking for armv7a-unknown-linux-gnueabihf-ranlib... armv7a-unknown-linux-gnueabihf-ranlib checking how to run the C preprocessor... armv7a-unknown-linux-gnueabihf-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether armv7a-unknown-linux-gnueabihf-gcc needs -traditional... no checking for armv7a-unknown-linux-gnueabihf-ar... armv7a-unknown-linux-gnueabihf-ar checking for a sed that does not truncate output... /bin/sed checking whether armv7a-unknown-linux-gnueabihf-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: Disabling JITTER entropy source checking for armv7a-unknown-linux-gnueabihf-pkg-config... /usr/bin/armv7a-unknown-linux-gnueabihf-pkg-config checking pkg-config is at least version 0.9.0... 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 armv7a-unknown-linux-gnueabihf-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 >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7 ... make -j3 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7' Making all in contrib make[2]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/contrib' armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o randstat.o randstat.c armv7a-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -Wl,-O1 -Wl,--as-needed -o randstat randstat.o -lgcrypt -lsysfs make[2]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/contrib' Making all in tests make[2]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make[2]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7' armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o stats.o stats.c armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o rngtest.o rngtest.c armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o fips.o fips.c armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -pthread -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o rngd-rngd.o `test -f 'rngd.c' || echo './'`rngd.c armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -pthread -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o rngd-rngd_entsource.o `test -f 'rngd_entsource.c' || echo './'`rngd_entsource.c armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -pthread -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o rngd-rngd_linux.o `test -f 'rngd_linux.c' || echo './'`rngd_linux.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=] 361 | message(LOG_CONS|LOG_INFO, "option index out of range: %lu\n", idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | int rngd.h:149:22: note: in definition of macro ‘message’ 149 | syslog((priority), fmt, ##args); \ | ^~~ rngd.c:361:61: note: format string is defined here 361 | message(LOG_CONS|LOG_INFO, "option index out of range: %lu\n", idx); | ~~^ | | | long unsigned int | %u In file included from rngd.c:53: rngd.c:361:31: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 361 | message(LOG_CONS|LOG_INFO, "option index out of range: %lu\n", idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | int rngd.h:152:20: note: in definition of macro ‘message’ 152 | fprintf(stderr, fmt, ##args); \ | ^~~ rngd.c:361:61: note: format string is defined here 361 | message(LOG_CONS|LOG_INFO, "option index out of range: %lu\n", idx); | ~~^ | | | long unsigned int | %u armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -pthread -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -c -o rngd-util.o `test -f 'util.c' || echo './'`util.c In file included from rngd.c:53: 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=] 452 | message(LOG_CONS|LOG_INFO, "Option %s not found for source idx %d\n", optkey, idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | long int rngd.h:149:22: note: in definition of macro ‘message’ 149 | syslog((priority), fmt, ##args); \ | ^~~ rngd.c:452:67: note: format string is defined here 452 | message(LOG_CONS|LOG_INFO, "Option %s not found for source idx %d\n", optkey, idx); | ~^ | | | int | %ld In file included from rngd.c:53: rngd.c:452:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 452 | message(LOG_CONS|LOG_INFO, "Option %s not found for source idx %d\n", optkey, idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | long int rngd.h:152:20: note: in definition of macro ‘message’ 152 | fprintf(stderr, fmt, ##args); \ | ^~~ rngd.c:452:67: note: format string is defined here 452 | message(LOG_CONS|LOG_INFO, "Option %s not found for source idx %d\n", optkey, idx); | ~^ | | | int | %ld In file included from rngd.c:53: 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=] 831 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Mbits/sec averaged over %d iterations for %6.4g seconds\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 832 | (sum_entropy/test_time/MEGABITS), test_iterations, test_time); | ~~~~~~~~~~~~~~~ | | | long unsigned int rngd.h:149:22: note: in definition of macro ‘message’ 149 | syslog((priority), fmt, ##args); \ | ^~~ rngd.c:831:79: note: format string is defined here 831 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Mbits/sec averaged over %d iterations for %6.4g seconds\n", | ~^ | | | int | %ld In file included from rngd.c:53: rngd.c:831:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 831 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Mbits/sec averaged over %d iterations for %6.4g seconds\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 832 | (sum_entropy/test_time/MEGABITS), test_iterations, test_time); | ~~~~~~~~~~~~~~~ | | | long unsigned int rngd.h:152:20: note: in definition of macro ‘message’ 152 | fprintf(stderr, fmt, ##args); \ | ^~~ rngd.c:831:79: note: format string is defined here 831 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Mbits/sec averaged over %d iterations for %6.4g seconds\n", | ~^ | | | int | %ld In file included from rngd.c:53: rngd.c:834:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 834 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Kbits/sec averaged over %d iterations for %6.4g seconds\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 835 | (sum_entropy/test_time/KILOBITS), test_iterations, test_time); | ~~~~~~~~~~~~~~~ | | | long unsigned int rngd.h:149:22: note: in definition of macro ‘message’ 149 | syslog((priority), fmt, ##args); \ | ^~~ rngd.c:834:79: note: format string is defined here 834 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Kbits/sec averaged over %d iterations for %6.4g seconds\n", | ~^ | | | int | %ld In file included from rngd.c:53: rngd.c:834:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 834 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Kbits/sec averaged over %d iterations for %6.4g seconds\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 835 | (sum_entropy/test_time/KILOBITS), test_iterations, test_time); | ~~~~~~~~~~~~~~~ | | | long unsigned int rngd.h:152:20: note: in definition of macro ‘message’ 152 | fprintf(stderr, fmt, ##args); \ | ^~~ rngd.c:834:79: note: format string is defined here 834 | message(LOG_CONS|LOG_INFO, "\nEntropy rate: %6.4g Kbits/sec averaged over %d iterations for %6.4g seconds\n", | ~^ | | | int | %ld rngd_linux.c: В функции «default_watermark»: rngd_linux.c:70:2: предупреждение: результат «fscanf», декларированной с атрибутом warn_unused_result, игнорируется [-Wunused-result] rngd_linux.c: В функции «random_add_entropy»: rngd_linux.c:150:3: предупреждение: результат «write», декларированной с атрибутом warn_unused_result, игнорируется [-Wunused-result] rm -f librngd.a armv7a-unknown-linux-gnueabihf-ar cru librngd.a fips.o armv7a-unknown-linux-gnueabihf-ranlib librngd.a armv7a-unknown-linux-gnueabihf-gcc -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -Wl,-O1 -Wl,--as-needed -o rngtest stats.o rngtest.o librngd.a -lgcrypt -lsysfs armv7a-unknown-linux-gnueabihf-gcc -pthread -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -ggdb3 -pthread -Wl,-O1 -Wl,--as-needed -o rngd rngd-rngd.o rngd-rngd_entsource.o rngd-rngd_linux.o rngd-util.o librngd.a -lsysfs -lgcrypt -lsysfs -lgcrypt -lsysfs make[2]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7' make[1]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7' >>> Source compiled. >>> Test phase: sys-apps/rng-tools-6.7-r2 make -j3 check Making check in contrib make[1]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/contrib' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/contrib' Making check in tests make[1]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make rngtesturandom.sh rngtestzero.sh rngtestjitter.sh make[2]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/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 '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make check-TESTS make[2]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make[3]: Entering directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' PASS: rngtestjitter.sh PASS: rngtestzero.sh FAIL: rngtesturandom.sh ============================================================================ Testsuite summary for rng-tools 6.7 ============================================================================ # TOTAL: 3 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to Neil Horman  ============================================================================ make[3]: *** [Makefile:508: test-suite.log] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make[2]: *** [Makefile:616: check-TESTS] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make[1]: *** [Makefile:704: check-am] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7/tests' make: *** [Makefile:888: check-recursive] Error 1 * ERROR: sys-apps/rng-tools-6.7-r2::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 1465: Called default * phase-functions.sh, line 872: Called default_src_test * phase-functions.sh, line 901: Called __eapi0_src_test * phase-helpers.sh, line 779: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=sys-apps/rng-tools-6.7-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/rng-tools-6.7-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7' * S: '/var/tmp/portage/sys-apps/rng-tools-6.7-r2/work/rng-tools-6.7'