public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Remaining inconsistencies after revdep-rebuild -- libgomp.la missing
@ 2009-10-19  0:31 Mike Mazur
  2009-10-19  1:23 ` [gentoo-user] " walt
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Mazur @ 2009-10-19  0:31 UTC (permalink / raw
  To: gentoo-user

Hi,

When I run revdep-rebuild, I get something like the following:

[...]
 *   broken /usr/lib/ImageMagick-6.5.2/modules-Q16/coders/avi.la
(requires /usr/lib/libgomp.la)
[...]
 *   broken /usr/lib/libfftw3l_threads.la (requires /usr/lib/libgomp.la)
[...]

which in the end wants to emerge as follows:

emerge --oneshot -av media-gfx/imagemagick:0
sci-libs/fftw:3.0
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-gfx/imagemagick-6.5.2.9  USE="X bzip2 corefonts
jpeg openmp perl png svg tiff xml zlib -djvu -doc -fontconfig -fpx
-graphviz -gs -hdri -jbig -jpeg2k -lcms -nocxx -openexr -q32 -q8 -raw
-truetype -wmf" 0 kB
[ebuild   R   ] sci-libs/fftw-3.2.2  USE="fortran openmp sse sse2
(-altivec) -doc -threads" 0 kB

Once this merge completes, re-running revdep-rebuild yields the same results.

It seems that the culprit is /usr/lib/libgomp.la, which is completely
missing from my system. This is some OpenMP library from GNU[1]. I
can't find an obvious package in portage which would supply
libgomp.la.

Both imagemagick and fftw have the openmp use flag turned on. It's not
switched on in my /etc/portage/package.use so it must come from the
profile or the ebuild or wherever default USE flags come from.

The fftw ebuild says openmp support is available with gcc >= 4.2,
while imagemagick says gcc 4.3 is required and has a reference to bug
#223825[2]. I'm using gcc-4.3.4.

Is there a package that should be installed which provides libgomp.la?
If there is, shouldn't it be a dependency for imagemagick and fftw?
And if such a package doesn't exist, what's going on here? How did
imagemagick and fftw compile in the first place if libgomp.la is not
available on my system at all? Is anyone else seeing this issue? Do I
need to file a bug?

Thanks,
Mike


[1] http://gcc.gnu.org/onlinedocs/libgomp/
[2] http://bugs.gentoo.org/show_bug.cgi?id=223825



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: Remaining inconsistencies after revdep-rebuild -- libgomp.la missing
  2009-10-19  0:31 [gentoo-user] Remaining inconsistencies after revdep-rebuild -- libgomp.la missing Mike Mazur
@ 2009-10-19  1:23 ` walt
  2009-10-19  1:52   ` Mike Mazur
  0 siblings, 1 reply; 5+ messages in thread
From: walt @ 2009-10-19  1:23 UTC (permalink / raw
  To: gentoo-user

On 10/18/2009 05:31 PM, Mike Mazur wrote:
> Hi,
> 
> When I run revdep-rebuild, I get something like the following:
> 
> [...]
>  *   broken /usr/lib/ImageMagick-6.5.2/modules-Q16/coders/avi.la
> (requires /usr/lib/libgomp.la)...

There is a very recent thread addressing the problem of .la files
"requiring" other .la files.  This is apparently unnecessary and
sometimes counterproductive.

Try emerging lafilefixer and then run lafilefixer --justfixit.
It couldn't hurt, and might help.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: Remaining inconsistencies after revdep-rebuild  -- libgomp.la missing
  2009-10-19  1:23 ` [gentoo-user] " walt
