[pkg-dhcp-devel] Bug#732401: isc-dhcp: FTBFS: File series fully applied, ends at patch dhclient-exit-hook.patch

Axel Beckert abe at debian.org
Tue Dec 17 17:29:54 UTC 2013


Source: isc-dhcp
Version: 4.2.4-7
Severity: serious
Tags: sid jessie patch

While trying to backport the current version of isc-dhcp to Wheezy, I
noticed that I get the the following build failure on Unstable, too:

~/debian/isc-dhcp-4.2.4 → debuild -uc -us -b
 dpkg-buildpackage -rfakeroot -D -us -uc -i -b
dpkg-buildpackage: source package isc-dhcp
dpkg-buildpackage: source version 4.2.4-7
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Michael Gilbert <mgilbert at debian.org>
 dpkg-source -i --before-build isc-dhcp-4.2.4
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
rm -f build*stamp install*stamp bind-stamp
rm -rf isc-dhcp-server-ldap
[ ! -f Makefile ] || /usr/bin/make distclean
rm -f Makefile client/Makefile config.log config.status
cd bind && rm -rf bind-* include lib bindvar.tmp \
            build.log configure.log install.log
debconf-updatepo
dh_clean
 debian/rules build
dh_testdir
cd bind && tar xf bind.tar.gz && cd bind-* && \
            QUILT_PATCHES=../../debian/bind-patches quilt push -a
File series fully applied, ends at patch dhclient-exit-hook.patch
make: *** [bind-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed

The extracted bind.tar.gz seems to have the quilt patches already
applied (or "quilt push -a" is called twice) and quilt seems to exit
with return code 2 if the series is already applied. Hence the package
build stops in that case.

There were three quilt uploads since 27th of May, including a new
upstream release just a few days ago. But neither the upstream nor the
Debian changelog reveals anything fitting to these symptoms. It would
also not explain why I ran into this issues on Wheezy first.

I've fixed it with the following patch against debian/rules so far:

diff --git a/debian/rules b/debian/rules
index cebed19..1acc041 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,7 +39,7 @@ CFLAGS += -DNOMINUM
 bind-stamp:
        dh_testdir
        cd bind && tar xf bind.tar.gz && cd bind-* && \
-           QUILT_PATCHES=../../debian/bind-patches quilt push -a
+           QUILT_PATCHES=../../debian/bind-patches quilt push -a || test $$? -eq 2 && true
        touch $@
 
 build-ldap-stamp: bind-stamp

With this patch, isc-dhcp builds again on Sid. It also passes that point
on Wheezy, but FTBFS later on. But for now, that's only my problem. ;-)


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-client depends on:
ii  debianutils      4.4
ii  iproute          1:3.12.0-1
ii  isc-dhcp-common  4.2.4-7
ii  libc6            2.17-97

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
pn  avahi-autoipd  <none>
pn  resolvconf     <none>

-- no debconf information



More information about the pkg-dhcp-devel mailing list