Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 219385

Summary: kdelibs-3.5.9-r2 fails to build with libmad-0.15.1b-r5 due to missing libmad.la
Product: Gentoo Linux Reporter: Norman Yarvin <norman.yarvin>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: flameeyes
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Norman Yarvin 2008-04-26 21:06:30 UTC
The change from libmad-0.15.1b-r4 to libmad-0.15.1b-r5 causes kdelibs-3.5.9-r2 to fail to build, with the messages:

/bin/sed: can't read /usr/lib64/libmad.la: No such file or directory
libtool: link: `/usr/lib64/libmad.la' is not a valid libtool archive

This is because the newer ebuild for libmad intentionally deletes all .la files before installing (this being the only difference between the two ebuilds).


Reproducible: Always
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-26 21:21:56 UTC

*** This bug has been marked as a duplicate of bug 218286 ***
Comment 2 Bill Puschmann 2008-07-31 17:52:06 UTC
(In reply to comment #3)
> This change also breaks basket-1.0.3.1, but downgrading libmad to -r4 fixes the
> issue.  Diego -- why the change to libmad to delete the .la files?  If you can
> help me understand the issue, maybe I can help with a solution.
> 

Diego made changes to the libmad emerge that forcefully deletes the .la files on his own initiative.  He posted information about it on his own blog - but doesn't cite libmad (making searching for it a bit of a problem).  He may have some good points, but fails to actually let anyone know unless you're already following his blog and can read between the lines.

UNFORTUNATELY revdep-rebuild does NOT fix this.  It probably should, but that's for another bug.  Other people (specifically Diego) have tried to offer this "solution" - but have obviously never tested it themselves.

How to work around it?  Re-emerge arts.  That "fixes" the libmad issues (since it's from arts that the .la is being pulled in.