The build with FEATURES=test fails with slibtool. Reproducible: Always Actual Results: make LIBTOOL=rlibtool check-TESTS make[2]: Entering directory '/var/tmp/portage/dev-libs/libtpms-0.9.5/work/libtpms-0.9.5/tests' make[3]: Entering directory '/var/tmp/portage/dev-libs/libtpms-0.9.5/work/libtpms-0.9.5/tests' FAIL: nvram_offsets FAIL: tpm2_createprimary.sh FAIL: fuzz.sh FAIL: base64decode.sh FAIL: tpm2_pcr_read.sh FAIL: tpm2_selftest.sh ============================================================================ Testsuite summary for libtpms 0.9.5 ============================================================================ # TOTAL: 6 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 6 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log ============================================================================ make[3]: *** [Makefile:918: test-suite.log] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/libtpms-0.9.5/work/libtpms-0.9.5/tests' make[2]: *** [Makefile:1026: check-TESTS] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-libs/libtpms-0.9.5/work/libtpms-0.9.5/tests' make[1]: *** [Makefile:1141: check-am] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-libs/libtpms-0.9.5/work/libtpms-0.9.5/tests' make: *** [Makefile:522: check-recursive] Error 1
Created attachment 792038 [details] Build log
This is also only reproducible if libtpms is not already installed, when it is installed it finds the installed libtpms library rather than the newly built library.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cedc01467acc01d153eb30d26e9ed476fb6ca24f commit cedc01467acc01d153eb30d26e9ed476fb6ca24f Author: orbea <orbea@riseup.net> AuthorDate: 2022-07-17 04:14:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-25 04:09:53 +0000 dev-libs/libtpms: Fix FEATURES=test with slibtool Bug: https://bugs.gentoo.org/858671 Upstream-PR: https://github.com/stefanberger/libtpms/pull/344 Upstream-Commit: https://github.com/stefanberger/libtpms/commit/0c2bc32a21e2c7218faa8cd6d5cf31b13835e6d5 Signed-off-by: Sam James <sam@gentoo.org> .../libtpms/files/libtpms-0.9.5-slibtool.patch | 52 ++++++++++++++++++++++ dev-libs/libtpms/libtpms-0.9.5.ebuild | 1 + 2 files changed, 53 insertions(+)