Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 164099
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Charlie Shepherd (RETIRED) <masterdriverz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gilles Gagniard <gilles.gagniard@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 164099 depends on: Show dependency tree
Bug 164099 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-27 19:54 0000
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 From Charlie Shepherd (RETIRED) 2007-01-27 20:04:41 0000 -------
Thanks for reporting, fixed in CVS.

------- Comment #2 From Jakub Moc (RETIRED) 2007-05-02 11:24:55 0000 -------
*** Bug 176788 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug