/var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0/tests/setup-softhsm2.sh: line 91: modutil: command not found /var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0/tests/setup-softhsm2.sh: line 92: modutil: command not found make[3]: *** [Makefile:1991: tests/softhsm2.conf] Error 127 make[3]: Leaving directory '/var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0' make[2]: *** [Makefile:1800: check-am] Error 2 make[2]: Leaving directory '/var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-systemd_test_20180809-181720 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.8.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv app-emulation/libcacard [ebuild N ] app-emulation/libcacard-2.6.0 USE="passthrough -static-libs"
Created attachment 543584 [details] emerge-info.txt
Created attachment 543586 [details] app-emulation:libcacard-2.6.0:20180814-195515.log
Created attachment 543588 [details] emerge-history.txt
Created attachment 543590 [details] environment
Created attachment 543592 [details] etc.portage.tbz2
Created attachment 543594 [details] logs.tbz2
Created attachment 543596 [details] temp.tbz2
Created attachment 543598 [details] tests.tbz2
Same failure for x86: > make[3]: Entering directory '/var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0' > (cd tests/ && /var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0/tests/setup-softhsm2.sh) > which: no pkcs11-tool in (/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/i686-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin) > which: no p11tool in (/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/i686-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin) > which: no certtool in (/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/i686-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin) > /var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0/tests/setup-softhsm2.sh: line 51: [: too many arguments > which: no softhsm2-util in (/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/i686-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin) > /var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0/tests/setup-softhsm2.sh: line 82: softhsm2-util: command not found > /var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0/tests/setup-softhsm2.sh: line 18: pkcs11-tool: command not found > Couldn't generate RSA:1024 key pair > /var/tmp/portage/app-emulation/libcacard-2.6.0/work/libcacard-2.6.0/tests/setup-softhsm2.sh: line 18: pkcs11-tool: command not found > Couldn't generate RSA:1024 key pair > ERROR: Failed to add module "SoftHSM PKCS#11". Probable cause : "/usr/lib64/pkcs11/libsofthsm2.so: cannot open shared object file: No such file or directory". > make[3]: *** [Makefile:1991: tests/softhsm2.conf] Error 22
seems we are missing dev-libs/nss (and maybe some others in DEPEND="test? ( ... )")
*** Bug 670747 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2084875d5ddd01a0efb61a5d18aff9bb049ff6d5 commit 2084875d5ddd01a0efb61a5d18aff9bb049ff6d5 Author: Tiziano Müller <dev-zero@gentoo.org> AuthorDate: 2018-11-23 07:49:56 +0000 Commit: Tiziano Müller <dev-zero@gentoo.org> CommitDate: 2018-11-23 07:51:23 +0000 app-emulation/libcacard: fix test failures by reducing the test suite for now to avoid pulling in SoftHSMv2 Closes: https://bugs.gentoo.org/663704 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Tiziano Müller <dev-zero@gentoo.org> app-emulation/libcacard/libcacard-2.6.0.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+)