[yocto] How to bring up "apt and dpkg" packages on yocto

Sandeep G.R grsandeep85 at gmail.com
Mon Oct 28 08:26:59 PDT 2013


Hi Paul,

        I have made those changes as PACKAGE_CLASSES ?= "package_deb"
IMAGE_FEATURES
+= "package-management" IMAGE_INSTALL_append += "dpkg" but ended with an
error and attached a log file for reference. I have attached the log for
reference.


On Mon, Oct 28, 2013 at 5:05 AM, Paul Eggleton <
paul.eggleton at linux.intel.com> wrote:

> On Tuesday 22 October 2013 08:10:15 Sandeep G.R wrote:
> >       I have selected PACKAGE_CLASSES ?= "package_rpm package_deb" and
> > IMAGE_FSTYPE is tar.gz
>
> "package_deb" must be listed first in PACKAGE_CLASSES if you wish to use
> it for
> constructing your image. You will also need to have "package-management" in
> IMAGE_FEATURES if you want apt/dpkg and the package manager data to be
> installed into the image itself.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>



-- 
*Thanks & Regards,*
*Sandeep G R*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131028/4d323a6d/attachment.html>
-------------- next part --------------
sda-14 at sandeep:~/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto$ source fsl-setup-poky -m t4240qds-64b -j4 -t4
Configuring for t4240qds-64b board type
Creating an yocto build output at /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release
Run the following commands to start a build:
    bitbake fsl-image-core
    bitbake fsl-image-kvm
    bitbake fsl-image-flash
    bitbake fsl-image-minimal
    bitbake fsl-image-lsb-sdk
    bitbake fsl-image-full
To return to this build environment later please run:
    source /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/SOURCE_THIS
sda-14 at sandeep:~/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release$ bitbake fsl-image-full
Pseudo is not present but is required, building this first before the main build
Parsing recipes: 100% |#########################################################################################################| Time: 00:02:26
Parsing of 1363 .bb files complete (0 cached, 1363 parsed). 3119 targets, 128 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc64-fsl_networking-linux"
MACHINE           = "t4240qds-64b"
DISTRO            = "fsl-networking"
DISTRO_VERSION    = "1.4"
TUNE_FEATURES     = "m64 fpu-hard e6500 altivec"
TARGET_FPU        = "hard"
meta              
meta-yocto        
meta-yocto-bsp    = "sdk-v1.4.x:5a7532143a49f59a5c85b08d3daf574fb1eccd8d"
meta-fsl-ppc      = "sdk-v1.4.x:f9fd0a617eb6913f87335c551918315ff4ebe18c"
meta-fsl-ppc-toolchain = "sdk-v1.4.x:8ec94cec04527cb971c125b1ddd2c5375034d723"
meta-virtualization = "sdk-v1.4.x:ad6df4f59cd7646f61db29e8fa51f878329d6f93"
meta-fsl-networking = "(nobranch):00f7a535029ca7ef8c96ba8e9916d4742166bab0"
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
NOTE: Tasks Summary: Attempted 63 tasks of which 63 didn't need to be rerun and all succeeded.
No currently running tasks (2 of 9)
Loading cache: 100% |###########################################################################################################| ETA:  00:00:00
Loaded 3120 entries from dependency cache.

Build Configuration:
BB_VERSION        = "1.18.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc64-fsl_networking-linux"
MACHINE           = "t4240qds-64b"
DISTRO            = "fsl-networking"
DISTRO_VERSION    = "1.4"
TUNE_FEATURES     = "m64 fpu-hard e6500 altivec"
TARGET_FPU        = "hard"
meta              
meta-yocto        
meta-yocto-bsp    = "sdk-v1.4.x:5a7532143a49f59a5c85b08d3daf574fb1eccd8d"
meta-fsl-ppc      = "sdk-v1.4.x:f9fd0a617eb6913f87335c551918315ff4ebe18c"
meta-fsl-ppc-toolchain = "sdk-v1.4.x:8ec94cec04527cb971c125b1ddd2c5375034d723"
meta-virtualization = "sdk-v1.4.x:ad6df4f59cd7646f61db29e8fa51f878329d6f93"
meta-fsl-networking = "(nobranch):00f7a535029ca7ef8c96ba8e9916d4742166bab0"
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 /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/tmp/work/t4240qds_64b-fsl_networking-linux/fsl-image-full/1.0-r22/temp/log.do_rootfs.30800 for further information)
ERROR: Logfile of failure stored in: /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/tmp/work/t4240qds_64b-fsl_networking-linux/fsl-image-full/1.0-r22/temp/log.do_rootfs.30800
Log data follows:
| DEBUG: Executing shell function do_rootfs
| dpkg-scanpackages: info: Wrote 53 entries to output Packages file.
| dpkg-scanpackages: info: Wrote 6106 entries to output Packages file.
| dpkg-scanpackages: info: Wrote 74 entries to output Packages file.
| dpkg-scanpackages: info: Wrote 53 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 [20 B]
| Get:2 file: ./ Release [18 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...
| Package lib32-libgcc-s-dev is not available, but is referred to by another package.
| This may mean that the package is missing, has been obsoleted, or
| is only available from another source
| 
| 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 lib32-gcc
| E: Package 'lib32-libgcc-s-dev' has no installation candidate
| E: Unable to locate package lib32-binutils
| E: Unable to locate package lib32-eglibc-dev
| ERROR: Function failed: do_rootfs (see /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release/tmp/work/t4240qds_64b-fsl_networking-linux/fsl-image-full/1.0-r22/temp/log.do_rootfs.30800 for further information)
ERROR: Task 7 (/home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/meta-fsl-networking/images/fsl-image-full.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6440 tasks of which 5038 didn't need to be rerun and 1 failed.
No currently running tasks (6440 of 6441)

Summary: 1 task failed:
  /home/sda-14/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/meta-fsl-networking/images/fsl-image-full.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
sda-14 at sandeep:~/sdk-1.4-source/QorIQ-SDK-V1.4-20130625-yocto/build_t4240qds-64b_release$


More information about the yocto mailing list