Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511586 - media-sound/mpd-0.18.10-r1[opus] has missing media-libs/libogg dep
Summary: media-sound/mpd-0.18.10-r1[opus] has missing media-libs/libogg dep
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 509502
  Show dependency tree
 
Reported: 2014-05-27 06:08 UTC by Nikoli
Modified: 2014-05-30 19:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2014-05-27 06:08:20 UTC
When USE mpd is enabled mpd links to both libogg.so.0 and libopus.so.0, if media-libs/libogg is not installed configure fails:
checking for OPUS... no
configure: error: opus decoder plugin: libopus not found

!!! Please attach the following file when seeking support:
!!! /var/package-manager/tmp/portage/media-sound/mpd-0.18.10-r1/work/mpd-0.18.10/config.log
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2014-05-30 19:41:03 UTC
I applied the following patch

--- mpd-0.18.10-r1.ebuild	24 May 2014 09:16:52 -0000	1.5
+++ mpd-0.18.10-r1.ebuild	30 May 2014 19:39:22 -0000
@@ -26,7 +26,8 @@
 REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
 	|| ( ${DECODER_PLUGINS} )
 	network? ( || ( ${ENCODER_PLUGINS} ) )
-	recorder? ( || ( ${ENCODER_PLUGINS} ) )"
+	recorder? ( || ( ${ENCODER_PLUGINS} ) )
+	opus? ( ogg )"

Thanks for the report


+  30 May 2014; Markos Chandras <hwoarang@gentoo.org> mpd-0.18.10-r1.ebuild:
+  opus actually needs ogg support as well. Bug #511586 by Nikoli
+