Bug 7226 - bitbake failure - MACHINE=cubox-i PACKAGE_CLASSES=package_deb
Summary: bitbake failure - MACHINE=cubox-i PACKAGE_CLASSES=package_deb
Status: RESOLVED WORKSFORME
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 arm
: Medium normal
Target Milestone: 1.8 M3
Assignee: Ted
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-21 20:32 UTC by Ted
Modified: 2015-03-16 19:22 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 Ted 2015-01-21 20:32:09 UTC
I twice attempted to build an image for the cubox-i. My build machine was a dual core AMD low end PC (Ubuntu 14.10) and the target machine was an imx6 cubox-i. I wanted to use apt-get and dpkg command so used PACKAGE_CLASSES=package_deb which appeared to work for a long time but then concluded with the following:

ERROR: Unable to install packages. Command '/home/ted/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin/apt-get  install --force-yes --allow-unauthenticated psplash packagegroup-core-x11-base apt dpkg packagegroup-base-extended packagegroup-core-boot' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed
W: Unable to read /home/ted/fsl-community-bsp/build/tmp/work/cubox_i-poky-linux-gnueabi/core-image-x11/1.0-r0/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
E: Unable to correct problems, you have held broken packages.

ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/ted/fsl-community-bsp/build/tmp/work/cubox_i-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_rootfs.25125
ERROR: Task 7 (/home/tom/fsl-community-bsp/sources/poky/meta/recipes-graphics/images/core-image-x11.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4237 tasks of which 13 didn't need to be rerun and 1 failed.
No currently running tasks (4236 of 4238)

Summary: 1 task failed:
  /home/ted/fsl-community-bsp/sources/poky/meta/recipes-graphics/images/core-image-x11.bb, do_rootfs
Summary: There were 493 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 1 Aníbal Limón 2015-01-29 20:28:17 UTC
Hi Ted,

I built cubox-i with core-image-x11 using poky master (e2cffc00e1ea1b2d8bd5143f4d8ff56501b7e3f7) and meta-fsl-arm{,-extra} master and dind't fail.

Here is my conf:

MACHINE ??= "cubox-i"
LICENSE_FLAGS_WHITELIST = "commercial"
ACCEPT_FSL_EULA = "1"
PACKAGE_CLASSES ?= "package_deb"
EXTRA_IMAGE_FEATURES = "debug-tweaks package-management"

Do you are using master branch?

Best regards,

    alimon
Comment 2 Richard Purdie 2015-02-19 15:55:56 UTC
We believe this issue was fixed in the master branch and believe you were likely not using this. We're therefore resolving as WORKSFORME, please reopen if there is more info available.