Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812347 - =dev-libs/libfido2-1.8.0 misses USE=static-libs and installs '.a' files
Summary: =dev-libs/libfido2-1.8.0 misses USE=static-libs and installs '.a' files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: static-libs
  Show dependency tree
 
Reported: 2021-09-10 00:57 UTC by Agostino Sarubbo
Modified: 2021-09-10 14:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-09-10 00:57:00 UTC
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'
Comment 1 Mike Gilbert gentoo-dev 2021-09-10 13:12:07 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2021-09-10 14:47:41 UTC
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(-)