Opened 15 years ago
Closed 15 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)
Change History (5)
Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 15 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:4 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.