[yocto] Question: xxxx listed in PACKAGES multiple times, this leads to packaging errors

Paul Eggleton paul.eggleton at linux.intel.com
Tue Oct 4 12:22:28 PDT 2016


Hi Dinh,

On Tue, 04 Oct 2016 16:07:59 Dinh Nguyen wrote:
> >>> ERROR: QA Issue: c-mlib is listed in PACKAGES multiple times, this leads
> >>> to packaging errors. [packages-list]
> Summary: There was 1 ERROR
> >>> message shown, returning a non-zero exit code.
> 
> I got the above ERROR because  my c-mlib_1.0-r0_core2-64.ipk and other
> packages were listed in different places as shown below:
 
> dinhn at rs-bldsrv:/media/raghuram/data/dinhn/ioxDev/ioxsdk$ find . -name
> c-mlib_1.0-r0_core2-64.ipk
 
> ./yp/tmp/deploy/ipk/core2-64/c-mlib_1.0-r0_core2-64.ipk
> ./yp/tmp/work/core2-64-poky-linux/c-mlib/1.0-r0/deploy-ipks/core2-64/c-mlib_
> 1.0-r0_core2-64.ipk

That is not what that error means. What it does mean is that there is a
variable called PACKAGES which is used to control the list of packages
produced by a recipe, and in the value of that variable for the c-mlib recipe,
a c-mlib package is listed more than once. You need to look at what you are doing in the
recipe with the PACKAGES variable and fix it so that that does not occur.

FYI for future reference there's a useful section of the manual describing
warnings and what to do about them:

  http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#qa-errors-and-warnings

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list