Dear Tomasz,

Please find attached the debdiff for an NMU that I have uploaded to DELAYED/5. 
In the absence of a working test suite for pyopencl, I've tested the packages 
with sasview which is an rdep of pyopencl.

This NMU addresses both the FTBFS (#893050) and also the inability for the 
documentation to be build on the buildd (#896521) which prevents source-only 
uploads and makes working with this package much harder than it needs to be.

This NMU only ensures that the package builds. It does not address the other 
issues about ways to get the tests to run that Rebecca Palmer has highlighted 
in this bug. It would be great to get the tests running at build time and/or 
on ci.debian.net. (The sasmodels package is running opencl based tests just 
fine on ci.debian.net.)

Note that collab-maint git does not contain the uploaded 2018.1.1-1 version 
(and I also can't find this project on salsa) so I've neither attempted to 
split these changes into a git patch series nor added them to the packaging 
git repository.

cheers
Stuart


-- 
Stuart Prescott    http://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/         stu...@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
diff -Nru pyopencl-2018.1.1/debian/changelog pyopencl-2018.1.1/debian/changelog
--- pyopencl-2018.1.1/debian/changelog	2018-03-09 05:54:39.000000000 +1100
+++ pyopencl-2018.1.1/debian/changelog	2018-04-22 11:19:23.000000000 +1000
@@ -1,3 +1,14 @@
+pyopencl (2018.1.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS by updating pybuild call to 'python3' when building docs, with
+    thanks to Rebecca N Palmer for diagnosing the problem and suggesting the
+    solution (Closes: #893050).
+  * Ensure persistent dict has somewhere to write so that documentation can
+    be built on the buildd (Closes: #896521).
+
+ -- Stuart Prescott <stu...@debian.org>  Sun, 22 Apr 2018 11:19:23 +1000
+
 pyopencl (2018.1.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru pyopencl-2018.1.1/debian/rules pyopencl-2018.1.1/debian/rules
--- pyopencl-2018.1.1/debian/rules	2018-03-09 05:54:39.000000000 +1100
+++ pyopencl-2018.1.1/debian/rules	2018-04-22 11:19:23.000000000 +1000
@@ -22,6 +22,10 @@
 SPHINXOPTS:=-D today=\"$(BUILD_DATE)\"
 SPHINXOPTS+=-D html_last_updated_fmt=\"$(BUILD_DATE)\"
 
+# persistent dict needs a writable directory and HOME on the buildd is not
+export CACHE=$(CURDIR)/.cache/
+export XDG_CACHE_HOME=$(CACHE)
+
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem pybuild
 
@@ -35,7 +39,7 @@
 
 override_dh_installdocs:
 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
-	pybuild --build -i pythonX.Y -s custom --build-args 'make -C {dir}/doc html'
+	pybuild --build -i python3 -s custom --build-args 'make -C {dir}/doc html'
 	dh_installdocs
 endif
 
@@ -56,6 +60,9 @@
 #	dh_strip -ppython3-pyopencl --ddeb-migration='python3-pyopencl-dbg (<< 2015.1-1)'
 endif
 
+override_dh_clean:
+	dh_clean
+	rm -rf $(CACHE)
 
 GIT_REVISION=v2018.1.1
 GIT_SUBMODULES=pyopencl/compyte

Reply via email to