https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/libfido2 misses USE=static-libs and installs '.a' files. Discovered on: amd64 (internal ref: ci) The best solution is avoid to build the '.a' files by touching the configure. In case the buildsystem makes your life hard, a good compromise would be just remove the files. See also:https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302 NOTE: If you want to change the summary, to avoid auto-filed duplicates, please at least keep the word 'static-libs'
It looks like src_install is rm-ing the wrong path. It's also using rm -f, so we don't catch the error. The build system has a BUILD_STATIC_LIBS option, but disabling this causes the example programs to fail to build due to a missing symbol in libfido2.so. I will work with upstream to resolve that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eea8f0916df18ecd7af4852865e82b00c6a61e6 commit 1eea8f0916df18ecd7af4852865e82b00c6a61e6 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-09-10 14:46:36 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-09-10 14:46:36 +0000 dev-libs/libfido2: fix static-libs USE flag Closes: https://bugs.gentoo.org/812347 Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-libs/libfido2/libfido2-1.7.0.ebuild | 5 ++++- dev-libs/libfido2/libfido2-1.8.0.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-)