[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcpcd5: FTBFS on Hurd-i386



On Fri, Jul 29, 2022 at 9:27 AM Jeffrey Walton <noloader@gmail.com> wrote:
>
> On Fri, Jul 29, 2022 at 2:09 AM Martin-Éric Racine
> <martin-eric.racine@iki.fi> wrote:
> >
> > On Thu, Jul 28, 2022 at 10:38 PM Samuel Thibault <sthibault@debian.org> wrote:
> > >
> > > Martin-Éric Racine, le jeu. 28 juil. 2022 21:30:42 +0300, a ecrit:
> > > > Actually, where it barfs is here:
> > > >
> > > > #if !defined(__linux__) && !defined(__QNX__) && !defined(__sun)
> > > > #include <sys/endian.h>
> > > > #else
> > > > #include "endian.h"
> > > > #endif
> > > >
> > > > What is the equivalent define for Hurd?
> > >
> > > It's just the same on the Hurd as on Linux, since that's just coming
> > > from glibc.
> >
> > Yet it FTBFS on Hurd at that precise point. That suggets we need to
> > patch that spot. Not knowing Hurd, I have no idea what the correct
> > fragment would be.
>
> If you want the Mach kernel, use __MACH__.  If you want GNU Hurd, use
> __GNU__ or __gnu_hurd__.
>
> The Pre-defined Operating System Macros list at Sourceforge is usually
> reliable. Also see
> https://sourceforge.net/p/predef/wiki/OperatingSystems/ .

Upstream says:

"Hurd is not a supported OS. At a minimum it would need an equivalent
of if-bsd.c being ported."

Does that ring any bell?

Martin-Éric


Reply to: