[oe] non debug package contains .debug directory

Martin Jansa martin.jansa at gmail.com
Wed Jan 15 19:34:46 UTC 2014


On Wed, Jan 15, 2014 at 11:07:53AM -0800, kris duff wrote:
> Hello,
> 
> I'm working to port a custom software.
> 
> bitbake complain about :
> 
> NOTE: Checking Package: fcgi
> ERROR: QA Issue: non debug package contains .debug directory: fcgi path /work/armv7a-vfp-neon-poky-linux-gnueabi/fcgi-0.25-r0/packages-split/fcgi/usr/bin/.debug/fast.fcgi
> ERROR: QA run found fatal errors. Please consider fixing them.
> 
> In my recipe I added : 
> FILES_${PN}-dbg += "${WORKDIR}/trunk/Debug"
> FILES_${PN}-dbg += "${WORKDIR}/trunk/Debug/*"
> 
> I also tried : 
> FILES_${PN}-dbg += "${D}/usr/bin/.debug"
> FILES_${PN}-dbg += "${D}/usr/bin/.debug/*"

Don't use ${D} or ${WORKDIR} prefix, it's path like on target so just:

FILES_${PN}-dbg += "${bindir}/.debug"

> no luck for now. I tried few other things and I don't understand how to do that.
> 
> Any help would be highly appreciated!

There is plenty of examples in layers, git grep is often best friend.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140115/d6f74f62/attachment-0002.sig>


More information about the Openembedded-devel mailing list