Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782541 - sys-fs/cryptsetup-2.3.5 static build with openssl should not depend on dev-libs/libgpg-error
Summary: sys-fs/cryptsetup-2.3.5 static build with openssl should not depend on dev-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-12 16:33 UTC by Milan Broz
Modified: 2021-09-17 16:43 UTC (History)
1 user (show)

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


Attachments
ebuild file fix (build-gcrypt.patch,642 bytes, patch)
2021-04-12 16:34 UTC, Milan Broz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Broz 2021-04-12 16:33:48 UTC
If sys-fs/cryptsetup is built with static-libs, ebuild reuires to build static dev-libs/libgpg-error even if default crypto backend (OpenSSL) does not need it.

Slight change in ebuild file is needed to make this conditionally on gcrypt option (see attached patch).

Reproducible: Always
Comment 1 Milan Broz 2021-04-12 16:34:27 UTC
Created attachment 699468 [details, diff]
ebuild file fix
Comment 2 Larry the Git Cow gentoo-dev 2021-09-17 16:43:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b057f1aacabdb1fcfaf0f09b7ee8c6733a2689

commit 51b057f1aacabdb1fcfaf0f09b7ee8c6733a2689
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-09-17 16:42:24 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-09-17 16:42:24 +0000

    sys-fs/cryptsetup: move libgpg-error behind USE=gcrypt
    
    Closes: https://bugs.gentoo.org/782541
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-fs/cryptsetup/cryptsetup-2.4.1-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)