Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261648 - ImageMagick 6.4.9.2 fails compilation due to broken libgomp.la
Summary: ImageMagick 6.4.9.2 fails compilation due to broken libgomp.la
Status: RESOLVED DUPLICATE of bug 256636
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 07:49 UTC by Robyn Dawn Hannigan
Modified: 2009-03-08 16:22 UTC (History)
1 user (show)

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


Attachments
emerge --info (einfo.txt,4.04 KB, text/plain)
2009-03-08 07:53 UTC, Robyn Dawn Hannigan
Details
build environment file (environment,95.12 KB, text/plain)
2009-03-08 07:56 UTC, Robyn Dawn Hannigan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robyn Dawn Hannigan 2009-03-08 07:49:15 UTC
Whilst trying to emerge ImageMagick 6.4.9.2 useing a fresh build of gcc-4.3.3 with USE="openmp", the build fails compilation with an error about no such directory for libgomp.la

This occurres due to a broken libgomp.la.
i have verified that this can be fixed by changeing the line in 

/usr/lib/gcc/i686-pc-linux-gnu/4.3.3
<< libdir'/usr/lib/gcc/i686-pc-linux-gnu/4.3.3'
>> libdir='/usr/lib/gcc/i686-pc-linux-gnu/4.3.3'

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-devel/gcc-4.3.3 with USE="openmp"
2. emerge =media-gfx/imagemagick-6.4.9.2

Actual Results:  
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgomp.la: line 41: libdir/usr/lib/gcc/i686-pc-linux-gnu/4.3.3: No such file or directory
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgomp.la: line 41: libdir/usr/lib/gcc/i686-pc-linux-gnu/4.3.3: No such file or directory
libtool: link: warning: library `/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libgomp.la' was moved.
/usr/bin/nm: '/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/.libs/libgomp.a': No such file
i686-pc-linux-gnu-gcc: /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/.libs/libgomp.a: No such file or directory
make[1]: *** [magick/libMagickCore.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/media-gfx/imagemagick-6.4.9.2/work/ImageMagick-6.4.9-2'
make: *** [all] Error 2

Expected Results:  
the package should merge :(

The gcc build has to be emerge with USE="openmp"
Comment 1 Robyn Dawn Hannigan 2009-03-08 07:53:30 UTC
Created attachment 184317 [details]
emerge --info
Comment 2 Robyn Dawn Hannigan 2009-03-08 07:56:27 UTC
Created attachment 184318 [details]
build environment file
Comment 3 Arseny Solokha 2009-03-08 08:02:04 UTC
Me too.
I can also reproduce it with sci-libs/fftw-3.2.1. Summary might be changed to
"sys-devel/gcc-4.3.3 ships broken libgomp.la", for example.
Comment 4 Arseny Solokha 2009-03-08 08:02:55 UTC
% emerge --info
Portage 2.2_rc23 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.26.3-rt3 i686)
=================================================================
System uname: Linux-2.6.26.3-rt3-i686-AMD_Athlon-tm-with-glibc2.0
Timestamp of tree: Wed, 04 Mar 2009 08:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 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="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles ftp://ftp.corbina.ru/pub/Linux/gentoo http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j2"
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="/usr/local/portage/layman/soor-overlay /usr/local/portage/layman/pro-audio /usr/local/portage/layman/zugaina /usr/local/portage/layman/rostov /usr/local/portage/layman/sunrise /usr/local/portage/layman/voyageur /usr/local/portage/layman/x11 /usr/local/portage/layman/arcon /usr/local/portage/layman/roslin"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl alsa berkdb bzip2 cli cracklib crypt cups dri gdbm gpm iconv isdnlog mad midi mmx mmxext mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl pppd python readline reflection session spl sse ssl sysfs tcpd threads unicode x86 xorg zlib" ALSA_CARDS="cmipci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-08 09:45:03 UTC
Have you tried to fix this by recompiling gcc?
Comment 6 Arseny Solokha 2009-03-08 10:00:40 UTC
(In reply to comment #5)
> Have you tried to fix this by recompiling gcc?
> 

Which USE-flags whould I change? Should I unset "openmp", or just recompile with no changes?
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-08 10:12:12 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Have you tried to fix this by recompiling gcc?
> > 
> 
> Which USE-flags whould I change? Should I unset "openmp", or just recompile
> with no changes?

Just recompile gcc. If I remember correctly this might be a duplicate of bug #256636
To verify this, keep the USE flags unchanged. If recompiling gcc fixes your problem, this bug can be marked as duplicate of #256636
Comment 8 Arseny Solokha 2009-03-08 15:33:29 UTC
(In reply to comment #7)
> Just recompile gcc. If I remember correctly this might be a duplicate of bug
> #256636
> To verify this, keep the USE flags unchanged. If recompiling gcc fixes your
> problem, this bug can be marked as duplicate of #256636

It works, thank you. You can definitely mark this bug as dup of 256636.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-08 16:22:28 UTC

*** This bug has been marked as a duplicate of bug 256636 ***