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

Bug 406103

Summary: symlinking /bin/sh to /bin/busybox can break some ebuilds
Product: Gentoo Linux Reporter: b0nafide <bonafide>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: trivial CC: bonafide
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.