Package: atril
Version: 1.16.1-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-m...@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
--- atril-1.16.1_orig/debian/rules	2016-06-02 22:00:43.000000000 +0000
+++ atril-1.16.1/debian/rules	2016-12-02 08:58:00.000000000 +0000
@@ -44,8 +44,5 @@ override_dh_strip:
 	dh_strip -plibatrildocument3 --dbgsym-migration='libatrildocument3-dbg (<< 1.14.1-2~)'
 	dh_strip -plibatrilview3 --dbgsym-migration='libatrilview3-dbg (<< 1.14.1-2~)'
 
-override_dh_builddeb:
-	dh_builddeb -- -Zxz -z9
-
 get-orig-source:
 	uscan --noconf --force-download --rename --download-current-version --destdir=..

Reply via email to