tech-pkg archive

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

Re: checksum argmax fix



On Wed, Aug 07, 2024 at 11:04:39AM +0100, Jonathan Perkin wrote:
> Ok, how about this:
> 
>   --- a/grafana/Makefile
>   +++ b/grafana/Makefile
>   @@ -14,0 +15,9 @@ DISTFILES=    ${DEFAULT_DISTFILES}
>   +#
>   +# This package has so many distfiles that it overflows ARG_MAX on NetBSD.
>   +# Newer bmake versions are able to work around this, so pull in if required.
>   +#
>   +ARGMAX_cmd=	getconf ARG_MAX || ${ECHO} 0
>   +.if ${ARGMAX_cmd:sh} <= 262144 && ${MAKE_VERSION:U0} < 20240711
>   +DEPENDS+=	bmake>=20240711:../../devel/bmake
>   +.endif
>   +
> 
> I think that should work everywhere?

No, because the bmake that is installed is not used (on NetBSD):

=> Installing bmake>=20240711 from /packages/All
bmake-20240711 successfully installed.
=> Returning to build of grafana-11.1.3
===> Cleaning for grafana-11.1.3
# /package
=> Bootstrap dependency digest>=20211023: found digest-20220214nb1
make: exec(/bin/sh) failed (Argument list too long)
*** Error code 1

 Thomas


Home | Main Index | Thread Index | Old Index