Bug 2142166

Summary: Steam stopping launch after mpg123-libs upgraded to 1.31.1-2 version (undefined symbol: mpg123_length_64)
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: mpg123Assignee: Wim Taymans <wtaymans>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: development.group, mtasaka, negativo17, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mpg123-1.31.1-3.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-03 02:47:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot
none
https://www.mpg123.de/faq.shtml none

Description Mikhail 2022-11-11 21:31:53 UTC
Created attachment 1923836 [details]
screenshot

Description of problem:
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



Version-Release number of selected component (if applicable):
Last good version 1.31.1-1.fc38

How reproducible:


Steps to Reproduce:
1. Upgrade system.
2. Launch steam client from RPM Fusion.
3.

Actual results:
Steam end working with message "Failed to load steamui.so - dlerror(): /lib/libsndfile.so.1: undefined symbol: mpg123_length_64"

Comment 1 Mikhail 2022-11-11 21:38:34 UTC
Here is commit which triggered issue: https://src.fedoraproject.org/rpms/mpg123/c/ff3cc66c959172330ab3f1ab3abada1f7d90bf3c?branch=rawhide

Comment 2 Mikhail 2022-11-11 22:11:37 UTC
Created attachment 1923839 [details]
https://www.mpg123.de/faq.shtml

This is due to libmpg123 being compiled with large file support and your app is trying to compile without... or the other way round. Usually, it is the case that you upgraded to mpg123 1.6, which enabled large file support as default and your app build fails to use the switch for enabling large support.

Solution
The usual case is resolved by this:

1. Make sure you use off_t properly for all file offsets (mpg123 API, but also other file I/O).
2. Add -D_FILE_OFFSET_BITS=64 to your compiler flags -- for the whole build.
Note that just disabling large file support in libmpg123 may be an option, but not a smart move. Everyone should use large file support nowadays and GNU/Linux distributions use it as default.

Comment 3 Mamoru TASAKA 2022-11-13 01:29:20 UTC
For now I've reverted -2 change using provenpackager power.

Comment 4 Ben Cotton 2023-02-07 15:13:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 5 Mamoru TASAKA 2023-03-03 02:47:55 UTC
Once closing this.