ports/108538: audio/ruby-xmms2-ecore (needed by euphoria) does not build

Michal Janke m.yankee at gmail.com
Tue Jan 30 06:00:34 UTC 2007


>Number:         108538
>Category:       ports
>Synopsis:       audio/ruby-xmms2-ecore (needed by euphoria) does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 06:00:33 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list