media-sound/xmms2 version 0.7-r3 ebuild cannot play mp4 (aac) file. with USE="aac alsa asf cdda ffmpeg flac gvfs mac mad mms mp3 musepack oss pulseaudio python samba server vocoder vorbis wavpack xml -airplay -ao -avahi -curl -cxx -ices -jack -mlib-update -modplug -ofa -perl -phonehome -ruby -sid -speex" ----------------------------------- But xmms2-0.7 install from source can actually play the mp4 file Reproducible: Always Steps to Reproduce: 1. An aac file that can be play with mplayer or mplayer2 # ffprobe 03\ Infiltration.m4a ffprobe version 0.7-rc1, Copyright (c) 2007-2011 the FFmpeg developers built on Aug 3 2011 20:59:51 with gcc 4.4.5 configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --disable-indev=v4l --disable-indev=v4l2 --disable-indev=jack --enable-x11grab --enable-libfreetype --disable-altivec --disable-avx --cpu=nocona --enable-hardcoded-tables libavutil 50. 40. 1 / 50. 40. 1 libavcodec 52.120. 0 / 52.120. 0 libavformat 52.108. 0 / 52.108. 0 libavdevice 52. 4. 0 / 52. 4. 0 libavfilter 1. 77. 0 / 1. 77. 0 libswscale 0. 13. 0 / 0. 13. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '03 Infiltration.m4a': Metadata: major_brand : M4A minor_version : 0 compatible_brands: M4A mp42isom creation_time : 2019-01-18 22:16:41 title : Infiltration artist : Cris Velasco & Sascha Dikiciyan album : Mass Effect 2: Kasumi's Stolen Memory - EP track : 3 date : 2010-11-30T08:00:00Z copyright : ℗ 2010 Electronic Arts Music Duration: 00:02:35.57, start: 0.000000, bitrate: 292 kb/s Stream #0.0(eng): Audio: aac, 44100 Hz, stereo, s16, 262 kb/s Metadata: creation_time : 2019-01-18 22:16:41 2. # xmms2 add 03\ Infiltration.m4a Added 03 Infiltration.m4a 3. # xmms2 list ... there's no playlist 4. install xmms2-0.7 from tarball can play the above file Actual Results: there's message in ~/.cache/xmms2/xmms2d.log 13:31:59 ERROR: ../src/xmms/xform.c:1453: Couldn't set up chain for 'file:///home/ning/music/mass+effect/%e5%8e%9f%e5%a3%b0%e5%a4%a7%e7%a2%9f.-.%5b%e8%b4%a8%e9%87%8f%e6%95%88%e5%ba%942.%e9%9c%9e.%e5%a4%b1%e7%aa%83%e7%9a%84%e8%ae%b0%e5%bf%86%e4%b8%93%e8%be%91.Mass.Effect.2.Kasumi%27s+Stolen+Memory%5d.%e4%b8%93%e8%be%91.%28M4A%29/03+Infiltration.m4a' (1579 Expected Results: should play mp4(aac) file
################ emerge --info ################################### Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, libc-0-r0, 2.6.36-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8800_@_2.66GHz-with-gentoo-1.12.14 Timestamp of tree: Thu, 29 Sep 2011 03:30:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.25-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.11.3 virtual/os-headers: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ http://123.58.173.89/gentoo/ http://ftp.lecl.net/pub/gentoo/ http://ftp.daum.net/gentoo/" LANG="en_US" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr consolekit cracklib crypt cvs cxx dbus dell divx dri dts dvd dvdr dynamic eds emboss encode evo exif faad fam firefox flac fontconfig gdbm gdu gif gimp gnome gnome-keyring gnutls gtk gtk2 gtkhtml hal iconv ithreads jpeg kpathsea lcms libnotify mad mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib nautilus nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf png policykit ppds pulseaudio python qt qt3support readline samba sdl session spell sse sse2 ssl ssse3 startup-notification svg sysfs tiff truetype udev unicode usb vcd vorbis wavpack wma x264 xcb xetex xinerama xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
########## emerge xmms2 output shows the configure result of xmms2 ############# >>> Emerging (1 of 1) media-sound/xmms2-0.7-r3 * xmms2-0.7DrNo.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: media-sound/xmms2-0.7-r3 * Repository: gentoo * Maintainer: slyfox@gentoo.org * USE: aac alsa amd64 asf cdda elibc_glibc ffmpeg flac gvfs kernel_linux mac mad mms mp3 multilib musepack oss pulseaudio python samba server userland_GNU vorbis wavpack xml * FEATURES: sandbox >>> Unpacking source... >>> Unpacking xmms2-0.7DrNo.tar.bz2 to /var/tmp/portage/media-sound/xmms2-0.7-r3/work >>> Source unpacked in /var/tmp/portage/media-sound/xmms2-0.7-r3/work >>> Preparing source in /var/tmp/portage/media-sound/xmms2-0.7-r3/work/xmms2-0.7DrNo ... * Applying xmms2-0.7DrNo-windres-build-fix.patch ... [ ok ] * Applying xmms2-0.7DrNo-missing-protos.patch ... [ ok ] * Applying xmms2-0.7DrNo-XsParse-3.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/xmms2-0.7-r3/work/xmms2-0.7DrNo ... Checking for program gcc,cc : ok x86_64-pc-linux-gnu-gcc Checking for program ar : ok x86_64-pc-linux-gnu-ar Checking for program ranlib : ok x86_64-pc-linux-gnu-ranlib Checking for program g++,c++ : ok x86_64-pc-linux-gnu-g++ Checking for git commit id : ok 4bd0e653c2fd8b36a5f2ae4203ff0b37b03180f0 Checking for uncommitted changes : ok Checking for compiler flags -Wall : ok Checking for compiler flags -Wno-format-extra-args : ok Checking for compiler flags -Wno-format-zero-length : ok Checking for compiler flags -Wformat-nonliteral : ok Checking for compiler flags -Wformat-security : ok Checking for compiler flags -Wformat=2 : ok Checking for compiler flags -Wmissing-prototypes : ok Checking for compiler flags -Wstrict-prototypes : ok Checking for compiler flags -Wempty-body : ok Checking for compiler flags -Wignored-qualifiers : ok Checking for compiler flags -Wtype-limits : ok Checking for compiler flags -Wwrite-strings : ok Checking for platform code for posix : ok Checking for glib-2.0 >= 2.8.0 : ok Checking for library m : ok Checking for libxml-2.0 : ok Checking for header sys/soundcard.h : ok Checking for library ossaudio : not found Checking for libpulse : ok Checking for vorbisfile : ok Checking for library m : ok Checking for function fstatat : ok Checking for function dirfd : ok Checking for wavpack : ok Checking for libavcodec : ok Checking for header avcodec.h : not found Checking for header libavcodec/avcodec.h : ok Checking for libcdio_cdda : ok Checking for libdiscid : ok Checking for libmpg123 >= 1.5.1 : ok Testing mpg123 with default off_t : ok Checking for gio-2.0 : ok Checking for alsa : ok Checking for header mpc/mpcdec.h : ok Checking for library mpcdec : ok Checking for mms : not found Checking for libmms : ok Checking for header mac/All.h : ok Checking for library mac : ok Checking for library mac : ok Checking for header libsmbclient.h : ok Checking for library smbclient : ok Checking for flac : ok Checking for library m : ok Checking for libxml-2.0 : ok Checking for library m : ok Checking for header faad.h : ok Checking for library faad : ok Checking for mad : ok Checking for header ['stdio.h', 'readline/readline.h'] : ok Checking for function rl_filename_dequoting_function : ok Checking for program python : ok /usr/bin/python2.7 Checking for Python version : 2.7.1 Checking for library python2.7 : ok Checking for program python2.7-config : not found Checking for program python-config-2.7 : ok /usr/bin/python-config-2.7 Checking for header Python.h : ok Checking for program pyrexc : ok /usr/bin/pyrexc Checking for gmodule-2.0 >= 2.6.0 : ok Checking for gthread-2.0 >= 2.6.0 : ok Checking for sqlite3 >= 3.5 : ok Checking for function sin : ok Checking for function localtime_r : ok Checking for header sys/vfs.h : ok Checking for function semctl : ok Checking for union semun : fail Checking for valgrind : not found Checking for function nanosleep : ok Checking for function modf : ok Checking for function semtimedop : ok Default output plugin: alsa Optional configuration: ====================== Enabled: cli, launcher, nycli, pixmaps, python Disabled: avahi, dns_sd, et, medialib-updater, perl, ruby, tests, vistest, xmmsclient++, xmmsclient++-glib, xmmsclient-cf, xmmsclient-ecore Plugins configuration: ====================== Output: alsa, diskwrite, null, oss, pulse XForm/Other: apefile, asf, asx, avcodec, cdda, cue, equalizer, faad, file, flac, flv, gvfs, html, icymetaint, id3v2, karaoke, m3u, mac, mad, mms, mpg123, musepack, normalize, nulstripper, pls, replaygain, rss, samba, tta, vorbis, wave, wavpack, xml, xspf Disabled: airplay, ao, coreaudio, curl, daap, gme, ices, jack, modplug, mp4, nms, ofa, sc68, sid, speex, sun, tremor, vocoder, waveout 'configure' finished successfully (3.188s) >>> Source configured. ...
############ ./waf configure output in xmms2-0.7 source directory ############ sudo ./waf configure --prefix=/usr Checking for program gcc,cc : ok /usr/bin/gcc Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for program g++,c++ : ok /usr/bin/g++ Checking for program windres : not found Checking for git commit id : ok 4bd0e653c2fd8b36a5f2ae4203ff0b37b03180f0 Checking for uncommitted changes : not found Checking for compiler flags -Wall : ok Checking for compiler flags -Wno-format-extra-args : ok Checking for compiler flags -Wno-format-zero-length : ok Checking for compiler flags -Wformat-nonliteral : ok Checking for compiler flags -Wformat-security : ok Checking for compiler flags -Wformat=2 : ok Checking for compiler flags -Wmissing-prototypes : ok Checking for compiler flags -Wstrict-prototypes : ok Checking for compiler flags -Wempty-body : ok Checking for compiler flags -Wignored-qualifiers : ok Checking for compiler flags -Wtype-limits : ok Checking for compiler flags -Wwrite-strings : ok Checking for platform code for posix : ok Checking for glib-2.0 >= 2.8.0 : ok Checking for speex : ok Checking for ogg : ok Checking for libxml-2.0 : ok Checking for library m : ok Checking for header sys/soundcard.h : ok Checking for library ossaudio : not found Checking for ao : ok Checking for vorbisfile : ok Checking for library m : ok Checking for function fstatat : ok Checking for function dirfd : ok Checking for libcurl : ok Checking for function curl_multi_strerror : ok Checking for header mpc/mpcdec.h : ok Checking for library mpcdec : ok Checking for libmpg123 >= 1.5.1 : ok Testing mpg123 with default off_t : ok Checking for header libsmbclient.h : ok Checking for library smbclient : ok Checking for avahi-glib : not found Checking for avahi-client : not found Checking for header dns_sd.h : not found Checking for wavpack : ok Checking for libavcodec : ok Checking for header avcodec.h : not found Checking for header libavcodec/avcodec.h : ok Checking for libcdio_cdda : ok Checking for libdiscid : ok Checking for header sys/select.h : ok Checking for openssl : ok Checking for libgme : not found Checking for header gme/gme.h : not found Checking for shout : not found Checking for sc68 >= 2.3.0 : /bin/sh: sc68-config: command not found fail Checking for libsidplay2 : not found Checking for gio-2.0 : ok Checking for alsa : ok Checking for header AudioUnit/AudioUnit.h : not found Checking for neuros-cooler-media : not found Checking for libpulse : ok Checking for mms : not found Checking for libmms : ok Checking for header mac/All.h : ok Checking for library mac : ok Checking for library mac : ok Checking for flac : ok Checking for header tremor/ivorbisfile.h : not found Checking for library m : ok Checking for libxml-2.0 : ok Checking for libofa : not found Checking for library m : ok Checking for header faad.h : ok Checking for library faad : ok Checking for library m : ok Checking for header windows.h : not found Checking for fftw3f : ok Checking for samplerate : ok Checking for modplug : not found Checking for libmodplug : not found Checking for jack : not found Checking for mad : ok Checking for program perl : ok /usr/bin/perl Checking for perl 5.7.3 : ok 5.12.3 Checking for header CUnit/CUnit.h : not found Checking for ecore : not found boost headers : not found Checking for header ['stdio.h', 'readline/readline.h'] : ok Checking for function rl_filename_dequoting_function : ok Checking for program python : ok /usr/bin/python2.7 Checking for Python version : 2.7.1 Checking for library python2.7 : ok Checking for program python2.7-config : not found Checking for program python-config-2.7 : ok /usr/bin/python-config-2.7 Checking for header Python.h : ok Checking for program pyrexc : ok /usr/bin/pyrexc Checking for gio-2.0 : ok Checking for gthread-2.0 : ok Checking for function g_file_query_file_type : ok Checking for avahi-client : not found Checking for function DNSServiceRegister : not found Checking for program ruby : ok /usr/bin/ruby Checking for ruby 1.8.0 : ok 1.8.7 Checking for ruby header file : ok Checking for function rb_protect_inspect : ok Checking for library m : ok Checking for libvisual-0.4 : not found Checking for sdl : ok Checking for vorbisenc : ok Checking for gmodule-2.0 >= 2.6.0 : ok Checking for gthread-2.0 >= 2.6.0 : ok Checking for sqlite3 >= 3.5 : ok Checking for function sin : ok Checking for function localtime_r : ok Checking for header sys/vfs.h : ok Checking for function semctl : ok Checking for union semun : fail Checking for valgrind : not found Checking for function nanosleep : ok Checking for function modf : ok Checking for function semtimedop : ok Default output plugin: alsa Optional configuration: ====================== Enabled: cli, et, launcher, medialib-updater, nycli, perl, pixmaps, python, ruby, vistest, xmmsclient++-glib Disabled: avahi, dns_sd, tests, xmmsclient++, xmmsclient-cf, xmmsclient-ecore Plugins configuration: ====================== Output: airplay, alsa, ao, diskwrite, null, oss, pulse XForm/Other: apefile, asf, asx, avcodec, cdda, cue, curl, daap, equalizer, faad, file, flac, flv, gvfs, html, icymetaint, id3v2, karaoke, m3u, mac, mad, mms, mp4, mpg123, musepack, normalize, nulstripper, pls, replaygain, rss, samba, speex, tta, vocoder, vorbis, wave, wavpack, xml, xspf Disabled: coreaudio, gme, ices, jack, modplug, nms, ofa, sc68, sid, sun, tremor, waveout 'configure' finished successfully (3.772s)
Aha, I can reproduce it here as well (tried xmms2-0.8). Will try to look at it. Thanks for the report!
Added USE=mp4 and pushed to portage as: > *xmms2-0.8-r1 (22 Oct 2011) > > 22 Oct 2011; Sergei Trofimovich <slyfox@gentoo.org> -xmms2-0.8.ebuild, > +xmms2-0.8-r1.ebuild: > Added USE=mp4 back to support mp4 containers (bug #387961 by frostyplanet at > gmail.com). xmms2 uses bundled (and patched) faad source code only to parse > mp4 format. You'll need to enable USE=mp4 as well to see if it help.
thanks for looking into it, the problem is fixed