Opened 14 years ago

Closed 14 years ago

#22326 closed defect (fixed)

aubio tries to use swig, fails; doesn't declare dependency

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: nerdling (Jeremy Lavergne)
Port: aubio

Description

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.

Attachments (1)

aubio.txt (133.4 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: aubio.txt added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I see aubio has a +python variant, which adds a dependency on swig. That dependency should presumably be changed to swig-python, and the port should be changed so that the aubio software does not attempt to use swig unless the +python variant is selected. Or, the variant could be removed, and swig-python could be added as a global dependency in the port.

comment:2 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

ditto for graphviz (and swig-ruby it seems there as well) ... however this is solved, the same needs to be done to graphviz

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.