Summary: | =media-video/gnome-mplayer-0.9.6 with USE="gnome" and LDFLAGS="-Wl,--as-needed" fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | BedOS_Gui <eric_chaligny> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdekorte, russell, Sander.Sweers |
Priority: | High | Keywords: | REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
emerge --info
Patch from the issue on c.g.c Ebuild patch |
Description
BedOS_Gui
2009-06-07 11:32:53 UTC
Created attachment 193785 [details]
emerge --info
I've had this same today, this is because of -Wl,--hash-style=gnu in LDFLAGS, try removing it. I don't know what has changed from 0.9.5 to 0.9.6 but this is definately a REGRESSION. Kevin, would you look at this, please? My compilation looks nothing like that. What options are you using to compile this code... Does ./configure --prefix=/usr make clean make build it correctly? It looks like something in the linker (perhaps the --as-needed) flag isn't working right? Also someone sent in a patch that should fix this. (In reply to comment #5) > Also someone sent in a patch that should fix this. > Weird, I could have sworn it was the hash-style, but you are right, it's the -Wl,--as-needed Dunno how I mistested it. :/ Could you attach the patch here please? (In reply to comment #4) > My compilation looks nothing like that. What options are you using to compile > this code... > > Does > ./configure --prefix=/usr > make clean > make > > build it correctly? It looks like something in the linker (perhaps the > --as-needed) flag isn't working right? > Also no, "make clean" doesn't help here. It's the -Wl,--as-needed. Created attachment 193805 [details, diff] Patch from the issue on c.g.c Link to the patch. http://code.google.com/p/gnome-mplayer/issues/detail?id=193 Created attachment 193807 [details, diff]
Ebuild patch
I put in a WANT_AUTOMAKE as it was complaining that "WANT_AUTOMAKE latest" was not correct.
Can someone add http://code.google.com/p/gnome-mplayer/issues/detail?id=193 to the url field? gnome-mplayer has been patched today to remove the need for libtool. So perhaps someone from the Gentoo team could check SVN. I had this code in freeze for a couple of weeks and the day after it gets released I get these bugs. So perhaps some involvement in the project by a someone using gentoo would help prevent issues like this. (In reply to comment #9) > Created an attachment (id=193807) [edit] > Ebuild patch > > I put in a WANT_AUTOMAKE as it was complaining that "WANT_AUTOMAKE latest" was > not correct. > Because latest is the default, it's not valid to add default's to the ebuilds. :) Also because this pkg is using autoconf, I've added full eautoreconf instead of eautomake to avoid future cases where running only automake might trigger maintainer-mode.. Thanks guys, patch works and is applied in Portage. |