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

Bug 236991

Summary: sys-apps/grep-2.5.1a-r1 has no dependency on lpcre
Product: Gentoo Linux Reporter: ArticIce(Juice) <articice>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ArticIce(Juice) 2008-09-07 17:52:05 UTC
When building sys-apps/grep-2.5.1a-r1 with the pcre use flag, it fails with 
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpcre

with libs installed:
 dev-libs/libpcre
      Latest version available: 7.7-r1
      Latest version installed: 7.6-r1
      Size of files: 799 kB
      Homepage:      http://www.pcre.org/
      Description:   Perl-compatible regular expression library
      License:       BSD

and not installed

*  dev-ml/pcre-ocaml
      Latest version available: 5.15.0
      Latest version installed: [ Not Installed ]
      Size of files: 49 kB
      Homepage:      http://www.ocaml.info/home/ocaml_sources.html
      Description:   Perl Compatibility Regular Expressions for O'Caml
      License:       LGPL-2.1

etc..

Reproducible: Always

Steps to Reproduce:
1.emerge -av =sys-apps/grep-2.5.1a-r1
2.
3.

Actual Results:  
ebuild fails

Expected Results:  
ebuild completes

Installing dev-libs/libpcre 7.7-r1 fixes the problem (???)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-08 01:25:18 UTC
dev-libs/libpcre-7.7-r1 was committed straight to stable on 30 Jun 2008. The 7.6-r1 version was removed from the tree a couple of days ago and should not show up anymore in a sys-apps/portage dependency graph (so you should probably run update-eix or avoid using app-portage/eix under the assumption that it reflects the current state of the tree).

All in all that means that your system is out of date, and possibly your portage tree too. Run `emerge --sync; emerge -vuaDN world' to see if that fixes the problem the Summary describes.