Bug 7229

Summary: python-smartpm when in attemptonly mode can skip installing packages
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Hatle <mark.hatle>
Component: deploymentAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium    
Version: 1.7   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mark Hatle 2015-01-22 04:25:26 UTC
If the install step encounters a file level conflict, it will abort the entire install transaction.  This results in complementary packages no being installed in things like the SDK.

The easiest way to replicate this is to configure this system as follows (local.conf):

MACHINE = "qemumips64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32 multilib:lib64"
DEFAULTTUNE = "mips32r2"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"
USE_LDCONFIG = "0"
IMAGE_INSTALL_append = "libstdc++ lib32-libstdc++ lib64-libstdc++ lib32-glibc lib64-glibc"

bitbake -c populate_sdk core-image-minimal

If you inspect the do_populate_sdk logs, you'll see an error was generated due to a file conflict.  If you check the resulting SDK, none of the -dev, or -dbg packages will have been installed.
Comment 1 Mark Hatle 2015-04-28 18:35:03 UTC
Fixed.  OE-Core Commit: cd475aea5f5bc4b6a2dd3e576070a117ae079597