ports/59230: gstreamer-plugins Makefile depends on libshout which conflicts with previously-installed libshout2
pseniura at techie.com
pseniura at techie.com
Wed Nov 12 21:10:26 UTC 2003
>Number: 59230
>Category: ports
>Synopsis: gstreamer-plugins Makefile depends on libshout which conflicts with previously-installed libshout2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 12 13:10:23 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: pseniura at techie.com
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
Okla.D.O.T.
>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).
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list