Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934751 - media-sound/sidplayfp-2.7.0: requires mpg123 output plugins for playback, but missing from RDEPEND
Summary: media-sound/sidplayfp-2.7.0: requires mpg123 output plugins for playback, but...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-23 00:39 UTC by conflictvegetable
Modified: 2024-06-24 15:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,6.62 KB, text/plain)
2024-06-23 00:39 UTC, conflictvegetable
Details

Note You need to log in before you can comment on or make changes to this bug.
Description conflictvegetable 2024-06-23 00:39:12 UTC
Created attachment 896272 [details]
emerge --info

media-sound/sidplayfp (2.7.0, but I see no reason why later versions shouldn't also be affected) searches for mpg123 output plugins at runtime to play back audio, but the ebuild does not have mpg123-output-plugins in RDEPEND, which causes it to be unexpectedly silent. Output to WAV (-w) or AU (--au) works fine.

Additionally, it is possible to emerge sidplayfp with USE '-alsa -oss -pulseaudio', with mpg123 output plugins installed, and it plays sound just fine. 

Testing note: sidplayfp requires SID files to work. I suggest grabbing a copy of the High Voltage SID Collection, unpacking it, and running 'sidplayfp <path to a SID>'. Any SID in that collection should work fine, but I tested with MUSICIANS/T/Tjelta_Geir/Echoes.sid.

Trimmed strace without media-plugins/mpg123-output-plugins installed:

openat(AT_FDCWD, "/usr/lib64/mpg123/output_pulse.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/mpg123/output_alsa.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/mpg123/output_sdl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/mpg123/output_dummy.so", O_RDONLY|O_CLOEXEC) = 3

The program is silent in this case.

With:

newfstatat(AT_FDCWD, "/usr/lib64/mpg123", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib64/mpg123/output_pulse.so", O_RDONLY|O_CLOEXEC) = 3

The program plays back music.