Bug#946012: pyosmium unsatisfiable cross Build-Depends
Helmut Grohne
helmut at subdivi.de
Mon Dec 2 20:38:12 GMT 2019
Source: pyosmium
Version: 2.15.3-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability
pyosmium cannot satisfy its cross Build-Depends. There are multiple
reasons for that. The ones reported by botch[1] are mainly sphinx and
mock, but also shapely.
The sphinx dependencies are only required for building the arch:all
documentation package. Thus they can be moved to Build-Depends-Indep and
become irrelevant to cross building.
mock and nose are test dependencies and can be made optional using the
nocheck profile.
I have less clue about shapely. I couldn't identify the actual use. Is
it really needed?
The attached patch implements the reductions for sphinx and mock. I used
reproducible builds and diffoscope to verify that these really are
correct. Please consider applying the patch and close this bug when
doing so.
Helmut
[1] The problem is only visible *before* fixing it at:
https://bootstrap.debian.net/cross_all/pyosmium.html
-------------- next part --------------
diff --minimal -Nru pyosmium-2.15.3/debian/changelog pyosmium-2.15.3/debian/changelog
--- pyosmium-2.15.3/debian/changelog 2019-08-17 08:39:20.000000000 +0200
+++ pyosmium-2.15.3/debian/changelog 2019-12-02 17:00:55.000000000 +0100
@@ -1,3 +1,12 @@
+pyosmium (2.15.3-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Reduce build dependencies for cross building. (Closes: #-1)
+ + Move sphinx dependencies to Build-Depends-Indep.
+ + Annotate test dependencies with <!nocheck>.
+
+ -- Helmut Grohne <helmut at subdivi.de> Mon, 02 Dec 2019 17:00:55 +0100
+
pyosmium (2.15.3-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru pyosmium-2.15.3/debian/control pyosmium-2.15.3/debian/control
--- pyosmium-2.15.3/debian/control 2019-08-17 08:39:20.000000000 +0200
+++ pyosmium-2.15.3/debian/control 2019-12-02 17:00:55.000000000 +0100
@@ -16,9 +16,10 @@
pybind11-dev,
python3-all-dev,
python3-setuptools,
- python3-mock,
- python3-nose,
+ python3-mock <!nocheck>,
+ python3-nose <!nocheck>,
python3-shapely,
+Build-Depends-Indep:
python3-sphinx,
python3-sphinxcontrib.autoprogram
Standards-Version: 4.4.0
More information about the Pkg-grass-devel
mailing list