From: "Piotr Łobacz" <p.lobacz@welotec.com>
To: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>,
Richard Purdie <richard.purdie@linuxfoundation.org>
Subject: Re: [OE-Core][PATCH v2 1/2] curl-native: add missing ca-certificates-native dependency
Date: Wed, 15 Nov 2023 22:43:06 +0000 [thread overview]
Message-ID: <12322453.O9o76ZdvQC@latitude> (raw)
In-Reply-To: <9a6435e91f517739cd565d0f597cf07521b16075.camel@linuxfoundation.org>
Dnia środa, 15 listopada 2023 23:17:40 CET Richard Purdie pisze:
> On Wed, 2023-11-15 at 22:52 +0100, Piotr Łobacz wrote:
> > By default curl is being configured with:
> >
> > --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt
> >
> > which causes an issue for native build, when calling
> > curl-native command, as certificates file is missing.
> >
> > Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
> > ---
> >
> > meta/recipes-support/curl/curl_8.4.0.bb | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/meta/recipes-support/curl/curl_8.4.0.bb
> > b/meta/recipes-support/curl/curl_8.4.0.bb index 5f97730bf4..f0e09868f6
> > 100644
> > --- a/meta/recipes-support/curl/curl_8.4.0.bb
> > +++ b/meta/recipes-support/curl/curl_8.4.0.bb
> > @@ -130,6 +130,7 @@ PACKAGES =+ "lib${BPN}"
> >
> > FILES:lib${BPN} = "${libdir}/lib*.so.*"
> > RRECOMMENDS:lib${BPN} += "ca-certificates"
> >
> > +DEPENDS:append:class-native = " ca-certificates-native"
> >
> > FILES:${PN} += "${datadir}/zsh"
>
> I think this can be an RDEPENDS:${PN}:append:class-native which would
> have the advantage of not blocking the build of curl-native on ca-certs
> and only require it at runtime for running it?
I can test it and get back to you with answer if it is working for me
>
> I suspect bitbake is struggling to "see" the RRECOMENDS on a non-PN
> package for the native recipe extension.
curl-native has already RRECOMMENDS:lib${BPN} += "ca-certificates" but it was
not working for me without DEPENDS:append:class-native = " ca-certificates-
native"
>
> Cheers,
>
> Richard
BR
Piotr
next prev parent reply other threads:[~2023-11-15 22:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 21:52 [OE-Core][PATCH v2 1/2] curl-native: add missing ca-certificates-native dependency Piotr Łobacz
2023-11-15 21:52 ` [OE-Core][PATCH v2 2/2] ca-certificates-native: add certs path to SYSROOT_DIRS_NATIVE Piotr Łobacz
2023-11-15 22:19 ` Richard Purdie
2023-11-15 22:45 ` Piotr Łobacz
2023-11-15 22:17 ` [OE-Core][PATCH v2 1/2] curl-native: add missing ca-certificates-native dependency Richard Purdie
2023-11-15 22:43 ` Piotr Łobacz [this message]
[not found] ` <1797ED345C35561D.20281@lists.openembedded.org>
2023-11-17 14:15 ` Piotr Łobacz
2023-11-16 12:00 ` Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12322453.O9o76ZdvQC@latitude \
--to=p.lobacz@welotec.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.