Skip to contentSkip to conversation

nativesdk-ncurses 5.9: files were installed but not shipped

PATCH Applied Robert Yang 2 participants 3 messages Oct 23, 2012 – Oct 24, 2012

lore
Share & tools
lore
#0 lore raw

cover nativesdk-ncurses 5.9: files were installed but not shipped

Test info:

$ bitbake core-image-sato meta-toolchain-sdk

There is no warning about "nativesdk-ncurses: files were installed but not shipped"

// Robert

The following changes since commit b0187d2ba864a5a218effa01e4ddb23ade40c7e2:

oe-buildenv-internal: break BB_ENV_EXTRAWHITE into small pieces (2012-10-23 14:00:14 +0800)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/ncurses
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/ncurses

Robert Yang (1):
nativesdk-ncurses 5.9: files were installed but not shipped

 meta/recipes-core/ncurses/ncurses.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
#1 lore raw

PATCH 1/1 nativesdk-ncurses 5.9: files were installed but not shipped

There is an warning:

$ bitbake nativesdk-ncurses

WARNING: QA Issue: nativesdk-ncurses: Files/directories were installed but not shipped
/opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/clear.ncurses /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/reset.ncurses
NOTE: Tasks Summary: Attempted 533 tasks of which 521 didn't need to be rerun and all succeeded.

And there is no clear or reset tool in the SDK.

This is caused by:
ALTERNATIVE_ncurses-tools = "clear reset"

It creates clear.ncurses and reset.ncurses which are used for avoiding the conflicts with the target busybox, but SDK doesn't need them since there is no nativesdk-busybox (then no conflicts), so:

ALTERNATIVE_ncurses-tools_class-target = "clear reset"

will fix the problem.

[YOCTO #3325]

---
 meta/recipes-core/ncurses/ncurses.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +2 -2
index ed7f001..cce080d 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc
 SECTION = "libs"
 DEPENDS = "ncurses-native"
 DEPENDS_virtclass-native = ""
-INC_PR = "r11"
+INC_PR = "r12"
 
 inherit autotools binconfig multilib_header
 
@@ -218,7 +218,7 @@ inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
 
-ALTERNATIVE_ncurses-tools = "clear reset"
+ALTERNATIVE_ncurses-tools_class-target = "clear reset"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
1.7.1
Applied
#2 lore raw
In reply to Robert Yang
Quoted 19 lines · Robert Yang

Test info:

$ bitbake core-image-sato meta-toolchain-sdk

There is no warning about "nativesdk-ncurses: files were installed but not shipped"

// Robert

The following changes since commit b0187d2ba864a5a218effa01e4ddb23ade40c7e2:

   oe-buildenv-internal: break BB_ENV_EXTRAWHITE into small pieces (2012-10-23 14:00:14 +0800)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/ncurses
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/ncurses

Robert Yang (1):
nativesdk-ncurses 5.9: files were installed but not shipped

Quoted 10 lines
  meta/recipes-core/ncurses/ncurses.inc |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks
Sau!