Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Bottles version >67.2: bwrap: Can't mkdir parents for /app/lib/debug/lib/i386-linux-gnu/GL: Read-only file system

Open infirit opened this issue 1 month ago • 4 comments

Describe the bug

For any version after bottles 67.2 I see this bwrap error

flatpak run com.usebottles.bottles
bwrap: Can't mkdir parents for /app/lib/debug/lib/i386-linux-gnu/GL: Read-only file system
error: ldconfig failed, exit status 256

To Reproduce

For me install any version after 67.2 will result in the described error.

Package

Flatpak from Flathub

Distribution

Cachyos

Debugging Information

flatpak run --command=bottles-cli com.usebottles.bottles info health-check
bwrap: Can't mkdir parents for /app/lib/debug/lib/i386-linux-gnu/GL: Read-only file system
error: ldconfig failed, exit status 256

Troubleshooting Logs


Additional context

Healthcheck for 67.2

❯ flatpak run --command=bottles-cli com.usebottles.bottles info health-check
Official Package: true
Version: '67.2'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
    Vulkan: true
Kernel:
    Type: Linux
    Version: 7.3.0-2-cachyos
Disk:
    Total: 16776134656
    Free: 16775958528
RAM:
    MemTotal: 31.2GiB
    MemAvailable: 23.6GiB
Bottles_envs: null

infirit avatar Oct 23 '26 23:10 infirit

This fails before Bottles starts. Please share flatpak --version and the GL, GL32 and Debug entries from flatpak list --runtime, including their branches. I need those to check the extension mount that is failing.

mirkobrombin avatar Oct 27 '26 07:10 mirkobrombin

I get the same error on Fedora 44 with Bottles 67.4 and CachyOS with 67.5 when org.freedesktop.Platform.GL32.Debug.default is installed but com.usebottles.bottles.Debug is not.

@mirkobrombin The GL32 debug extension is mounted inside /app/lib/debug, which is where Bottles' own Debug extension goes. Without that one, the directory is empty and read-only, so Flatpak can't create the mount point. Since 67.3 the manifest declares GL32.Debug, which is why only versions after 67.2 fail.

@infirit If you have org.freedesktop.Platform.GL32.Debug.default installed but not com.usebottles.bottles.Debug, either of these should fix it:

flatpak uninstall org.freedesktop.Platform.GL32.Debug.default
# or keep it and add Bottles' own debug extension:
flatpak install flathub com.usebottles.bottles.Debug

Steam's Flatpak fails the same way in this setup; see flathub/com.valvesoftware.Steam#1159.

mirfalltnixein avatar Oct 27 '26 21:10 mirfalltnixein

Fixed on Flathub now. The GL32 debug extension has its own mount, so Bottles starts without needing its Debug package installed too.

Thanks @mirfalltnixein for tracking down the missing mount. flathub/com.usebottles.bottles#565

mirkobrombin avatar Nov 04 '26 17:11 mirkobrombin

Sorry I have been busy. Yes, I do have opengl debug installed.

The latest version runs properly. Thanks.

infirit avatar Nov 05 '26 09:11 infirit