| Summary: | QA warning building nativesdk-ncurses | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Paul Eggleton <bluelightning> |
| Component: | devtools / tool chain | Assignee: | Radu Moisan <radu.moisan> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | minor | ||
| Priority: | Medium | CC: | jessica.zhang, meta.mr.watcher, meta.watcher, radu.moisan, sgw |
| Version: | 1.3 | ||
| Target Milestone: | 1.3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | in review | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Paul Eggleton
2012-09-26 10:27:49 UTC
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"
|