Hi.

For several interoperabilty reasons, I find myself needing to downgrade Zeus' 
LVM2 back to the version used by Sumo.

I think I know the correct process for doing this, but I'm getting an error I 
don't understand.  I'm hoping someone can spot the problem.

I have a custom layer - meta-exos - for my OS-specific changes.

I copied Sumo's recipes-support/lvm2 support to my custom layer.

> 
> mberger@snickers:/data/mberger/exos-yocto-311$ ls
> layers/meta-exos/recipes-support/lvm2/
> files  libdevmapper_2.02.171.bb  lvm2  lvm2_2.02.171.bb  lvm2.inc
> 

I updated my conf file with the following preferences:

> 
> PREFERRED_VERSION_libdevmapper = "2.02.171"
> PREFERRED_VERSION_lvm2 = "2.02.171"
> 
> 

When I try to build, I get the following errors.
Note that the parser doesn't seem to see my lvm2 2.02.171, but later complains 
that I'm trying to build two versions of lvm2.  Can someone explain what may be 
causing this, because I haven't been able to figure it out.

> 
> 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.
> 

Thanks, Mike
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48935): https://lists.yoctoproject.org/g/yocto/message/48935
Mute This Topic: https://lists.yoctoproject.org/mt/72566655/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to