FS#4297 - grep should depend on pcre

Attached to Project: Arch Linux
Opened by Travis Willard (Cerebral) - Monday, 27 March 2006, 17:08 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Now that perl regular expression support is included in the grep package, it should depend on pcre to install the necessary libraries - otherwise it won't work at all with errors loading shared libraries.

Apparently (according to the forum thread linked below) this can even prevent machines from booting.

http://bbs.archlinux.org/viewtopic.php?p=152384#152384
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 27 March 2006, 18:19 GMT
Reason for closing:  Fixed
Comment by Travis Willard (Cerebral) - Monday, 27 March 2006, 17:11 GMT
... hold on, in my haste I didn't even notice that the package does, appropriately, depend on pcre. -.- Wonder why grep can't find the library at boot-time then?
Comment by Jan de Groot (JGC) - Monday, 27 March 2006, 17:30 GMT
It's because pcre is in /usr while grep is in /, which breaks on systems that have /usr mounted on a separate partition.
Comment by Travis Willard (Cerebral) - Monday, 27 March 2006, 17:34 GMT
JGC - thanks, I just confirmed this with enderst via IRC - his /usr is on a seperate partition from his / and that seems to be what's causing the problem.

Loading...