On 2023-12-12 04:52, Martin-Éric Racine wrote:
Build-Depends: systemd must be changed to systemd [linux-any], since systemd has not been powerted to non-Linux platforms.
I suspect that change would be necessary, but not sufficient. In commit 7f969a0ecab4ef3ab50defd4fe9d7e7a47817dbe, I wrote: Build-Depend on systemd This is required for the pkg-config file, so that waf will detect systemd and install the systemd units.If past me was correct, without systemd at build-time, waf will not install the systemd units. Then we will end up with other failures in debian/rules or from the .install files.
HURD is the only non-Linux platform that Debian supports these days, right? kFreeBSD is gone, IIRC.
The ntpsec package (like ntp before it, IIRC) does not build on HURD anyway. From debian/rules:
ifeq (hurd, $(DEB_HOST_ARCH_OS))
# hurd does not provided the system calls needed for ntpd to work.
exit 1
endif
I see a couple of ways forward here:
A) I properly indicate this package does not support HURD.
I think I would just replace the "Architecture: any" with
"Architecture: linux-any" on binary packages in debian/control, but
I would love confirmation on that.
B) Someone who cares about HURD figures out how much of this package can
reasonably be expected to work and submits a patch.
--
Richard
OpenPGP_signature.asc
Description: OpenPGP digital signature

