Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 200243

Summary: media-sound/moc will not play mp3s
Product: Gentoo Linux Reporter: James Laver <james.laver>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The log of the moc build

Description James Laver 2007-11-24 23:25:41 UTC
...despite the documentation saying all you need is libmad and libid3tag.

Without these the files would not show up in moc.

So i gave it the 'mad' USE flag and it pulled in libid3tag and it actually showed up the mp3 files this time. Yet when going to play it...:

Can't get decoder for /path/to/file.mp3

I'm using 2.5.0_alpha2 with these USE flags: alsa curl -debug ffmpeg flac -jack libsamplerate mad -modplug musepack -sid sndfile -speex -timidity vorbis -wavpack
Comment 1 James Laver 2007-11-24 23:26:53 UTC
Oh, forgot to mention this showed up with 2.4.1 as well, so it's not a version issue.

And the '2.5 alpha' version i'm on is now stable (and yet 2.4.2 is ~amd64....)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-11-24 23:40:33 UTC
/usr/lib64/moc/decoder_plugins/libmp3_decoder.so
/usr/lib64/moc/decoder_plugins/libmp3_decoder.la

Or just lib on 32bit, but you never posted "emerge --info" so hard to tell.

These get installed with USE="mad" and play mp3s.

Also need entire configure & build log to see if something went wrong.
Comment 3 James Laver 2007-11-25 00:13:41 UTC
Those are present.

emerge --info:

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Sat, 24 Nov 2007 21:46:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer -mfpmath=sse -msse3 -mmmx -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer -mfpmath=sse -msse3 -mmmx -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ "
LANG="en_GB.UTF-8"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bitmap-fonts cli cracklib crypt doc dri fortran gdbm gpm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 sse3 ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 James Laver 2007-11-25 00:18:15 UTC
Created attachment 136943 [details]
The log of the moc build

Here is the output for the entire build
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-11-25 17:18:16 UTC
I can't see anything wrong in the build log, and continues to work here on amd64, ~amd64 and ~x86. You could try removing insane flags "mfpmath=sse -mno-tls-direct-seg-refs" but I doubt it.

Does "objdump -p /usr/lib64/moc/decoder_plugins/libmp3_decoder.so | grep NEEDED" print also libmad?
Comment 6 James Laver 2007-11-25 17:41:51 UTC
Yes, I get libmad.so.0

revdep-rebuild didn't pick anything up and libmad.so.0 exists so doesn't appear to be a soname issue... hrm...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2008-03-01 10:36:22 UTC
Try 2.5.0_alpha3, it contains all the fixes from upstream "stable" series rel. 2.4.3 too.