Package: gnutls28
Version: 3.4.13-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: rebootstrap

Hi,

gnutls28 recently added new build-dependencies for netstat:

+ net-tools [!kfreebsd-i386 !kfreebsd-amd64],
+ freebsd-net-tools [kfreebsd-i386 kfreebsd-amd64]

Since this is only needed to run the testsuite, please could you
mark it with build profile <!nocheck> as in the attached patch?
(As is already done for datefudge).

If we're not running the test suite, we shouldn't need this
build-dependency.  And when cross-building the package, a foreign
netstat binary probably won't work anyway.

I noticed this on kfreebsd-amd64 when trying to cross-build gnutls28 for
linux-armhf, using Helmut's rebootstrap script;  we can't currently
satisfy the build-dependency on net-tools.

I've tested that I can cross-build gnutls28 again after this change.
Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
>From 4309e250ef42e8f643fc0b253f8725bed9076530 Mon Sep 17 00:00:00 2001
From: Steven Chamberlain <[email protected]>
Date: Wed, 8 Jun 2016 00:44:20 +0100
Subject: [PATCH] Mark netstat b-d with <!nocheck>

If the netstat build dependencies are only needed to run the test
suite, they can be excluded from the nocheck build profile.
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index cba24e2..321822a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,8 +12,8 @@ Build-Depends: debhelper (>= 9.20150628), nettle-dev (>= 3.1), zlib1g-dev,
  libp11-kit-dev (>= 0.23.1), pkg-config, chrpath, libidn11-dev (>= 1.31),
  autogen (>= 1:5.16-0), bison, dh-autoreconf, libgmp-dev (>= 2:6),
  libopts25-dev, automake (>= 1:1.12.2),
- net-tools [!kfreebsd-i386 !kfreebsd-amd64],
- freebsd-net-tools [kfreebsd-i386 kfreebsd-amd64]
+ net-tools [!kfreebsd-i386 !kfreebsd-amd64] <!nocheck>,
+ freebsd-net-tools [kfreebsd-i386 kfreebsd-amd64] <!nocheck>
 # The b-d on libgmp-dev is not technically necessary, since nettle brings
 # it along. However we want to enforce that gnutls is only built if the
 # dual-licensed GMP is available, otherwise the resulting binary
-- 
1.8.4.rc3

Reply via email to