[arch-dev-public] grep breakage in staging
Florian Pritz
bluewind at xinu.at
Tue Feb 7 14:49:36 EST 2012
On 07.02.2012 20:23, Dave Reisner wrote:
> Hey,
>
> Long story short, udev wouldn't build against staging and bailed with a
> really strange library-not-found error. I was able to reduce it down to
> libtool flaking out because it hardcodes paths to grep:
>
> 92 # A grep program that handles long lines.
> 93 GREP="/bin/grep"
> Do we:
> * tell libtool upstream to go to hell? (please?)
+1
$PATH is there for a reason and if they think it might not contain /bin,
they can just add it at the end.
If the reason is "performance" (I did hear that one somewhere already)
they shouldn't use a shell script. Forking is worse than a few (likely
cached) file system lookups.
Until it's fixed upstream, I suggest to just patch it.
PS: Just saw that the variables for gcc, strip, ln -s, ar, as, printf,
tr and objdump do not contain a hardcoded path but just the executable
name. Go figure.
--
Florian Pritz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20120207/dfd75e69/attachment-0001.asc>
More information about the arch-dev-public
mailing list