Bug 108538

Summary: audio/ruby-xmms2-ecore (needed by euphoria) does not build
Product: Ports & Packages Reporter: Michal Janke <m.yankee>
Component: Individual Port(s)Assignee: Alexander Botero-Lowry <alexbl>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Michal Janke 2007-01-30 06:00:33 UTC
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.

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:
How-To-Repeat: Try building audio/ruby-xmms2-ecore or audio/euphoria from ports
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-01-30 06:00:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alexbl

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-02-02 09:37:21 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"
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2008-02-29 01:48:55 UTC
State Changed
From-To: open->closed

Committed by alexbl 2007-02-02.