Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951101 - media-libs/sdl2-mixer-2.8.1-r1: fails to compile (src/codecs/music_mpg123.c.o: in function `MPG123_Load': music_mpg123.c:(.text+0xaa): undefined reference to `mpg123_open_handle')
Summary: media-libs/sdl2-mixer-2.8.1-r1: fails to compile (src/codecs/music_mpg123.c.o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2024-10573
  Show dependency tree
 
Reported: 2025-03-10 06:45 UTC by Sam James
Modified: 2025-04-02 02:03 UTC (History)
3 users (show)

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


Attachments
build.log (file_951101.txt,45.74 KB, text/plain)
2025-03-10 06:45 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-10 06:45:49 UTC
Created attachment 920457 [details]
build.log

FAILED: [code=1] libSDL2_mixer-2.0.so.0.800.1 
: && /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -fPIC -O2 -Wformat -Werror=format-security  -Wl,-O1   -Wl,--no-undefined -Wl,--dependency-file=CMakeFiles/SDL2_mixer.dir/link.d -shared -Wl,-soname,libSDL2_mixer-2.0.so.0 -o libSDL2_mixer-2.0.so.0.800.1 CMakeFiles/SDL2_mixer.dir/src/codecs/load_aiff.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/load_voc.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/mp3utils.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_cmd.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_drflac.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_flac.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_fluidsynth.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_gme.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_minimp3.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_modplug.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_mpg123.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_nativemidi.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_ogg.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_ogg_stb.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_opus.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_timidity.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_wav.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_wavpack.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/music_xmp.c.o CMakeFiles/SDL2_mixer.dir/src/effect_position.c.o CMakeFiles/SDL2_mixer.dir/src/effect_stereoreverse.c.o CMakeFiles/SDL2_mixer.dir/src/effects_internal.c.o CMakeFiles/SDL2_mixer.dir/src/mixer.c.o CMakeFiles/SDL2_mixer.dir/src/music.c.o CMakeFiles/SDL2_mixer.dir/src/utils.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/common.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/instrum.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/mix.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/output.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/playmidi.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/readmidi.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/resample.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/tables.c.o CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/timidity.c.o  /usr/lib/libSDL2-2.0.so.0.3200.0  /usr/lib/libvorbisfile.so  /usr/lib/libFLAC.so  /usr/lib/libmpg123.so && :
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/SDL2_mixer.dir/src/codecs/music_mpg123.c.o: in function `MPG123_Load':
music_mpg123.c:(.text+0xaa): undefined reference to `mpg123_open_handle'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: music_mpg123.c:(.text+0xb6): undefined reference to `mpg123_seek'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: music_mpg123.c:(.text+0xc2): undefined reference to `mpg123_tell'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: music_mpg123.c:(.text+0xd1): undefined reference to `mpg123_length'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: music_mpg123.c:(.text+0xdd): undefined reference to `mpg123_replace_reader_handle'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: media-libs/sdl2-mixer-2.8.1-r1::gentoo failed (compile phase):
 *   ninja -v -j32 -l32 --jobserver failed

---

$ emerge --info
Portage 3.0.67-5+g3f6afc11b-dirty (python 3.13.2-final-0, default/linux/amd64/23.0/hardened, gcc-15, glibc-2.41.9999, 6.13.6 x86_64)
=================================================================
System uname: Linux-6.13.6-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.41
KiB Mem:    65738720 total,   7563624 free
KiB Swap:   16662520 total,  15788256 free
Timestamp of repository gentoo: Mon, 10 Mar 2025 03:48:39 +0000
Head commit of repository gentoo: f2b455eef1817ed76720b75819dedc1c9535795a

Timestamp of repository kde: Sat, 08 Mar 2025 17:04:22 +0000
Head commit of repository kde: 69dcea95c94a6e39b71a733f76df43009440c553

Timestamp of repository qt: Sun, 16 Feb 2025 18:51:59 +0000
Head commit of repository qt: a77029c92e97881af929ecd9f00dafbf52fe5460

Timestamp of repository sam_c: Fri, 07 Mar 2025 01:34:16 +0000
Head commit of repository sam_c: a821cb35fbeca7143bca474390128a6061b53ef2

sh dash 0.5.12-r1
ld GNU ld (Gentoo 9999 p1) 2.44.50.20250309
ccache version 4.11 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.3_beta_p20250307::gentoo
dev-build/autoconf:        2.69-r9::gentoo, 2.72-r1::gentoo, 9999::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r2::gentoo
dev-build/cmake:           3.31.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.1::gentoo
dev-lang/python:           3.10.16_p2::gentoo, 3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo, 3.13.2-r100::gentoo
dev-lang/rust:             1.85.0-r1::gentoo
dev-util/ccache:           4.11::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.7::gentoo, 20.1.0-r1::gentoo
llvm-core/lld:             20.1.0::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo, 20.1.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.45::gentoo
sys-apps/systemd:          257.3::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r9::gentoo, 2.41-r5::gentoo, 2.42-r2::gentoo, 2.43-r2::gentoo, 9999::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             10.5.0::gentoo, 11.5.0::gentoo, 12.4.1_p20250306::gentoo, 13.3.1_p20250307::gentoo, 14.2.1_p20250308::gentoo, 15.0.9999::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.13::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41.9999::sam_c
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    eclass-overrides: sam_c
    volatile: False
    sync-git-clone-extra-opts: -b stable -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0 -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now
    sync-git-verify-commit-signature: yes

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

sam_c
    location: /var/db/repos/sam_c
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sam_c.git
    masters: gentoo
    eclass-overrides: sam_c
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://www.mirrorservice.org/sites/distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

Installed sets: @sam-emacs, @sam-fonts, @sam-fortune, @sam-tests
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -mtls-dialect=gnu2 -flto=jobserver -fno-semantic-interposition -pipe -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -fdiagnostics-details -fdiagnostics-set-output=text:experimental-nesting=yes -Wa,-O2 -Wa,-mtune=znver2 -Warray-bounds  -Wstrict-aliasing -Wfree-nonheap-object -Wuninitialized -Wmaybe-uninitialized -Wreturn-type -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wformat-overflow -Wformat-truncation -Wbuiltin-declaration-mismatch -Wtautological-compare"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=native -mtls-dialect=gnu2 -flto=jobserver -fno-semantic-interposition -pipe -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -fdiagnostics-details -fdiagnostics-set-output=text:experimental-nesting=yes -Wa,-O2 -Wa,-mtune=znver2 -Warray-bounds  -Wstrict-aliasing -Wfree-nonheap-object -Wuninitialized -Wmaybe-uninitialized -Wreturn-type -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wformat-overflow -Wformat-truncation"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --complete-graph --deep --dynamic-deps=n --changed-deps=n --usepkg=y --implicit-system-deps=n --usepkg-exclude sys-fs/zfs --usepkg-exclude sys-fs/zfs-kmod --jobs=4 --load-average 32"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O3 -march=native -mtls-dialect=gnu2 -flto=jobserver -fno-semantic-interposition -pipe -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -fdiagnostics-details -fdiagnostics-set-output=text:experimental-nesting=yes -Wa,-O2 -Wa,-mtune=znver2 -Warray-bounds  -Wstrict-aliasing -Wfree-nonheap-object -Wuninitialized -Wmaybe-uninitialized -Wreturn-type -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wformat-overflow -Wformat-truncation"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg clean-logs config-protect-if-modified distlocks export-pms-vars fixlafiles ipc-sandbox merge-wait mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -march=native -mtls-dialect=gnu2 -flto=jobserver -fno-semantic-interposition -pipe -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -fdiagnostics-details -fdiagnostics-set-output=text:experimental-nesting=yes -Wa,-O2 -Wa,-mtune=znver2 -Warray-bounds  -Wstrict-aliasing -Wfree-nonheap-object -Wuninitialized -Wmaybe-uninitialized -Wreturn-type -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wformat-overflow -Wformat-truncation"
GENTOO_MIRRORS="https://www.mirrorservice.org/sites/distfiles.gentoo.org/ https://mirror.bytemark.co.uk/gentoo/ https://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-O3 -march=native -mtls-dialect=gnu2 -flto=jobserver -fno-semantic-interposition -pipe -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -fdiagnostics-details -fdiagnostics-set-output=text:experimental-nesting=yes -Wa,-O2 -Wa,-mtune=znver2 -Warray-bounds  -Wstrict-aliasing -Wfree-nonheap-object -Wuninitialized -Wmaybe-uninitialized -Wreturn-type -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wformat-overflow -Wformat-truncation -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wformat-overflow -Wformat-truncation -fdiagnostics-color=always -flto=jobserver -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="reflex"
LINGUAS="en en_GB"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities aes alsa amd64 avx avx2 bash-completion bluetooth branding bzip2 cairo caps cdda cdr crypt dbus declarative dist-kernel dri dts dvd dvdr editorconfig emacs encode exif f16c filecaps firewalld flac fma3 freetype gdbm gif gmp gpm graphite gtk gui hardened harfbuzz hunspell iconv icu ipv6 jit jpeg kde kdesu kf6compat kwallet lcms libnotify libtirpc lto mad mmx mmxext mng modules-compress mp3 mp4 mpeg multilib ncurses nftables nls ogg opengl openmp pam pango pclmul pcre pdf pgo pic pie pipewire plasma png policykit popcnt ppds pulseaudio qml qt5 qt6 rdrand readline screencast sdl seccomp semantic-desktop sha sound spell sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssp ssse3 startup-notification svg system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-leveldb system-libevent system-libs system-libvpx system-libyaml system-llvm system-lz4 system-mitkrb5 system-sqlite system-ssl system-tbb system-uulib system-webp system-zlib systemd test-rust tiff truetype udev udisks unicode upower usb valgrind verify-sig vorbis vulkan wayland widgets x264 xattr xcb xft xml xtpax xv xvid zlib zsh-completion" ABI_X86="32 64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_12 pypy3 python3_10 python3_11 python3_13 python3_13t" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="aarch64 aarch64_be alpha armeb hppa i386 m68k ppc ppc64 ppc64le sparc sparc64 x86_64" RUBY_TARGETS="ruby32 ruby31" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
YACC="byacc"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-10 06:46:53 UTC
$ CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-Wl,-O1" e sdl2-mixer-2.8.1-r1.ebuild clean compile

I'll look at it but tomorrow unless beaten to it.
Comment 2 Ionen Wolkens gentoo-dev 2025-03-10 07:02:43 UTC
Could've sworn that I tried abi_x86_32, maybe I had mp3 disabled when I did.
Comment 3 Ionen Wolkens gentoo-dev 2025-03-10 07:10:33 UTC
Not really looked, but giving vibes of issue being on mpg123's side unless there's some macro to select the right symbol or something.

# nm -D /usr/lib64/libmpg123.so | grep mpg123_seek
0000000000024330 T mpg123_seek
0000000000013c90 T mpg123_seek64
00000000000244d0 T mpg123_seek_64
0000000000024370 T mpg123_seek_frame
00000000000138e0 T mpg123_seek_frame64
00000000000244f0 T mpg123_seek_frame_64

# nm -D /usr/lib/libmpg123.so | grep mpg123_seek
00015340 T mpg123_seek64
00029aa0 T mpg123_seek_64
00014c70 T mpg123_seek_frame64
00029b20 T mpg123_seek_frame_64

Probably related to:
src/libmpg123/lfs_wrap.c:off_t attribute_align_arg mpg123_seek(...

Maybe these wrappers are not being built or something.
Comment 4 Ionen Wolkens gentoo-dev 2025-03-10 07:20:25 UTC
(only) when doing abi_x86_32, mpg123 gives:

configure: Detected system with enforced 64 bit offsets, dropping suffixless symbols for uncryptic ABI breakage.

sets FORCED_OFF_64, and wrappers are behind #ifndef FORCED_OFF_64

Dropping `append-lfs-flags` fixes it, not sure what to think of this but given all its internal handling for LFS maybe we don't need to pass that?
Comment 5 Ionen Wolkens gentoo-dev 2025-03-10 08:05:27 UTC
(In reply to Ionen Wolkens from comment #4)
> Dropping `append-lfs-flags` fixes it, not sure what to think of this but
> given all its internal handling for LFS maybe we don't need to pass that?
Seems append-lfs-flags appeared for the first time as part of mpg123-1.31.1 bump (commit 3b489d9604c80f3ec45826d21fe16c0ca6836e5a) without any specific note about it back in 2022.

Should we drop it? It only adds symbols and not remove, so I think it's safe.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-10 08:09:38 UTC
I think that sounds right.

append-lfs-flags is really for two things:
1) making off_t 64-bit, and
2) exposing the dual *64 interfaces for programs which want to use those

Neither of those apply here as mpg123 rolls its own, and it reasonably bails out from its mechanism when it sees 1).

Drop it, I think.
Comment 7 Larry the Git Cow gentoo-dev 2025-03-10 08:21:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292006da0e16c60ff4f9592edc2f594e3b4924b3

commit 292006da0e16c60ff4f9592edc2f594e3b4924b3
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-03-10 08:13:44 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-03-10 08:21:21 +0000

    media-sound/mpg123-base: do not use append-lfs-flags
    
    mpg123 does its own lfs handling, and passing this causes the
    32bit version of libmpg123 to drop its non-*64 symbols leading
    to revdeps that expect these to exist to fail.
    
    Bug: https://bugs.gentoo.org/945154
    Closes: https://bugs.gentoo.org/946818
    Closes: https://bugs.gentoo.org/951101
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../{mpg123-base-1.32.10.ebuild => mpg123-base-1.32.10-r1.ebuild}       | 2 --
 .../{mpg123-base-1.32.9.ebuild => mpg123-base-1.32.9-r1.ebuild}         | 2 --
 2 files changed, 4 deletions(-)