Skip to content

Instantly share code, notes, and snippets.

@mabnhdev
Last active March 26, 2020 10:53
Show Gist options
  • Save mabnhdev/fe1efed09b4c0159a394bdbae54f3fa9 to your computer and use it in GitHub Desktop.
Save mabnhdev/fe1efed09b4c0159a394bdbae54f3fa9 to your computer and use it in GitHub Desktop.
In layers/meta-exos/conf/exos.conf:
PREFERRED_VERSION_libdevmapper = "2.02.171"
PREFERRED_VERSION_lvm2 = "2.02.171"
==========================================================================================
mberger@snickers:/data/mberger/exos-yocto-311$ ls -la layers/meta-exos/recipes-support/lvm2
total 28
drwxr-xr-x 4 mberger xcore 4096 Mar 25 12:28 .
drwxr-xr-x 4 mberger xcore 4096 Mar 25 12:28 ..
drwxr-xr-x 2 mberger xcore 4096 Mar 25 12:28 files
-rw-r--r-- 1 mberger xcore 389 Mar 25 12:28 libdevmapper_2.02.171.bb
drwxr-xr-x 2 mberger xcore 4096 Mar 25 12:28 lvm2
-rw-r--r-- 1 mberger xcore 2092 Mar 25 12:28 lvm2_2.02.171.bb
-rw-r--r-- 1 mberger xcore 2768 Mar 25 12:28 lvm2.inc
===================================================================================
mberger@snickers:/data/mberger/exos-yocto-311/build/exos-x32$ bitbake lvm2
Parsing recipes: 100% |##############################################################################################| Time: 0:00:14
Parsing of 2434 .bb files complete (0 cached, 2434 parsed). 3582 targets, 336 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.02.171 of lvm2 not available (for item libdevmapper)
NOTE: versions of lvm2 available: 2.03.02
Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal-4.8"
TARGET_SYS = "x86_64-poky-linux-gnux32"
MACHINE = "exos-x32"
DISTRO = "poky"
DISTRO_VERSION = "3.0.2"
TUNE_FEATURES = "mx32"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:04d71b42e7323087b945e9c507337c1cfb54f48b"
meta-oe
meta-python
meta-networking
meta-filesystems = "HEAD:bb65c27a772723dfe2c15b5e1b27bcc1a1ed884c"
meta-intel = "HEAD:faced19dda5332cce9164903b250db5aa9b86259"
meta-virtualization = "HEAD:561b597d4ba91dd36147e1af81bd1edc2d6636db"
meta-exos = "xos_31.1:93612889cf9bcc78d5e683541ea0b315e9e0d9c7"
ERROR: Multiple versions of lvm2 are due to be built (/data/mberger/exos-yocto-311/layers/meta-exos/recipes-support/lvm2/lvm2_2.02.171.bb /data/mberger/exos-yocto-311/layers/meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_lvm2 to select the correct version or don't depend on multiple versions.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment