[yocto] QA rdepends issue when building xerces-c

Paul Eggleton paul.eggleton at linux.intel.com
Fri May 24 02:27:43 PDT 2013


On Thursday 23 May 2013 21:55:13 Hartmut Behrens wrote:
> On Thu, May 23, 2013 at 6:53 PM, Hartmut Behrens
> <hartmut.behrens at gmail.com> wrote:
> > I also tried INSANE_SKIP_${PN} += "dev-so" without any luck.
> > 
> > Might you know how to solve this?
> 
> So including INSANE_SKIP_${PN} = "dev-deps" does the trick.
> 
> I tried playing around with FILES (shown below), but can't quite get
> it right. The error that is issued then is "ERROR: QA Issue: non
> -dev/-dbg/-nativesdk package contains symlink .so ..."
> 
> FILES_${PN} = "${bindir}/* ${libdir}/*"
> FILES_${PN}-dev = "${includedir} ${libdir}/libxerces-c.so"

FYI, files are selected for each package by looking through the PACKAGES 
variable and for each package in turn the value of FILES is checked. The first 
package whose FILES matches a file, gets the file.

The default value of PACKAGES is "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-
doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"; thus FILES_${PN} can be broad if 
the earlier packages pick out the files they need to specifically.

In most cases the default values work perfectly. What you really need to do is 
determine which file it is that gets added to the -dev package and put that 
elsewhere. You should not need to change FILES_${PN}, just FILES_${PN}-dev (or 
other packages as appropriate).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list