Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183060 - dev-libs/STLport-5.1.2 assumes /bin/sh is bash
Summary: dev-libs/STLport-5.1.2 assumes /bin/sh is bash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-24 17:15 UTC by Harald van Dijk (RETIRED)
Modified: 2007-07-11 20:09 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 Harald van Dijk (RETIRED) gentoo-dev 2007-06-24 17:15:48 UTC
x86_64-pc-linux-gnu-g++ -pthread -fexceptions -fident  -fPIC  -fuse-cxa-atexit -march=athlon64 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -D_REENTRANT -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -I/usr/include -Xlinker --as-needed -shared -Wl,-hlibstlport.so.5.1 -nostdlib   -o obj/gcc/so/libstlport.so.5.1.1 crt{i,beginS}.o obj/gcc/so/dll_main.o obj/gcc/so/fstream.o obj/gcc/so/strstream.o obj/gcc/so/sstream.o obj/gcc/so/ios.o obj/gcc/so/stdio_streambuf.o obj/gcc/so/istream.o obj/gcc/so/ostream.o obj/gcc/so/iostream.o obj/gcc/so/codecvt.o obj/gcc/so/collate.o obj/gcc/so/ctype.o obj/gcc/so/monetary.o obj/gcc/so/num_get.o obj/gcc/so/num_put.o obj/gcc/so/num_get_float.o obj/gcc/so/num_put_float.o obj/gcc/so/numpunct.o obj/gcc/so/time_facets.o obj/gcc/so/messages.o obj/gcc/so/locale_impl.o obj/gcc/so/locale_catalog.o obj/gcc/so/facets_byname.o obj/gcc/so/complex.o obj/gcc/so/complex_io.o obj/gcc/so/complex_trig.o obj/gcc/so/string.o obj/gcc/so/bitset.o obj/gcc/so/allocators.o obj/gcc/so/c_locale.o obj/gcc/so/cxa.o  -Wl,--whole-archive -lsupc++  -Wl,--no-whole-archive -lgcc_s -lpthread -lc -lm crt{endS,n}.o
x86_64-pc-linux-gnu-g++: crt{i,beginS}.o: No such file or directory
x86_64-pc-linux-gnu-g++: crt{endS,n}.o: No such file or directory
make: *** [obj/gcc/so/libstlport.so.5.1.1] Error 1
make: Leaving directory `/var/tmp/portage/dev-libs/STLport-5.1.2/work/STLport-5.1.2/build/lib'

!!! ERROR: dev-libs/STLport-5.1.2 failed.
Call stack:
  ebuild.sh, line 1637:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  STLport-5.1.2.ebuild, line 79:   Called die

!!! Compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/STLport-5.1.2/temp/build.log'.

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2007-06-03 11:21 /bin/sh -> dash
$ emerge --info
Portage 2.1.3_rc5 (default-linux/amd64/2006.1/no-multilib, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Sun, 24 Jun 2007 16:30:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.4.0
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests autopatch collision-protect cvs distlocks metadata-transfer multilib-strict notitles parallel-fetch sandbox sfperms sign strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Xlinker --as-needed"
LINGUAS="*"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/cvs/gentoo-x86 /etc/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 accessibility akode alsa amd64 bidi bindist bitmap-fonts boost bzip2 cjk cli clucene cracklib crypt cvs dbus dri dvd dvdnav dvdread ffmpeg filepicker flac gif gmp gtk iconv immqt inotify ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ mbox midi mozdevelop mudflap ncurses nls nocxx nptl nptlonly nsplugin ogg opengl pascal perl png ppds pppd qt3 readline reflection rtc sdl session spl sql ssl tcpd threads truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis xcomposite xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="*" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Either the Makefile should set the SHELL variable, or the {...,...} constructs should be fully written out.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-07-11 20:09:27 UTC
Fixed.