Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406103 - symlinking /bin/sh to /bin/busybox can break some ebuilds
Summary: symlinking /bin/sh to /bin/busybox can break some ebuilds
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 04:19 UTC by b0nafide
Modified: 2012-02-28 17:05 UTC (History)
1 user (show)

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 b0nafide 2012-02-28 04:19:37 UTC
I was very lazy and symlinked /bin/sh to /bin/busybox to edit some bourne shell scripts and promptly forgot about it until my latest emerge world. 

dev-python/numpy and media-video/mplayer both failed to link because libraries were being created with busybox's ar (which doesn't support creating an index). 

Steps to reproduce, ie. with numpy: 

# ln -s /bin/busybox /bin/sh
# emerge dev-python/numpy
 - observe link failures
# which ar
 - note the use of busybox's ar instead of the ar in our $PATH

There may be other packages other than numpy and mplayer effected by this oddity.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-28 17:05:36 UTC
This is to be expected.