Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 258184

Summary: media-gfx/imagemagick-6.4.9.2 fails to compile
Product: Gentoo Linux Reporter: Mark Nowiasz <mark+gentoobugs>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: michal.spondr
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Nowiasz 2009-02-08 18:32:13 UTC
When trying to upgrade imagemagick to 6.4.9.2 the compiling process fails:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.la: line 41: libdir/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3: No such file or directory                             
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.la: line 41: libdir/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3: No such file or directory         


Reproducible: Always

Steps to Reproduce:
1. emerge =media-gfx/imagemagick-6.4.9.2
2.
3.

Actual Results:  
/bin/sh ./libtool --silent --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99  -fopenmp -march=amdfam10 -O2 -pipe -Wall -W -pthread -no-undefined -export-symbols-regex ".*"  -version-info 2:0:0 -Wl,-O1 -lfreetype -lz -o magick/libMagickCore.la -rpath /usr/lib64 magick/magick_libMagickCore_la-animate.lo magick/magick_libMagickCore_la-annotate.lo magick/magick_libMagickCore_la-artifact.lo magick/magick_libMagickCore_la-blob.lo magick/magick_libMagickCore_la-cache.lo magick/magick_libMagickCore_la-cache-view.lo magick/magick_libMagickCore_la-cipher.lo magick/magick_libMagickCore_la-client.lo magick/magick_libMagickCore_la-coder.lo magick/magick_libMagickCore_la-color.lo magick/magick_libMagickCore_la-colorspace.lo magick/magick_libMagickCore_la-compare.lo magick/magick_libMagickCore_la-composite.lo magick/magick_libMagickCore_la-compress.lo magick/magick_libMagickCore_la-configure.lo magick/magick_libMagickCore_la-constitute.lo magick/magick_libMagickCore_la-decorate.lo magick/magick_libMagickCore_la-delegate.lo magick/magick_libMagickCore_la-deprecate.lo magick/magick_libMagickCore_la-display.lo magick/magick_libMagickCore_la-distort.lo magick/magick_libMagickCore_la-draw.lo magick/magick_libMagickCore_la-effect.lo magick/magick_libMagickCore_la-enhance.lo magick/magick_libMagickCore_la-exception.lo magick/magick_libMagickCore_la-fx.lo magick/magick_libMagickCore_la-gem.lo magick/magick_libMagickCore_la-geometry.lo magick/magick_libMagickCore_la-hashmap.lo magick/magick_libMagickCore_la-identify.lo magick/magick_libMagickCore_la-image.lo magick/magick_libMagickCore_la-layer.lo magick/magick_libMagickCore_la-list.lo magick/magick_libMagickCore_la-locale.lo magick/magick_libMagickCore_la-log.lo magick/magick_libMagickCore_la-magic.lo magick/magick_libMagickCore_la-magick.lo magick/magick_libMagickCore_la-matrix.lo magick/magick_libMagickCore_la-memory.lo magick/magick_libMagickCore_la-mime.lo magick/magick_libMagickCore_la-module.lo magick/magick_libMagickCore_la-monitor.lo magick/magick_libMagickCore_la-montage.lo magick/magick_libMagickCore_la-option.lo magick/magick_libMagickCore_la-paint.lo magick/magick_libMagickCore_la-pixel.lo magick/magick_libMagickCore_la-PreRvIcccm.lo magick/magick_libMagickCore_la-prepress.lo magick/magick_libMagickCore_la-property.lo magick/magick_libMagickCore_la-profile.lo magick/magick_libMagickCore_la-quantize.lo magick/magick_libMagickCore_la-quantum.lo magick/magick_libMagickCore_la-quantum-export.lo magick/magick_libMagickCore_la-quantum-import.lo magick/magick_libMagickCore_la-random.lo magick/magick_libMagickCore_la-registry.lo magick/magick_libMagickCore_la-resample.lo magick/magick_libMagickCore_la-resize.lo magick/magick_libMagickCore_la-resource.lo magick/magick_libMagickCore_la-segment.lo magick/magick_libMagickCore_la-semaphore.lo magick/magick_libMagickCore_la-shear.lo magick/magick_libMagickCore_la-signature.lo magick/magick_libMagickCore_la-splay-tree.lo magick/magick_libMagickCore_la-static.lo magick/magick_libMagickCore_la-statistic.lo magick/magick_libMagickCore_la-stream.lo magick/magick_libMagickCore_la-string.lo magick/magick_libMagickCore_la-timer.lo magick/magick_libMagickCore_la-token.lo magick/magick_libMagickCore_la-transform.lo magick/magick_libMagickCore_la-threshold.lo magick/magick_libMagickCore_la-type.lo magick/magick_libMagickCore_la-utility.lo magick/magick_libMagickCore_la-version.lo magick/magick_libMagickCore_la-widget.lo magick/magick_libMagickCore_la-xml-tree.lo magick/magick_libMagickCore_la-xwindow.lo  -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -L/usr/lib64 -lltdl              
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.la: line 41: libdir/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3: No such file or directory                             
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.la: line 41: libdir/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3: No such file or directory                             
libtool: link: warning: library `/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.la' was moved.                                                                  
/usr/bin/nm: '/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/.libs/libgomp.a': No such file                                                                             
x86_64-pc-linux-gnu-gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/.libs/libgomp.a: No such file or directory                                                      
make[1]: *** [magick/libMagickCore.la] Fehler 1                                 
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.4.9.2/work/ImageMagick-6.4.9-2'                                                            
make: *** [all] Fehler 2                                                        
 *                                                                              
 * ERROR: media-gfx/imagemagick-6.4.9.2 failed.                                 
 * Call stack:                                                                  
 *               ebuild.sh, line   49:  Called src_compile                      
 *             environment, line 2501:  Called perl-app_src_compile             
 *             environment, line 2171:  Called die                              
 * The specific snippet of code:                                                
 *           make ${mymake} || die "compilation failed";                        
 *  The die message:                                                            
 *   compilation 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/media-gfx/imagemagick-6.4.9.2/temp/build.log'.                                                          
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.4.9.2/temp/environment'.               


spectre ~ # emerge --info                 
Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)                                                       
=================================================================               
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-glibc2.2.5                                                             
Timestamp of tree: Sun, 08 Feb 2009 17:45:01 +0000                              
ccache version 2.4 [enabled]                                                    
app-shells/bash:     3.2_p48                                                    
dev-java/java-config: 1.3.7-r1, 2.1.7                                           
dev-lang/python:     2.5.4-r2                                                   
dev-util/ccache:     2.4-r8                                                     
dev-util/cmake:      2.6.2-r1                                                   
sys-apps/baselayout: 2.0.0                                                      
sys-apps/openrc:     0.4.2                                                      
sys-apps/sandbox:    1.3.5                                                      
sys-devel/autoconf:  2.13, 2.63                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                  
sys-devel/binutils:  2.19.1                                                     
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.28-r1                                                  
ACCEPT_KEYWORDS="amd64 ~amd64"                                                  
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-march=amdfam10 -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/config /var/lib/hsqldb"                                        
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-O2 -pipe"                                                            
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                             
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "            
LANG="de_DE.utf8"                                                               
LDFLAGS="-Wl,-O1"                                                               
LINGUAS="de"                                                                    
MAKEOPTS="-j5"                                                                  
PKGDIR="/usr/portage/packages"                                                  
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="/usr/local/portage/layman/kde-testing"                         
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                           
USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile bash-completion bcmath bluetooth branding bzip2 cairo calendar cddb cdparanoia cdr cli cracklib crypt cscope css ctype cups curl cxx dbus djvu dri dts dv dvb dvd dvdr dvdread encode enscript exif expat fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp glib glut gmp gnuplot gnutls gphoto2 gpm gps graphviz gsl gtk gzip hal hddtemp htmlhandbook iconv icq icu idn imagemagick imap imlib innodb isdnlog jabber java java6 javascript jbig jingle jpeg jpeg2k kde kontact kpathsea lame lash latex lcms ldap libcaca libnotify libsamplerate libwww lm_sensors lua lzo mad maildir mailwrapper matroska mhash midi mime mmap mmx mng modplug mp2 mp3 mp4 mpeg mpi mplayer msn mudflap multilib musepack musicbrainz mysql mysqli ncurses netcdf nls nntp nptl nptlonly nsplugin nvram offensive ofx ogg openal openexr opengl openmp oscar pam pcntl pcre pda pdf perl php plasma png posix postgres ppds pppd python qt3 qt4 quicktime raw rdesktop readline recode reflection rss samba sasl sdl session sharedext sharedmem shorten slang smp sndfile snmp soap sockets sox speex spell spl sse sse2 ssl startup-notification subversion suid svg sysfs syslog sysvipc szip taglib tcpd theora threads tidy tiff timidity tokenizer truetype unicode usb v4l2 vcd videos vim-syntax vnc vorbis wavpack webkit wlm wmf x264 xattr xface xft xine xml xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo yaz 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 rateroute 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 infolog_config logio mem_cache mime mime_magic negotiation rewrite setenvif spelingstatus 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="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-02-08 18:51:48 UTC
Sort of, kind of invalid.
For a short time, one of eclasses, gcc ebuild inherits from,
was messed up.

It was about the same time gcc 4.3.3 got into the tree.

As a result, many people got messed up la files in gcc 4.3.3.

Fix those files manually or reemerge gcc 4.3.3.
Comment 2 Mark Nowiasz 2009-02-08 19:37:11 UTC
(In reply to comment #1)

> Fix those files manually or reemerge gcc 4.3.3.

Reemerging gcc 4.3.3 did the trick indeed :-)

 

Comment 3 Rafał Mużyło 2009-12-06 03:36:39 UTC
*** Bug 295923 has been marked as a duplicate of this bug. ***