You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: link the pinned brotli 1.2.1 into the AppImage's libcurl build and bundle it (#2774 slice 2) #2782
Slice 2 of #2774, split out so it does not block on the rest of that issue. The brotli artifact is published: obs-rust/obs-studio-libs#22 adds recipes/linux/brotli.sh (brotli 1.2.1) and release brotli-1.2.1 carries brotli-1.2.1-linux-x86_64-glibc2.28-release.tar.zst (sha256 eb4f2214dbc91eb1529e4a61499fce26ae03c06dde10935cdc6e8cf0d1b0793d), with brotli/manifest.json and the root Index on the assets branch.
Why
The AppImage's libcurl is rebuilt from AlmaLinux's curl source RPM inside build-aux/appimage/manylinux/Dockerfile, and that build picks up the base's brotli 1.0.6 — inside CVE-2026-111497's range. Until the shipped libbrotlidec is past 1.2.0, #2211's outgoing-HTTP stop-gap cannot be reverted. The base stays glibc 2.28 (#926); this is a dependency substitution, not a base bump.
Work
Add the brotli artifact to the image's dependency set: pin its sha256 in build-aux/appimage/manylinux/deps.lock.json, fetch it into /opt/obs-deps/brotli (the same obs-studio-libs fetch --lock step the other tools use), and add /opt/obs-deps/brotli to the image's CMAKE_PREFIX_PATH/PKG_CONFIG_PATH.
Make the libcurl RPM rebuild link the pinned brotli. The fetch step currently runs after the RPM build; move the fetch (and the uv install it needs) ahead of it, and give rpmbuild a PKG_CONFIG_PATH/CMAKE_PREFIX_PATH/LD_LIBRARY_PATH that resolves /opt/obs-deps/brotli, so curl.spec's --with-brotli links 1.2.1 instead of 1.0.6. Keep --with-ca-fallback and the /etc/pki/tls/certs/ca-bundle.crt absence check as they are.
Make sure the AppImage actually bundles the pinned libbrotli{common,dec,enc}.so.1 (the curl link resolves from the prefix, not /usr/lib64); extend whatever dependency walker already collects the AppImage's libraries, and keep the glibc-floor check green.
Verify on the rebuilt artifact, not on source: usr/lib/libcurl.so.4 reports the pinned brotli and BrotliDecoderVersion() is past 1.2.0; check-glibc-floor.py passes; test-appimage.sh passes across AlmaLinux 8, Ubuntu 22.04/24.04 and Arch. Paste the version output in the PR.
The pinned curl 8.x recipe (#2774's other half) is independent of this and can land in either order, as long as this image build links whichever brotli it ships.
RED: ci/test_appimage_brotli_deps.py pinning the three invariants — brotli 1.2.1 in deps.lock.json at /opt/obs-deps/brotli, that prefix on the image's CMake/pkg-config/loader paths, and the dependency fetch ordered before the libcurl RPM rebuild so curl.spec's --with-brotli resolves 1.2.1. Fails on master.
GREEN: add the locked entry (sha256 eb4f2214…b0793d, from the published brotli-1.2.1 release manifest, which I re-read from the assets branch before pinning), move the uv + fetch steps above the RPM block, and pass the brotli prefix to rpmbuild.
Verify on the rebuilt image and AppImage, not on source: pkg-config --modversion libbrotlidec in the image, usr/lib/libcurl.so.4's DT_NEEDED + BrotliDecoderVersion() past 1.2.0 on the artifact, the glibc floor check, and test-appimage.sh. Evidence goes in the PR.
What changed: build-aux/appimage/manylinux/deps.lock.json now pins the published brotli-1.2.1 artifact (/opt/obs-deps/brotli, sha256 eb4f2214…b0793d), and the Dockerfile fetches it before the libcurl source-RPM rebuild with that prefix first on PKG_CONFIG_PATH/CMAKE_PREFIX_PATH/LD_LIBRARY_PATH, so curl.spec's --with-brotli resolves 1.2.1. The rebuild now asserts its own result instead of failing silently: it prints pkg-config --modversion libbrotlidec and checks ldd /usr/lib64/libcurl.so.4 resolves the brotli libraries under the prefix.
Verified on the artifact, not the source: the image's libcurl reports brotli/1.2.1, the built AppImage's usr/lib carries libbrotli{common,dec}.so.1 at BrotliDecoderVersion=1.2.1 (not the base's 1.0.6 from /usr/lib64), check-glibc-floor.py reports all 257 ELF files still run on glibc 2.28, and ci/test_appimage_brotli_deps.py pins all three invariants offline. Acceptance run 40686948715 (platform_tests=true) is green: full app build plus test-appimage.sh on AlmaLinux 8, Ubuntu 22.04, Ubuntu 24.04, Arch and the NixOS wrap.
What's left (all outside this slice, tracked by #2774):
the pinned curl 8.x / OpenSSL recipe, i.e. the other two EOL libraries;
Activity
zackees commentedon Oct 28, 2026
Claiming: #2782 (slice 2 of #2774).
Plan, one PR:
ci/test_appimage_brotli_deps.pypinning the three invariants — brotli 1.2.1 indeps.lock.jsonat/opt/obs-deps/brotli, that prefix on the image's CMake/pkg-config/loader paths, and the dependency fetch ordered before the libcurl RPM rebuild socurl.spec's--with-brotliresolves 1.2.1. Fails on master.sha256 eb4f2214…b0793d, from the publishedbrotli-1.2.1release manifest, which I re-read from theassetsbranch before pinning), move the uv + fetch steps above the RPM block, and pass the brotli prefix torpmbuild.pkg-config --modversion libbrotlidecin the image,usr/lib/libcurl.so.4's DT_NEEDED +BrotliDecoderVersion()past 1.2.0 on the artifact, the glibc floor check, andtest-appimage.sh. Evidence goes in the PR.Expected first PR: this tick's push.
test(appimage): pin the brotli libcurl links to the locked 1.2.1 (#2782)
build(appimage): link the pinned brotli 1.2.1 into the AppImage's lib…
zackees commentedon Oct 28, 2026
Fixed by #2786, merged as
e86118b06.What changed:
build-aux/appimage/manylinux/deps.lock.jsonnow pins the publishedbrotli-1.2.1artifact (/opt/obs-deps/brotli, sha256eb4f2214…b0793d), and the Dockerfile fetches it before the libcurl source-RPM rebuild with that prefix first onPKG_CONFIG_PATH/CMAKE_PREFIX_PATH/LD_LIBRARY_PATH, socurl.spec's--with-brotliresolves 1.2.1. The rebuild now asserts its own result instead of failing silently: it printspkg-config --modversion libbrotlidecand checksldd /usr/lib64/libcurl.so.4resolves the brotli libraries under the prefix.Verified on the artifact, not the source: the image's libcurl reports
brotli/1.2.1, the built AppImage'susr/libcarrieslibbrotli{common,dec}.so.1atBrotliDecoderVersion=1.2.1(not the base's 1.0.6 from/usr/lib64),check-glibc-floor.pyreports all 257 ELF files still run on glibc 2.28, andci/test_appimage_brotli_deps.pypins all three invariants offline. Acceptance run 40686948715 (platform_tests=true) is green: full app build plustest-appimage.shon AlmaLinux 8, Ubuntu 22.04, Ubuntu 24.04, Arch and the NixOS wrap.What's left (all outside this slice, tracked by #2774):
curl8.x / OpenSSL recipe, i.e. the other two EOL libraries;Accept-Encoding: gzip, deflatestop-gap — its gate ("brotli on every shipped artifact past the vulnerable range") is now satisfied for the AppImage, and the Windows/macOS artifacts were already clear.appimage: link the pinned brotli 1.2.1 into the AppImage's libcurl (o…
appimage: take libcurl 8.23.0 and OpenSSL 3.5.9 from the lock (obs-ru…