[MacPorts] #22326: aubio tries to use swig, fails; doesn't declare dependency

MacPorts noreply at macports.org
Sat Oct 31 23:25:18 PDT 2009


#22326: aubio tries to use swig, fails; doesn't declare dependency
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  devans@…           
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:                     
Component:  ports                    |     Version:  1.8.1              
 Keywords:                           |        Port:  aubio              
-------------------------------------+--------------------------------------
 aubio seems to detect swig if present

 {{{
 checking for swig... /mp/bin/swig
 }}}

 and tries to use it in the destroot phase

 {{{
 /mp/bin/swig -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
 }}}

 but fails when swig doesn't provide a python interface. (The swig python
 interface was moved to the separate port swig-python recently.)

 {{{
 :3: Error: Unable to find 'python.swg'
 }}}

 Installing swig-python allows aubio to install successfully.

 aubio should therefore presumably either declare a dependency on swig-
 python, or be changed so that it does not try to use swig.

 It's also weird that it's using swig in the destroot phase, instead of,
 say, in the build phase, but that may be an upstream issue/decision.

-- 
Ticket URL: <http://trac.macports.org/ticket/22326>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list