Bug#846611: atril FTBFS on mipsel: dpkg-deb (subprocess): compressing tar member: lzma error: Cannot allocate memory

Radovan Birdic Radovan.Birdic at imgtec.com
Fri Dec 2 15:53:20 UTC 2016


Package: atril
Version: 1.16.1-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-mips at lists.debian.org
Usertags: mips-patch


Package atril_1.16.1-1 FTBFS on mipsel with following error:

> dpkg-deb: building package 'libatrildocument3-dbgsym' in '../libatrildocument3-dbgsym_1.16.1-1_mipsel.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
> dh_builddeb: dpkg-deb -Zxz -z9 --build debian/.debhelper/libatrilview3/dbgsym-root .. returned exit code 2

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=atril&arch=mipsel&ver=1.16.1-1&stamp=1480460291

Problem occurs because -z9 uses a lot of memory during compression.

A similar problem had been detected in the package geneweb and it was solved by 
removing "dh_builddeb -- -Zxz -z9" from debian/rules file.
In this way deafult (xz) compression is used.
https://bugs.debian.org/845757

I have created and attached a patch that resolves this problem.
With this patch package builds successfully.

Regards,
Radovan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-Zxz-compression.patch
Type: text/x-patch
Size: 498 bytes
Desc: remove-Zxz-compression.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-mate-team/attachments/20161202/272c2cf7/attachment.bin>


More information about the pkg-mate-team mailing list