Hi, I'm using qemu-user with a Debian unstable sh4 chroot on a 40-core Xeon machine and running dpkg-deb fails with the same issue reported in #846564 [1]:
dpkg-deb: building package 'gcc-snapshot' in '../gcc-snapshot_20240922-1+sh4.1_sh4.deb'. dpkg-deb: building package 'gcc-snapshot-dbgsym' in '../gcc-snapshot-dbgsym_20240922-1+sh4.1_sh4.deb'. dpkg-deb (subprocess): compressing tar member: lzma error: Cannot allocate memory dpkg-deb: error: <compress> from tar -cf subprocess returned error exit status 2 dh_builddeb: error: dpkg-deb --root-owner-group --build debian/.debhelper/gcc-snapshot/dbgsym-root .. returned exit code 2 dh_builddeb: error: Aborting due to earlier error Is there a way to tune lzma such that it reduces memory consumption in this case? Thanks, Adrian > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846564 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913