Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 622862

Summary: net-misc/curl[static-libs] requires net-nds/openldap[static-libs]
Product: Gentoo Linux Reporter: David E. Narváez <david.narvaez>
Component: Current packagesAssignee: Matt Jolly <kangie>
Status: RESOLVED FIXED    
Severity: normal CC: base-system
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32194
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: static-libs fix

Description David E. Narváez 2017-06-27 17:24:51 UTC
Created attachment 478242 [details]
static-libs fix

I think the attached patch fixes it.
Comment 1 Matt Jolly gentoo-dev 2023-08-06 06:06:40 UTC
This has been on my To-do: for a while.

https://curl.se/mail/lib-2019-11/0076.html suggests that building and linking static dependencies is the correct thing to do and that the current ebuild behaviour is deficient. I'll apply the patch and submit a new ebuild when I'm next at a PC!
Comment 2 Larry the Git Cow gentoo-dev 2023-08-10 03:03:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12130a6da841981d1e329d35a613e047318527da

commit 12130a6da841981d1e329d35a613e047318527da
Author:     Matt Jolly <Matt.Jolly@footclan.ninja>
AuthorDate: 2023-08-06 10:33:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-10 03:02:39 +0000

    net-misc/curl: fix USE=ldap,static-libs combination
    
    Closes: https://bugs.gentoo.org/622862
    Reported-by: David E. Narváez <david.narvaez@computer.org>
    Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/curl/curl-8.2.1.ebuild | 2 +-
 net-misc/curl/curl-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)