Bug 7260 - do_rootfs fails with debian package backend and multilib enabled
Summary: do_rootfs fails with debian package backend and multilib enabled
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8 M3
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-28 08:49 UTC by Chen Qi
Modified: 2015-03-11 02:11 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2015-01-28 08:49:20 UTC
Error messages
---------------
ERROR: Unable to install packages. Command '/buildarea2/chenqi/poky/build-systemd/tmp/sysroots/x86_64-linux/usr/bin/apt-get  install --force-yes --allow-unauthenticated run-postinsts packagegroup-core-boot' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
W: Unable to read /buildarea2/chenqi/poky/build-systemd/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
E: Unable to locate package packagegroup-core-boot

ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /buildarea2/chenqi/poky/build-systemd/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.27487
ERROR: Task 7 (/buildarea2/chenqi/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1'

Steps to reproduce:
-------------------
1. Enable multilib in local.conf; enable package_deb in local.conf
MACHINE ??= "qemux86-64"
PACKAGE_CLASSES ?= "package_deb"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

2. bitbake core-image-minimal

Simple Analysis
----------------
The package_manager.py is not setting up apt.conf file correctly.

//Chen Qi
Comment 1 Chen Qi 2015-03-11 02:11:43 UTC
Module: openembedded-core.git
Branch: master
Commit: d140d556ae30b6dbd0ffce8882c3e22b17050820
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d140d556ae30b6dbd0ffce8882c3e22b17050820