Skip to contentSkip to conversation

How can I use PREFERRED_VERSION_ ?

DISCUSSION Riko 4 participants 5 messages Aug 15, 2017

lore
Share & tools
lore

Riko

author
#0 lore raw

Dear Yocto Team Members,

How can I use PREFERRED_VERSION_ ?

ERROR: Multiple versions of openssl are due to be built (/home/bianchi/poky/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.1.0f.bb /home/bianchi/poky/meta/recipes-connectivity/openssl/openssl_1.0.2k.bb). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_openssl to select the correct version or don't depend on multiple versions.

Regards,

Riko

#1 lore raw
Quoted 5 lines · Riko

Dear Yocto Team Members,

How can I use PREFERRED_VERSION_ ?

read through
http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PREFERRED_VERSION

Quoted 17 lines

ERROR: Multiple versions of openssl are due to be built (/home/bianchi/poky/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.1.0f.bb /home/bianchi/poky/meta/recipes-connectivity/openssl/openssl_1.0.2k.bb). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_openssl to select the correct version or don't depend on multiple versions.

Regards,

Riko

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

and you should start by not including 2 different versions of openembedded-core/meta in your builds.

Then you won't need PREFERRED_VERSION for openssl and the issue with wic.vmdk you reported elsewhere will also probably disappear.

Quoted 36 lines · Khem Raj
Quoted 5 lines · Riko

Dear Yocto Team Members,

How can I use PREFERRED_VERSION_ ?

read through
http://www.yoctoproject.org/docs/latest/ref-manual/ref-
manual.html#var-PREFERRED_VERSION

Quoted 2 lines

ERROR: Multiple versions of openssl are due to be built (/home/bianchi/poky/openembedded-core/meta/recipes-connectivity/openssl/

openssl_1.1.0f.bb

Quoted 3 lines

/home/bianchi/poky/meta/recipes-connectivity/openssl/openssl_1.0.2k.bb). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_openssl to select the correct

version

Quoted 5 lines

or don't depend on multiple versions.

Regards,

Quoted 7 lines

Riko

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#3 lore raw

is openembedded-core layer equal to meta-openembedded layer ?

this conf was working before :

BBLAYERS ?= " \
/home/bianchi/poky/meta \
/home/bianchi/poky/meta-poky \
/home/bianchi/poky/meta-yocto-bsp \
/home/bianchi/poky/openembedded-core \
/home/bianchi77/poky/meta-openembedded \
/home/bianchi77/poky/meta-openembedded/meta-oe \
/home/bianchi77/poky/meta-openembedded/meta-xfce \
/home/bianchi77/poky/meta-openembedded/meta-gnome \
/home/bianchi77/poky/meta-openembedded/meta-python \
/home/bianchi77/poky/meta-openembedded/meta-multimedia \
/home/bianchi77/poky/meta-openembedded/meta-networking \

Quoted 50 lines · Martin Jansa

and you should start by not including 2 different versions of openembedded-core/meta in your builds.

Then you won't need PREFERRED_VERSION for openssl and the issue with wic.vmdk you reported elsewhere will also probably disappear.

On Tue, Aug 15, 2017 at 7:31 AM, Khem Raj <[email protected] <mailto:[email protected]>> wrote:

    On Mon, Aug 14, 2017 at 7:15 PM, Riko <[email protected]
    <mailto:[email protected]>> wrote:
    > Dear Yocto Team Members,
    >
    > How can I use PREFERRED_VERSION_ ?
    >
    >

    read through
    http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PREFERRED_VERSION
    <http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PREFERRED_VERSION>

    > ERROR: Multiple versions of openssl are due to be built
    >
    (/home/bianchi/poky/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.1.0f.bb
    <http://openssl_1.1.0f.bb>
    >
    /home/bianchi/poky/meta/recipes-connectivity/openssl/openssl_1.0.2k.bb
    <http://openssl_1.0.2k.bb>).
    > Only one version of a given PN should be built in any given
    build. You
    > likely need to set PREFERRED_VERSION_openssl to select the
    correct version
    > or don't depend on multiple versions.
    >
    >
    > Regards,
    >
    > Riko
    >
    > --
    > _______________________________________________
    > yocto mailing list
    > [email protected] <mailto:[email protected]>
    > https://lists.yoctoproject.org/listinfo/yocto
    <https://lists.yoctoproject.org/listinfo/yocto>
    --
    _______________________________________________
    yocto mailing list
    [email protected] <mailto:[email protected]>
    https://lists.yoctoproject.org/listinfo/yocto
    <https://lists.yoctoproject.org/listinfo/yocto>
#4 lore raw
Quoted 1 line · Riko

is openembedded-core layer equal to meta-openembedded layer ?

Did you read my reply to your other thread?

Quoted 9 lines

this conf was working before :

BBLAYERS ?= " \
/home/bianchi/poky/meta \
/home/bianchi/poky/meta-poky \
/home/bianchi/poky/meta-yocto-bsp \
/home/bianchi/poky/openembedded-core \

  /home/bianchi77/poky/meta-openembedded \

This isn't a layer, remove this line.

And ensure that you all your layers are from the same release branches.

Cheers,
Anders

Quoted 60 lines
  /home/bianchi77/poky/meta-openembedded/meta-oe \
  /home/bianchi77/poky/meta-openembedded/meta-xfce \
  /home/bianchi77/poky/meta-openembedded/meta-gnome \
  /home/bianchi77/poky/meta-openembedded/meta-python \
  /home/bianchi77/poky/meta-openembedded/meta-multimedia \
  /home/bianchi77/poky/meta-openembedded/meta-networking \
Quoted 51 lines · Martin Jansa

and you should start by not including 2 different versions of openembedded-core/meta in your builds.

Then you won't need PREFERRED_VERSION for openssl and the issue with wic.vmdk you reported elsewhere will also probably disappear.

On Tue, Aug 15, 2017 at 7:31 AM, Khem Raj <[email protected] <mailto:[email protected]>> wrote:

On Mon, Aug 14, 2017 at 7:15 PM, Riko <[email protected] <mailto:[email protected]>> wrote:
> Dear Yocto Team Members,

> How can I use PREFERRED_VERSION_ ?

read through
http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PREFERRED_VERSION
<http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PREFERRED_VERSION>

> ERROR: Multiple versions of openssl are due to be built

(/home/bianchi/poky/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.1.0f.bb
<http://openssl_1.1.0f.bb>

/home/bianchi/poky/meta/recipes-connectivity/openssl/openssl_1.0.2k.bb
<http://openssl_1.0.2k.bb>).
> Only one version of a given PN should be built in any given build. You
> likely need to set PREFERRED_VERSION_openssl to select the correct version
> or don't depend on multiple versions.

> Regards,

> Riko

> --
> _______________________________________________ > yocto mailing list
> [email protected] <mailto:[email protected]> > https://lists.yoctoproject.org/listinfo/yocto
<https://lists.yoctoproject.org/listinfo/yocto>
--
_______________________________________________
yocto mailing list
[email protected] <mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto
<https://lists.yoctoproject.org/listinfo/yocto>

Signature · 2 lines
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB