Hi! On Fri, 2016-12-02 at 09:58:44 +0100, Andreas Beckmann wrote: > Package: dpkg > Version: 1.18.15 > Severity: serious
> I just tried to rebuild some packages from non-free. fonts-larabie > builds on amd64 but fails on i386 and armhf. This still worked a month > ago. (building on a amd64 machine in pbuilder chroots, armhf using qemu) > > debian/rules override_dh_builddeb > make[1]: Entering directory '/build/fonts-larabie-20011216' > dh_builddeb -- -Zxz -Sextreme -z9 > dpkg-deb: building package 'fonts-larabie-straight' in > '../fonts-larabie-straight_20011216-5_all.deb'. > dpkg-deb: building package 'fonts-larabie-deco' in > '../fonts-larabie-deco_20011216-5_all.deb'. > dpkg-deb: building package 'fonts-larabie-uncommon' in > '../fonts-larabie-uncommon_20011216-5_all.deb'. > dpkg-deb (subprocess): compressing tar member: lzma error: Cannot allocate > memory > dpkg-deb: error: subprocess <compress> from tar -cf returned error exit > status 2 > dpkg-deb (subprocess): compressing tar member: lzma error: Cannot allocate > memory > dh_builddeb: dpkg-deb -Zxz -Sextreme -z9 --build > debian/fonts-larabie-straight .. returned exit code 2 > dpkg-deb: error: subprocess <compress> from tar -cf returned error exit > status 2 > dh_builddeb: dpkg-deb -Zxz -Sextreme -z9 --build debian/fonts-larabie-deco .. > returned exit code 2 > dpkg-deb (subprocess): compressing tar member: lzma error: Cannot allocate > memory > dpkg-deb: error: subprocess <compress> from tar -cf returned error exit > status 2 > dh_builddeb: dpkg-deb -Zxz -Sextreme -z9 --build > debian/fonts-larabie-uncommon .. returned exit code 2 > debian/rules:16: recipe for target 'override_dh_builddeb' failed > make[1]: *** [override_dh_builddeb] Error 1 > make[1]: Leaving directory '/build/fonts-larabie-20011216' Right, this was reported the other day on IRC by Mattia Rizzolo. The combination of -Sextreme -z9 and parallel xz makes this use more than the available address space. I'll change the code to limit based on memory available. Although as was mentioned on a thread on d-d, those settings are pretty unfriendly IMO, even more for memory constrained arches, but oh well. dpkg should never fail to operate on those conditions. Thanks, Guillem