From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: buildroot@buildroot.org, Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
Subject: Re: [Buildroot] [PATCH] package/gauche: disable TLS support in host-gauche
Date: Thu, 22 Oct 2026 17:33:04 +0200 [thread overview]
Message-ID: <atosrBkLBAvqBsv2@windsurf> (raw)
In-Reply-To: <20261022121102.3130117-1-yegorslists@googlemail.com>
On Thu, Oct 22, 2026 at 02:11:02PM +0200, Yegor Yefremov via buildroot wrote:
> host-gauche fails to build on build machines that have mbedtls 4.x
> installed, e.g. Arch Linux:
>
> checking for mbedtls/version.h... yes
> ...
> tls/ssl: mbedtls
> ...
> ./tls-mbed.c:41:10: fatal error: mbedtls/ctr_drbg.h: No such file or directory
> 41 | #include <mbedtls/ctr_drbg.h>
> | ^~~~~~~~~~~~~~~~~~~~
>
> Since version 0.9.6, Gauche's configure enables mbedtls support by
> default whenever it finds mbedtls on the system. For host-gauche, this
> means the mbedtls of the build machine is used, and mbedtls 4.x no
> longer provides mbedtls/ctr_drbg.h, which Gauche 0.9.12 needs.
>
> host-gauche only provides the gosh interpreter used to build the target
> gauche, so it doesn't need TLS support at all. Pass --with-tls=no to
> not depend on whatever mbedtls the build machine has.
>
> This issue has been present since commit 73e836e13982 ("package/gauche:
> bump to version 0.9.8"), which bumped Gauche from 0.9.5 (no mbedtls
> support) and thereby made host-gauche auto-detect the build machine's
> mbedtls. It therefore affects 2019.11 and later, including all
> maintained branches.
>
> Fixes:
> https://autobuild.buildroot.org/results/14af1c847c09fd8df35c8923194c75931d8a568d
>
> Fixes: 73e836e1398293abc1ec2b4297e1e680d2b29e32 ("package/gauche: bump to version 0.9.8")
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
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-10-22 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 12:11 [Buildroot] [PATCH] package/gauche: disable TLS support in host-gauche Yegor Yefremov via buildroot
2026-10-22 15:33 ` 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=atosrBkLBAvqBsv2@windsurf \
--to=buildroot@buildroot.org \
--cc=kei-k@ca2.so-net.ne.jp \
--cc=thomas.petazzoni@bootlin.com \
--cc=yegorslists@googlemail.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 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.