Re: Mutt compilation using Clang 22

"Kevin J. McCarthy" <[email protected]> Wed, 3 Jun 2026 21:20:24 +0800
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Wed, Jun 03, 2026 at 01:16:51PM +0200, Fabian Groffen via Mutt-dev wrote:
>I just want to point your attention tp https://bugs.gentoo.org/971955.
>
>Perhaps for 2.4.0 or 2.5.0 this could be fixed, as it seems there's
>old-style in the codebase that Clang22 does not want to accept any more.
>
>Copy of excerpt from the bug:

Hi Fabian,

I've taken a look, and this looks like a bug in Mutt's configure.ac 
file.  It looks like you are actually passing '--without-bundled-regex', 
but the configure.ac has incorrect code to process that and turns on the 
bundled regex.c anyway!

We are currently in a code freeze for the 2.4.0 release, but this bug is 
important enough that I'll get this fixed and include it.

In the mean time, the fix on your end would be to completely remove the 
'--without-bundled-regex' from your configure script arguments.  The 
default has it turned off, so you don't need to pass it.  I suspect your 
libc has a working version, and regex.c won't be compiled anymore.

Fixing regex.c is a bigger issue, but I'll work on that after the 2.4.0 
release.

Thank you,

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmogKhgACgkQre92hIAx
a9qqdxAAnf9TAnb6EgqCfr5mrHiRbdR90PfXOtjVbdG1RyfJAdHvGIjloh3vd0Mx
MQevbUF2GEM5NlO4Fq2GzwMrlqyHoD1vPlEzwXfvu/WTWS34bnm9DIyGNWO/JurD
05JA1nds+V6aSvtEC6IUAiVmVfm1jypusnTfi4p5ihbRLc/iwMGItFGNZOlR7RLU
HJbti286lcmxFSKOljOTKpUl4HX7HS4VLMYgn+NkJQa1KMqiEwKSp1aUW62YOiYT
7/3ECIAZzNDZFclY3c41UA2gWcZ4eZzc+GeRUrye9RRLFUop2f82LM+IjYj04QIm
cS1g1lmRMjr2U7TYUIeROrN1/vU2RHKjqZCfUS1GkzQlsIqJvR5+oI3YxWOILwUg
nUi0Y9KdM1XxJn2mu0Uhh+i2/MFZL8v0w9KVFDln7TNx9qu5yfSXxP68jB0kAtKg
GHJcdZoA3Sn7PCs2NjAxM8gM6WqStR+OUxs+RN98+fFwcc3C7+F9urhmws2NRQt1
lUtVVWdH2Tw8OXNef9uaFIhqoH/wLX/j3yP5OscypE4T9ZBqzLLG9UKFYYRMiyq0
iwWXlcOMkA4C4du3jjfp7Ou9mgUDyKlp/i9CGtxBP2Sa5s4yfGgZ+jtj1yHKElQ5
iPHdUTcooPGj9uPzEwx7EX1Yo6JUWCwcAPXYC3AK/J9xw5MuZuU=
=mkB5
-----END PGP SIGNATURE-----