Gentoo Archives: gentoo-user

From: Mike Mazur <mmazur@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Remaining inconsistencies after revdep-rebuild -- libgomp.la missing
Date: Mon, 19 Oct 2009 00:31:03
Message-Id: 184110a70910181731l1261df40ya61923588720aa22@mail.gmail.com
1 Hi,
2
3 When I run revdep-rebuild, I get something like the following:
4
5 [...]
6 * broken /usr/lib/ImageMagick-6.5.2/modules-Q16/coders/avi.la
7 (requires /usr/lib/libgomp.la)
8 [...]
9 * broken /usr/lib/libfftw3l_threads.la (requires /usr/lib/libgomp.la)
10 [...]
11
12 which in the end wants to emerge as follows:
13
14 emerge --oneshot -av media-gfx/imagemagick:0
15 sci-libs/fftw:3.0
16 ..........
17
18 These are the packages that would be merged, in order:
19
20 Calculating dependencies... done!
21 [ebuild R ] media-gfx/imagemagick-6.5.2.9 USE="X bzip2 corefonts
22 jpeg openmp perl png svg tiff xml zlib -djvu -doc -fontconfig -fpx
23 -graphviz -gs -hdri -jbig -jpeg2k -lcms -nocxx -openexr -q32 -q8 -raw
24 -truetype -wmf" 0 kB
25 [ebuild R ] sci-libs/fftw-3.2.2 USE="fortran openmp sse sse2
26 (-altivec) -doc -threads" 0 kB
27
28 Once this merge completes, re-running revdep-rebuild yields the same results.
29
30 It seems that the culprit is /usr/lib/libgomp.la, which is completely
31 missing from my system. This is some OpenMP library from GNU[1]. I
32 can't find an obvious package in portage which would supply
33 libgomp.la.
34
35 Both imagemagick and fftw have the openmp use flag turned on. It's not
36 switched on in my /etc/portage/package.use so it must come from the
37 profile or the ebuild or wherever default USE flags come from.
38
39 The fftw ebuild says openmp support is available with gcc >= 4.2,
40 while imagemagick says gcc 4.3 is required and has a reference to bug
41 #223825[2]. I'm using gcc-4.3.4.
42
43 Is there a package that should be installed which provides libgomp.la?
44 If there is, shouldn't it be a dependency for imagemagick and fftw?
45 And if such a package doesn't exist, what's going on here? How did
46 imagemagick and fftw compile in the first place if libgomp.la is not
47 available on my system at all? Is anyone else seeing this issue? Do I
48 need to file a bug?
49
50 Thanks,
51 Mike
52
53
54 [1] http://gcc.gnu.org/onlinedocs/libgomp/
55 [2] http://bugs.gentoo.org/show_bug.cgi?id=223825

Replies