Bug#943706: opencv: delete static build dir to save lots of space during build
Gianfranco Costamagna
locutusofborg at debian.org
Mon Oct 28 11:41:01 GMT 2019
Source: opencv
Version: 4.1.2+dfsg-4
Tags: patch
Hello, the build is now starting to fail with ENOSPACE on some builders...
du -hs obj-x86_64-linux-gnu-static
46G obj-x86_64-linux-gnu-static
since this is just used during dh_install place, can we just remove it after copying files into debian/tmp/ directory?
Following a trivial patch that fixed the issue.
+opencv (4.1.2+dfsg-4.1) unstable; urgency=medium
+
+ * Remove builddir-static to save some space (Closes: #-1)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Mon, 28 Oct 2019 10:29:03 +0100
+
opencv (4.1.2+dfsg-4) unstable; urgency=medium
* Disable MSA (MIPS* arch) to avoid ISA violation. (Closes: #942561)
diff -Nru opencv-4.1.2+dfsg/debian/rules opencv-4.1.2+dfsg/debian/rules
--- opencv-4.1.2+dfsg/debian/rules 2019-10-18 14:22:27.000000000 +0200
+++ opencv-4.1.2+dfsg/debian/rules 2019-10-28 10:29:03.000000000 +0100
@@ -160,6 +160,7 @@
-find debian/tmp -type f -name jquery.js -delete
-find debian/tmp -type f -name '*.supp' -delete
-find debian/tmp -type d -empty -delete
+ rm -r $(BUILDDIR)-static
dh_install
override_dh_missing:
More information about the debian-science-maintainers
mailing list