From nobody@FreeBSD.org  Tue Jan 30 05:52:08 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 99EFE16A400
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jan 2007 05:52:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 86EFD13C48D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jan 2007 05:52:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0U5q8mK071567
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jan 2007 05:52:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l0U5q8gB071566;
	Tue, 30 Jan 2007 05:52:08 GMT
	(envelope-from nobody)
Message-Id: <200701300552.l0U5q8gB071566@www.freebsd.org>
Date: Tue, 30 Jan 2007 05:52:08 GMT
From: Michal Janke<m.yankee@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/ruby-xmms2-ecore (needed by euphoria) does not build
X-Send-Pr-Version: www-3.0

>Number:         108538
>Category:       ports
>Synopsis:       audio/ruby-xmms2-ecore (needed by euphoria) does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    alexbl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 06:00:33 GMT 2007
>Closed-Date:    Fri Feb 29 01:49:57 UTC 2008
>Last-Modified:  Fri Feb 29 01:49:57 UTC 2008
>Originator:     Michal Janke
>Release:        6.0-RELEASE i386
>Organization:
none [student]
>Environment:
FreeBSD zenon.y.no-ip.pl 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Same as in bug reported in PR 107423: the port does not build because of a avahi-mdns conflict in xmmsenv.py.
Output:

zenon# make build
===>  Vulnerability check disabled, database not found
===>  Extracting for ruby18-xmms2-ecore-0.2.d.8_1
=> MD5 Checksum OK for xmms2-0.2DrHouse.tar.bz2.
=> SHA256 Checksum OK for xmms2-0.2DrHouse.tar.bz2.
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on file: /usr/local/bin/ruby18 - found
===>  Patching for ruby18-xmms2-ecore-0.2.d.8_1
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on file: /usr/local/bin/ruby18 - found
===>  Applying FreeBSD patches for ruby18-xmms2-ecore-0.2.d.8_1
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/xmmsclient.so - found
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on file: /usr/local/bin/ruby18 - found
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on file: /usr/local/bin/scons - found
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on executable in : pkg-config - found
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on shared library: ecore.1 - found
===>   ruby18-xmms2-ecore-0.2.d.8_1 depends on shared library: glib-2.0.0 - found
===>  Configuring for ruby18-xmms2-ecore-0.2.d.8_1
===>  Building for ruby18-xmms2-ecore-0.2.d.8_1
scons: Reading SConscript files ...
git-rev-parse: not found
Checking for working C compiler... yes
Checking for Ruby 1.8 or greater...  1.8.5
Checking for Ruby 1.8 or greater...  1.8.5
Checking for Ruby 1.8 or greater...  1.8.5
Checking for glib-2.0  ... yes
Checking for C header file CoreFoundation/CoreFoundation.h... no
Checking for glib-2.0 >= 2.6.0  ... yes
Checking for avahi-client  ... yes
Checking for avahi-glib  ... yes
Checking for C header file dns_sd.h... yes
Checking for DNSServiceRegister() in C library dns_sd... yes

scons: warning: Two different environments were specified for target //usr/local/share/xmms2/scripts/startup.d/xmms2-mdns-launcher.sh,
        but they appear to have the same action: installFunc(target, source, env)
File "/usr/ports/audio/ruby-xmms2-ecore/work/xmms2-0.2DrHouse/xmmsenv.py", line 185, in Install

scons: *** Multiple ways to build the same target were specified for: //usr/local/share/xmms2/scripts/startup.d/xmms2-mdns-launcher.sh  (from ['src/clients/mdns/avahi/xmms2-mdns-launcher.sh'] and from ['src/clients/mdns/dns_sd/xmms2-mdns-launcher.sh'])
File "/usr/ports/audio/ruby-xmms2-ecore/work/xmms2-0.2DrHouse/xmmsenv.py", line 185, in Install
*** Error code 2

Stop in /usr/ports/audio/ruby-xmms2-ecore.



>How-To-Repeat:
Try building audio/ruby-xmms2-ecore or audio/euphoria from ports
>Fix:
# cd /usr/ports/audio/ruby-xmms2-ecore
# make extract
# cd work/xmms2-0.2DrHouse/
# patch < rubypatch.diff
# cd ../../
# make build

Patch attached with submission follows:

*** xmmsenv.py.orig	Tue Jan 30 04:49:32 2007
--- xmmsenv.py	Tue Jan 30 05:07:43 2007
***************
*** 182,187 ****
--- 182,190 ----
  
  	def Install(self, target, source):
  		target = os.path.normpath(self.installdir + target)
+ 		# There's a conflict between avahi and mdns.
+ 		# This workaround disables mdns launcher. Idea taken after PR 107423.
+ 		if source == 'src/clients/mdns/dns_sd/xmms2-mdns-launcher.sh': return
  		SCons.Environment.Environment.Install(self, target, source)
  		self.install_targets.append(target)
  

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->alexbl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jan 30 06:00:48 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108538 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/108538: commit references a PR
Date: Fri,  2 Feb 2007 09:37:21 +0000 (UTC)

 alexbl      2007-02-02 09:37:15 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/xmms2          Makefile 
   Log:
    - Remove some 4.x stuff
    - go over and cleanup the logic for the mDNS checks to hopefully
      resolve the double target mDNS problem caused by avahi. [1], [2]
   
   PR:             108533 [1], 108538 [2]
   
   Revision  Changes    Path
   1.27      +3 -12     ports/audio/xmms2/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 29 01:48:55 UTC 2008 
State-Changed-Why:  
Committed by alexbl 2007-02-02. 

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