Package: make Version: 4.3-4.1 Followup-For: Bug #973884 X-Debbugs-Cc: patr...@meraki.com
Dear Maintainer, I've run into this same bug while building embedded software and basically went down the same road as the original submitter of this bug, leading to pretty much the same patch. It appears that upstream GNU make has not merged a proposed port of the original Debian fix (https://savannah.gnu.org/bugs/index.php?45763), and so I would really like Debian to fix this in make-dfsg. The issue is very easy to reproduce. Here is a Makefile that demonstrates the problem: ---------------------------------------------------------------------- repeated_string := $(foreach n,$(shell seq 1 70000),a) all: @echo "$(repeated_string)"; echo ---------------------------------------------------------------------- In the breaking case, make will fail with: make: /bin/sh: Argument list too long Note that the breaking length of repeated_string may depend on system parameters and thus the length may need to be increased for a successful reproduction. Thanks, Patrick Verkaik -- System Information: Debian Release: 11.9 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 5.3.0-51-generic (SMP w/112 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages make depends on: ii libc6 2.31-13+deb11u10 make recommends no packages. Versions of packages make suggests: pn make-doc <none> -- no debconf information