Source: isc-dhcp Version: 4.3.5~b1-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
isc-dhcp fails to cross build from source, because it fails to detect which random device to use. In former times, setting ac_cv_file__dev_random was sufficient, but this variable is now ignored by isc-dhcp's configure. Thus explicitly passing --with-randomdev=/dev/random looks like the way to go. I check that this value is correct for at least linux-any, kfreebsd-any and hurd-any. Please consider applying the attached patch. Helmut
diff --minimal -Nru isc-dhcp-4.3.5~b1/debian/changelog isc-dhcp-4.3.5~b1/debian/changelog --- isc-dhcp-4.3.5~b1/debian/changelog 2016-09-12 00:59:15.000000000 +0200 +++ isc-dhcp-4.3.5~b1/debian/changelog 2016-09-20 19:57:54.000000000 +0200 @@ -1,3 +1,11 @@ +isc-dhcp (4.3.5~b1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass --with-randomdev (correct for at least linux-any, + kfreebsd-any and hurd-any) (closes: #-1). + + -- Helmut Grohne <hel...@subdivi.de> Tue, 20 Sep 2016 19:57:23 +0200 + isc-dhcp (4.3.5~b1-1) unstable; urgency=medium * New upstream beta release. diff --minimal -Nru isc-dhcp-4.3.5~b1/debian/rules isc-dhcp-4.3.5~b1/debian/rules --- isc-dhcp-4.3.5~b1/debian/rules 2016-09-12 00:57:47.000000000 +0200 +++ isc-dhcp-4.3.5~b1/debian/rules 2016-09-20 19:57:19.000000000 +0200 @@ -27,7 +27,7 @@ # cross-architecture building ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) -CONFFLAGS+=--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +CONFFLAGS+=--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) --with-randomdev=/dev/random endif # hurd support