Bug #9739
closedUpdate flatpak runtime from 19.08 to 21.08
100%
Description
Chirp flatpak currently uses the 19.08 runtime, but that runtime is deprecated.
I've been able to build the chirp flatpak with the 21.08 runtime. A small patch is needed, and I've come up with two different ways to make the build succeed. The basic issue with using runtime 21.08 is that the libxml component tries (and fails) to build with python3.9, so we have to tell it to use python2.7 instead.
In version1.patch, the approach is to modify the configure script within the libxml component. The modified configure script then looks for python2.7, finds it, and the build succeeds.
In version2.patch, the approach is to pass an option flag into the libxml configure script, telling it to look for python in /app rather than in /bin. By looking in /app, the configure script finds the correct python2.7, and the build succeeds.
My opinion is that version2.patch is cleaner, but either one would let us move off the deprecated 19.08 runtime.
Files