<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>183060</bug_id>
          
          <creation_ts>2007-06-24 17:15 0000</creation_ts>
          <short_desc>dev-libs/STLport-5.1.2 assumes /bin/sh is bash</short_desc>
          <delta_ts>2007-07-11 20:09:27 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>truedfx@gentoo.org</reporter>
          <assigned_to>cpp@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2007-06-24 17:15:48 0000</bug_when>
            <thetext>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&apos;

!!! ERROR: dev-libs/STLport-5.1.2 failed.
Call stack:
  ebuild.sh, line 1637:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call &apos;src_compile&apos;
  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 &apos;/var/tmp/portage/dev-libs/STLport-5.1.2/temp/build.log&apos;.

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2007-06-03 11:21 /bin/sh -&gt; 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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=athlon64 -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
EMERGE_DEFAULT_OPTS=&quot;--with-bdeps=y&quot;
FEATURES=&quot;assume-digests autopatch collision-protect cvs distlocks metadata-transfer multilib-strict notitles parallel-fetch sandbox sfperms sign strict unmerge-orphans&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LANG=&quot;en_GB.UTF-8&quot;
LDFLAGS=&quot;-Xlinker --as-needed&quot;
LINGUAS=&quot;*&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--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-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/var/cvs/gentoo-x86 /etc/portage/overlay&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;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&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;*&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nv vesa&quot;
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2007-07-11 20:09:27 0000</bug_when>
            <thetext>Fixed.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>