[meta-virtualization] uwsgi fails to get packaged with bad RPATH

Bruce Ashfield bruce.ashfield at gmail.com
Thu Oct 2 19:07:21 PDT 2014


On Thu, Oct 2, 2014 at 1:39 PM, Adam Lee <adam.yh.lee at gmail.com> wrote:

> I just tried building uwsgi with qumux86 target. It built ok.
>


And to answer the previous question, I build and use 64bit x86. non x86 is
only
lightly tested, so patches may be required.

The rpath problem is relatively generic to an arch, and if you look at
oe-core,
you'll see examples of some workarounds and fixes.

Cheers,

Bruce


> There must be something different and/or wrong in the machine
> configuration for my embedded board (TI OMAP4 platform).
>
> I will keep digging, but if anyone has insight, it will be appreciated!
>
> Adam
>
> On Thu, Oct 2, 2014 at 10:01 AM, Adam Lee <adam.yh.lee at gmail.com> wrote:
>
>> Thanks Bruce, I appreciate your help on this.
>>
>> May I get your target also (MACHINE)?
>>
>> Regards,
>>
>> Adam
>>
>> On Wed, Oct 1, 2014 at 10:34 AM, Bruce Ashfield <bruce.ashfield at gmail.com
>> > wrote:
>>
>>> On Wed, Oct 1, 2014 at 1:09 PM, Adam Lee <adam.yh.lee at gmail.com> wrote:
>>> > Thanks Bruce, can I have some information about your setup? Yocto
>>> version,
>>> > layers involved?
>>> >
>>> > I appreciate it!
>>>
>>> I'm always building the HEAD of pretty much everything, since that's
>>> where I
>>> do all the development.
>>>
>>> So in my case:
>>>
>>> meta
>>>
>>> meta-yocto
>>>
>>> meta-yocto-bsp    = "master:d6da1f78cbf29c6c9ee3e0857a403e53daed256e"
>>>
>>> meta-kernel-dev   = "master:7235853e3d88ace1d4a8784ba533e676a0e74edd"
>>>
>>> meta-virtualization = "master:f5d690a773052c3406936d7e0f2e6af6b24c77c2"
>>>
>>> meta-networking
>>>
>>> meta-filesystems
>>>
>>> meta-webserver
>>>
>>> meta-python
>>>
>>> meta-oe
>>>
>>> meta-ruby         = "master:28e26a9b0ad37d0c92ba42b2727215eef1edf5a2"
>>>
>>> meta-cloud-services
>>>
>>> meta-openstack-controller-deploy
>>>
>>> meta-openstack
>>>
>>> meta-openstack-qemu = "master:d8c7fe8aa19b28249e50ea69127c392743d028dd"
>>>
>>> Bruce
>>>
>>>
>>> >
>>> > Adam
>>> >
>>> > On Tue, Sep 30, 2014 at 10:02 PM, Bruce Ashfield <
>>> bruce.ashfield at gmail.com>
>>> > wrote:
>>> >>
>>> >> On Tue, Sep 30, 2014 at 6:43 PM, Adam Lee <adam.yh.lee at gmail.com>
>>> wrote:
>>> >> > Hello everyone, I am building uwsgi as a part of my image to run a
>>> web
>>> >> > application on my embedded board.
>>> >> >
>>> >> > Ingredients including nginx builds fine, but I am getting the error
>>> >> > attached. I am building on Yocto Project 1.6.1 (current master).
>>> >>
>>> >> Hmmm. I just did a completely clean build and didn't get any QA errors
>>> >> with
>>> >> respect to rpath.
>>> >>
>>> >> Hopefully someone else is seeing this and can help isolate the issue.
>>> >>
>>> >> Bruce
>>> >>
>>> >> >
>>> >> > Any insight will be greatly appreciated!
>>> >> >
>>> >> > Adam
>>> >> >
>>> >> >> DEBUG: Executing python function sstate_task_prefunc
>>> >> >> DEBUG: Python function sstate_task_prefunc finished
>>> >> >> DEBUG: Executing python function do_package
>>> >> >> DEBUG: Executing python function package_get_auto_pr
>>> >> >> DEBUG: Python function package_get_auto_pr finished
>>> >> >> DEBUG: Executing python function perform_packagecopy
>>> >> >> DEBUG: Python function perform_packagecopy finished
>>> >> >> DEBUG: Executing python function split_and_strip_files
>>> >> >> DEBUG: runstrip: 'arm-poky-linux-gnueabi-strip'
>>> >> >> --remove-section=.comment
>>> >> >> --remove-section=.note
>>> >> >>
>>> >> >>
>>> '/media/Build/master/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/uwsgi/2.0.4+gitAUTOINC+7604c67018-r0/package/usr/bin/uwsgi'
>>> >> >> DEBUG: Python function split_and_strip_files finished
>>> >> >> DEBUG: Executing python function fixup_perms
>>> >> >> DEBUG: Python function fixup_perms finished
>>> >> >> DEBUG: Executing python function package_do_split_locales
>>> >> >> DEBUG: No locale files in this package
>>> >> >> DEBUG: Python function package_do_split_locales finished
>>> >> >> DEBUG: Executing python function populate_packages
>>> >> >> DEBUG: Python function populate_packages finished
>>> >> >> DEBUG: Executing python function do_package_qa
>>> >> >> NOTE: DO PACKAGE QA
>>> >> >> NOTE: Checking Package: uwsgi-staticdev
>>> >> >> NOTE: Checking Package: uwsgi-dev
>>> >> >> NOTE: Checking Package: uwsgi-dbg
>>> >> >> NOTE: arm-poky-linux-gnueabi-objdump -p
>>> >> >>
>>> >> >>
>>> /media/Build/master/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/uwsgi/2.0.4+gitAUTOINC+7604c67018-r0/packages-split/uwsgi-dbg/usr/bin/.debug/uwsgi
>>> >> >> NOTE: Checking Package: uwsgi-doc
>>> >> >> NOTE: Checking Package: uwsgi
>>> >> >> NOTE: arm-poky-linux-gnueabi-objdump -p
>>> >> >>
>>> >> >>
>>> /media/Build/master/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/uwsgi/2.0.4+gitAUTOINC+7604c67018-r0/packages-split/uwsgi/usr/bin/uwsgi
>>> >> >> ERROR: QA Issue: package uwsgi contains bad RPATH
>>> >> >> /media/Build/master/build/tmp/sysroots/duovero/usr/lib in file
>>> >> >>
>>> >> >>
>>> /media/Build/master/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/uwsgi/2.0.4+gitAUTOINC+7604c67018-r0/packages-split/uwsgi/usr/bin/uwsgi
>>> >> >> ERROR: QA run found fatal errors. Please consider fixing them.
>>> >> >> DEBUG: Python function do_package_qa finished
>>> >> >> DEBUG: Python function do_package finished
>>> >> >> ERROR: Function failed: do_package_qa
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > _______________________________________________
>>> >> > meta-virtualization mailing list
>>> >> > meta-virtualization at yoctoproject.org
>>> >> > https://lists.yoctoproject.org/listinfo/meta-virtualization
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> "Thou shalt not follow the NULL pointer, for chaos and madness await
>>> >> thee at its end"
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> "Thou shalt not follow the NULL pointer, for chaos and madness await
>>> thee at its end"
>>>
>>
>>
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20141002/d45cc00f/attachment.html>


More information about the meta-virtualization mailing list