tech-pkg archive

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

Re: grafana hits pkgsrc limits again



* On 2024年07月11日 at 09:57 BST, Jonathan Perkin wrote:
I'll have a think through if there's any way around this.
So, one option is if there was a way to activate jobs mode for a set of commands, as that configures make to run the shell scripts from temporary files rather than exec'ing directly.
For example:
pkgsrc-nb0# cat Makefile FOO!= find /data/distfiles -type f
 all:
	@${FOO:@f@ echo ${f};@}
doesn't work in normal mode:
 pkgsrc-nb0# make
 make: exec(/bin/sh) failed (Argument list too long)
 *** Error code 1
but works fine in jobs mode:
 pkgsrc-nb0# make -j1
 /data/distfiles/flac-1.4.3.tar.xz
 /data/distfiles/re2c-3.1.tar.xz
 [...]
Is there an existing way to do this that I'm not seeing in the man page that might help us here without having to modify make?
--
Jonathan Perkin - mnx.io - pkgsrc.smartos.org
Open Source Complete Cloud www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /