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

Bug 334693

Summary: app-shells/dash-0.5.6.1-r1 USE="static libedit" fails to build against dev-libs/libedit-20100424.3.0 USE=-static-libs
Product: Gentoo Linux Reporter: Rebecca Menessec <rebecca.menessec>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: n-roeser, rebecca.menessec
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rebecca Menessec 2010-08-26 20:24:37 UTC
Can be worked around with lafilefilxer after rebuilding libedit twice, but shouldn't require this.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-27 16:47:39 UTC
Seems to me that if you want USE=static you definitely also want USE=static-libs.
Comment 2 Rebecca Menessec 2010-08-27 17:25:39 UTC
(In reply to comment #1)
> Seems to me that if you want USE=static you definitely also want
> USE=static-libs.

Sorry, typo/thinko.  dash is built with libedit -static, libedit is built with -static-libs, dash build fails.
Comment 4 Rebecca Menessec 2010-08-30 01:31:24 UTC
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ledit
Comment 5 SpanKY gentoo-dev 2010-08-30 02:10:03 UTC
you cant post a random snippet.  you need to attach an actual full build log as well as the exact contents of libedit.
Comment 6 SpanKY gentoo-dev 2010-09-11 15:38:14 UTC
*** Bug 335676 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2010-09-11 15:39:49 UTC
probably fixed now.  not that people apparently look at these commits to point out errors in them ...

http://sources.gentoo.org/app-shells/dash/dash-0.5.6.1-r1.ebuild?r1=1.2&r2=1.3
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-11 15:46:44 UTC
(In reply to comment #7)
> probably fixed now.  not that people apparently look at these commits to point
> out errors in them ...
> 
> http://sources.gentoo.org/app-shells/dash/dash-0.5.6.1-r1.ebuild?r1=1.2&r2=1.3

Nay. The ebuild forces static linking against libedit even with USE=-static.
Comment 9 SpanKY gentoo-dev 2010-09-11 16:06:35 UTC
the ebuild no longer forces it

http://sources.gentoo.org/app-shells/dash/dash-0.5.6.1-r1.ebuild?r1=1.3&r2=1.4