Bug 411771 - Provide a 32-bit compatibility extension for flatpak runtime
Summary: Provide a 32-bit compatibility extension for flatpak runtime
Status: RESOLVED FIXED
Alias: None
Product: Qt/KDE Flatpak Runtime
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-09 21:08 UTC by brezerk
Modified: 2021-06-26 22:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?