Source: nghttp2
Version: 1.4.0-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

Dear nghttp2 maintainers,

nghttp2 ended up being a build dependency of curl which is a build
dependency of apt which is essential. Thus nghttp2 needs to be cross
buildable to bootstrap new architectures. Its build depends currently do
not allow to do so. I take issue with the following dependencies:

 * libcunit1-dev is not needed as tests cannot be run during cross
   compilation anyway.
 * libpython-dev is not used during build and non-trivial to obtain
   during bootstrap.
 * python-sphinx is an arch:all package, so dependencies cannot ever be
   satisfied for non-native architectures.

I am attaching a patch that addresses all of the above issues. Please
consider applying it.

Helmut
diff --minimal -Nru nghttp2-1.4.0/debian/changelog 
nghttp2-1.4.0/debian/changelog
--- nghttp2-1.4.0/debian/changelog
+++ nghttp2-1.4.0/debian/changelog
@@ -1,3 +1,13 @@
+nghttp2 (1.4.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update Build-Depend for cross compilation (Closes: #-1)
+    + Mark libcunit1-dev with <!nocheck> profile
+    + Drop unused libpython-dev
+    + Annotate python-sphinx with :native
+
+ -- Helmut Grohne <[email protected]>  Sun, 13 Dec 2015 19:01:36 +0100
+
 nghttp2 (1.4.0-2) unstable; urgency=medium
 
   * Fix systemd service
diff --minimal -Nru nghttp2-1.4.0/debian/control nghttp2-1.4.0/debian/control
--- nghttp2-1.4.0/debian/control
+++ nghttp2-1.4.0/debian/control
@@ -6,17 +6,16 @@
 Build-Depends: debhelper (>= 9),
                dh-autoreconf,
                dh-systemd (>= 1.5),
-               libcunit1-dev (>= 2.1),
+               libcunit1-dev (>= 2.1) <!nocheck>,
                libev-dev (>= 1:4.15),
                libevent-dev (>= 2.0.8),
                libjansson-dev (>= 2.5),
                libjemalloc-dev [!hurd-i386],
-               libpython-dev,
                libspdylay-dev (>= 1.3.2),
                libssl-dev (>= 1.0.1),
                libxml2-dev (>= 2.7.7),
                pkg-config,
-               python-sphinx,
+               python-sphinx:native,
                zlib1g-dev (>= 1.2.3)
 Standards-Version: 3.9.6
 Homepage: http://tatsuhiro-t.github.io/nghttp2/

Reply via email to