Skip to content

build(appimage): pin libdatachannel against the OpenSSL 3.5.9 build (#2774) - #2814

Merged
zackees merged 1 commit into
masterfrom
fix/2774-appimage-openssl3
Oct 28, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/2774-appimage-openssl3

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

The AppImage still shipped the manylinux base's EOL OpenSSL 1.1.1k next to the pinned 3.5.9. Found while unpacking the artifact of run 40704567551 (--appimage-extract): usr/lib/libssl.so.1.1 = OpenSSL 1.1.1k FIPS, and readelf -d usr/lib/libdatachannel.so.0.24 = NEEDED libssl.so.1.1 / libcrypto.so.1.1. Qt Network links no OpenSSL (it dlopens it and takes the first versioned soname), so the 1.1.1 copies were what it bound, not the 3.5.9.

This is the libdatachannel half.

RED

The old pin: libdatachannel-0.24.6 built against the base image's OpenSSL (readelf above). Nothing in the repo asserted that no 1.1.1 is bundled, which is why it survived the #2802 wiring.

GREEN

  • obs-studio-libs#24: recipes/linux/libdatachannel.sh builds against /opt/obs-deps/openssl (3.5.9) — pkg-config, CMAKE_PREFIX_PATH, OPENSSL_ROOT_DIR — and asserts at build time that the installed library links libssl.so.3 and no libssl.so.1; build.sh builds openssl before libdatachannel. uv run pytest 43 passed.
  • Artifact republished under the existing libdatachannel-0.24.6 release, catalog updated (913c520): 1114574 bytes, sha256 98f2536522f69c8e3abe8dfa2564b460f65a056a8c744cb34f91d07627a2f129.
  • This PR bumps the deps.lock.json pin to that sha.

Unpacked artifact evidence:

$ readelf -d lib/libdatachannel.so.0.24 | grep NEEDED
  NEEDED  libssl.so.3
  NEEDED  libcrypto.so.3

Still open on #2774

libQt6Network.so.6 links libgssapi_krb5.so.2, so the base's krb5 (libkrb5, libk5crypto, libkrb5support) is bundled and those four need libcrypto.so.1.1. That is the remaining source of 1.1.1 in the AppDir and needs a Qt built with -DFEATURE_gssapi=OFF (OBS never uses Negotiate auth) or a pinned krb5; it is filed separately and the check_appdir.py gate that fails a bundle containing any 1.1.1 soname lands with it.

…2774)

libdatachannel.so.0.24 was the one bundled object with NEEDED
libssl.so.1.1/libcrypto.so.1.1 (the AlmaLinux 8 base's EOL 1.1.1k), which kept
1.1.1 in the AppDir beside the pinned 3.5.9 and left Qt Network - it dlopens
OpenSSL and takes the first versioned soname it finds - on 1.1.1.

obs-studio-libs#24 rebuilds the recipe against /opt/obs-deps/openssl and
asserts the link at build time; the artifact is republished under
libdatachannel-0.24.6 (1114574 bytes, sha256 98f2536522f69c8e3abe8dfa2564b460f65a056a8c744cb34f91d07627a2f129)
and the assets catalog updated (913c520). readelf -d on the unpacked artifact:
NEEDED libssl.so.3, libcrypto.so.3.

Refs #2774
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant