Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320775 - media-video/gpac-0.4.5-r2: libogg should not be optional anymore
Summary: media-video/gpac-0.4.5-r2: libogg should not be optional anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Gentoo Media-video project
URL: http://www.gentoo.org/proj/en/qa/asne...
Whiteboard:
Keywords:
Depends on:
Blocks: 258331
  Show dependency tree
 
Reported: 2010-05-20 20:34 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-11-01 17:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (gpac-0.4.5-r2:20100519-155044.log,127.31 KB, text/plain)
2010-05-20 20:35 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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