Package: python3-json-pointer
Version: 2.0-2
Tags: patch
Control: affects -1 + src:pcp

pcp cannot be cross built from source, because its dependency on
python3-json-pointer cannot be satisfied. In general Architecture: all
packages can never satisfy cross Build-Depends unless marked Multi-Arch:
foreign or annotated :native. In this case, python3-json-pointer is a
pure python module. Its python3 dependency is already annotated :any.
It's maintainer script performs byte compilation, which is
architecture-dependent, but the module also works without bytecompiled
files. Likewise, python-json-pointer-doc can be annotated. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru python-json-pointer-2.0/debian/changelog 
python-json-pointer-2.0/debian/changelog
--- python-json-pointer-2.0/debian/changelog    2020-05-08 11:01:02.000000000 
+0200
+++ python-json-pointer-2.0/debian/changelog    2021-03-03 16:47:06.000000000 
+0100
@@ -1,3 +1,10 @@
+python-json-pointer (2.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark all packages Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 03 Mar 2021 16:47:06 +0100
+
 python-json-pointer (2.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --minimal -Nru python-json-pointer-2.0/debian/control 
python-json-pointer-2.0/debian/control
--- python-json-pointer-2.0/debian/control      2020-05-08 11:01:02.000000000 
+0200
+++ python-json-pointer-2.0/debian/control      2021-03-03 16:47:05.000000000 
+0100
@@ -20,6 +20,7 @@
 Package: python-json-pointer-doc
 Section: doc
 Architecture: all
+Multi-Arch: foreign
 Depends:
  ${misc:Depends},
  ${sphinxdoc:Depends},
@@ -33,6 +34,7 @@
 
 Package: python3-json-pointer
 Architecture: all
+Multi-Arch: foreign
 Depends:
  ${misc:Depends},
  ${python3:Depends},

Reply via email to