There I've1 also seen it fail on the btrfs module, so it's not specific to the LVM one.
It also happens with rebuilding the udisks source package (so not just changed ABI)
I tried building upstream git, but it fails due to some missing API, like
udiskslinuxmodulelvm2.c:438:29: error: implicit declaration of function 'udisks_logical_volume_get_uuid' [-Werror=implicit-function-declaration]
presumably libblockdev or some other build dep which moved along?
Anyway, this doesn't happen on Debian, and it's certainly not related to the current Ubuntu delta. So something in the stack must be different. glib2.0 would be the obvious candidate, but both Debian sid and Ubuntu noble have 2.78.1-4.
For investigating it is helpful to load the modules from the source tree:
It's a bit easier to investigate with
/usr/ libexec/ udisks2/ udisksd --debug --force- load-modules
There I've1 also seen it fail on the btrfs module, so it's not specific to the LVM one.
It also happens with rebuilding the udisks source package (so not just changed ABI)
I tried building upstream git, but it fails due to some missing API, like
udiskslinuxmodu lelvm2. c:438:29: error: implicit declaration of function 'udisks_ logical_ volume_ get_uuid' [-Werror= implicit- function- declaration]
presumably libblockdev or some other build dep which moved along?
Anyway, this doesn't happen on Debian, and it's certainly not related to the current Ubuntu delta. So something in the stack must be different. glib2.0 would be the obvious candidate, but both Debian sid and Ubuntu noble have 2.78.1-4.
For investigating it is helpful to load the modules from the source tree:
--- src/udisksmodul emanager. c.orig 2023-12-04 10:20:54.571542454 +0000 emanager. c 2023-12-04 10:21:01.047569622 +0000 module_ manager_ new (UDisksDaemon *daemon) MODULE_ MANAGER (g_object_new (UDISKS_ TYPE_MODULE_ MANAGER,
+++ src/udisksmodul
@@ -637,7 +637,7 @@
udisks_
{
return UDISKS_
- "daemon", daemon, NULL));
+ "daemon", daemon, "uninstalled", TRUE, NULL));
}
/**
and then
DEB_BUILD_ OPTIONS= nostrip CFLAGS="-g -O0" dpkg-buildpackage -us -uc -b -j4 -Pnodoc
for iterating:
make && sudo G_DEBUG= fatal-criticals LD_LIBRARY_ PATH=udisks/ .libs/ gdb --args src/.libs/udisksd --debug --force- load-modules