[Python-modules-team] Bug#961468: pyzmq FTCBFS: please reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Sun May 24 16:20:50 BST 2020


Source: pyzmq
Version: 18.1.1-3
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

pyzmq fails to cross build from source, because its Build-Depends are
not satisfiable. Since cross builds usually don't run tests, the nocheck
build profile is a very good way to trim Build-Depends. Please consider
applying the attached patch to make a lot of Build-Depends optional
using <!nocheck>. I verified that a nocheck build produces bit-identical
artifacts to a full build.

Helmut
-------------- next part --------------
diff --minimal -Nru pyzmq-18.1.1/debian/changelog pyzmq-18.1.1/debian/changelog
--- pyzmq-18.1.1/debian/changelog	2020-03-06 22:33:39.000000000 +0100
+++ pyzmq-18.1.1/debian/changelog	2020-05-24 14:35:20.000000000 +0200
@@ -1,3 +1,10 @@
+pyzmq (18.1.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate Build-Depends with <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 24 May 2020 14:35:20 +0200
+
 pyzmq (18.1.1-3) unstable; urgency=medium
 
   * Patch an endian-specific test which was failing on big-endian
diff --minimal -Nru pyzmq-18.1.1/debian/control pyzmq-18.1.1/debian/control
--- pyzmq-18.1.1/debian/control	2020-03-06 22:33:39.000000000 +0100
+++ pyzmq-18.1.1/debian/control	2020-05-24 14:35:20.000000000 +0200
@@ -9,17 +9,17 @@
                dh-python,
                libzmq3-dev,
                cython3,
-               cython3-dbg,
+               cython3-dbg <!nocheck>,
                python3-all-dbg,
                python3-all-dev,
-               python3-cffi,
-               python3-cffi-backend-dbg,
-               python3-nose,
-               python3-numpy,
-               python3-numpy-dbg,
-               python3-pytest,
-               python3-setuptools,
-               python3-tornado,
+               python3-cffi <!nocheck>,
+               python3-cffi-backend-dbg <!nocheck>,
+               python3-nose <!nocheck>,
+               python3-numpy <!nocheck>,
+               python3-numpy-dbg <!nocheck>,
+               python3-pytest <!nocheck>,
+               python3-setuptools <!nocheck>,
+               python3-tornado <!nocheck>,
 Standards-Version: 4.5.0
 Homepage: http://www.zeromq.org/bindings:python
 Vcs-Git: https://salsa.debian.org/python-team/modules/pyzmq.git


More information about the Python-modules-team mailing list