Ticket #22326 (closed defect: fixed)
aubio tries to use swig, fails; doesn't declare dependency
|Reported by:||ryandesign@…||Owned by:||devans@…|
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.