If libdvdread-4.1.3 is compiled with LDFLAGS=-Wl,--as-needed, it will not export all symbols (perhaps even no symbol is exported, I didn't check). For example, media-dvd/lsdvd fails afterwards early in the configure phase due to missing symbols.
Reassigning to media-video herd.
Related upstream discussion and patch here: http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2008-October/000880.html
I've applied the patch mentioned in that mail. Works like a charm on an --as-needed enabled system.
Created attachment 184080 [details, diff] libdvdread-4.1.3-as-needed-fix.patch Maybe attaching the patch helps to get this bug finally fixed :)
Alternatively, simply using autotools instead of configure2 resolves the issue as well.
(In reply to comment #5) > Alternatively, simply using autotools instead of configure2 resolves the issue > as well. > Last I checked (which, admittedly, was quite a while) autotools was totally borked on forked libdvdnav/read. But, the snapshot in the tree is outdated anyway, so let's push a new one and take it from there.
I've been using an autotools libdvdread overlay, and have not noticed any issues with mplayer or vobcopy. vobcopy was what I initially had issues when I started discussing it upstream. Overlay at http://yangman.ca/git/gentoo-overlay/ and layman definition at http://yangman.ca/gentoo-overlays.xml
(In reply to comment #7) > I've been using an autotools libdvdread overlay, and have not noticed any > issues with mplayer or vobcopy. vobcopy was what I initially had issues when I > started discussing it upstream. > > Overlay at http://yangman.ca/git/gentoo-overlay/ and layman definition at > http://yangman.ca/gentoo-overlays.xml > Awesome, Ill take a look. Looks like you killed the forced MAKEOPTS as well, I'd like to drop the -j1 if I could. Working for you, then?
(In reply to comment #8) > Looks like you killed the forced MAKEOPTS as well, I'd like to drop the -j1 if > I could. Working for you, then? Yup.
The one thing I haven't tried is building it with USE=-css so that needs to be verified.
(In reply to comment #10) > The one thing I haven't tried is building it with USE=-css so that needs to be > verified. > Yah, I already tested that, it's fine. Alright, switched the new ebuilds (4.1.3_p1168 and -9999) for both libdvdread and libdvdnav to use autotools. Thanks for the help, Yang, I wasn't doing mine correctly.
Closing, since 4.1.3_p1168 is in ~arch and not masked anymore. Also, 4.1.3-r1 was never stable.