@ 2009-10-19  1:52   ` Mike Mazur
  2009-10-19  2:16     ` Mike Mazur
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Mazur @ 2009-10-19  1:52 UTC (permalink / raw
  To: gentoo-user

Hi,

On Mon, Oct 19, 2009 at 09:23, walt <w41ter@gmail.com> wrote:
> On 10/18/2009 05:31 PM, Mike Mazur wrote:
>> Hi,
>>
>> When I run revdep-rebuild, I get something like the following:
>>
>> [...]
>>  *   broken /usr/lib/ImageMagick-6.5.2/modules-Q16/coders/avi.la
>> (requires /usr/lib/libgomp.la)...
>
> There is a very recent thread addressing the problem of .la files
> "requiring" other .la files.  This is apparently unnecessary and
> sometimes counterproductive.
>
> Try emerging lafilefixer and then run lafilefixer --justfixit.
> It couldn't hurt, and might help.

OK, will try, thanks.

I looked at the output of the emerge for imagemagick a bit closer, and
noticed a bunch of messages like this:

libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgomp.la' seems to be moved

Mike



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: Remaining inconsistencies after revdep-rebuild  -- libgomp.la missing
  2009-10-19  1:52   ` Mike Mazur
@ 2009-10-19  2:16     ` Mike Mazur
  2009-10-19  5:40       ` Mike Mazur
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Mazur @ 2009-10-19  2:16 UTC (permalink / raw
  To: gentoo-user

Hi,

On Mon, Oct 19, 2009 at 09:52, Mike Mazur <mmazur@gmail.com> wrote:
> Hi,
>
> On Mon, Oct 19, 2009 at 09:23, walt <w41ter@gmail.com> wrote:
>> On 10/18/2009 05:31 PM, Mike Mazur wrote:
>>> Hi,
>>>
>>> When I run revdep-rebuild, I get something like the following:
>>>
>>> [...]
>>>  *   broken /usr/lib/ImageMagick-6.5.2/modules-Q16/coders/avi.la
>>> (requires /usr/lib/libgomp.la)...
>>
>> There is a very recent thread addressing the problem of .la files
>> "requiring" other .la files.  This is apparently unnecessary and
>> sometimes counterproductive.
>>
>> Try emerging lafilefixer and then run lafilefixer --justfixit.
>> It couldn't hurt, and might help.
>
> OK, will try, thanks.

That did the trick. revdep-rebuild no longer reports any issues.

Thanks very much!
Mike



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: Remaining inconsistencies after revdep-rebuild  -- libgomp.la missing
  2009-10-19  2:16     ` Mike Mazur
@ 2009-10-19  5:40       ` Mike Mazur
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Mazur @ 2009-10-19  5:40 UTC (permalink / raw
  To: gentoo-user

Hi,

On Mon, Oct 19, 2009 at 10:16, Mike Mazur <mmazur@gmail.com> wrote:
> Hi,
>
> On Mon, Oct 19, 2009 at 09:52, Mike Mazur <mmazur@gmail.com> wrote:
>> Hi,
>>
>> On Mon, Oct 19, 2009 at 09:23, walt <w41ter@gmail.com> wrote:
>>> On 10/18/2009 05:31 PM, Mike Mazur wrote:
>>>> Hi,
>>>>
>>>> When I run revdep-rebuild, I get something like the following:
>>>>
>>>> [...]
>>>>  *   broken /usr/lib/ImageMagick-6.5.2/modules-Q16/coders/avi.la
>>>> (requires /usr/lib/libgomp.la)...
>>>
>>> There is a very recent thread addressing the problem of .la files
>>> "requiring" other .la files.  This is apparently unnecessary and
>>> sometimes counterproductive.
>>>
>>> Try emerging lafilefixer and then run lafilefixer --justfixit.
>>> It couldn't hurt, and might help.
>>
>> OK, will try, thanks.
>
> That did the trick. revdep-rebuild no longer reports any issues.

And here's a blog post and a bug explaining what's going on:

http://psykil.livejournal.com/338199.html
https://bugs.gentoo.org/283761

Mike



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-19  5:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-19  0:31 [gentoo-user] Remaining inconsistencies after revdep-rebuild -- libgomp.la missing Mike Mazur
2009-10-19  1:23 ` [gentoo-user] " walt
2009-10-19  1:52   ` Mike Mazur
2009-10-19  2:16     ` Mike Mazur
2009-10-19  5:40       ` Mike Mazur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox