[OE-core] Incomplete runtime dependencies for gdb python PACKAGECONFIG

Andre McCurdy armccurdy at gmail.com
Tue Jun 23 05:01:07 UTC 2015


Hi Andreas,

On Sat, Jun 20, 2015 at 8:11 AM, Andreas Oberritter
<obi at opendreambox.org> wrote:
> Hello Andre,
>
> On 20.06.2015 05:00, Andre McCurdy wrote:
>> The runtime dependencies for gdb seem to be incomplete when python
>> support is enabled via gdb's PACKAGECONFIG.
>>
>> gdb ends up with a runtime dependency on libpython, but not on python
>> or any python modules, and gdb then fails to run:
>>
>>   root at 7401:~# gdb
>
> just curious, is this a BCM7401?

No, just a coincidence. 7401 is the code name for the box. CPU is
Intel's CE4200.

>>   Could not find platform independent libraries <prefix>
>>   Could not find platform dependent libraries <exec_prefix>
>>   Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
>>   ImportError: No module named site
>>
>> Manually installing python and all python modules seems to be a fix,
>> but I haven't narrowed down which specific python modules are
>> required.
>>
>> The issue is a little more serious for anyone using meta-qt5, since
>> meta-qt5 (fido and later) contains a .bbappend for gdb which enables
>> the python PACKAGECONFIG by default:
>>
>>   https://github.com/meta-qt5/meta-qt5/commit/9d17546d56b5e710a6420b482514202236f410e3
>>
>
> Here's a patch for fido that I was going to submit after testing
> with master, whenever that may be.
>
> http://git.openembedded.org/openembedded-core-contrib/commit/?h=obi/fido&id=5461b4a6db9b9429132952ce31d293550c945179
>
> Feel free to adapt, test and submit.

Yes, that fixes the issue - tested with both fido and master. Thanks!

I'll submit your patch for both branches. Hopefully it can be included
in the next fido update.

> Regards,
> Andreas
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list