tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc mktool utility



* On 2024-08-06 at 11:07 BST, Thomas Klausner wrote:

# pkg_add /packages/All/bmake-20240711.tgz
# bmake checksum
=> Bootstrap dependency digest>=20211023: found digest-20220214nb1
/tmp/make8HsuXd: /usr/bin/env: argument list too long

Ok, so it is using the new code where the command has been written to a temporary file rather than trying to be exec'd directly, it's just that whatever was written to that file is now exceeding the argument list.

Now we just need to fix whichever part of mk/checksum is generating that, and split it into multiple commands. This is what we were discussing a while back I think, i.e. fixing this:

  if cd ${DISTDIR} && ${_CHECKSUM_CMD} ${DISTINFO_FILE:tA} ${_CKSUMFILES}; then

to instead pass the list of _CKSUMFILES to _CHECKSUM_CMD's stdin, like we do with distinfo.awk (and now "mktool distinfo").

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index