Bug#901111: (no subject)

Rebecca N. Palmer rebecca_palmer at zoho.com
Wed Jun 20 22:25:58 BST 2018


Control: tags -1 patch

It's failing because the documentation build (arch:all) expects the main 
build (arch:any) to have been done first.  Fix:

diff -Nru libgpuarray-0.6.9/debian/rules libgpuarray-0.6.9/debian/rules
--- libgpuarray-0.6.9/debian/rules	2017-07-26 21:25:20.000000000 +0100
+++ libgpuarray-0.6.9/debian/rules	2018-06-20 18:59:40.000000000 +0100
@@ -36,16 +36,19 @@
 override_dh_auto_build-indep: export https_proxy=127.0.0.1:9
 override_dh_auto_build-indep:
 ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+	dh_auto_build --buildsystem=cmake
 	python3 setup.py build_ext --inplace -I $(CURDIR)/src -L $(CURDIR)/lib
 	LD_LIBRARY_PATH=$(CURDIR)/lib PYTHONPATH=$(CURDIR) $(MAKE) -C doc html
 endif
 
 override_dh_auto_test:
 
-override_dh_auto_install:
+override_dh_auto_install-arch:
 	dh_auto_install --buildsystem=cmake
 	dh_auto_install
 
+override_dh_auto_install-indep:
+
 override_dh_python2:
 	dh_python2
 	dh_numpy



More information about the debian-science-maintainers mailing list