Source: python-pcl
Version: 0.3.0~rc1+dfsg-1
Severity: important
Tags: patch ftbfs

https://buildd.debian.org/status/package.php?p=python-pcl

...
cc1plus: out of memory allocating 1706880 bytes after a total of 57868288 bytes
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py build 
dh_auto_build: pybuild --build -i python{version} -p 3.6 returned exit code 13
make: *** [debian/rules:4: binary-arch] Error 25


Fix:

--- debian/rules.old    2018-09-29 21:08:14.765181491 +0000
+++ debian/rules        2018-09-29 21:09:02.414721001 +0000
@@ -1,4 +1,9 @@
 #!/usr/bin/make -f
 
+ifeq (32,$(DEB_HOST_ARCH_BITS))
+  export DEB_CFLAGS_MAINT_APPEND = -g1
+  export DEB_CXXFLAGS_MAINT_APPEND = -g1
+endif
+
 %:
        dh $@ --with python3 --buildsystem=pybuild

Reply via email to