Re: BSD Compatibility

2024-11-26 Thread Martin-Éric Racine
Btw, if you have a succesful port, we could already apply the diff to Debian and get people to test the result, before we submit to upstream. Just ping me when you're ready. Martin-Éric ma 14.10.2024 klo 13.32 Martin-Éric Racine (martin-eric.rac...@iki.fi) kirjoitti: > > Hey Joan, > > Thanks for

Re: BSD Compatibility

2024-10-14 Thread Martin-Éric Racine
Hey Joan, Thanks for looking into this. If you ever succeed in porting dhcpcd to Hurd, please submit a diff to upstream. He will gladly merge it. Martin-Éric pe 11. lokak. 2024 klo 6.59 Damien Zammit (dam...@zamaudio.com) kirjoitti: > > I'm guessing its because of routes being defined as ioctls

Re: BSD Compatibility

2024-10-10 Thread Damien Zammit
I'm guessing its because of routes being defined as ioctls with slightly different header files in Hurd vs BSD (?) Likely Samuel's solution is correct to guard against incompatible headers being included in the Hurd path. Alternatively one could group the Hurd headers better so both APIs require

Re: BSD Compatibility

2024-10-10 Thread Samuel Thibault
Joan Lledó, le jeu. 10 oct. 2024 17:36:27 +0200, a ecrit: > On 10/10/24 17:18, Samuel Thibault wrote: > >> How can we fix this? > > > > We'd probably add && (!defined(__GNU__)) in the dhcpcd source code. > > But doesn't that mean we are actually not compatible? Yes. I don't know the details conc

Re: BSD Compatibility

2024-10-10 Thread Samuel Thibault
Hello, Joan Lledó, le jeu. 10 oct. 2024 17:05:43 +0200, a ecrit: > It fails because apparently we define the `BSD` macro. I checked it and it > comes from glibc: > > https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/mach/hurd/bits/param.h;h=48eeb7ddf5d62942d15705e0bcc19db05ed28fc7;hb=HEAD#

Re: BSD Compatibility

2024-10-10 Thread Joan Lledó
On 10/10/24 17:18, Samuel Thibault wrote: >> How can we fix this? > > We'd probably add && (!defined(__GNU__)) in the dhcpcd source code. > But doesn't that mean we are actually not compatible? Also, that's error prone bc without a deeper knowledge about the codebase it's hard to tell in whic

BSD Compatibility

2024-10-10 Thread Joan Lledó
Hi, This comes from: https://lists.debian.org/debian-hurd/2023/11/msg00030.html I was trying to build the dhcpcd package on the Hurd and it fails with this error: ``` In file included from arp.h:46, from privsep.h:134, from dhcpcd.h:96, from