[PATCH] Resurrect x86-linux build.

2024-01-21 Thread Janneke Nieuwenhuizen
This avoids using system headers, which may result in kern/strings.c: In function 'strchr': kern/strings.c:188:32: error: 'NULL' undeclared (first use in this function) In file included from util/atoi.c:77: ./util/atoi.h:65:29: error: unknown type name 'u_char' device/net_io.

Re: Announcing: a new Hurd distro, based on Alpine Linux

2024-01-21 Thread Sergey Bugaev
On Sun, Jan 21, 2024 at 10:14 PM wrote: > I'd be happy to buy a sourcehut account for it for a year. > > I'd also be happy to create a website for it and host it for a year. > We should make this email (perhaps reword it) as the website's first > blog post. > > Software with which we can build a s

[PATCH hurd] Update rpctrace to use the new ABI for inlined port names

2024-01-21 Thread Flavio Cruz
--- utils/rpctrace.c | 83 +++- 1 file changed, 53 insertions(+), 30 deletions(-) diff --git a/utils/rpctrace.c b/utils/rpctrace.c index f7046a0..c8635a3 100644 --- a/utils/rpctrace.c +++ b/utils/rpctrace.c @@ -801,6 +801,18 @@ rewrite_right (mach_port_

[PATCH hurd 5/6] ftpfs: use correct function signature for interrupt_check

2024-01-21 Thread Flavio Cruz
--- ftpfs/ftpfs.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ftpfs/ftpfs.c b/ftpfs/ftpfs.c index 794439b..9310a56 100644 --- a/ftpfs/ftpfs.c +++ b/ftpfs/ftpfs.c @@ -51,8 +51,13 @@ struct ftpfs *ftpfs; /* Parameters describing the server we're connecting to. */ str

[PATCH hurd 6/6] hurdio: use correct function signature for hurdio_mdmstate

2024-01-21 Thread Flavio Cruz
--- term/hurdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/term/hurdio.c b/term/hurdio.c index c6e14a4..a3e2a0a 100644 --- a/term/hurdio.c +++ b/term/hurdio.c @@ -613,8 +613,8 @@ hurdio_mdmctl (int how, int bits) } -static int -hurdio_mdmstate (void) +static err

[PATCH hurd 2/6] procfs: remove unused rootdir_symlink_make_node

2024-01-21 Thread Flavio Cruz
Not needed since b2c97e251bb470e6f967c716081675a96dbde59c --- procfs/rootdir.c | 8 1 file changed, 8 deletions(-) diff --git a/procfs/rootdir.c b/procfs/rootdir.c index 7742edd..206a541 100644 --- a/procfs/rootdir.c +++ b/procfs/rootdir.c @@ -706,14 +706,6 @@ rootdir_file_make_node (voi

[PATCH hurd 3/6] Fix warnings in fstests

2024-01-21 Thread Flavio Cruz
--- fstests/fstests.c | 1 - fstests/timertest.c | 10 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/fstests/fstests.c b/fstests/fstests.c index b776503..ca60203 100644 --- a/fstests/fstests.c +++ b/fstests/fstests.c @@ -94,7 +94,6 @@ main (void) #endif printf

[PATCH hurd 4/6] x86_64: do not define mach_cpu_subtypes since we don't use it

2024-01-21 Thread Flavio Cruz
--- proc/cpu-types.c | 2 ++ proc/host.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/proc/cpu-types.c b/proc/cpu-types.c index 3d89d5a..7a814f6 100644 --- a/proc/cpu-types.c +++ b/proc/cpu-types.c @@ -38,6 +38,7 @@ const char *const mach_cpu_types[] = #endif }; +#ifndef __x86

[PATCH hurd 1/6] Restructure argument setup in hashbang

2024-01-21 Thread Flavio Cruz
We do a few things here: - Move search_path to the scope where it is used to make dependencies more clear. - Have a separate variable to store the file name we eventually need to free and move the free logic to happen in a single place. Both of this allows us to still free the name even if a f

Re: Announcing: a new Hurd distro, based on Alpine Linux

2024-01-21 Thread jbranso
January 20, 2024 at 3:03 PM, "Sergey Bugaev" wrote: > > Hello! > > Those of you who made it to Joshua's belated New Year's party have > heard me mumble my way through announcing this: I have been working on > a new Hurd-based disto, based on the Alpine Linux distribution [0]! > > [0] https:/

Re: Announcing: a new Hurd distro, based on Alpine Linux

2024-01-21 Thread Svante Signell
Hi Sergey. Sorry for top-posting.  This is very interesting, especially now when the Debian (GNU/Linux, GNU/Hurd) project is heading in the wrong direction. I'll take a closer look on Alpine in due time. Thanks! On Sat, 2024-01-20 at 23:03 +0300, Sergey Bugaev wrote: > Hello! > > Those of you