Ticket #22326 (closed defect: fixed)
aubio tries to use swig, fails; doesn't declare dependency
| Reported by: | ryandesign@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | Cc: | snc@… | |
| 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
Change History
comment:1 Changed 4 years ago by ryandesign@…
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.

