Your message dated Wed, 05 Aug 2026 17:31:09 +0000
with message-id <[email protected]>
and subject line Bug#1143544: Removed package(s) from unstable
has caused the Debian Bug report #1024242,
regarding isc-dhcp FTCBFS: uses the build architecture compiler
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 [email protected]
immediately.)


-- 
1024242: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024242
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: isc-dhcp
Version: 4.4.3-2.1
Tags: patch
User: [email protected]
Usertags: ftcbfs

isc-dhcp fails to cross build from source, because it uses the build
architecture compiler for embedded bind build. This is difficult to
observe, because the complete build log for the bind build (including
configure output and all compiler invocation) is hidden from the build
log (which violates a Debian policy should). Consider making the build
verbose by default. In any case, I'm attaching a patch to fix the
compiler for your convenience.

Helmut
diff --minimal -Nru isc-dhcp-4.4.3-P1/debian/changelog 
isc-dhcp-4.4.3-P1/debian/changelog
--- isc-dhcp-4.4.3-P1/debian/changelog  2022-10-13 14:12:54.000000000 +0200
+++ isc-dhcp-4.4.3-P1/debian/changelog  2022-11-16 08:13:20.000000000 +0100
@@ -1,3 +1,12 @@
+isc-dhcp (4.4.3-P1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + cross.patch: forward build/host/CC to inner configure
+    + export BUILD_CC for bind build
+
+ -- Helmut Grohne <[email protected]>  Wed, 16 Nov 2022 08:13:20 +0100
+
 isc-dhcp (4.4.3-P1-1) unstable; urgency=low
 
   * New upstream version 4.4.3-P1
diff --minimal -Nru isc-dhcp-4.4.3-P1/debian/patches/cross.patch 
isc-dhcp-4.4.3-P1/debian/patches/cross.patch
--- isc-dhcp-4.4.3-P1/debian/patches/cross.patch        1970-01-01 
01:00:00.000000000 +0100
+++ isc-dhcp-4.4.3-P1/debian/patches/cross.patch        2022-11-16 
08:13:20.000000000 +0100
@@ -0,0 +1,20 @@
+--- isc-dhcp-4.4.3-P1.orig/bind/Makefile.in
++++ isc-dhcp-4.4.3-P1/bind/Makefile.in
+@@ -21,14 +21,15 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ 
+-bindconfig = --without-openssl --without-libxml2 --without-libjson \
++bindconfig = --build=@build_alias@ --host=@host_alias@ CC=@CC@ \
++      --without-openssl --without-libxml2 --without-libjson \
+       --without-gssapi --disable-threads --without-lmdb \
+       --includedir=@includedir@ --libdir=@libdir@  --without-python\
+       @BINDLT@ @BINDIOMUX@ @BINDCONFIG@ --enable-full-report
+ 
+ @BIND_ATF_FALSE@cleandirs = ./lib ./include
+ @BIND_ATF_TRUE@cleandirs = ./lib ./include ./atf
+-cleanfiles = ./configure.log ./build.log ./install.log
++cleanfiles = /configure.log ./build.log ./install.log
+ 
+ bindlibs = isc dns isccfg irs
+ installdirs = includedir=${binddir}/include libdir=${binddir}/lib
diff --minimal -Nru isc-dhcp-4.4.3-P1/debian/patches/series 
isc-dhcp-4.4.3-P1/debian/patches/series
--- isc-dhcp-4.4.3-P1/debian/patches/series     2022-10-13 10:43:53.000000000 
+0200
+++ isc-dhcp-4.4.3-P1/debian/patches/series     2022-11-16 08:12:42.000000000 
+0100
@@ -17,3 +17,4 @@
 
 configure.patch
 
+cross.patch
diff --minimal -Nru isc-dhcp-4.4.3-P1/debian/rules 
isc-dhcp-4.4.3-P1/debian/rules
--- isc-dhcp-4.4.3-P1/debian/rules      2022-05-30 12:23:10.000000000 +0200
+++ isc-dhcp-4.4.3-P1/debian/rules      2022-11-16 08:13:20.000000000 +0100
@@ -25,9 +25,11 @@
 
 CONFFLAGS+=--prefix=/usr --enable-log-pid --enable-paranoia
 
+include /usr/share/dpkg/buildtools.mk
 # cross-architecture building
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 CONFFLAGS+=--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) 
--with-randomdev=/dev/random
+export BUILD_CC=$(CC_FOR_BUILD)
 endif
 
 # hurd support

--- End Message ---
--- Begin Message ---
Version: 4.4.3-P1-8+rm

Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to