Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299134 - media-libs/libsdl compile failure with /bin/sh -> /bin/zsh
Summary: media-libs/libsdl compile failure with /bin/sh -> /bin/zsh
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-31 16:30 UTC by archibald haddock
Modified: 2010-01-04 16:15 UTC (History)
0 users

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 archibald haddock 2009-12-31 16:30:45 UTC
Comping libsdl does not compile with /bin/sh -> /bin/zsh
 


Reproducible: Always

Steps to Reproduce:
1. ln -s /bin/zsh /bin/sh
2. emerge libsdl

Actual Results:  
>>> Source configured. 
 >>> Compiling source in /var/tmp/portage/media-libs/libsdl-1.2.14/work/SDL-1.2.14 ... 
 make -j2 
 /bin/sh build-scripts/mkinstalldirs build 
 make: *** No rule to make target `build/*.lo', needed by `build/libSDL.la'. Stop. 
 make: *** Waiting for unfinished jobs.... 
 mkdir -p -- build 
 * ERROR: media-libs/libsdl-1.2.14 failed: 
 * emake failed 
 * 
 * Call stack: 
 * ebuild.sh, line 54: Called src_compile 
 * environment, line 2960: Called _eapi2_src_compile 
 * ebuild.sh, line 646: Called die 
 * The specific snippet of code: 
 * emake || die "emake failed" 
 * 

Expected Results:  
Compiling well.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-01-01 02:04:56 UTC
zsh is not POSIX compatible shell, using it as /bin/sh replacement is a bad idea
Comment 2 archibald haddock 2010-01-04 16:15:39 UTC
Is right, but if the install wants to use bash features it should use /bin/bash as shell and not /bin/sh.