Re: git: 076687302bff - main - Mk: fix checksum/fetch/makesum with large distfiles set

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Wed, 16 Sep 2026 19:31:35 UTC
On Wed, Sep 16, 2026 at 08:59:44PM +0200, Mathieu Arnold wrote:
> On Wed, Sep 16, 2026 at 07:45:19PM +0100, Nuno Teixeira wrote:
> > Hello Mathieu,
> > 
> > Mathieu Arnold <mat@freebsd.org> escreveu (quarta, 16/09/2026 à(s) 14:08):
> > 
> > > (...)
> > >     Mk: fix checksum/fetch/makesum with large distfiles set
> > >
> > >     When a port has a very large set of DISTFILES, makesum/fetch dies with
> > >     an obscure message such as:
> > >
> > >     > /tmp/makeQEBorT: /usr/bin/env: Argument list too long
> > >
> > >     The interface from make(1) to sh(1) passes the list of MASTER_SITES and
> > >     DISTFILES as arguments on the command line. At one point, it reaches
> > >     ARG_MAX and fails with the previous message. This changes the interface
> > >     to use temporary files in WRKDIR.
> > > (...)
> > 
> > 
> > I've found something odd with poudriere on lang/go127:
> 
> Thanks, I can reproduce this.

Fixed in 07669030a4a2b20912d450a5c88f609da29ae34c.

-- 
Mathieu Arnold