Hi I use poky version tagged "rocko-18.0.3" In this version 2 openssl recipes exist. poky/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb and poky/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb and the default preferred version is 1.0.% However when I want to change version to a more recent version 1.1.0h instead of 1.0.2o in local.conf file using variable PREFERRED_VERSION_openssl, PREFERRED_VERSION_openssl = "1.1.%" PREFERRED_VERSION_openssl-native = "1.1.%" PREFERRED_VERSION_nativesdk-openssl = "1.1.%" I can't and I have the error message ERROR: Multiple versions of openssl are due to be built (xxxx/poky/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb xxxx/poky/meta/recipes-connectivity/openssl/openssl_1.0.2o.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. It is because in poky/meta/conf/distro/include/default-versions.inc, variables relative to openssl are not set as default value currently in rocko, sumo and thud branches (resp xxx-next branches), you have PREFERRED_VERSION_openssl = "1.0.%" PREFERRED_VERSION_openssl-native = "1.0.%" PREFERRED_VERSION_nativesdk-openssl = "1.0.%" To fix this issue, I replaced "=" by "?=" in poky/meta/conf/distro/include/default-versions.inc as below PREFERRED_VERSION_openssl ?= "1.0.%" PREFERRED_VERSION_openssl-native ?= "1.0.%" PREFERRED_VERSION_nativesdk-openssl ?= "1.0.%" Best regards
with backports
Doesn't apply to Thud/master as they don't set PREFERRED_VERSION_openssl. Queued in sumo-next.
Merged in sumo c9786adf81434e2d58247f55cf80fdd3131121e7.