Source: h2o
Version: 2.2.5+dfsg2-6
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

h2o cannot be cross built from source, because it has unsatisfiable
Build-Depends. Instead of looking into such a difficult problem, I
looked for easily droppable dependencies. ruby-dev seems entirely unused
as h2o uses an embedded mruby to link with rather than the system ruby.
Other than that, a lot of dependencies are only used for testing and can
be annotated <!nocheck>. Please consider applying the attached patch
that contains the full list of nocheck-annotatable dependencies.

Helmut
diff --minimal -Nru h2o-2.2.5+dfsg2/debian/changelog 
h2o-2.2.5+dfsg2/debian/changelog
--- h2o-2.2.5+dfsg2/debian/changelog    2020-12-16 21:06:10.000000000 +0100
+++ h2o-2.2.5+dfsg2/debian/changelog    2021-02-28 22:35:18.000000000 +0100
@@ -1,3 +1,12 @@
+h2o (2.2.5+dfsg2-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused ruby-dev.
+    + Annotate test dependencies <!nocheck>.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 28 Feb 2021 22:35:18 +0100
+
 h2o (2.2.5+dfsg2-6) unstable; urgency=medium
 
   * [945c43b] Add gitlab-ci.yml
diff --minimal -Nru h2o-2.2.5+dfsg2/debian/control 
h2o-2.2.5+dfsg2/debian/control
--- h2o-2.2.5+dfsg2/debian/control      2020-05-03 22:12:52.000000000 +0200
+++ h2o-2.2.5+dfsg2/debian/control      2021-02-28 22:35:17.000000000 +0100
@@ -6,24 +6,23 @@
 Rules-Requires-Root: no
 Build-Depends: bison,
                cmake,
-               curl,
+               curl <!nocheck>,
                debhelper-compat (= 12),
-               libio-socket-ssl-perl,
-               libjson-perl,
-               libpath-tiny-perl,
-               libscope-guard-perl,
+               libio-socket-ssl-perl <!nocheck>,
+               libjson-perl <!nocheck>,
+               libpath-tiny-perl <!nocheck>,
+               libscope-guard-perl <!nocheck>,
                libssl-dev,
-               libtest-exception-perl,
+               libtest-exception-perl <!nocheck>,
                libuv1-dev,
                libwslay-dev,
                libyaml-dev,
-               netcat-openbsd,
-               nghttp2-client,
+               netcat-openbsd <!nocheck>,
+               nghttp2-client <!nocheck>,
                pkg-config,
-               ruby-dev,
                ruby,
-               starlet,
-               wget,
+               starlet <!nocheck>,
+               wget <!nocheck>,
                zlib1g-dev
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/debian/h2o

Reply via email to