Source: prosody
Version: 0.11.7-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

prosody cannot be cross built from source, because its Build-Depends are
not satisfiable. Instead of looking into this difficult problem, I
looked into which dependencies would be easily droppable. It turns out
that lua-busted, lua5.2* and openssl are only used for running
build-time tests. Such tests are usually disabled during cross building,
so we can mask out the relevant dependencies via <!nocheck>. Please
consider applying the attached patch. A thus tagged nocheck build
reproduces the same binary artifacts as a regular full build on amd64
here.

Helmut
diff --minimal -Nru prosody-0.11.7/debian/changelog 
prosody-0.11.7/debian/changelog
--- prosody-0.11.7/debian/changelog     2020-10-02 11:37:42.000000000 +0200
+++ prosody-0.11.7/debian/changelog     2021-01-16 23:05:55.000000000 +0100
@@ -1,3 +1,10 @@
+prosody (0.11.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate test dependencies with <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 16 Jan 2021 23:05:55 +0100
+
 prosody (0.11.7-1) unstable; urgency=medium
 
   * New upstream version 0.11.7
diff --minimal -Nru prosody-0.11.7/debian/control prosody-0.11.7/debian/control
--- prosody-0.11.7/debian/control       2020-10-02 11:37:42.000000000 +0200
+++ prosody-0.11.7/debian/control       2021-01-16 23:05:47.000000000 +0100
@@ -13,11 +13,11 @@
  libidn11-dev,
  liblua5.2-dev,
  libssl-dev,
- lua-busted,
- lua5.2,
- lua5.2-expat,
- lua5.2-socket,
- openssl,
+ lua-busted <!nocheck>,
+ lua5.2 <!nocheck>,
+ lua5.2-expat <!nocheck>,
+ lua5.2-socket <!nocheck>,
+ openssl <!nocheck>,
  txt2man,
 Standards-Version: 4.5.0
 Homepage: http://www.prosody.im/

Reply via email to