Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102716 > unrolled thread

Bug#1010807: isc-dhcp: ftbfs on riscv64 arch

Started byBo YU <tsu.yubo@gmail.com>
First post2022-05-10 16:00 +0200
Last post2022-05-11 02:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1010807: isc-dhcp: ftbfs on riscv64 arch Bo YU <tsu.yubo@gmail.com> - 2022-05-10 16:00 +0200
    Bug#1010807: isc-dhcp: ftbfs on riscv64 arch Paul Wise <pabs@debian.org> - 2022-05-11 02:50 +0200

#1102716 — Bug#1010807: isc-dhcp: ftbfs on riscv64 arch

FromBo YU <tsu.yubo@gmail.com>
Date2022-05-10 16:00 +0200
SubjectBug#1010807: isc-dhcp: ftbfs on riscv64 arch
Message-ID<Elyz7-eyqL-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [next] | [standalone]


#1102772

FromPaul Wise <pabs@debian.org>
Date2022-05-11 02:50 +0200
Message-ID<ElII9-eEsk-1@gated-at.bofh.it>
In reply to#1102716

[Multipart message — attachments visible in raw view] — view raw

On Tue, 2022-05-10 at 21:54 +0800, Bo YU wrote:

> 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:

I don't think this is the best way to fix this issue.

dh_autoreconf should already be being run automatically before
dh_auto_configure and according to the build log it is and config.guess
and config.sub are already be updated before the autoreconf because
dh_update_autotools_config already runs first.

The problem is that there is a config.guess inside of bind/bind.tar.gz
in the isc-dhcp source package and the build process unpacks it after
dh_update_autotools_config and dh_autoreconf are run.

I think the right thing to do would be to unpack bind/bind.tar.gz
manually before dh_update_autotools_config runs. It looks like the
upstream Makefile will cope with that. Probably should also make
dh_autoreconf rebuild things in the unpacked bind dir too.

Since isc-dhcp is orphaned upstream, perhaps removing it from Debian is
the right solution. There was a thread about that on debian-devel:

https://www.isc.org/blogs/dhcp-client-relay-eom/
https://lists.debian.org/msgid-search/cbed3fa8-cee2-11ec-a5ca-491f092f230a@msgid.mathom.us

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web