Bug 6392 - "nativesdk-opkg: Files/directories were installed but not shipped" on populate_sdk with systemd
Summary: "nativesdk-opkg: Files/directories were installed but not shipped" on populat...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.5.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5.3
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-06-03 07:42 UTC by Andrea Galbusera
Modified: 2014-07-09 02:41 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Galbusera 2014-06-03 07:42:36 UTC
Found this while working at a custom image but I can reproduce on stock dora and core-image minimal as well. Bitbaking the SDK for core-image-minimal by calling the populate_sdk task stops with the following error and no SDK archive being generated. Configuring for systemd seems to be the trigger.

ERROR: QA Issue: nativesdk-opkg: Files/directories were installed but not shipped
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/opkg-configure.service
ERROR: QA run found fatal errors. Please consider fixing them.

How to reproduce:
1. checkout latest dora (19745990465b37107142c5464008ca9f7959cc0b)
2. replace sysvinit with systemd in conf/local.conf by adding:

DISTRO_FEATURES_append = " systemd pam"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"

3. bitbake core-image-minimal -c populate_sdk

Of course, can be worked around with INSANE_SKIP_nativesdk-opkg += "installed-vs-shipped", but to me it sounds like a bug. Hope this was the right component to submit for.
Comment 1 Andrea Galbusera 2014-06-03 09:14:13 UTC
Also tested on daisy where the issue does not appear to be reproducible
Comment 2 Chen Qi 2014-07-09 02:41:02 UTC
Module: openembedded-core.git
Branch: dora
Commit: b76a5dd195000d157034f1f0a9a35d4ba4680e60
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b76a5dd195000d157034f1f0a9a35d4ba4680e60

Author: Roy Li <rongqing.li@windriver.com>
Date:   Tue Jul  8 11:17:15 2014 +0800

opkg: putting the service files into PN

(From OE-Core rev: f0ec7f81c1951211f049c342fd6bd1cad424564a)

[YOCTO #6392]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>