Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating an LDTP recipe for meta-python Yocto build image #40

Open
brownie313 opened this issue Jun 26, 2017 · 4 comments
Open

Creating an LDTP recipe for meta-python Yocto build image #40

brownie313 opened this issue Jun 26, 2017 · 4 comments

Comments

@brownie313
Copy link

Hi All,

I need help pakaging LDTP into a recipe that can be added to a Yocto image build.

I see that a couple of Python modules have already been packaged into recipes under meta-python
https://layers.openembedded.org/layerindex/branch/master/layer/meta-python/

Would be great to create one for LDTP and then add it to the list. Anyone have experience with Yocto recipes and able to help?

Thanks a lot in advance.

@richelbilderbeek
Copy link
Contributor

I am sorry, this is beyond my area of expertise.

@brownie313
Copy link
Author

So some update... i have so far been able to get ldtp to build and install successfully.

The issue now is that when i run ldtp, it complains about missing modules. Right now, i am stuck at getting the gi (gobject retroinspection) to build and install properly.

Currently, I'm working with python-pygobject-2.28.3. All modules (glib, gobject etc) build and install without problems except the gi modules. In otherwords, python-pygobject-2.28.3 will only build and install if i disable gobject-introspection. Unfortunately, disabling gobject-introspections makes ldtp thru the 'No module named gi.repository' error message.

Is there a workaround for this?

@nagappan
Copy link
Member

This sounds interesting, I have no knowledge on embedded system / compiling other python / gobject modules

@brownie313
Copy link
Author

so i have made great progress. Currently stuck with libwnck. libwnck is failing to compile because it checks to see if x11 is enabled in the distro or not. Because x11 is not enabled, it refuses to compile etc,,,
So my questions are
1, How can i work around this?
2, can ldtp run without wnck?
3, If ldtp needs wnck to run, does it also need x11 enabled in the linux distro?

Thanks in advance for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants