Bug#945277: FTBFS: ninja: fatal: posix_spawn: Argument list too long

Andreas Henriksson andreas at fatal.se
Fri Nov 22 09:57:11 GMT 2019

Hello Jérémy Lal,

Thanks for your bug report. The solution might actually be in meson (see

On Fri, Nov 22, 2019 at 10:25:52AM +0100, Jérémy Lal wrote:
> Package: gnome-builder
> Version: 3.32.4-2
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> Hi,
> while trying to build gnome-builder in an up-to-date sid env using sbuild,
> i found that error.
> Jérémy
> ninja: fatal: posix_spawn: Argument list too long
> dh_auto_build: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j3 -v returned exit code 1
> make: *** [debian/rules:31: binary] Error 255
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Quoting from https://gitlab.gnome.org/GNOME/gnome-builder/issues/1057 :
"In case you see ninja: fatal: posix_spawn: Argument list too long,
apply https://github.com/mesonbuild/meson/pull/6030 to fix it. Meson
0.52.0 generates a lot of duplicate arguments and it may exceed the
length limit of the kernel."

Andreas Henriksson

More information about the pkg-gnome-maintainers mailing list