- Nov 15, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 09, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 14, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 11, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 06, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 27, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 26, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 19, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
For multi-arch co-installability after upgrading to a scout image that includes the libcurl shim, if we install all amd64 .debs, then we will also need to upgrade the corresponding version of Multi-Arch: same i386 .debs to a matching version. Fixes: 95cf1fef "debian: Build libcurl compat shim ..." Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 08, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This can either be run as an ordinary build-time test, in which case it uses the just-built mock libraries for the build architecture only, or as an integration test for the LD_LIBRARY_PATH Steam Runtime: ~/.steam/root/ubuntu12_32/steam-runtime/run.sh -- \ ~/tmp/steam-runtime-tools-tests/libcurl-compat.py --verbose in which case it expects to be run on an x86_64 machine, tests the mock libraries for both x86_64 and i386, and also asserts that the Steam Runtime has been set up to use the shim to provide the real libcurl ABI. Helps: steamrt/tasks#119 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
To test this mechanism, it's useful to have a set of libraries that implement a predictable interface between distributions. Use a small subset of the real libcurl API. Helps: steamrt/tasks#119 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The versioned dependency on base-files is necessary to have VERSION_CODENAME in os-release. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This works around ABI divergence from upstream in the libcurl in Debian/Ubuntu between about 2005 and 2018, which unfortunately includes the time at which Steam Runtime 1 'scout' started. Modern versions of libcurl have versioned symbols attached to a verdef CURL_OPENSSL_4, but Debian introduced versioned symbols before upstream did, and used CURL_OPENSSL_3. We want to be compatible with both. Similarly, modern upstream versions of libcurl when built against GNUTLS have versioned symbols attached to a verdef CURL_GNUTLS_4, but Debian introduced versioned symbols attached to a verdef CURL_GNUTLS_3, and is still using that verdef as of 2022. We want to be compatible with both, if we can. The trick here is that since glibc 2.30, the dynamic linker does not require triples (SONAME, version, symbol), but only looks for pairs of (SONAME, version) and, independently, (version, symbol). This means that dependencies on versioned symbols can be satisfied by any of the recursive dependencies of the library found when searching for the SONAME, and not just the library itself. glibc seems to have introduced this functionality so that glibc itself would be able to move symbols from its smaller libraries into libc.so.6 without breaking compatibility. The shim library has verdefs for both sets of versioned symbols, so it can be positioned in the search path as libcurl.so.4 and will satisfy both sets of requirements for the verdefs. For the actual symbols, it delegates to libsteam-runtime-system-libcurl.so.4 and libsteam-runtime-our-libcurl.so.4, which are expected to be set up by the runtime's setup.sh as symlinks to the real libraries that implement the two faces of libcurl. This requires some setup, which will be coordinated by a new version of setup.sh, in each of the pinned_libs_* directories. The real work is done by libcurl-compat/compat-setup.c, which uses the steam-runtime-tools library to find out whether the system libcurl is compatible with the expected ABIs. If there is no system copy of libcurl, then we do not need to do all this and can use the runtime's libcurl directly: binaries that rely on having a newer libcurl will fail, but by definition those binaries can't have been built or tested against the scout runtime. Helps: steamrt/tasks#119 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 01, 2022
-
-
Simon McVittie authored
Previously we were only using it for pressure-vessel, but it's also useful to be able to write test scripts in Python for other things. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 23, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 19, 2022
-
-
Simon McVittie authored
This avoids nasty surprises when we try to do a release and find that one of these suites has regressed. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 16, 2022
-
-
Simon McVittie authored
Meson 0.63.1 has been released and fixes this regression. This reverts commit a6ce46cb. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 11, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 03, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 02, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 29, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 27, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
I've backported this from Debian 11 to Steam Runtime 1 'scout', Steam Runtime 1½ 'heavy' and Steam Runtime 2 'soldier', and newer branches of the Steam Runtime are based on Debian 11 or newer, so we can count on having this available. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 26, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Collating test results into a log file can make failures easier to debug, particularly when tests are run in parallel or when testing s-r-launch-client (which manipulates terminal settings if its stdout/stderr happens to be a terminal). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 25, 2022
-
-
Simon McVittie authored
If launcher-service is (mostly) mechanism, then this is policy. It uses argv[1] and $STEAM_COMPAT_LAUNCHER_SERVICE to decide whether to wrap a launcher-service around a game process. The idea is that Steam will set STEAM_COMPAT_LAUNCHER_SERVICE to the most appropriate layer of the stack at which to be inserting arbitrary debugging commands into a game. In previous prototypes, this was open-coded into each compat tool, but centralizing it is a lot easier for compat tool authors. Put a version in the name we use, to ensure that if we find we need to make breaking changes, we can rename to a new interface version (and optionally keep the old one around too). To minimize its startup time cost, this doesn't use GLib, only glibc. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 22, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-