Bug 107423 - [PATCH] audio/py-xmms2 is broken.
Summary: [PATCH] audio/py-xmms2 is broken.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexander Botero-Lowry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 10:30 UTC by R.Mahmatkhanov
Modified: 2007-01-04 11:00 UTC (History)
0 users

See Also:


Attachments
file.diff (686 bytes, patch)
2007-01-02 10:30 UTC, R.Mahmatkhanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R.Mahmatkhanov 2007-01-02 10:30:16 UTC
audio/py-xmms2 is not build. I think that it is some mdns/avahi conflict. scons script trying to install xmms2-mdns-launcher.sh from different locations. I've attached patch, that fix this, but i dont yet know how to modify port Makefile for this patch :)

===>  Building for py24-xmms2-0.2.d.8_1
scons: Reading SConscript files ...
git-rev-parse: not found
Checking for working C compiler... yes
Checking for C header file CoreFoundation/CoreFoundation.h... no
Checking for glib-2.0  ... yes
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/py-xmms2/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/py-xmms2/work/xmms2-0.2DrHouse/xmmsenv.py", line 185, in Install
*** Error code 2

Stop in /usr/ports/audio/py-xmms2.

Fix: # cd /usr/ports/audio/py-xmms2
# make extract
# cd work/xmms2-0.2DrHouse/
# patch < mypatch.diff
# make build


Patch attached with submission follows:
How-To-Repeat: Try to build audio/py-xmms2
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-01-02 10:30:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alexbl

Over to maintainer
Comment 2 Alexander Botero-Lowry freebsd_committer freebsd_triage 2007-01-03 09:39:45 UTC
State Changed
From-To: open->feedback

Try make EXCLUDE=dnssd .. That will fix it. It's resolved upstream 
since we switched to Waf for xmms2 instead of scons. I will try 
and put a workaround in for now though. (exclude dnssd if avahi 
is set..)
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-01-04 10:57:16 UTC
alexbl      2007-01-04 10:57:10 UTC

  FreeBSD ports repository

  Modified files:
    audio/xmms2          Makefile 
  Log:
   - resolve breakage where both MDNSResponder and Avahi support is built
  
  PR:             107423
  Submitted by:   "R.Mahmatkhanov"<R.Mahmatkhanov@REMOVE_THIS.SKYLINK.ru>, various on irc
  
  Revision  Changes    Path
  1.25      +2 -0      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 4 Alexander Botero-Lowry freebsd_committer freebsd_triage 2007-01-04 10:57:19 UTC
State Changed
From-To: feedback->closed

I committed a change that should resolve this.