Repository navigation
build(appimage): pin libdatachannel against the OpenSSL 3.5.9 build (#2774) - #2814
Merged
Merged
Conversation
…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
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.
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, andreadelf -d usr/lib/libdatachannel.so.0.24=NEEDED libssl.so.1.1/libcrypto.so.1.1. Qt Network links no OpenSSL (itdlopens 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.6built against the base image's OpenSSL (readelfabove). 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.shbuilds 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 linkslibssl.so.3and nolibssl.so.1;build.shbuilds openssl before libdatachannel.uv run pytest43 passed.libdatachannel-0.24.6release, catalog updated (913c520): 1114574 bytes, sha25698f2536522f69c8e3abe8dfa2564b460f65a056a8c744cb34f91d07627a2f129.deps.lock.jsonpin to that sha.Unpacked artifact evidence:
Still open on #2774
libQt6Network.so.6linkslibgssapi_krb5.so.2, so the base's krb5 (libkrb5,libk5crypto,libkrb5support) is bundled and those four needlibcrypto.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 thecheck_appdir.pygate that fails a bundle containing any 1.1.1 soname lands with it.