Stale rofiles-fuse mount blocks compilation of bundled flatpak dependencies
Nightly flatpak from gnome-nightly.
Steps to Reproduce
- Open a project in Builder and build against its flatpak manifest.
- Modify the flatpak manifest so that a bundled dependency has to be rebuilt.
- Try to build the project again.
- Build GNOME/nautilus>.
- Edit build-aux/flatpak/org.gnome.Nautilus.json and change
gexiv2's git tag.
- Build the project again.
The second build fails, with this error:
Build directory /home/antonio/.var/app/org.gnome.Builder/cache/gnome-builder/ flatpak-builder/rofiles/rofiles-ywu8zR not initialized, use flatpak build-init
The output of
mount confirms a stale mount:
rofiles-fuse on /home/antonio/.var/app/org.gnome.Builder/cache/gnome-builder/ flatpak-builder/rofiles/rofiles-ywu8zR type fuse.rofiles-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
The following command will let the the build run successfully once:
fusermount -u /home/antonio/.var/app/org.gnome.Builder/cache/gnome-builder/flatpak-builder/rofiles/rofiles-ywu8zR But the bug returns on the 2nd build after that.
Restating Builder does not solve the issue.
Installing the stable flatpak from flathub "fixes" the problem.