Bug 6153

Summary: Archiver causes manifest warnings for the toolchain
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, jessica.zhang, kergoth, liezhi.yang, meta.mr.watcher, meta.watcher, sgw, sjolley.yp.pm
Version: 1.7   
Target Milestone: 2.3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2014-04-11 12:05:18 UTC
When enabling the archiver and building gcc:

WARNING: The recipe gcc is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /data/poky-master/tmp/deploy/sources/work-shared/0021-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
   Matched in manifest-core2-64-libgcc.deploy_archives
   /data/poky-master/tmp/deploy/sources/work-shared/0009-c99-snprintf.patch
   Matched in manifest-core2-64-libgcc.deploy_archives

As the toolchain recipes all share a work directory they've all ended up using deploy/sources/work-shared/.  This is strange as everything else goes into deploy/sources/[architecture].
Comment 1 Ross Burton 2014-04-11 15:47:26 UTC
FWIW, deleting the assignment of ARCHIVER_TOPDIR in archiver.bbclass in the stamp-base conditional seems to work with the caveat that all of the toolchain will get its sources archived independently.
Comment 2 Stephen K Jolley 2016-12-08 16:18:16 UTC
Please check if this is still needed.
Comment 3 Ross Burton 2016-12-08 22:20:16 UTC
Can't seem to replicate this with master.