Repository navigation
test: test-appimage.sh reads the version line, not the first line of --version output - #1043
Merged
Merged
Conversation
…--version output Since the glibc 2.28 base (#927) the loader warns "libobs-va.so.2: no version information available" before --version's output. The checks required the whole stdout+stderr capture to start with OBS-Studio-Rust, so every distro test failed ("built with ENABLE_RUST_LIBOBS but does not report OBS-Studio-Rust") and, past that, the Rust/upstream path switch picked the upstream layout. app_version_line() takes the first line naming OBS; the three checks use it. Reproduced and verified under bosn on debian:trixie-slim with the AppImage from run 38869769545.
Member
Author
|
|
This was referenced Oct 16, 2026
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Oct 16, 2026
11 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every AppImage container test (Debian, Ubuntu, Fedora, Arch) currently fails with "this AppImage was built with ENABLE_RUST_LIBOBS but does not report OBS-Studio-Rust", though the app prints
OBS-Studio-Rust 0.1.0 (based on OBS …).Cause: since the glibc 2.28 base (#927), the loader prints
libobs-va.so.2: no version information availablebefore the version.test-appimage.shcaptures stdout and stderr together and required the whole capture to start withOBS-Studio-Rust. The same prefix test also chooses the Rust or upstream layout (line 300), so it then looked forusr/lib/obs-modules.Fix:
app_version_line()takes the first line that starts withOBS. The two version checks and the layout switch use it. Nothing compares the raw capture any more.RED → GREEN
ci/test_appimage_version_line.pyextractsapp_version_linefrom the script and runs it on the real output (warning, then version), on plain output, and on output with no version line. It fails on master, where no such function exists, and passes now. It also requires all three checks to useVERSION_LINEand none to compareVERSION_OUT.debian:trixie-slim(digest-pinned), with the AppImage artifact from run 38869769545:::error::this AppImage was built with ENABLE_RUST_LIBOBS but does not report OBS-Studio-Rust.Not fixed here: with this fixed, the
bundlescenario gets to its real check and reports 240 ELF files that resolve host libraries. That is mostly glibc after #927, pluslibffi.so.8. It's a policy question for #927 and is filed as #1042.