[yocto] RPi fails when build is with deb packages works okay with rpm packages.

Edward Vidal develone at sbcglobal.net
Wed Jul 12 11:10:26 PDT 2017


Hello All,Does anyone know if recipes are available for 
gcc-arm-none-eabi & binutils-arm-none-eabi?

My build works okay when I use package_rpm and fails with package_deb.
My bblayers.conf & local.conf are at 
https://github.com/develone/raspberrypi2_yocto/tree/master/poky2.2/raspberrypi2/conf_files
Any and all help is appreciated.


Parsing recipes: 100% |##########################################| Time: 0:00:46
~/wkg/yocto/RaspberryPi2/poky/build$ diff conf/local.conf ~/wkg/raspberrypi2_yocto/poky2.2/raspberrypi2/conf_files/local.conf 
124c124
< PACKAGE_CLASSES ?= "package_deb"
---
> PACKAGE_CLASSES ?= "package_rpm"

Parsing of 1931 .bb files complete (0 cached, 1931 parsed). 2616 targets, 170 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2"
TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7"
TARGET_FPU        = "hard"
meta              
meta-poky         
meta-yocto-bsp    = "morty:5aa481dfedfd089f0d6e8a3bae1b84134d5dff4c"
meta-raspberrypi  = "master:6bd1bfe472ea491c0edeb7c854d1c0cc5192afeb"
meta-oe           
meta-python       
meta-multimedia   
meta-gnome        = "morty:5aa481dfedfd089f0d6e8a3bae1b84134d5dff4c"
meta-browser      = "master:1edcce7791b4cee9a515c1f11b351753a4f8b12e"

Initialising tasks: 100% |#######################################| Time: 0:00:19
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

ERROR: core-image-sato-1.0-r0 do_rootfs: Unable to install packages. Command '/home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/sysroots/x86_64-linux/usr/bin/apt-get  install --force-yes --allow-unauthenticated opencv xchat gsl packagegroup-base-extended psplash-raspberrypi libftdi1-2 libgtk-3.0 apt geany libmad0 texinfo pv minicom cmake libmtp9 python-pip ghostscript packagegroup-core-sdk python-imaging git dpkg tcl v4l-utils yasm packagegroup-core-ssh-dropbear rsync linux-firmware lame gtkmm packagegroup-core-x11-base packagegroup-core-x11-sato iproute2 gperf liba52-0 iputils vlc packagegroup-core-boot packagegroup-core-standalone-sdk-target packagegroup-core-x11-sato-games tk xterm squashfs-tools gnuplot tar chkconfig openjpeg tree man libgtk-2.0' 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
 vlc : Depends: libgl-mesa (>= 12.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ERROR: core-image-sato-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/raspberrypi2-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_rootfs.2105
ERROR: Task (/home/vidal/wkg/yocto/RaspberryPi2/poky/meta/recipes-sato/images/core-image-sato.bb:do_rootfs) failed with exit code '1'



Thanks in advance.

Cheers,

 Edward Vidal Jr. e-mail develone at sbcglobal.net 915-595-1613
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170712/1109234f/attachment.html>


More information about the yocto mailing list