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

Bug 511586

Summary: media-sound/mpd-0.18.10-r1[opus] has missing media-libs/libogg dep
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Christoph Mende (RETIRED) <angelos>
Status: RESOLVED FIXED    
Severity: normal CC: hwoarang, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 509502    

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
+