Hi, On Wed, Oct 19, 2022 at 10:31:38AM +0200, Santiago Ruano Rinc�n wrote:
El 19/10/22 a las 11:29, Paul Wise escribi?: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 -iBo Yu, could you please check the attached patch instead? It comes from Ubuntu, where isc-dhcp seems to build OK.
I can confirm the patch from Ubuntu that fix the issue.
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.I am afraid that is no longer a possible solution. Please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942502
OK, maybe we can use the patch from Ubuntu here. Thanks for all again~ -- Regards, -- Bo YU
signature.asc
Description: PGP signature