When building meta-toolchain I noticed we get the following QA warning: WARNING: QA Issue: nativesdk-ncurses: Files/directories were installed but not shipped /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/bin/reset.ncurses /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/bin/clear.ncurses I'm not sure if we also get these in the non-nativesdk case, but either way we ought to fix them.
the check in package.bbclass seems legit, I'll look into ncurses.
While processing nativesdk-ncurses the warning is thrown because FILE_nativesdk-ncurses-tools contains references to /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset while in ${PKGD} I found /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear.ncurses /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset.ncurses At a first look the problem seems to be with FILE_nativesdk-ncurses-tools which should have the binaries appended with ".${BPN}" but for some reason they are not.
Found the problem: ${PN} = nativesdk-ncurses so the evaluation of ${@['', '.${BPN\x7d'][d.getVar('PN', 1) == 'ncurses']} is the empty string which explains the missing append .${BPN} One quick fix, I guess, it could be to add INSANE_SKIP_nativesdk-${BPN}-tools = "installed_vs_shipped"
Correction: INSANE_SKIP_nativesdk-${BPN} = "installed_vs_shipped"
Fixed by Robert via a different bug # *** This bug has been marked as a duplicate of bug 3325 ***