busybox-1.19.2/scripts/gen_build_files.sh[67]: printf: Argument list too long this is because I'm using mksh as /bin/sh which doesn't have builtin printf.
status() { printf ' %-8s%s\n' "$1" "$2"; } printf has 3 args above printf "%s\n" "${header}" two args printf "%s\n" "${insert}" two args. Hmm. The problem can be here. "${insert}" may be 200k long or more. printf "%s\n" "ERROR: INSERT line missing in: ${src}" 1>&2 two args
Fixed in git: http://git.busybox.net/busybox/commit/?id=efd08bfa0adab3ae299be7abdd45161a15804a3b
Works for me, thanks.