Re: [OE-core] [PATCH] package.bbclass: Include dbgsrc for static libs

2018-04-19 Thread Ola x Nilsson
You were right, I needed to check if it was a proper file. I stumbled into another issue, that golang .a files can not be read by dwarfsrcfiles. I'm not familiar with go, so I don't really know what to do about it. This patch is still an improvement in my book, even if it cannot handle go

Re: [OE-core] [PATCH] package.bbclass: Include dbgsrc for static libs

2018-04-04 Thread Richard Purdie
On Tue, 2018-03-27 at 12:28 +, Ola x Nilsson wrote: > ping? Fails if you enable ptest in openssl. Suspect you need to check if its a real file rather than a symlink and only check real files. Cheers, Richard ERROR: openssl-1.0.2o-r0 do_package: Error executing a python function in

Re: [OE-core] [PATCH] package.bbclass: Include dbgsrc for static libs

2018-03-27 Thread Ola x Nilsson
embedded.org Subject: [OE-core] [PATCH] package.bbclass: Include dbgsrc for static libs The debugsource must be added from the package providing the static lib, because any package using that lib does not have access to the source code. Fixes [YOCTO #12558] Signed-off-by: Ola x Nilsson <

[OE-core] [PATCH] package.bbclass: Include dbgsrc for static libs

2018-02-22 Thread Ola x Nilsson
The debugsource must be added from the package providing the static lib, because any package using that lib does not have access to the source code. Fixes [YOCTO #12558] Signed-off-by: Ola x Nilsson --- meta/classes/package.bbclass | 42