* On 2024-08-07 at 10:22 BST, Martin Husemann wrote:
On Wed, Aug 07, 2024 at 10:12:30AM +0100, Jonathan Perkin wrote:I'm happy with saying that if folks want to build newer grafana's they need a newer bmake. I'm not aware of any other packages that are yet close to the argmax limit, so we could even add a dependency on the required bmake version in grafana itself. If other packages start showing up then we can move the logic to mk.Can this easily be tested in the makefile and then marked BROKEN automagically with old (b)make?
It can be tested reasonably easily enough, something like: $ cd wip/grafana $ awk 'NR > 2 && /^BLAKE2s/ {l += length($2) - 1} END{print l}' < $(bmake -v DISTINFO_FILE) 274119but this would add an unacceptable performance impact to every package, especially if we also wanted to exec sysctl to compare it to kern.argmax or wherever each OS stores it, so I'd prefer to keep it manual for now.
-- Jonathan Perkin - mnx.io - pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com