* Package: sys-auth/libnss-cache-0.10.2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking libnss-cache-0.10.2.tar.gz to /var/tmp/portage/sys-auth/libnss-cache-0.10.2/work >>> Source unpacked in /var/tmp/portage/sys-auth/libnss-cache-0.10.2/work >>> Preparing source in /var/tmp/portage/sys-auth/libnss-cache-0.10.2/work/libnss-cache-0.10.2 ... * Applying libnss-cache-0.10.1-make.patch ... [ ok ] * Applying libnss-cache-0.10-fix-shadow-test.patch ... [ ok ] * Will copy sources from /var/tmp/portage/sys-auth/libnss-cache-0.10.2/work/libnss-cache-0.10.2 * abi_x86_64.amd64: copying to /var/tmp/portage/sys-auth/libnss-cache-0.10.2/work/libnss-cache-0.10.2-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/libnss-cache-0.10.2/work/libnss-cache-0.10.2 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/libnss-cache-0.10.2/work/libnss-cache-0.10.2 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 CC=x86_64-pc-linux-gnu-gcc nss_cache [ -d .libs ] || mkdir .libs x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wstrict-prototypes -fPIC -c nss_cache.c -o .libs/nss_cache.o nss_cache.c: In function ‘_nss_cache_bsearch2’: nss_cache.c:167:10: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] 167 | return ret; | ^~~ In file included from /usr/include/string.h:494, from nss_cache.h:27, from nss_cache.c:23: In function ‘strncpy’, inlined from ‘_nss_cache_getpwuid_r’ at nss_cache.c:333:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘_nss_cache_getpwnam_r’ at nss_cache.c:397:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nss_cache.c: In function ‘_nss_cache_getpwnam_r’: nss_cache.c:397:26: note: length computed here 397 | strncpy(pw_name, name, strlen(name) + 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:494, from nss_cache.h:27, from nss_cache.c:23: In function ‘strncpy’, inlined from ‘_nss_cache_getpwnam_r’ at nss_cache.c:399:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘_nss_cache_getgrgid_r’ at nss_cache.c:625:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘_nss_cache_getgrnam_r’ at nss_cache.c:689:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nss_cache.c: In function ‘_nss_cache_getgrnam_r’: nss_cache.c:689:26: note: length computed here 689 | strncpy(gr_name, name, strlen(name) + 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:494, from nss_cache.h:27, from nss_cache.c:23: In function ‘strncpy’, inlined from ‘_nss_cache_getgrnam_r’ at nss_cache.c:691:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘_nss_cache_getspnam_r’ at nss_cache.c:884:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nss_cache.c: In function ‘_nss_cache_getspnam_r’: nss_cache.c:884:26: note: length computed here 884 | strncpy(sp_namp, name, strlen(name) + 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:494, from nss_cache.h:27, from nss_cache.c:23: In function ‘strncpy’, inlined from ‘_nss_cache_getspnam_r’ at nss_cache.c:886:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libnss_cache.so.2 -o .libs/libnss_cache.so.2.0 .libs/nss_cache.o >>> Source compiled. >>> Test phase: sys-auth/libnss-cache-0.10.2 * abi_x86_64.amd64: running multilib-minimal_abi_src_test make -j1 test mkdir -p .testdata mkdir -p .testbin getent passwd > .testdata/passwd.cache getent group > .testdata/group.cache sudo getent shadow > .testdata/shadow.cache /bin/sh: sudo: command not found make: *** [Makefile:83: getent_data] Error 127 * ERROR: sys-auth/libnss-cache-0.10.2::gentoo failed (test phase): * Make test failed. See above for details. * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 1515: Called multilib-minimal_src_test * environment, line 1029: Called multilib_foreach_abi 'multilib-minimal_abi_src_test' * environment, line 1214: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test' * environment, line 894: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test' * environment, line 892: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_test' * environment, line 286: Called multilib-minimal_abi_src_test * environment, line 1025: Called default_src_test * phase-functions.sh, line 884: Called __eapi0_src_test * phase-helpers.sh, line 783: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} test || \ * die "Make test failed. See above for details." * * If you need support, post the output of `emerge --info '=sys-auth/libnss-cache-0.10.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/libnss-cache-0.10.2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-auth:libnss-cache-0.10.2:20191220-212849.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/libnss-cache-0.10.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/libnss-cache-0.10.2/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/libnss-cache-0.10.2/work/libnss-cache-0.10.2-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-auth/libnss-cache-0.10.2/work/libnss-cache-0.10.2'