Source: netplan.io
Version: 0.99-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

netplan.io fails to cross build from source, because its Build-Depends
are not cross-satisfiable. netplan.io has quite a number of
Build-Depends, so solving this is not easy. Fortunately, a big chunk is
only used for testing netplan.io. Those can be dropped for cross
building using the nocheck build profile and build option. So a big
chunk of the problem goes away if one simply annotates droppable
dependencies with <!nocheck>. I used reproducible builds to verify that
doing so indeed produces the same binary artifact. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru netplan.io-0.99/debian/changelog 
netplan.io-0.99/debian/changelog
--- netplan.io-0.99/debian/changelog    2020-04-27 11:01:26.000000000 +0200
+++ netplan.io-0.99/debian/changelog    2020-05-24 14:22:14.000000000 +0200
@@ -1,3 +1,10 @@
+netplan.io (0.99-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate Build-Depends with <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 24 May 2020 14:22:14 +0200
+
 netplan.io (0.99-1) unstable; urgency=medium
 
   [ Andrej Shadura ]
diff --minimal -Nru netplan.io-0.99/debian/control 
netplan.io-0.99/debian/control
--- netplan.io-0.99/debian/control      2020-04-27 11:01:26.000000000 +0200
+++ netplan.io-0.99/debian/control      2020-05-24 14:22:14.000000000 +0200
@@ -14,15 +14,15 @@
  libglib2.0-dev,
  uuid-dev,
  python3 (>= 3.1),
- python3-coverage,
- python3-yaml,
- python3-netifaces,
+ python3-coverage <!nocheck>,
+ python3-yaml <!nocheck>,
+ python3-netifaces <!nocheck>,
  libsystemd-dev,
  systemd,
- dbus-x11,
- pyflakes3,
- pycodestyle | pep8,
- python3-nose,
+ dbus-x11 <!nocheck>,
+ pyflakes3 <!nocheck>,
+ pycodestyle <!nocheck> | pep8 <!nocheck>,
+ python3-nose <!nocheck>,
  pandoc,
 Vcs-Git: https://salsa.debian.org/debian/netplan.io.git
 Vcs-Browser: https://salsa.debian.org/debian/netplan.io

Reply via email to