Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277431 - media-video/vlc-1.0.0 fails, missing /usr/lib/libogg.la
Summary: media-video/vlc-1.0.0 fails, missing /usr/lib/libogg.la
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 277454 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-11 12:33 UTC by Jens Rutschmann
Modified: 2009-07-11 18:34 UTC (History)
1 user (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 Jens Rutschmann 2009-07-11 12:33:58 UTC
Relevant part of build log:
/bin/grep: /usr/lib/libogg.la: No such file or directory
/bin/sed: can't read /usr/lib/libogg.la: No such file or directory
libtool: link: `/usr/lib/libogg.la' is not a valid libtool archive
make[5]: *** [libtheora_plugin.la] Error 1
make[5]: *** Waiting for unfinished jobs....

This file does indeed not exist on my system.
ebuild media-libs/libogg-1.1.4 says at the end of the merge:
 * This version of libogg has stopped installing .la files. This may
 * cause compilation failures in other packages. To fix this problem,
 * install dev-util/lafilefixer and run:
 * lafilefixer --justfixit
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-11 12:44:53 UTC
Yep. Good thing you found the message, it includes everything I wanted to say :-)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-11 12:45:18 UTC
(or revdep-rebuild)
Comment 3 Jens Rutschmann 2009-07-11 12:51:37 UTC
(In reply to comment #1)
> Yep. Good thing you found the message, it includes everything I wanted to say
> :-)
> 

Perhaps the VLC ebuild could give a little hint, too ...

Btw. after running lafilefixer (which fixed ~1250 files on my system) it compiled fine.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-11 12:54:09 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Yep. Good thing you found the message, it includes everything I wanted to say
> > :-)
> > 
> 
> Perhaps the VLC ebuild could give a little hint, too ...
> 
> Btw. after running lafilefixer (which fixed ~1250 files on my system) it
> compiled fine.
> 

This error could have come even from a package that really doesn't use libogg on systems where LDFLAGS="-Wl,--as-needed" isn't used because libtool has a bad habit of inserting false (indirect) deps into .la files. There is absolutely no way of telling where it fails for "user a" and then for "user b", sorry.

Just keep in mind next time you see a missing .la file it most likely needs a revdep-rebuild (slower way) or lafilefixer (faster way)
Comment 5 Jens Rutschmann 2009-07-11 13:07:53 UTC
(In reply to comment #4)
> This error could have come even from a package that really doesn't use libogg
> on systems where LDFLAGS="-Wl,--as-needed" isn't used because libtool has a bad
> habit of inserting false (indirect) deps into .la files. There is absolutely no
> way of telling where it fails for "user a" and then for "user b", sorry.

I see, thanks a lot for the explanation !
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-07-11 18:34:34 UTC
*** Bug 277454 has been marked as a duplicate of this bug. ***