Re: git: 076687302bff - main - Mk: fix checksum/fetch/makesum with large distfiles set
Date: Wed, 16 Sep 2026 18:45:19 UTC
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: * outside poudriere fetch is OK: % doas make distclean fetch ===> Cleaning for go127-1.27.1 ===> Deleting distfiles for go127-1.27.1 ===> License BSD3CLAUSE accepted by the user ===> go127-1.27.1 depends on file: /usr/local/sbin/pkg - found => go1.27.1.src.tar.gz doesn't seem to exist in /Arq/DISTFILES. => Attempting to fetch https://go.dev/dl/go1.27.1.src.tar.gz go1.27.1.src.tar.gz 33 MB 20 MBps 01s => go1.25.14.freebsd-amd64.tar.gz doesn't seem to exist in /Arq/DISTFILES. => Attempting to fetch https://go.dev/dl/go1.25.14.freebsd-amd64.tar.gz go1.25.14.freebsd-amd64.tar.gz 56 MB 27 MBps 02s ===> Fetching all distfiles required by go127-1.27.1 for building * # poudriere bulk -j 16amd64 -p main lang/go127 [00:00:30] Failed ports: lang/go127:checksum (...) ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by go127-1.27.1 for building /bin/sh: Syntax error: end of file unexpected (expecting word) *** Error code 2 NOTES: poudriere is setup with DISTFILES_CACHE=/Arq/DISTFILES % ls -l /Arq/DISTFILES/go1.27.1.src.tar.gz -rw-r--r-- 1 root nunotex 35109201 Sep 1 20:54 /Arq/DISTFILES/go1.27.1.src.tar.gz Thanks, -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org