Skip to content

fix(release): unblock the AppImage and Flatpak jobs on the 0.1.0 run - #36

Merged
emir-hasanbegovic merged 1 commit into
mainfrom
fix/first-release-appimage-flatpak
Aug 23, 2026
Merged

fix(release): unblock the AppImage and Flatpak jobs on the 0.1.0 run#36
emir-hasanbegovic merged 1 commit into
mainfrom
fix/first-release-appimage-flatpak

Conversation

@emir-hasanbegovic

Copy link
Copy Markdown
Contributor

The 0.1.0 tag ran the release pipeline end to end for the first time. The .deb and .rpm containers passed everything, lintian and the install-and-launch smoke tests included; two jobs failed on their environment.

AppImage: ubuntu-22.04's gcc bakes _FORTIFY_SOURCE=2 into its specs, the hardening block redefines it to 3, and -Werror turns the redefinition fatal. The 24.04 CI runners never see it because their built-in already is 3. Fixed by undefining before defining, under the same not-Debug, not-sanitizer condition.

Flatpak: flatpak-builder shells out to eu-strip while finishing the libsodium module and the runner image does not carry elfutils. Added to the job's apt install.

After merge: retag 0.1.0 on the fixed commit and the release reruns in full.

Two first-run failures, both environmental. The AppImage job builds on
ubuntu-22.04, whose gcc bakes _FORTIFY_SOURCE=2 into its specs; the
hardening block redefines it to 3, and -Werror turns that redefinition
fatal. Undefine before defining. The Flatpak job dies at eu-strip:
flatpak-builder shells out to it and the runner image does not carry
elfutils.
@emir-hasanbegovic
emir-hasanbegovic enabled auto-merge (squash) August 23, 2026 14:02
@emir-hasanbegovic
emir-hasanbegovic merged commit 89cc932 into main Aug 23, 2026
13 checks passed
@emir-hasanbegovic
emir-hasanbegovic deleted the fix/first-release-appimage-flatpak branch August 23, 2026 14:15
emir-hasanbegovic added a commit that referenced this pull request Aug 23, 2026
…odules (#37)

Attempt 2 of the 0.1.0 release got both failing jobs past their
environment problems and into the next layer.

**AppImage:** jammy ships SDL 2.0.20; `SDLGamepadBridge.cpp` uses
`SDL_GameControllerPath` / `SDL_JoystickPath`, which need 2.24. The job
now builds the pinned SDL 2.30.9 (same version, checksum and
gamepad-only feature set as the Flatpak manifest's sdl2 module) and
linuxdeploy bundles it. The step runs after setup-qt because that action
overwrites `CMAKE_PREFIX_PATH`; the SDL prefix prepends to it.

**Flatpak:** SDL2's CMakeLists refuses an in-tree configure, and in-tree
is flatpak-builder's default for cmake modules. Both cmake modules
(`sdl2`, `dish`) now set `builddir: true`, in the flathub variant too.

Same follow-up as #36: retag 0.1.0 on the merge commit and the release
reruns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant