From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: buildroot@buildroot.org, Thomas Devoogdt <thomas@devoogdt.com>
Subject: Re: [Buildroot] [PATCH] package/librdkafka: fix build with LibreSSL
Date: Tue, 24 Nov 2026 23:44:55 +0100 [thread overview]
Message-ID: <awYTTu91gumY6nzc@windsurf> (raw)
In-Reply-To: <20261124172410.1613827-1-giulio.benetti@benettiengineering.com>
On Tue, Nov 24, 2026 at 06:24:10PM +0100, Giulio Benetti wrote:
> librdkafka doesn't support LibreSSL, since it uses OpenSSL functions that
> LibreSSL doesn't provide, so the build fails with:
>
> src/rdrand.c:81:23: error: implicit declaration of function 'RAND_priv_bytes'; did you mean 'RAND_pseudo_bytes'? [-Wimplicit-function-declaration]
> src/rdkafka_ssl.c:1269:9: error: implicit declaration of function 'SSL_certs_clear' [-Wimplicit-function-declaration]
> src/rdkafka_ssl.c:1679:21: error: implicit declaration of function 'SSL_CTX_use_cert_and_key'; did you mean 'SSL_CTX_use_certificate'? [-Wimplicit-function-declaration]
> src/rdkafka_ssl.c:1773:9: error: implicit declaration of function 'SSL_CTX_set_cert_cb'; did you mean 'SSL_CTX_set_verify'? [-Wimplicit-function-declaration]
>
> So let's enable SSL support only when BR2_PACKAGE_LIBOPENSSL is selected.
>
> Fixes:
> https://autobuild.buildroot.org/results/fb7/fb71058572ec270c46ff5de542c186c73bc06ceb/
>
> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Could you provide a Fixes: tag that points to the commit that
introduced this issue/regression?
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-11-24 22:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 17:24 [Buildroot] [PATCH] package/librdkafka: fix build with LibreSSL Giulio Benetti
2026-11-24 22:44 ` Thomas Petazzoni via buildroot [this message]
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=awYTTu91gumY6nzc@windsurf \
--to=buildroot@buildroot.org \
--cc=giulio.benetti@benettiengineering.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=thomas@devoogdt.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox