Bug#1010807: isc-dhcp: ftbfs on riscv64 arch
Source: isc-dhcp
Version: 4.4.3-1
Severity: normal
Tags: ftbfs patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org
Dear Maintainer,
The isc-dhcp package has a ftbfs issue on riscv64:
```
...
UNAME_MACHINE = riscv64
UNAME_RELEASE = 5.17.0-1-riscv64
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Debian 5.17.3-1 (2022-04-18)
configure: error: cannot guess build type; you must specify one
make[3]: *** [Makefile:42: bind1] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/bind'
make[2]: *** [Makefile:463: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:48: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:40: build-arch] Error 2
...
```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=isc-dhcp&arch=riscv64&ver=4.4.3-1&stamp=1651855032&raw=0
The attach patch is ok on my localy riscv64 hardware board.
But I am not sure this patch is right or not to fix the issue although
read through here:
https://wiki.debian.org/Autoreconf
BR,
Bo
fix ftbfs on riscv64 arch
Bo YU <tsu.yubo@gmail.com>
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,7 @@
dh $@ --parallel --with autoreconf
override_dh_auto_configure:
+ dh_autoreconf
override_dh_auto_build:
# ldap-enabled build
Reply to: