Skip to content

FormDAM 1.32.3: the AppImage step's cause is fixed, and the engine inside an AppImage is checked before it ships - #15

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/appimage-engine-libraries-1.32.3
Nov 27, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/appimage-engine-libraries-1.32.3

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormDAM 1.32.3: the AppImage step's cause is fixed, and the engine inside an AppImage is checked before it ships

Summary

  • The cause, from the 1.32.2 build log: ERROR: Could not find dependency: liblcms2-ff8c4a65.so.2.0.10. The AppImage tool asks what every library in the app needs and stops at the first one it cannot find. The frozen engine keeps some libraries in its own folders (rawpy.libs, pi_heif.libs), where two of its files cannot find them by themselves. The engine does not mind: when it runs, its start program puts the right folder on the library path. Only a tool that walks the files trips on it.
  • The fix: before the AppImage step, setup/build_linux_app asks the same question over the engine, finds the engine folders that hold the libraries not found, and puts those folders on the library path for that step only. The list is worked out at build time, so a new package with the same habit needs no edit.
  • A check after the build: the AppImage tool rewrites search paths in the libraries it walks. So the script then looks at the engine inside the AppImage's own folder: every library must find what it needs as at run time, and the engine must pass its self-check from there. If either fails, the AppImage counts as not built and is removed. An AppImage with a broken engine cannot become a release file.
  • The step is still try, so the deb ships either way. It becomes required once one release build has made a working AppImage.
  • The log's block of problem lines no longer lists the tool's copyright-file warnings, which buried the error in the 1.32.2 log.
  • Nothing in the app, the engine, or the macOS and Windows builds changed from 1.32.0.

Commits

  • fix(build): the AppImage tool is shown the engine's own library folders, and the engine inside the AppImage is checked
  • chore(release): v1.32.3

Version

1.32.3 in frontend/package.json, package-lock.json, src-tauri/Cargo.toml, Cargo.lock and the README badge. BUILD_NOTES.md has the v1.32.3 section; the detail is in src-tauri/HASHOUT_LOG.md.

Checks

All with the engine taken from the published 1.32.1 deb, and a stand-in for the AppImage tool that stops, as the tool does, on the first library ldd cannot find:

  • The 1.32.2 step fails with the build log's error (it names libde265 first, the other of the two libraries).
  • The new step finds pi_heif.libs and rawpy.libs, the stand-in passes, and the engine passes its self-check from the AppImage's folder.
  • With libraries taken out of the engine after the stand-in ran, the new check reports them, the AppImage file is removed and the script goes on; with APPIMAGE=required it stops with exit 1.
  • No test was added or changed.

Not run: the real AppImage tool. That it uses the library path to find libraries is its documented behaviour and is not confirmed here, and it may stop later on something else. If it does, the Linux job's log names it between the ---- AppImage step lines.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 27, 2026 06:02
@nodemode-ai
nodemode-ai merged commit 65311ec into main Nov 27, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the fix/appimage-engine-libraries-1.32.3 branch November 29, 2026 06:17
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