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

Bug 265624

Summary: media-plugins/gst-plugins-alsa-0.10.20 fails to build when gst-plugins-base-0.10.22 is installed
Product: Gentoo Linux Reporter: Nicholas J. Michalek <djphazer>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED INVALID    
Severity: minor CC: gnome
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: when gst-plugins-base-0.10.22 is installed
Whiteboard:
Package list:
Runtime testing required: ---

Description Nicholas J. Michalek 2009-04-10 08:07:27 UTC
I ran into this because I had the base gst plugins unmasked, but not ones such as gst-plugins-alsa. It fails to build because it cannot find the file multichannel-enumtypes.h, which was included in v0.10.20 of base, but not v0.10.22. This could happen with other plugin ebuilds as well.

The solution I see is to make gst-plugins-alsa-0.10.20 depend on a more specific version of gst-plugins-base, perhaps <0.10.22 or something.

I know I'm being vague, but I'm sure the maintainers will immediately recognize this as a general problem with a simple fix.

TO REPRODUCE:
1. Install gst-plugins-base-0.10.22 (use keywords/masking as necessary)
2. Try to install gst-plugins-alsa-0.10.20
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2009-04-10 15:21:05 UTC
Mixing ~arch and arch is not supported..

That said, I propose adding the following patch to the gst-p-base eclass to fix it:

Index: gst-plugins-base.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v
retrieving revision 1.11
diff -u -p -r1.11 gst-plugins-base.eclass
--- gst-plugins-base.eclass	30 Mar 2009 04:24:15 -0000	1.11
+++ gst-plugins-base.eclass	10 Apr 2009 15:19:54 -0000
@@ -43,6 +43,7 @@ S=${WORKDIR}/${MY_P}
 if [ "${PN}" != "${MY_PN}" ]; then
 RDEPEND="=media-libs/gst-plugins-base-0.10*"
 DEPEND="${RDEPEND}
+	~media-libs/gst-plugins-base-${PV}
 	>=sys-apps/sed-4
 	dev-util/pkgconfig"
 fi
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-10 15:50:07 UTC
fine by me, that's what we do for the gnome-python.eclass.
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2009-05-16 22:13:21 UTC
Don't mix versions of the base package and its split plugins, its not supported.