ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Steam stopping launch after mpg123-libs upgraded to 1.31.1-2 version #8910

Open NTMan opened 1 year ago

NTMan commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

Steam stopping launch after mpg123-libs upgraded to 1.31.1-2 version. After downgrade mpg123-libs the steam resumed working.

$ DXVK_HUD=full steam -console steam.sh[3585]: Running Steam on fedora 38 64-bit steam.sh[3585]: STEAM_RUNTIME is enabled automatically setup.sh[3665]: Steam runtime environment up-to-date! steam.sh[3585]: Steam client's requirements are satisfied [2022-11-12 02:09:28] Startup - updater built Nov 11 2022 02:50:56 [2022-11-12 02:09:28] Startup - Steam Client launched with: '/home/mikhail/.local/share/Steam/ubuntu12_32/steam' '-console' [2022-11-12 02:09:28] Opted in to client beta 'publicbeta' via beta file You are in the 'publicbeta' client beta. Installing breakpad exception handler for appid(steam)/version(1668138960) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2022-11-12 02:09:35] Loading cached metrics from disk (/home/mikhail/.local/share/Steam/package/steam_client_metrics.bin) [2022-11-12 02:09:35] Using the following download hosts for Public, Realm steamglobal [2022-11-12 02:09:35] 1. https://client-update.akamai.steamstatic.com/, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2022-11-12 02:09:35] 2. https://cdn.cloudflare.steamstatic.com/, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2022-11-12 02:09:35] 3. http://media.steampowered.com/, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1668138960) [2022-11-12 02:09:35] Checking for update on startup [2022-11-12 02:09:35] Checking for available updates... [2022-11-12 02:09:35] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_publicbeta_ubuntu12 [2022-11-12 02:09:35] Manifest download: send request Installing breakpad exception handler for appid(steam)/version(1668138960) [2022-11-12 02:09:35] Manifest download: waiting for download to finish [2022-11-12 02:09:36] Manifest download: finished [2022-11-12 02:09:36] Download skipped by HTTP 304 Not Modified [2022-11-12 02:09:36] Nothing to do [2022-11-12 02:09:36] Verifying installation... [2022-11-12 02:09:36] Performing checksum verification of executable files Installing breakpad exception handler for appid(steam)/version(1668138960) Installing breakpad exception handler for appid(steam)/version(1668138960) [2022-11-12 02:11:18] Verification complete Failed to load steamui.so - dlerror(): /lib/libsndfile.so.1: undefined symbol: mpg123_length_64

[2022-11-12 02:16:46] Shutdown

Screenshot from 2022-11-12 02-12-47

Here is bugreport on Fedora bugtreaker: https://bugzilla.redhat.com/show_bug.cgi?id=2142166 Here is commit which triggered issue: https://src.fedoraproject.org/rpms/mpg123/c/ff3cc66c959172330ab3f1ab3abada1f7d90bf3c?branch=rawhide

Nanotwerp commented 1 year ago

A quick fix to keep the same mpg123 version would be to: git clone https://src.fedoraproject.org/rpms/mpg123.git

cd mpg123

Remove the line that has --disable-largefile and remove the\ at the end of the preceding line.

Download the source file with spectool -g mpg123.spec and compile for 32-bit Rawhide with fedpkg --release rawhide mockbuild --mock-config=/etc/mock/fedora-rawhide-i386.cfg.

cd to the subdirectory where the RPM's are, inside of results_mpg123/

sudo dnf reinstall mpg123-libs-1.31.1-2.fc38.i686.rpm

TTimo commented 1 year ago

This is a Fedora issue, I would assume they didn't intend to change the libsndfile ABI and will revert back. If the ABI really needs to change, then the name versioning should update as well, e.g. libsndfile.so.2

smcv commented 1 year ago

I think it's the libmpg123 ABI that has broken, not the libsndfile ABI (libsndfile is the victim here); but yes this looks like a Fedora issue, which needs solving in Fedora by making the libraries consistent with each other again.

smcv commented 1 year ago

Debian compiles mpg123 with --enable-lfs-alias, which makes its 32-bit builds export symbols for both 32- and 64-bit off_t. For maximum binary-compatibility, Fedora (and other distributions that ship a 32-bit libmpg123) should probably do the same.