* [yocto][PATCH] openssl: Fix dependency loop with PACKAGECONFIG cryptodev-linux @ 2020-04-30 20:23 Scott Ellis 2020-04-30 21:37 ` Denys Dmytriyenko 0 siblings, 1 reply; 3+ messages in thread From: Scott Ellis @ 2020-04-30 20:23 UTC (permalink / raw) To: yocto; +Cc: Scott Ellis Applies to both zeus and dunfell ERROR: Nothing RPROVIDES 'cryptodev-module-native' (but virtual:native:/home/scott/poky-zeus/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb RDEPENDS on or otherwise requires it) ERROR: Required build target 'openssl' has no buildable providers. Missing or unbuildable dependency chain was: ['openssl', 'rpm-native', 'python3-native', 'openssl-native', 'cryptodev-module-native'] Signed-off-by: Scott Ellis <scott@jumpnowtek.com> --- meta/recipes-connectivity/openssl/openssl_1.1.1f.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb index aa4ef6f48a..a952fae728 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb @@ -32,7 +32,7 @@ PACKAGECONFIG ?= "" PACKAGECONFIG_class-native = "" PACKAGECONFIG_class-nativesdk = "" -PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module" +PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux" B = "${WORKDIR}/build" do_configure[cleandirs] = "${B}" -- 2.17.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [yocto][PATCH] openssl: Fix dependency loop with PACKAGECONFIG cryptodev-linux 2020-04-30 20:23 [yocto][PATCH] openssl: Fix dependency loop with PACKAGECONFIG cryptodev-linux Scott Ellis @ 2020-04-30 21:37 ` Denys Dmytriyenko 2020-05-01 13:48 ` Scott Ellis 0 siblings, 1 reply; 3+ messages in thread From: Denys Dmytriyenko @ 2020-04-30 21:37 UTC (permalink / raw) To: yocto; +Cc: Scott Ellis On Thu, Apr 30, 2020 at 08:23:11PM +0000, Scott Ellis wrote: Hi, Scott, Sorry, I'm not trying to discourage you from submitting patches, but there are few issues with your patch here - see below and inline. First of all, patches for OE-core should be sent to: openembedded-core@lists.openembedded.org https://lists.openembedded.org/g/openembedded-core Looks like you are building poky-zeus - Poky, as a distro, is composed from multiple components/layers, such as bitbake, oe-core/meta, meta-poky and meta-yocto-bsp. Most of them have own git repos with corresponding mailing lists - usually mentioned in corresponding README files, please check those. > Applies to both zeus and dunfell The process to get your change backported to older branches/releases is to submit it against master, and once accepted, re-send and ask to backport to other branches, such as zeus and dunfell with the name of the branch in the subject. That is because different branches/versions are usually maintained by different people. > ERROR: Nothing RPROVIDES 'cryptodev-module-native' (but virtual:native:/home/scott/poky-zeus/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb RDEPENDS on or otherwise requires it) > ERROR: Required build target 'openssl' has no buildable providers. > Missing or unbuildable dependency chain was: ['openssl', 'rpm-native', 'python3-native', 'openssl-native', 'cryptodev-module-native'] Not sure how you were able to set the wrong PACKAGECONFIG for openssl-native, when it gets explicitly emptied in the recipe below. > diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb > index aa4ef6f48a..a952fae728 100644 > --- a/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb > +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb > @@ -32,7 +32,7 @@ PACKAGECONFIG ?= "" > PACKAGECONFIG_class-native = "" > PACKAGECONFIG_class-nativesdk = "" Here, ^^^ PACKAGECONFIG should all be empty for native and nativesdk versions of openssl. > -PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module" > +PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux" This is not a fix, but rather a workaround for a bad setup. Moreover, it actually reverts my recent fix to RDEPENDS on cryptodev-module, which is needed to properly support devcryptoeng in openssl. Maybe if you share with us how you set your environment, we would be able to help you resolve it properly. Thank you! -- Denys > B = "${WORKDIR}/build" > do_configure[cleandirs] = "${B}" > -- > 2.17.1 > > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [yocto][PATCH] openssl: Fix dependency loop with PACKAGECONFIG cryptodev-linux 2020-04-30 21:37 ` Denys Dmytriyenko @ 2020-05-01 13:48 ` Scott Ellis 0 siblings, 0 replies; 3+ messages in thread From: Scott Ellis @ 2020-05-01 13:48 UTC (permalink / raw) To: yocto; +Cc: Scott Ellis [-- Attachment #1: Type: text/plain, Size: 3204 bytes --] Enabled via a bbappend in a custom layer $ cat openssl_%.bbappend PACKAGECONFIG_append = " cryptodev-linux" This was working prior to the openssl_1.1.1f.bb recipe change a few days ago. How are you enabling this PACKAGECONFIG? On Thu, Apr 30, 2020 at 5:37 PM Denys Dmytriyenko <denis@denix.org> wrote: > On Thu, Apr 30, 2020 at 08:23:11PM +0000, Scott Ellis wrote: > > Hi, Scott, > > Sorry, I'm not trying to discourage you from submitting patches, but there > are > few issues with your patch here - see below and inline. > > First of all, patches for OE-core should be sent to: > openembedded-core@lists.openembedded.org > https://lists.openembedded.org/g/openembedded-core > > Looks like you are building poky-zeus - Poky, as a distro, is composed > from > multiple components/layers, such as bitbake, oe-core/meta, meta-poky and > meta-yocto-bsp. Most of them have own git repos with corresponding mailing > lists - usually mentioned in corresponding README files, please check > those. > > > > Applies to both zeus and dunfell > > The process to get your change backported to older branches/releases is to > submit it against master, and once accepted, re-send and ask to backport > to > other branches, such as zeus and dunfell with the name of the branch in > the > subject. That is because different branches/versions are usually > maintained > by different people. > > > > ERROR: Nothing RPROVIDES 'cryptodev-module-native' (but > virtual:native:/home/scott/poky-zeus/meta/recipes-connectivity/openssl/ > openssl_1.1.1f.bb RDEPENDS on or otherwise requires it) > > ERROR: Required build target 'openssl' has no buildable providers. > > Missing or unbuildable dependency chain was: ['openssl', 'rpm-native', > 'python3-native', 'openssl-native', 'cryptodev-module-native'] > > Not sure how you were able to set the wrong PACKAGECONFIG for > openssl-native, > when it gets explicitly emptied in the recipe below. > > > > diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb > b/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb > > index aa4ef6f48a..a952fae728 100644 > > --- a/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb > > +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb > > @@ -32,7 +32,7 @@ PACKAGECONFIG ?= "" > > PACKAGECONFIG_class-native = "" > > PACKAGECONFIG_class-nativesdk = "" > > Here, ^^^ PACKAGECONFIG should all be empty for native and nativesdk > versions > of openssl. > > > > -PACKAGECONFIG[cryptodev-linux] = > "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module" > > +PACKAGECONFIG[cryptodev-linux] = > "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux" > > This is not a fix, but rather a workaround for a bad setup. Moreover, it > actually reverts my recent fix to RDEPENDS on cryptodev-module, which is > needed to properly support devcryptoeng in openssl. > > Maybe if you share with us how you set your environment, we would be able > to > help you resolve it properly. Thank you! > > -- > Denys > > > > B = "${WORKDIR}/build" > > do_configure[cleandirs] = "${B}" > > -- > > 2.17.1 > > > > > > > > [-- Attachment #2: Type: text/html, Size: 4451 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-01 13:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-04-30 20:23 [yocto][PATCH] openssl: Fix dependency loop with PACKAGECONFIG cryptodev-linux Scott Ellis 2020-04-30 21:37 ` Denys Dmytriyenko 2020-05-01 13:48 ` Scott Ellis
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.