[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984610: dh-exec: unsatisfiable cross Build-Depends



Source: dh-exec
Version: 0.23.2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability

dh-exec cannot be cross built from source, because its Build-Depends are
not satisfiable. There are two dependencies that are at issue in
particular:
 * perl. It is interpreted as a host architecture perl, which happens to
   conflict with the build architecture one from essential. It really
   wants to run perl, so we should annotate it :any.
 * bats. It is used for running tests and can be skipped via <!nocheck>.

Please consider applying the attached patch.

Helmut
diff --minimal -Nru dh-exec-0.23.2/debian/changelog dh-exec-0.23.3/debian/changelog
--- dh-exec-0.23.2/debian/changelog	2019-05-18 14:44:04.000000000 +0200
+++ dh-exec-0.23.3/debian/changelog	2021-03-05 16:46:04.000000000 +0100
@@ -1,3 +1,11 @@
+dh-exec (0.23.3) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: (Closes: #-1)
+    + Annotate perl dependency :any.
+    + Annotate bats dependency <!nocheck>.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 05 Mar 2021 16:46:04 +0100
+
 dh-exec (0.23.2) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru dh-exec-0.23.2/debian/control dh-exec-0.23.3/debian/control
--- dh-exec-0.23.2/debian/control	2019-05-18 14:44:04.000000000 +0200
+++ dh-exec-0.23.3/debian/control	2021-03-05 16:46:04.000000000 +0100
@@ -5,9 +5,9 @@
 Build-Depends: debhelper (>= 9.20151004~), dh-autoreconf,
                automake (>= 1:1.11),
                libpipeline-dev, pkg-config,
-               perl (>= 5.14.2~),
+               perl:any (>= 5.14.2~),
                libdpkg-perl (>= 1.17.14~),
-               bats,
+               bats <!nocheck>,
 Rules-Requires-Root: no
 Standards-Version: 3.9.6
 Homepage: https://github.com/algernon/dh-exec

Reply to: