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

Bug 320775

Summary: media-video/gpac-0.4.5-r2: libogg should not be optional anymore
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: QA CC: esigra, radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/proj/en/qa/asneeded.xml
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 258331    
Attachments: Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-05-20 20:34:53 UTC
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
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-05-20 20:35:16 UTC
Created attachment 232269 [details]
Build log
Comment 2 Kevin Pyle 2010-05-22 20:01:24 UTC
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.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-27 13:59:01 UTC
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 :-/
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-11-01 17:17:24 UTC
+*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