[OE-core] Swig dependency error while building firmware with apparmor

shubhabrata sen shubhabrata.sen at gmail.com
Wed Oct 25 09:09:24 UTC 2017


Hi,

I'm trying to build a firmware with the apparmor recipe and I keep getting
the following error

*checking for swig... no*
| checking whether the libapparmor debug output should be enabled... no
| checking whether the libapparmor man pages should be generated... yes
| checking for podchecker... podchecker
| checking for pod2man... pod2man
| checking whether python bindings are enabled... yes
*| configure: error: swig is required when enabling python bindings*
| WARNING:
/home/shubhabs/dists/cvp/builds/p1367/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/apparmor/2.10.95-r0/temp/run.do_configure.8464:1
exit 1 from 'PERL="${PERL}"
PYTHON="/home/shubhabs/dists/cvp/builds/p1367/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/apparmor/2.10.95-r0/recipe-sysroot-native/usr/bin/python-native/python"
./configure --build=x86_64-linux --host=arm-poky-linux-gnueabi
--target=arm-poky-linux-gnueabi --prefix=/usr --libdir=/usr/lib
--mandir=/usr/share/man --includedir=/usr/include --with-perl --with-python'

I've included the SWIG recipe in the build and I can successfully build the
firmware including swig with the bitbake command but somehow the apparmor
recipe can't find the swig package. Any help regarding this would be
appreciated.

Thanks

Shubh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171025/832d5626/attachment-0002.html>


More information about the Openembedded-core mailing list