[OE-core] Incomplete runtime dependencies for gdb python PACKAGECONFIG
Andreas Oberritter
obi at opendreambox.org
Sat Jun 20 15:11:09 UTC 2015
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?
> 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.
Regards,
Andreas
More information about the Openembedded-core
mailing list