gstreamer-plugins depends on libshout which conflicts with libshout2.

pseniura at techie.com pseniura at techie.com
Wed Nov 12 13:00:41 PST 2003


SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR:
SEND-PR: Please consult the following URL if you are not sure how to
SEND-PR: fill out a problem report:
SEND-PR: http://www.freebsd.org/doc/en/articles/problem-reports/
SEND-PR:
SEND-PR: Note that the Synopsis field is mandatory.
SEND-PR:
SEND-PR: Please note that (unless you state otherwise) if your report 
SEND-PR: includes a patch then it will be taken under the same license as 
SEND-PR: the one on the file(s) you want to change.
SEND-PR:
SEND-PR: BE ADVISED THAT FREEBSD PROBLEM REPORTS ARE PUBLIC INFORMATION AND
SEND-PR: WILL BE PUBLISHED AS-IS ON THE PROJECT'S MAILING LISTS AND WEB SITES.
SEND-PR: DO NOT SUBMIT ANY INFORMATION YOU DO NOT WANT MADE PUBLIC.
SEND-PR:
SEND-PR: If you wish to submit a problem report confidentially, then contact
SEND-PR: the FreeBSD bugmaster (bugmaster at FreeBSD.org) to arrange for a
SEND-PR: relevant developer to be contacted.
SEND-PR:
SEND-PR: For sensitive security issues, consider contacting the FreeBSD
SEND-PR: security officer team (security-officer at freebsd.org) directly.
SEND-PR:
SEND-PR: Choose from the following categories:
SEND-PR:
SEND-PR: advocacy  alpha     amd64     bin       conf      docs      
SEND-PR: gnu       i386      ia64      java      kern      misc      
SEND-PR: ports     powerpc   sparc64   standards www       
SEND-PR:
To: FreeBSD-gnats-submit at freebsd.org
From: pseniura at techie.com
Reply-To: pseniura at techie.com
Cc: 
X-send-pr-version: 3.113
X-GNATS-Notify: 


>Submitter-Id:	current-users
>Originator:	pseniura at techie.com
>Organization:	Okla.D.O.T.
>Confidential:	no
>Synopsis:	gstreamer-plugins Makefile depends on libshout which conflicts with previously-installed libshout2
>Severity:	serious
>Priority:	medium
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 5.1-CURRENT i386
>Environment:
System: FreeBSD techpc04.okladot.state.ok.us 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Nov 7 00:12:31 CST 2003 root at techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300PY i386


>Description:

	The x11/gnome2 meta-port is requiring gstreamer-plugins through a long chain of requisites.  Before this, I had toinstall audio/libshout2 (v2.0) because of other ports needing it specifically.  Gstreamer-plugins, tho, is calling for audio/libshout (v1.0.7), causing a CONFLICTS condition to be raised during portupgrade fresh install of x11/gnome2.

	The gstreamer-plugins' Makefile does a simple detection to see that libshout.a is installed, then the Makefile adds the 'wrong' version of libshout to the LIB_DEPENDS string.  The Makefile also uses the environment variable WITH_LIBSHOUT (irregardless of libshout.a being installed) and if it is defined, the Makefile again adds the 'wrong' version of libshout to LIB_DEPENDS.  And we never get to a point where the meta-port itself is installed.

	I use CTM (due to firewall issues here) and am up-to-date as far as this morning's buckets for src-cur and ports-cur.


>How-To-Repeat:

	Install audio/libshout2 first, then install multimedia/gstreamer-plugins.


>Fix:

	To work around this, I simply patched the Makefile for gstreamer-plugins to specify audio/libshout2 instead of audio/libshout:

--- Makefile_orig	Sun Nov  9 02:24:04 2003
+++ Makefile	Mon Nov 10 16:02:32 2003
@@ -520,7 +520,7 @@
 CONFIGURE_ARGS+=	--disable-shout
 PLIST_SUB+=	LIBSHOUT="@comment "
 .else
-LIB_DEPENDS+=	shout.2:${PORTSDIR}/audio/libshout
+LIB_DEPENDS+=	shout.3:${PORTSDIR}/audio/libshout2
 
 PLIST_SUB+=	LIBSHOUT=""
 .endif

	I have no idea whether gstreamer-plugins will function with libshout2 (since it'll take a while to get the whole gnome2 built and installed in order to test this).



More information about the freebsd-bugs mailing list