On Tue, 2022-10-18 at 10:17 +0800, Bo YU wrote: > Certainly. I have updated the patch with help of Paul Wise. > But I am not sure I understand it correctly. Yeah, The bind.tar.gz keeps > itself config.{guess/sub}, so I simply copy these files from system in > Makefile.
While that is a minimal workaround for the riscv64 FTBFS, I think a better option would be to unpack bind/bind.tar.gz manually before dh_update_autotools_config runs and also ensure that dh_autoreconf rebuilds things in the unpacked bind dir too, something like this: debian/rules # Ensure that the bind config.guess/config.sub are unpacked first, # otherwise they won't be updated and isc-dhcp will FTBFS on new arches execute_before_dh_update_autotools_config: cd bind && tar xf bind.tar.gz # Ensure that the bind build system gets rebuilt too override_dh_autoreconf: dh_autoreconf debian/autogen.sh debian/autogen.sh #!/bin/sh set -x autoreconf -f -i cd bind/bind-*/ autoreconf -f -i That is still only a workaround; the correct solution to this issue is that isc-dhcp should link against the bind9 libraries instead of adding a copy of bind9 to isc-dhcp. This would be more complicated though and would have to be done upstream not in Debian. -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part