Your message dated Tue, 17 Dec 2013 18:41:49 +0100
with message-id <20131217174148.gj27...@sym.noone.org>
and subject line Re: Bug#732401: isc-dhcp: FTBFS: File series fully applied, 
ends at patch dhclient-exit-hook.patch
has caused the Debian Bug report #732401,
regarding isc-dhcp: FTBFS: File series fully applied, ends at patch 
dhclient-exit-hook.patch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
732401: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732401
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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 <mgilb...@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

--- End Message ---
--- Begin Message ---
Version: 4.2.4-7

Hi,

Axel Beckert wrote:
> 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

Sorry for the false alarm and the noise it may have caused.

This build failure seems to be due to my .quiltrc which also sets
QUILT_PATCHES and, due to being called by quilt, overrule the setting
above:

for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
    if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
        export QUILT_PATCHES=debian/patches
    fi
done

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

--- End Message ---

Reply via email to