Repository navigation
recipe(qt6): build Qt Network without GSSAPI (#2815) - #25
Merged
Merged
Conversation
libQt6Network.so.6 only NEEDs libgssapi_krb5.so.2 because qtbase is built with the GSSAPI feature on, and the AlmaLinux 8 base's krb5 libraries NEED libcrypto.so.1.1 -- which puts EOL OpenSSL 1.1.1k back into the AppImage next to the pinned 3.5.9. OBS makes no SPNEGO/Negotiate request, so the auth delegate is unused: configure qtbase with -DFEATURE_gssapi=OFF and pin it in tests/test_qt6_recipe.py. RED: the new test fails on the old recipe (no -DFEATURE_gssapi=OFF). GREEN: 46 passed, ruff check clean.
MCPVOT
pushed a commit
to MCPVOT/obs-studio
that referenced
this pull request
Oct 30, 2026
…bs-rust#2815) (obs-rust#2831) * appimage: pin the GSSAPI-free qt6 rebuild (r1) (obs-rust#2815) libQt6Network.so.6 NEEDed libgssapi_krb5.so.2 because qtbase was configured with the GSSAPI feature on, and the manylinux_2_28 base's krb5 libraries NEED libcrypto.so.1.1 -- so the AppImage carried EOL OpenSSL 1.1.1k beside the pinned 3.5.9. OBS makes no SPNEGO/Negotiate request. obs-studio-libs built qtbase with -DFEATURE_gssapi=OFF and published the Linux build under the r1 label (obs-rust/obs-studio-libs#25); this pins it and adds ci/test_appimage_qt6_gssapi_deps.py. RED: the test fails on master's lock (variant has no flavor, i.e. the original published build). GREEN: 3 tests OK. * docs(features): the AppImage ships no OpenSSL 1.1.1 (obs-rust#2815) * appimage: fail the assembly on an EOL OpenSSL 1.1.1 (obs-rust#2815) check_appdir.py now fails when the AppDir carries libssl.so.1.* / libcrypto.so.1.* or a bundled ELF NEEDs either soname -- the defect the r1 qt6 pin removes, so it cannot come back unnoticed. RED: the new cases fail without the check (assert_fails sees no error). GREEN: 29 tests OK; the guard passes on the AppImage extracted from appimage.yaml run 40736416916 and fails on a copy with a libcrypto.so.1.1 added. --------- Co-authored-by: zackees <[email protected]>
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 bundles EOL OpenSSL 1.1.1k because
libQt6Network.so.6NEEDslibgssapi_krb5.so.2, and the AlmaLinux 8 base's krb5 libraries NEEDlibcrypto.so.1.1. This is option 1 from obs-rust/obs-studio#2815.The change: configure qtbase with
-DFEATURE_gssapi=OFF. Qt's Network feature isqt_feature("gssapi" PUBLIC ... CONDITION NOT WIN32 AND GSSAPI_FOUND)insrc/network/configure.cmake, and the auth delegate it enables is SPNEGO/Negotiate only — OBS's HTTPS use (update check, service list, remote text sources) is a plainQNetworkAccessManagerclient, so nothing in the tree requests GSSAPI auth.-DFEATURE_openssl=ON -DFEATURE_openssl_linked=OFFis untouched, so the TLS client stays.Nothing else in the configure line changes, and the two submodules (
qtsvg,qtwayland) are unaffected.Evidence (local gate, the whole gate this repo has):
uv run --group dev pytest tests/test_qt6_recipe.pyfails on the old recipe —assert '-DFEATURE_gssapi=OFF' in flags.uv run --group dev pytest→46 passed;ruff check .→All checks passed!;ruff format --check .reports only the pre-existingtests/test_openssl_recipe.py.bash -n recipes/linux/qt6.sh→ clean.tests/test_qt6_recipe.pypins the flag (and that the OpenSSL client flags stay), so a future configure edit cannot quietly bring the delegate back.Not yet proven: the rebuilt artifact. The next step is a qt6 rebuild + repack in the manylinux stack image, a new
rNlabel, the release upload and the manifest entry onassets, then thedeps.lock.jsonbump in obs-studio and an unpacked-AppDir check thatlibgssapi_krb5.so.2andlibssl/libcrypto.so.1.1are gone. Thecheck_appdir.pyguard from the issue lands after that, when the bundle is actually clean.Refs obs-rust/obs-studio#2815