From root@techpc04.okladot.state.ok.us  Wed Nov 12 13:00:40 2003
Return-Path: <root@techpc04.okladot.state.ok.us>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5728816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 13:00:40 -0800 (PST)
Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BEABB43FF2
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 13:00:32 -0800 (PST)
	(envelope-from root@techpc04.okladot.state.ok.us)
Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])
	by odot.okladot.state.ok.us (AIX4.3/8.9.3/8.9.2) with ESMTP id PAA31430
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 15:00:39 -0600
Received: from techpc04.okladot.state.ok.us ([199.27.9.37])
          by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12)
          with ESMTP id 2003111215002605:119862 ;
          Wed, 12 Nov 2003 15:00:26 -0600 
Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0)
	id 89BDB5C7F; Wed, 12 Nov 2003 14:00:18 -0600 (CST)
Message-Id: <20031112200018.89BDB5C7F@techpc04.okladot.state.ok.us>
Date: Wed, 12 Nov 2003 14:00:18 -0600 (CST)
From: pseniura@techie.com
Reply-To: pseniura@techie.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gstreamer-plugins Makefile depends on libshout which conflicts with previously-installed libshout2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         59230
>Category:       ports
>Synopsis:       gstreamer-plugins Makefile depends on libshout which conflicts with previously-installed libshout2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 13:10:23 PST 2003
>Closed-Date:    Sat Mar 13 19:58:51 PST 2004
>Last-Modified:  Sat Mar 13 19:58:51 PST 2004
>Originator:     pseniura@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->lioux 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Nov 13 01:47:52 PST 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59230 
State-Changed-From-To: open->closed 
State-Changed-By: lioux 
State-Changed-When: Sat Mar 13 19:58:39 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59230 
>Unformatted:
