Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164099 - remove USE=static from dev-libs/libpcre-7.0
Summary: remove USE=static from dev-libs/libpcre-7.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Charlie Shepherd (RETIRED)
URL:
Whiteboard:
Keywords:
: 176788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-27 19:54 UTC by Gilles Gagniard
Modified: 2007-05-02 12:13 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 Gilles Gagniard 2007-01-27 19:54:05 UTC
sys-apps/grep with the pcre use flag requires libpcre.a to link (-Wl,-static -lpcre -Wl,-dynamic in the link command). With dev-libs/libpcre-7.0, the static lipcre.a is only built when the static use flag is specified, but grep looks for it even if static is not set !

workaround : USE='static' emerge libpcre && emerge grep

possible fix : the grep ebuild should require that static flag for pcre (ugly), or the libpcre ebuild should ship libpcre.a even when static is not specified, or the grep ebuild should patch the source so that it can link with a dynamic libpcre.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/libpcre-7.0
2. emerge grep
3.

Actual Results:  
emerge grep fails.

Expected Results:  
emergr grep is sucessful.
Comment 1 Charlie Shepherd (RETIRED) gentoo-dev 2007-01-27 20:04:41 UTC
Thanks for reporting, fixed in CVS.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-02 11:24:55 UTC
*** Bug 176788 has been marked as a duplicate of this bug. ***