Bug 411771

Summary: Provide a 32-bit compatibility extension for flatpak runtime
Product: [Developer tools] Qt/KDE Flatpak Runtime Reporter: brezerk <brezerk>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: katyaberezyaka, nick
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description brezerk 2019-09-09 21:08:38 UTC
Similary to org.freedesktop.Platform.Compat.i386.

We are currently working on q4wine flatpak, which depends on Kde Sdk and requires multiarch support simultaneously. Providing a org.kde.Platform.Compat.i386 extension would help us very much.

Thanks!
Comment 1 Aleix Pol 2019-09-16 23:43:59 UTC
To be honest, I'm not sure what you need exactly. Flathub is already doing i386 builds.

In any case, patches (and merge requests are welcome):
https://invent.kde.org/kde/flatpak-kde-runtime/tree/qt5.13
Comment 2 brezerk 2019-09-17 15:09:21 UTC
32-bit builds are ok, but i need 64-bit flatpack runtime to *include* 32-bit toolchain (gcc, binutils + libararies) as an compatibility extension: https://github.com/flatpak/flatpak/wiki/Extensions

the primary reason for this is wine. It needs to have *both* 36 and 64 bit executables build at the same time. Obviously I can't build 32-bit wine binaries using 64-bit only flatpack runtime unfortunately.
Comment 3 Nick Richards 2019-09-19 16:10:50 UTC
Aleix, I *think* you might just need to add the compat extension to inherit-extensions here: https://invent.kde.org/kde/flatpak-kde-runtime/blob/qt5.13/org.kde.Sdk.json#L11

and then the app can call it if they want. I might be wrong though, it could '
just work' in the same way that Fractal uses the GNOME Runtime (which is also derived from FDo) and also calls the rust extension: https://github.com/flathub/org.gnome.Fractal/blob/61ea121792d925f7194981710a8431736ed1a125/org.gnome.Fractal.json#L6
Comment 4 soredake 2021-01-04 09:34:46 UTC
Any progress on this?