Source: dcm2niix
Version: 1.0.20211006-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

dcm2niix cannot satisfy its cross Build-Depends, because its dependency
on python3-sphinx is not satisfiable. In general, Architecture: all
packages can never satisfy cross Build-Depends unless marked Multi-Arch:
foreign or annotated :native. In this case, we considered marking
python3-sphinx, but it can be used in an architecture-dependent way, so
it must not be thus marked. dcm2niix happens to use python3-sphinx in an
architecture-independent way. We can express that by annotating the
relevant dependency with :native. Doing so makes dcm2niix cross
buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru dcm2niix-1.0.20211006/debian/changelog 
dcm2niix-1.0.20211006/debian/changelog
--- dcm2niix-1.0.20211006/debian/changelog      2021-10-10 21:33:59.000000000 
+0200
+++ dcm2niix-1.0.20211006/debian/changelog      2022-05-03 20:36:38.000000000 
+0200
@@ -1,3 +1,11 @@
+dcm2niix (1.0.20211006-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate python3-sphinx build dependency with :native.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 03 May 2022 20:36:38 +0200
+
 dcm2niix (1.0.20211006-1) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru dcm2niix-1.0.20211006/debian/control 
dcm2niix-1.0.20211006/debian/control
--- dcm2niix-1.0.20211006/debian/control        2021-10-10 21:33:59.000000000 
+0200
+++ dcm2niix-1.0.20211006/debian/control        2022-05-03 20:36:37.000000000 
+0200
@@ -9,7 +9,7 @@
                libturbojpeg0-dev,
                libyaml-cpp-dev,
                pkg-config,
-               python3-sphinx,
+               python3-sphinx:native,
                zlib1g-dev
 Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/med-team/dcm2niix

Reply via email to