[yocto] Do rootfs fail when switch from rpm to deb

Jonas Andersson jonaskgandersson at gmail.com
Tue Dec 11 01:10:29 PST 2018


Hi

We have an recipe based on microservicebus-node npm package created with
devtool.

When we build with PACKAGE_CLASSES = "package_rpm" it builds but  when
switching to package_deb do_rootfs fails.
What can I do to get more information about the packages that is reported
as broken, are there any known issues with npm and deb?

Here is my build output
_______________________________________________________________________________________________________
Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "raspberrypi3"
DISTRO               = "poky"
DISTRO_VERSION       = "2.5.1"
TUNE_FEATURES        = "arm armv7ve vfp thumb neon vfpv4
callconvention-hard cortexa7"
TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp       = "sumo:36d5cee56bd389ecbe66dbfad9e5d57c13b56b95"
meta-oe              = "sumo:2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
meta-microservicebus
meta-example-msb-rpi = "dev:be586f405a92a563ff49b8adf9ef7a9da5cc7192"
meta-raspberrypi     = "sumo:2d40b000021bc8a9ef7f329ed0ad410f8d227b97"
meta-rauc            = "sumo:40a5890478a50ad80e404be5d9de197dd9a79d44"

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 2864 of 3398
(/home/jonas/git/devtool/meta-microservicebus-node/meta-example-msb-rpi/recipes-core/images/msb-image-rauc.bb:
do_rootfs)
NOTE: recipe msb-image-rauc-1.0-r0: task do_rootfs: Started
ERROR: msb-image-rauc-1.0-r0 do_rootfs: Unable to install packages. Command
'/home/jonas/git/devtool/build-deb/tmp/work/raspberrypi3-poky-linux-gnueabi/msb-image-rauc/1.0-r0/recipe-sysroot-native/usr/bin/apt-get
install --force-yes --allow-unauthenticated microservicebus-node
packagegroup-core-boot psplash-raspberrypi packagegroup-base-extended
packagegroup-core-ssh-openssh run-postinsts' 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:
 microservicebus-node : Depends: microservicebus-node-npm but it is not
going to be installed
                        Depends: microservicebus-node-npm-JSONStream but it
is not installable
                        Depends:
microservicebus-node-npm-JSONStream-jsonparse but it is not installable
                        Depends:
microservicebus-node-npm-JSONStream-through but it is not installable
E: Unable to correct problems, you have held broken packages.

ERROR: msb-image-rauc-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/jonas/git/devtool/build-deb/tmp/work/raspberrypi3-poky-linux-gnueabi/msb-image-rauc/1.0-r0/temp/log.do_rootfs.7424
NOTE: recipe msb-image-rauc-1.0-r0: task do_rootfs: Failed
ERROR: Task
(/home/jonas/git/devtool/meta-microservicebus-node/meta-example-msb-rpi/recipes-core/images/msb-image-rauc.bb:do_rootfs)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 3391 tasks of which 3390 didn't need to be
rerun and 1 failed.
_______________________________________________________________________________________________________

/Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181211/ab6fe374/attachment.html>


More information about the yocto mailing list