Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305399 - dev-libs/STLport-5.1.5 failed to build
Summary: dev-libs/STLport-5.1.5 failed to build
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: 2010-02-16 14:43 UTC by Tanktalus
Modified: 2010-08-21 11:12 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 Tanktalus 2010-02-16 14:43:13 UTC
Trying to emerge this, I get:

make -j9 -l25 -j1 -C build/lib -f gcc.mak depend all-shared all-static             
make: Entering directory `/var/tmp/portage/dev-libs/STLport-5.1.5/work/STLport-5.1.5/build/lib'                                                                       
../Makefiles/top.mak:33: ../Makefiles/gmake//sys.mak: No such file or directory    
../Makefiles/top.mak:35: ../Makefiles/gmake/Linux/targetsys.mak: No such file or directory                                                                            
../Makefiles/top.mak:41: ../Makefiles/gmake/Linux/extern.mak: No such file or directory                                                                               
../Makefiles/gmake/lib/top.mak:6: ../Makefiles/gmake/Linux/lib.mak: No such file or directory                                                                         
../Makefiles/gmake/lib/top.mak:8: ../Makefiles/gmake/Linux/rules-so.mak: No such file or directory                                                                    
../Makefiles/gmake/lib/top.mak:10: ../Makefiles/gmake/Linux/rules-install-so.mak: No such file or directory                                                           
make: *** No rule to make target `../Makefiles/gmake/Linux/rules-install-so.mak'.  Stop.

It appears that somehow BUILD_OSNAME from sysid.mak isn't getting set.

After a bit more debugging, I found that I have OSNAME set in my environment, which is not the same as the OSNAME used by the makefiles.  Perhaps the ebuild should unset OSNAME before running emake?

Reproducible: Always




Portage 2.2_rc62 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r3 x86_64)                                                                
=================================================================               
                        System Settings                                         
=================================================================               
System uname: Linux-2.6.32-gentoo-r3-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.1                                                           
Timestamp of tree: Tue, 16 Feb 2010 08:45:01 +0000                              
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                       
ccache version 2.4 [disabled]                                                   
app-shells/bash:     4.0_p35                                                    
dev-java/java-config: 2.1.10                                                    
dev-lang/python:     2.5.4-r3, 2.6.4                                            
dev-util/ccache:     2.4-r7                                                     
dev-util/cmake:      2.6.4-r3                                                   
sys-apps/baselayout: 2.0.1                                                      
sys-apps/openrc:     0.5.3                                                      
sys-apps/sandbox:    2.2                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                  
sys-devel/binutils:  2.18-r3                                                    
sys-devel/gcc:       4.1.2, 4.3.4                                               
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6b                                                     
virtual/os-headers:  2.6.27-r2                                                  
ACCEPT_KEYWORDS="amd64"                                                         
ACCEPT_LICENSE="*"                                                              
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-O3 -pipe -march=native"                                                
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 /var/bind /var/lib/hsqldb"           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                   
CXXFLAGS="-O3 -pipe -march=native"                                              
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"                 
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo"                                              
LANG="en_US.utf8"                                                               
LC_ALL="en_US.utf8"                                                             
LDFLAGS="-Wl,-O1"                                                               
LINGUAS="en"                                                                    
MAKEOPTS="-j9 -l25"                                                             
PKGDIR="/usr/portage/packages"                                                  
PORTAGE_CONFIGROOT="/"                                                          
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                  
PORTAGE_TMPDIR="/var/tmp"                                                       
PORTDIR="/usr/portage"                                                          
PORTDIR_OVERLAY="/home/dmcbride/cvs/portdir-mine /usr/portage/local/layman/jokey /usr/portage/local/layman/kde-testing /usr/portage/local/layman/kde3 /usr/portage/local/layman/x11 /usr/portage/local/layman/qting-edge"                                                                
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"                               
USE="X a52 aac acl acpi alsa amd64 apache2 audiofile avahi avi bash-completion berkdb branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups cxx dbus dri dvd dvdr dvdread encode exif expat ffmpeg fftw firefox fontconfig fortran gd gdbm gif gimp gmp gnutls gpm gs hal handbook htmlhandbook iconv imagemagick ipv6 java jbig jpeg jpeg2k kde lcms lzo mad mjpeg mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python qt4 readline reflection sdl semantic-desktop session smp spl sse sse2 ssl subversion svg sysfs tcpd threads tiff truetype unicode vcd vorbis wmf x264 xcb xcomposite xinerama xml xorg xulrunner xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa fbdev radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2010-08-21 11:12:54 UTC
ok, unsetting OSNAME now in pkg_setup (since 5.2.1).