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

shubhabrata sen shubhabrata.sen at gmail.com
Wed Oct 25 14:48:12 UTC 2017


It works perfectly now. Thanks a lot !! Really appreciate the help.

On Wed, Oct 25, 2017 at 2:15 PM, Martin Jansa <martin.jansa at gmail.com>
wrote:

> swig-native builds swig for your host system, so that it can be executed
> during the build. So your apparmor configure most likely searches for swig
> in PATH and swig-native dependency will make sure it's there.
>
> On Wed, Oct 25, 2017, 13:56 shubhabrata sen <shubhabrata.sen at gmail.com>
> wrote:
>
>> Hi Martin,
>>
>> Thank you for your reply. Could you please give a bit more details about
>> this ? I'm relatively new to the openembedded environment.
>>
>> On Wed, Oct 25, 2017 at 12:28 PM, Martin Jansa <martin.jansa at gmail.com>
>> wrote:
>>
>>> you probably want swig-native dependency.
>>>
>>> On Wed, Oct 25, 2017, 11:09 shubhabrata sen <shubhabrata.sen at gmail.com>
>>> wrote:
>>>
>>>> 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
>>>> --
>>>> _______________________________________________
>>>> Openembedded-core mailing list
>>>> Openembedded-core at lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171025/73abef60/attachment-0002.html>


More information about the Openembedded-core mailing list