[yocto] package_deb creation issue in powerpc (kernel 64bit, userspace 32bit)

Insop Song insop.song at gmail.com
Tue Dec 10 21:29:49 PST 2013


Hi Khem and Paul,

I have an issue of creating deb packages.

I am using Freescale version of yocto, which is based on dylan
- http://git.freescale.com/git/cgit.cgi/ppc/sdk/poky.git/

I've put the following in
- PACKAGE_CLASSES ?= "package_deb"
- IMAGE_FEATURES += "package-management"

I've tested opkg, and it runs fine as you suggested in other thread
- https://lists.yoctoproject.org/pipermail/yocto/2013-October/016887.html

Our target is:
- RFS and application: 32bit
- Kernel: 64 bit
- ARCH: powerpc


Here is the error message I got:

"
insop at neon /opt/build-fsl-yocto-1.4 $ bitbake fsl-image-g100
Parsing recipes: 100%
|###########################################################################################|
Time: 00:01:30
Parsing of 1376 .bb files complete (0 cached, 1376 parsed). 3147
targets, 132 skipped, 0 masked, 0 errors.
Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc-fsl_networking-linux"
MACHINE           = "b4860qds"
DISTRO            = "fsl-networking"
DISTRO_VERSION    = "1.4.1"
TUNE_FEATURES     = "m32 fpu-hard e6500 altivec"
TARGET_FPU        = "hard"
meta
meta-yocto
meta-yocto-bsp    = "feature/CH-1449:97b5f9e64fb64aa1c883eedc03e6cb6765291179"
meta-fsl-ppc      = "feature/CH-1449:d686f3162481ccb942a3d896a10a86d93d12e455"
meta-fsl-ppc-toolchain = "sdk-v1.4.x:8ec94cec04527cb971c125b1ddd2c5375034d723"
meta-virtualization = "sdk-v1.4.x:ad6df4f59cd7646f61db29e8fa51f878329d6f93"
meta-fsl-networking = "develop:08bb6c1a78838bbff79befa3f15e49ca642d479e"
meta-oe
meta-networking   = "sdk-v1.4.x:7c8dd8f096b64a709175d37a08a4fb02ca263616"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_rootfs (see
/opt/build-fsl-yocto-1.4/tmp/work/b4860qds-fsl_networking-linux/fsl-image-g100/1.0-r20/temp/log.do_rootfs.8847
for further information)
ERROR: Logfile of failure stored in:
/opt/build-fsl-yocto-1.4/tmp/work/b4860qds-fsl_networking-linux/fsl-image-g100/1.0-r20/temp/log.do_rootfs.8847
Log data follows:
| DEBUG: Executing shell function do_rootfs
| dpkg-scanpackages.real: info: Wrote 6 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 2037 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 68 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 6 entries to output Packages file.
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Get:1 file: ./ Release [16 B]
| Get:2 file: ./ Release [16 B]
| Get:3 file: ./ Release [11 B]
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Reading package lists...
| W: Ignoring Provides line with DepCompareOp for package
pkgconfig__pkg-config__
| W: You may want to run apt-get update to correct these problems
| Reading package lists...
| Building dependency tree...
| W: Ignoring Provides line with DepCompareOp for package
pkgconfig__pkg-config__
| W: You may want to run apt-get update to correct these problems
| E: Unable to locate package lib64-hypervisor
| E: Unable to locate package lib64-hypervisor-partman
| ERROR: Function failed: do_rootfs (see
/opt/build-fsl-yocto-1.4/tmp/work/b4860qds-fsl_networking-linux/fsl-image-g100/1.0-r20/temp/log.do_rootfs.8847
for further information)
ERROR: Task 7 (/home/insop/Projects/fsl-yocto-1.4/meta-fsl-networking/images/fsl-image-g100.bb,
do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3527 tasks of which 2782 didn't need to
be rerun and 1 failed.
No currently running tasks (3527 of 3528)
Summary: 1 task failed:
  /home/insop/Projects/fsl-yocto-1.4/meta-fsl-networking/images/fsl-image-g100.bb,
do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
"

Thank you,

Insop



More information about the yocto mailing list