Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293478 - media-libs/libemf-1.0.4 does not compile
Summary: media-libs/libemf-1.0.4 does not compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2009-11-17 09:16 UTC by Thomas Kahle (RETIRED)
Modified: 2009-11-17 17:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kahle (RETIRED) gentoo-dev 2009-11-17 09:16:26 UTC
It seems to expect some files in /usr/lib/gcc/... which are not present.

/bin/sh /usr/bin/libtool --tag=CXX   --mode=link i686-pc-linux-gnu-g++  -march=core2 -O2 -pipe -fomit-frame-pointer -D_REENTRANT -DPTHREADS -no-undefined -version-info 1:0:0  -o -rpath /usr/lib libemf.lo   -lm                                           
libtool: link: i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/crtbeginS.o  .libs/libemf.o   -L/usr/lib/gcc/i686-pc-linux-gnu/4.3.2 -L/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../crtn.o  -march=core2   -Wl,-soname -Wl, -o .libs/                                                                                                                               
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../crti.o: No such file or directory                             
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/crtbeginS.o: No such file or directory                                 
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/crtendS.o: No such file or directory                                   
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../crtn.o: No such file or directory                             
make[1]: *** [] Error 1                                                                                                   
make[1]: Leaving directory `/var/tmp/portage/media-libs/libemf-1.0.4/work/libEMF-1.0.4/libemf'                                     
make: *** [all-recursive] Error 1  

Reproducible: Always

Portage (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r3 i686)
System uname: Linux-2.6.31-gentoo-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.0.1     
Timestamp of tree: Tue, 17 Nov 2009 08:20:01 +0000                                                         
ccache version 2.4 [enabled]                                                                               
app-shells/bash:     4.0_p28                                                                               
dev-java/java-config: 2.1.9-r1                                                                             
dev-lang/python:     2.6.2-r1                                                                              
dev-python/pycrypto: 2.0.1-r8                                                                              
dev-util/ccache:     2.4-r7                                                                                
dev-util/cmake:      2.6.4-r3                                                                              
sys-apps/baselayout: 2.0.1                                                                                 
sys-apps/openrc:     0.5.2-r2                                                                              
sys-apps/sandbox:    1.6-r2                                                                                
sys-devel/autoconf:  2.13, 2.63-r1                                                                         
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                       
sys-devel/binutils:  2.18-r3                                                                               
sys-devel/gcc-config: 1.4.1                                                                                
sys-devel/libtool:   2.2.6a                                                                                
virtual/os-headers:  2.6.27-r2                                                                             
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"                                                       
CONFIG_PROTECT="/etc /usr/share/config"                                                                    
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"               
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"                                                                             
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"              
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                  
LINGUAS="en en_US de ja es fr it"                                                                                                  
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/tom-overlay /home/tom/gentoo/sci"
USE="X a52 aac acl acpi alsa anthy apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo canna cddb cdparanoia cdr cjk cli consolekit cracklib crypt ctype cups curl daap dbus djvu dri dts dvd dvdr eds emacs encode evo expat fam fbcon ffmpeg firefox flac fortran freewnn ftp gd gdbm gif gimp glut gmp gnutls gpm graphviz gstreamer gtk guile hal hdaps iconv ieee1394 imagemagick imap imlib ipod ipv6 java javascript jpeg kde latex ldap leim libnotify lm_sensors m17n-lib mad migemo mikmod mime mmx mng modules mp3 mp4 mpeg mplayer mudflap mule musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin obex ocaml ogg oggvorbis openal opengl openmp pam pcmcia pcre pdf perl php plasma plotutils png policykit ppds pppd python qt3support qt4 quicktime readline reflection samba sasl sdl semantic-desktop session slang spell spl sqlite3 sse ssl startup-notification svg sysfs tcpd texlive theora threads thunar tiff tk truetype unicode usb v4l v4l2 visualization vorbis wifi win32codecs wxwindows x264 x86 xcomposite xine xinerama xml xorg xulrunner xv xvid zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US de ja es fr it" USERLAND="GNU" VIDEO_CARDS="intel"
Comment 1 Thomas Beierlein gentoo-dev 2009-11-17 12:04:12 UTC
Same problem here on stable x86. 

Question is: Why does he look in 4.3.2 directory (i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../crti.o) if compiler is 4.3.4?
Comment 2 Thomas Beierlein gentoo-dev 2009-11-17 12:22:02 UTC
reemerging libtool fixes the problem.

Is that really needed after a switch to a newer gcc version? If so, it should be forced.
Comment 3 Thomas Beierlein gentoo-dev 2009-11-17 12:41:19 UTC
Ahh. It is already written in the 'Gentoo GCC Upgrade Guide' at