Hello, Svante Signell, le lun. 13 nov. 2023 12:08:56 +0100, a ecrit: > util-linux FTBFS on hurd-i386 (built in the past, last successful build was > 2.39.1-4).
In general, better discuss directly with upstream. They commited a different fix, as attached: just not include hooks.c on non-linux :) Samuel
commit 1e0ad14b3ac08d855cda6de346a65f9b834e00db Author: Karel Zak <k...@redhat.com> Date: Mon Sep 18 13:08:57 2023 +0200 build-sys: fix libmount/src/hooks.c use Reported-by: Samuel Thibault <samuel.thiba...@aquilenet.fr> Signed-off-by: Karel Zak <k...@redhat.com> diff --git a/libmount/meson.build b/libmount/meson.build index ba95acf37..a9d4d7780 100644 --- a/libmount/meson.build +++ b/libmount/meson.build @@ -17,7 +17,6 @@ configure_file( lib_mount_sources = ''' src/mountP.h src/cache.c - src/hooks.c src/fs.c src/init.c src/iter.c diff --git a/libmount/src/Makemodule.am b/libmount/src/Makemodule.am index d474aea0c..367bc4673 100644 --- a/libmount/src/Makemodule.am +++ b/libmount/src/Makemodule.am @@ -11,7 +11,6 @@ libmount_la_SOURCES = \ libmount/src/mountP.h \ libmount/src/cache.c \ libmount/src/fs.c \ - libmount/src/hooks.c \ libmount/src/init.c \ libmount/src/iter.c \ libmount/src/lock.c \ @@ -31,6 +30,7 @@ libmount_la_SOURCES += \ libmount/src/context.c \ libmount/src/context_mount.c \ libmount/src/context_umount.c \ + libmount/src/hooks.c \ libmount/src/hook_mount.c \ libmount/src/hook_mount_legacy.c \ libmount/src/hook_mkdir.c \