Hi Collin,

On Mon, Oct 06, 2025 at 07:06:39PM -0700, Collin Funk wrote:
> > I can reproduce both on my server (Debian) and on my desktop (Devuan).
> > I'm using Sid, so that may have something to do (maybe I have a more
> > recent compiler that errors where yours doesn't?).
> 
> This was discussed and fixed in Gnulib a few months ago [1]. I assume
> you are using g++ 15 and the others are not.

Yup, that sounds like it.  I'm using

        g++ (Debian 15.2.0-4) 15.2.0

> Here are the relevant commits:
> 
>     $ git branch --contains=7ee6e40b6730c87e5c1323bb5c2564bcb6eff9e4
>     * master
>       stable-202507
>     $ git branch --contains=e331531a771443edae4135e6bcd016282cf1a3aa
>     * master
>       stable-202507
> 
> But groff is using a branch that does not contain them:
> 
>     commit e3ff929ddea95e0fc9fe7ea3541d28665de42370
>     Author:     G. Branden Robinson <[email protected]>
>     AuthorDate: Fri Mar 28 03:10:49 2025 -0500
>     Commit:     G. Branden Robinson <[email protected]>
>     CommitDate: Sat Mar 29 22:27:32 2025 -0500
>     
>         gnulib: Update stable/2025-01 branch.
>         
>         ...to commit 3fbc2c7bb3, 3 March.
> 
> Using the following command I can make ./bootstrap use the master branch
> from my local checkout to copy files:
> 
>     $ env GNULIB_SRCDIR=$HOME/.local/src/gnulib ./bootstrap
> 
> Allows me to build groff fine with g++ 15.

Thanks!

Branden, would you mind bumping the gnulib version sooner than later to
avoid using workarounds?  That would also allow us to use countof()
sooner.


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).

Attachment: signature.asc
Description: PGP signature

Reply via email to