Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392713 - net-misc/wget-1.13.4-r1 require static openssl even with USE='-static'
Summary: net-misc/wget-1.13.4-r1 require static openssl even with USE='-static'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 08:35 UTC by Piotr Karbowski (RETIRED)
Modified: 2011-12-01 16:52 UTC (History)
3 users (show)

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 Piotr Karbowski (RETIRED) gentoo-dev 2011-12-01 08:35:14 UTC
Hi,

Wget's revbump now require openssl with static-libs even when wget itself does not have static useflag enabled. I think this misbehevior is because or:

RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )"

which does not really seems to work.

fwiw it happen for me on sys-apps/portage-2.2.0_alpha79

Reproducible: Always
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2011-12-01 08:36:14 UTC
Adding Vapier to CC as he was the one who commited it. Should be faster than waiting for bug wranglers to assign it.
Comment 2 Marien Zwart (RETIRED) gentoo-dev 2011-12-01 14:10:08 UTC
The ebuild tries to strip the [static-libs] USE deps from the USE=static case and use this for the USE=-static case, but it misses the [static-libs(+)] deps. Something like this helps:

-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )"
+NONSTATIC_LIB_DEPEND="${LIB_DEPEND//\[static-libs(+)]/}"
+NONSTATIC_LIB_DEPEND="${NONSTATIC_LIB_DEPEND//\[static-libs]/}"
+RDEPEND="!static? ( ${NONSTATIC_LIB_DEPEND} )"

(could probably be done more concisely, I'll leave that to someone better at bash.)
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2011-12-01 14:50:59 UTC
Flameeyes just committed a simpler fix, so closing this bug.
Comment 4 SpanKY gentoo-dev 2011-12-01 16:52:43 UTC
simpler perhaps, but crappy.  i redid it right.

http://sources.gentoo.org/net-misc/wget/wget-1.13.4-r1.ebuild?r1=1.1&r2=1.3