[Debian-med-packaging] Bug#832655: insighttoolkit4: please remove build directory to save disk space
Gianfranco Costamagna
locutusofborg at debian.org
Thu Jul 28 06:56:19 UTC 2016
Source: insighttoolkit4
Version: 4.10.0-dfsg1-1
Tags: patch
Severity: important
Hi, since the 4.10.0 release, itk4 started demanding always more disk space.
This caused troubles in Ubuntu amd64 and ppc64el (probably more arches, I don't remember)
during dh_strip and later calls, failed with ENOSPACE.
I crafted a patch, to remove the build directory, and debian/tmp after the build and dh_install
are finished.
dh_install -p$(pkg_python) debian/tmp/usr/lib/python2.7/* usr/lib/python2.7/
# dh_install -p$(pkg_python) usr/lib/ITK-$(SOVERSION)/Python usr/lib/ITK-$(SOVERSION)
+ # remove build directory to save space
+ rm -rf BUILD debian/tmp
+
override_dh_installexamples:
# pkg_examples
dh_installexamples -p$(pkg_examples) Examples/*
please consider applying it!
thanks,
G.
More information about the Debian-med-packaging
mailing list