ca-certificates: Fix openssl runtime dependency
PATCH 1/1 ca-certificates: Fix openssl runtime dependency
Since yocto thud, and more specifically since poky switched to openssl 1.1 line, the openssl binary is provided by 'openssl-bin'.
--- .../recipes-support/ca-certificates/ca-certificates_20190110.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb +1 -1
@@ -82,6 +82,6 @@ do_install_append_class-native () { SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates } -RDEPENDS_${PN} += "openssl" +RDEPENDS_${PN} += "openssl-bin" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Quoted 22 lines · Andrei Gherzan
Since yocto thud, and more specifically since poky switched to openssl 1.1 line, the openssl binary is provided by 'openssl-bin'.
Signed-off-by Andrei Gherzan <[email protected]>--- .../recipes-support/ca-certificates/ca-certificates_20190110.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0certificates_20190110.bb b/meta/recipes-support/ca-certificates/ca- certificates_20190110.bb
index4c0425302f..bc69c55daa100644
--- a/meta/recipes-support/ca-certificates/ca- certificates_20190110.bb
+++ b/meta/recipes-support/ca-certificates/ca- certificates_20190110.bb(quoted diff) +0
-0@@ -82,6 +82,6 @@ do_install_append_class-native () { SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates
}
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb do_install_append_class-native () { · line 85
Quoted 2 lines
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb +1
-1-RDEPENDS_${PN} += "openssl" +RDEPENDS_${PN} += "openssl-bin"
Doesn't work for ca-certificates-native:
https://autobuilder.yoctoproject.org/typhoon/#/builders/39/builds/638
[amongst many other failures]
Cheers,
Richard
Quoted 23 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie
Sent: den 29 maj 2019 01:24
To: Andrei Gherzan <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH] ca-certificates: Fix openssl runtime dependencyQuoted 16 lines · Andrei Gherzan
Since yocto thud, and more specifically since poky switched to openssl 1.1 line, the openssl binary is provided by 'openssl-bin'.
Signed-off-by Andrei Gherzan <[email protected]>--- .../recipes-support/ca-certificates/ca-certificates_20190110.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-support/ca-certificates/ca-certificates_20190110.bb +0
-0@@ -82,6 +82,6 @@ do_install_append_class-native () { SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates }
Quoted 7 lines
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb do_install_append_class-native () { · line 85
Quoted 2 lines
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb +1
-1-RDEPENDS_${PN} += "openssl" +RDEPENDS_${PN} += "openssl-bin"Doesn't work for ca-certificates-native:
https://autobuilder.yoctoproject.org/typhoon/#/builders/39/builds/638
[amongst many other failures]
I assume the above can be fixed by instead using:
RDEPENDS_${PN}_append_class-target = " openssl-bin"
However, has there been any attempts at rectifying the situation where runtime dependencies on packages are turned into recipe dependencies for the native version of a recipe, which obviously does not work when the package name does not match a recipe name?
Quoted 3 lines
Cheers,
Richard
//Peter
Quoted 23 lines · Peter Kjellerstedt
Quoted 23 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Richard Purdie
Sent: den 29 maj 2019 01:24
To: Andrei Gherzan <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH] ca-certificates: Fix openssl runtime dependencyQuoted 16 lines · Andrei Gherzan
Since yocto thud, and more specifically since poky switched to openssl 1.1 line, the openssl binary is provided by 'openssl-bin'.
Signed-off-by Andrei Gherzan <[email protected]>--- .../recipes-support/ca-certificates/ca-certificates_20190110.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-support/ca-certificates/ca-certificates_20190110.bb +0
-0@@ -82,6 +82,6 @@ do_install_append_class-native () { SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates }
Quoted 6 lines
Quoted 6 lines
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb do_install_append_class-native () { · line 85
Quoted 2 lines
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb +1
-1-RDEPENDS_${PN} += "openssl" +RDEPENDS_${PN} += "openssl-bin"Doesn't work for ca-certificates-native:
https://autobuilder.yoctoproject.org/typhoon/#/builders/39/builds/638
[amongst many other failures]
Fixed native and nativesdk in a V2 that I just pushed. Made them explicit RDEPENDS .
Quoted 8 lines
I assume the above can be fixed by instead using:
RDEPENDS_${PN}_append_class-target = " openssl-bin"
However, has there been any attempts at rectifying the situation where runtime dependencies on packages are turned into recipe dependencies for the native version of a recipe, which obviously does not work when the package name does not match a recipe name?
Signature · 2 lines
Andrei Gherzan gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan
Quoted 9 lines · Peter Kjellerstedt
I assume the above can be fixed by instead using:
RDEPENDS_${PN}_append_class-target = " openssl-bin"
However, has there been any attempts at rectifying the situation where
runtime dependencies on packages are turned into recipe dependencies for the native version of a recipe, which obviously does not work when the package name does not match a recipe name?
There is an open bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13355
Its rather difficult to fix. I'd documented the real underlying problem in there (XXX-native vs nativesdk-XXX naming). There is an email from me in the archives somewhere from years ago arguing why we had to have nativesdk-XXX even though everyone preferred XXX-nativesdk.
Cheers,
Richard