I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well; in both cases it should be fixed. Also, if this is due to the package in question not respecting user-defined LDFLAGS, you should get to fix that too. Check the attached build log. Thanks, Diego
Created attachment 232269 [details] Build log
libgpac.so, which is built as part of this package, requires symbols from libogg.so (media-libs/libogg), but there is no sign of a -logg anywhere in the build. This appears to be a bug in how the build system selects what to compile, since the configure script was invoked with --use-ogg=no, indicating that Diego built with USE=-ogg. The ogg references in libgpac.so should not have been present at all.
This is not actually a asneeded bug, but caused by my half-fix for bug 258331. I've unbundled the libogg from gpac, and that made it non-optional. sorry about that, i'll try to clean up it :-/
+*gpac-0.4.5-r3 (01 Nov 2010) + + 01 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> +gpac-0.4.5-r3.ebuild: + Make sure ogg.h from system is used and remove USE="ogg" because it's not