[yocto] Python module not found when using autotools

2019-05-29 Thread Serkan Türker
Hi all, I am trying to write a bitbake file for a project. The project uses autotools for configuring the project before building it. While configuring it, it searches for several python modules, where some of them are custom modules I wrote the bitbake recipe for. Even though the python module bu

Re: [yocto] [PATCH] umip: remove umip bbappend

2019-05-29 Thread Hongzhi, Song
This patch is for meta-cgl Thanks, --Hongzhi On 5/30/19 10:23 AM, Hongzhi.Song wrote: umip has been removed, so its bbappend should be removed too. Signed-off-by: Hongzhi.Song --- meta-cgl-common/recipes-extended/umip/umip_%.bbappend | 1 - 1 file changed, 1 deletion(-) delete mode 10

[yocto] [PATCH] umip: remove umip bbappend

2019-05-29 Thread Hongzhi.Song
umip has been removed, so its bbappend should be removed too. Signed-off-by: Hongzhi.Song --- meta-cgl-common/recipes-extended/umip/umip_%.bbappend | 1 - 1 file changed, 1 deletion(-) delete mode 100644 meta-cgl-common/recipes-extended/umip/umip_%.bbappend diff --git a/meta-cgl-common/recipes

Re: [yocto] Yocto 2.7: SSTATEPOSTUNPACKFUNCS_remove not working

2019-05-29 Thread Wolfgang Tolkien
Thanks, not sure I follow: 'SSTATEPOSTUNPACKFUNCS_remove' is not valid any more and previously only worked because there was a bug? Also, what about running bitbake-dumpsig on the task sigdata and finding a line containing "_remove of" (and nothing else) That doesn't seem quite right... Che

Re: [yocto] Yocto 2.7: SSTATEPOSTUNPACKFUNCS_remove not working

2019-05-29 Thread Richard Purdie
On Wed, 2019-05-29 at 21:17 +, Wolfgang Tolkien wrote: > Hi there, > > I'm upgrading from Yocto 2.5 to 2.7. I have a recipe that (for > legacy reasons) builds a 32bit "-native" executable. I am disabling > uninative by setting > > SSTATEPOSTUNPACKFUNCS_remove = "uninative_changeinterp" > >

[yocto] Yocto 2.7: SSTATEPOSTUNPACKFUNCS_remove not working

2019-05-29 Thread Wolfgang Tolkien
Hi there, I'm upgrading from Yocto 2.5 to 2.7. I have a recipe that (for legacy reasons) builds a 32bit "-native" executable. I am disabling uninative by setting SSTATEPOSTUNPACKFUNCS_remove = "uninative_changeinterp" This worked well with Yocto 2.5, but with Yocto 2.7 I'm getting ERROR: When

[yocto] [opkg-utils PATCH] Makefile: fixed for-loop in install receipe

2019-05-29 Thread Joshua DeWeese
From: Joshua DeWeese The install receipe would have copied all the manpages to each of the section folders. This change will do what I believe the original author had intended. Signed-off-by: Joshua DeWeese --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefi

Re: [yocto] prelink-cross with -fno-plt

2019-05-29 Thread Shane Peelar
Hi Mark, Thank you for your reply and no problem -- I chose to benchmark ssh-add with it. It contains no `.plt`. The results are as follows: Without prelink (ran prelink -auv): 26019: 26019: runtime linker statistics: 26019: total startup time in dynamic loader: 132167

[yocto] Creating a special file as a dependency., .. how do I cause a recipe to execute

2019-05-29 Thread A
I would like to create a directory structure under TMPDIR as part of the installation of my bitbake environment... I later create a jffs2 image from ${TMPDIR}/myapptmp/*. (If it matters, I'm doing this because I want all my proprietary software installed in a separate partition in the QSPI that ge

Re: [yocto] Building single package as image, respecting dependencies

2019-05-29 Thread Norman Stetter
Hello Paul, thank you for your suggestion. I will look into it. Meanwhile I worked around my issue by building all python3 packages, but excluding them from the rootfs. Then they get installed into a separate 'rootfs', which I pack as a squashfs image. It might not be that elegant, but it work

Re: [yocto] meta-sunxi maintained?

2019-05-29 Thread Belisko Marek
Hi Maciej, On Wed, May 29, 2019 at 1:08 PM Maciej Pijanowski wrote: > > > On 29.05.2019 09:39, Belisko Marek wrote: > > Hi Dimitris, > > > > On Wed, May 29, 2019 at 9:03 AM Dimitris Tassopoulos > > wrote: > >> Hi Marek, > >> > >> that's correct. I have a branch though which I've started to expe

Re: [yocto] meta-sunxi maintained?

2019-05-29 Thread Maciej Pijanowski
On 29.05.2019 09:39, Belisko Marek wrote: > Hi Dimitris, > > On Wed, May 29, 2019 at 9:03 AM Dimitris Tassopoulos > wrote: >> Hi Marek, >> >> that's correct. I have a branch though which I've started to experiment and >> add support for Mali. I didn't finished because I've tried to do this by

Re: [yocto] Using the SDK and CMAKE GNUInstallDirs for multilib target

2019-05-29 Thread Måns Zigher
Hi, I found in cmake.bbclass cmake \ ${OECMAKE_GENERATOR_ARGS} \ $oecmake_sitefile \ ${OECMAKE_SOURCEPATH} \ -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ -DCMAKE_INSTALL_BINDIR:PATH=${@os.path.relpath(d.getVar('bindir'), d.getVar('prefix'))} \ -DCMAKE_INSTALL_SBINDI

Re: [yocto] meta-sunxi maintained?

2019-05-29 Thread Belisko Marek
Hi Dimitris, On Wed, May 29, 2019 at 10:03 AM Dimitris Tassopoulos wrote: > > Hi Marek, > > I see (and now remember) that there is a recipe for libgles for Mali400 and > A10/20. > Are you interested for this architecture or newer (like H2, H3, H5) ? > > I can only make a wild guess that maybe be

Re: [yocto] meta-sunxi maintained?

2019-05-29 Thread Dimitris Tassopoulos
Hi Marek, I see (and now remember) that there is a recipe for libgles for Mali400 and A10/20. Are you interested for this architecture or newer (like H2, H3, H5) ? I can only make a wild guess that maybe because the driver is a bit old, then if you try to build new recipes then there might be som

[yocto] Static gcc library in SDK

2019-05-29 Thread Gabriele Zampieri
Hi all, I need to link some applications with "--static" flag. To do so I need to add some static libraries in the SDK, that I've added with SDKIMAGE_FEATURES_append = " staticdev-pkgs" However, I still miss "libgcc_s.a" and I cannot find a way to add it. Any suggestions? Thanks, Gabriele -- __

Re: [yocto] meta-sunxi maintained?

2019-05-29 Thread Belisko Marek
Hi Dimitris, On Wed, May 29, 2019 at 9:03 AM Dimitris Tassopoulos wrote: > > Hi Marek, > > that's correct. I have a branch though which I've started to experiment and > add support for Mali. I didn't finished because I've tried to do this by > myself from the scratch and soon I've hit a wall. N

Re: [yocto] meta-sunxi maintained?

2019-05-29 Thread Dimitris Tassopoulos
Hi Marek, that's correct. I have a branch though which I've started to experiment and add support for Mali. I didn't finished because I've tried to do this by myself from the scratch and soon I've hit a wall. Nevertheless, I've done the same for the rk3399 for nanopi-neo4 and during this process I