Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-02-16 Thread Steven Chamberlain
Hello, Guillem pointed out to me that libunbound.pc actually should declare Requires.private: libbsd when libunbound.a was compiled against it. That's for the benefit of anyone static linking against libunbound (though I think in Debian no packages are doing that at the moment). My attached

Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-02-16 Thread Steven Chamberlain
Hello again, I've attached *another* revision of this patch. Thanks to Guillem's comments in IRC, I realise reverse-depends need not link against -lbsd because libunbound.so does so already. So I must not change libunbound.pc as I did. -lbsd already gets added to Libs.private when configuring

Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-02-15 Thread Steven Chamberlain
Steven Chamberlain wrote: > Attached is [...] Oops. -- Steven Chamberlain ste...@pyro.eu.org Date: Wed, 15 Feb 2017 12:44:13 + From: Steven Chamberlain Subject: enable use of portable libbsd functions Add a new configure option `--with-libbsd', which allows to use

Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-02-15 Thread Steven Chamberlain
Control: tags -1 + patch Hi again, Attached is an updated patch, that I hope is more suitable for upstream. It adds a configure option `--with-libbsd' allowing to use it if desired (instead of using the overlay); and it updates libunbound.pc if necessary, to tell users of -lunbound to also use

Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-02-14 Thread Steven Chamberlain
Control: tags -1 - patch Hi, This change, if it was made on all architectures, could cause a regression for reverse-depends of libunbound-dev, since they would also need to link with -lbsd and not just -lunbound. For kfreebsd and hurd, that doesn't matter yet, because the reverse-depends all

Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-02-03 Thread Steven Chamberlain
Hi, Here's un updated patch including the missing part, and now using a proper invocation of pkg-config suitable for cross-builds, as pointed out to me by helmutg@ Regards, -- Steven Chamberlain ste...@pyro.eu.org --- a/debian/control

Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-01-31 Thread Steven Chamberlain
Hi, I forgot an important piece of the patch which is actually adding the build-dependency: --- a/debian/control +++ b/debian/control @@ -15,6 +15,7 @@ Build-Depends: dh-systemd , dpkg-dev (>= 1.16.1~), flex, + libbsd-dev (>= 0.8.1~) [!linux-any], libevent-dev, libexpat1-dev,

Re: Bug#853751: unbound: FTBFS[!linux]: missing getentropy implementations

2017-01-31 Thread Steven Chamberlain
tags 853751 + patch user helm...@debian.org usertags 853751 + rebootstrap thanks Hi, This bug has become important, since src:unbound became part of the build-essential closure (due to Build-Depends of gnutls28). So this is now a blocking issue for rebootstrapping kfreebsd and hurd. Andreas