On Tue, Dec 26, 2023 at 10:38 AM Martin-Éric Racine
<martin-eric.rac...@iki.fi> wrote:
>
> On Mon, Dec 25, 2023 at 12:20 AM Richard Laager <rlaa...@debian.org> wrote:
> >
> > 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.
>
> Only on linux-any.
>
> > 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.
>
> Not installing them on platforms where systemd has not been ported is
> the correct action.
>
> > 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:
>
> It built enough to have ntpdate. The Hurd patch was even updated just
> a few days before the version that added the build-depends on systemd.

$ LC_ALL=C apt policy ntpdate
ntpdate:
  Installed: 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-2+hurd.1
  Candidate: 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4
  Version table:
     1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4 500
        500 https://deb.debian.org/debian-ports unstable/main hurd-i386 Packages
     1:4.2.8p15+dfsg-2~1.2.2+dfsg1-3 500
        500 https://deb.debian.org/debian-ports unstable/main hurd-i386 Packages
 *** 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-2+hurd.1 500
        500 https://deb.debian.org/debian-ports unreleased/main
hurd-i386 Packages
        100 /var/lib/dpkg/status

Martin-Éric

Reply via email to