I found the culprit, being a 0 byte "documents" file in the flatpak database. I filed an issue in the flatpak github.
https://github.com/flatpak/xdg-desktop- portal/issues/369#issuecomment-1068915444 I still don't know if this relates to libxml2, and if it is worth being investigated how that 0 byte file was created. Thanks for reading. ** Bug watch added: github.com/flatpak/xdg-desktop-portal/issues #369 https://github.com/flatpak/xdg-desktop-portal/issues/369 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964930 Title: Failed to start flatpak document portal service. To manage notifications about this bug go to: https://bugs.launchpad.net/libxml2/+bug/1964930/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs