Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307313 - sys-devel/gcc-4.4.3 & libgomp.la let media-gfx/imagemagick-6.5.9.4-r1 fail to compile
Summary: sys-devel/gcc-4.4.3 & libgomp.la let media-gfx/imagemagick-6.5.9.4-r1 fail to...
Status: RESOLVED DUPLICATE of bug 288765
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 323477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-01 14:01 UTC by Andreas Sturmlechner
Modified: 2010-06-10 20:15 UTC (History)
2 users (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 Andreas Sturmlechner gentoo-dev 2010-03-01 14:01:49 UTC
Since upgrading to 4.4.3, including of course the usual fix_libtool_files.sh against old 4.4.2, imagemagick (nothing else) fails to build. The issue however seems to be somewhere inside my gcc config, because fix_libtool_files.sh 4.4.2 constantly tries to 'FIX' libgomp.la without success.

Recompiling gcc-4.4.3 didn't help.

# gcc-config -l
 [1] x86_64-pc-linux-gnu-4.4.3 *


fix_libtool_files.sh 4.4.2:

# fix_libtool_files.sh 4.4.2
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/15] Scanning /lib ...                               
 *   [2/15] Scanning /usr/lib ...                           
 *     FIXING: /usr/lib/libgomp.la ...[]                    
 *   [3/15] Scanning /lib32 ...                             
 *   [4/15] Scanning /lib64 ...                             
 *   [5/15] Scanning /usr/games/lib ...                     
 *   [6/15] Scanning /usr/games/lib32 ...                   
 *   [7/15] Scanning /usr/games/lib64 ...                   
 *   [8/15] Scanning /usr/lib32 ...                         
 *   [9/15] Scanning //usr/lib32/opengl/xorg-x11/lib ...    
 *   [10/15] Scanning /usr/lib64 ...                        
 *     FIXING: /usr/lib64/libgomp.la ...[]                  
 *   [11/15] Scanning //usr/lib64/opengl/xorg-x11/lib ...   
 *   [12/15] Scanning /usr/local/lib ...                    
 *   [13/15] Scanning /usr/local/lib32 ...                  
 *   [14/15] Scanning /usr/local/lib64 ...
 *   [15/15] Scanning /usr/x86_64-pc-linux-gnu/lib ...


imagemagick failure:

  CCLD   magick/libMagickCore.la
  CCLD   ltdl/dlopen.la
  CCLD   ltdl/libltdlc.la
x86_64-pc-linux-gnu-gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/libgomp.so: No such file or directory
make[1]: *** [magick/libMagickCore.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.5.9.4-r1/work/ImageMagick-6.5.9-4'
make: *** [all] Error 2
 * ERROR: media-gfx/imagemagick-6.5.9.4-r1 failed:
 *   compilation failed
 *
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 3030:  Called perl-app_src_compile
 *   environment, line 2686:  Called perl-module_src_compile
 *   environment, line 2724:  Called die
 * The specific snippet of code:
 *               emake OTHERLDFLAGS="${LDFLAGS}" ${mymake} || die "compilation failed";
 *
 * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.5.9.4-r1',
 * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.5.9.4-r1'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.9.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.5.9.4-r1/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/imagemagick-6.5.9.4-r1/work/ImageMagick-6.5.9-4'

>>> Failed to emerge media-gfx/imagemagick-6.5.9.4-r1, Log file:

>>>  '/var/tmp/portage/media-gfx/imagemagick-6.5.9.4-r1/temp/build.log'
Comment 1 Andreas Sturmlechner gentoo-dev 2010-03-01 14:06:08 UTC
stripped to relevance:

# emerge --info
Portage 2.2_rc63 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-zen0 x86_64)
=================================================================
System uname: Linux-2.6.33-zen0-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 27 Feb 2010 23:00:01 +0000
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/var/lib/layman/kde /var/lib/layman/x11 /var/lib/layman/openoffice-geki /var/lib/layman/jokey /usr/local/portage/ownage"
CAMERAS="canon" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en de" QEMU_SOFTMMU_TARGETS="arm i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 ppc ppc64 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-01 14:27:13 UTC

*** This bug has been marked as a duplicate of bug 283761 ***
Comment 3 Andreas Sturmlechner gentoo-dev 2010-03-01 15:08:08 UTC
thanks, I did search but wasn't able to find the according bug myself. ;)
Comment 4 SpanKY gentoo-dev 2010-03-07 00:51:35 UTC
incorrect dupe
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-24 10:51:09 UTC

*** This bug has been marked as a duplicate of bug 288765 ***
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-06-10 20:15:48 UTC
*** Bug 323477 has been marked as a duplicate of this bug. ***