Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554044 - media-plugins/audacious-plugins-3.4.1 fails to build: ‘CODEC_ID_MUSEPACK8’ undeclared (caused by USE="ffmpeg libav"?)
Summary: media-plugins/audacious-plugins-3.4.1 fails to build: ‘CODEC_ID_MUSEPACK8’ un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-05 22:16 UTC by mephinet
Modified: 2015-08-06 07:55 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,32.27 KB, text/plain)
2015-07-05 22:17 UTC, mephinet
Details
ebuild that applies the patch (audacious-plugins-3.4.1-r1.ebuild,3.48 KB, text/plain)
2015-07-08 21:07 UTC, mephinet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mephinet 2015-07-05 22:16:40 UTC
I recently switched from ffmpeg to libav, and therefore added to my USE flags ffmpeg and libav. Now, compiling audacious-plugins-3.4.1 fails with:

Compiling ffaudio-core.c (plugin)...
ffaudio-core.c: In function ‘ffaudio_codec_is_seekable’:
ffaudio-core.c:294:14: error: ‘CODEC_ID_MUSEPACK8’ undeclared (first use in this function)
         case CODEC_ID_MUSEPACK8:
              ^
ffaudio-core.c:294:14: note: each undeclared identifier is reported only once for each function it appears in

Compiling with "-ffmpeg -libav" works.

Reproducible: Always

Steps to Reproduce:
1. set your global use flags to "ffmpeg libav"
2. emerge -1 =audacious-plugins-3.4.1
Actual Results:  
compilation fails

Expected Results:  
successful build

Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3926992 total,   1061088 free
KiB Swap:    3903788 total,   3663748 free
Timestamp of repository gentoo: Sun, 05 Jul 2015 20:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=corei7-avx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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="-O2 -pipe -fomit-frame-pointer -march=corei7-avx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo http://gentoo.inode.at/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aes alsa amd64 amr animgif apng avx bash-completion battery bbdb berkdb bittorrent bluetooth branding bzip2 cairo cdda cdr chroot cli consolekit contrast cracklib crypt css cups curl cxx dbus dia dmx doc dot dri dts dvd dvdr dvi eap-tls emacs emboss encode exif extra faac ffmpeg firefox flac fontconfig fts3 gcj gd gdbm gif gimp git glamor glibc-omitfp glitz gmtfull gmthigh gmtsuppl gnutls gpm gs gsf gtk hdaps hotpixels iconv icu idea imagemagick imlib inkjar inotify ipc ipod iptc ithreads jpeg kpathsea laptop latex lcms ldap libav libedit libmpeg2 libnotify libv4l libv4l2 lm_sensors mad magic matroska mktemp mmx mmxext mng moar modules mp3 mp4 mpeg multilib ncurses network-cron networkmanager new-login nls nonfsv4 nptl objc ocaml offensive ogg opengl openmp oracle orbit pae pam pango pcre pcsc-lite pdf perl pkcs11 plotutils png policykit popcnt portaudio postgres ppds ppp pulseaudio python qt3support qt4 readline real rtsp sdl session sip sipim smartcard spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification stream stun subversion svg tcpd tex theora tiff tk toolkit-scroll-bars trayicon truetype udev udisks unicode upnp upower usb v4l video vlc vorbis webm wifi win32codecs wxwidgets x264 xcb xft xine xinerama xml xmp xscreensaver xulrunner xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 proxy proxy_http" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de en_US de_AT de_DE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-plugins/audacious-plugins-3.4.1::gentoo was built with the following:
USE="aac alsa cdda flac libnotify mp3 nls pulseaudio sdl vorbis -adplug -bs2b -cue -ffmpeg -fluidsynth -gnome -ipv6 -jack -lame -libsamplerate -lirc -midi -mms -scrobbler -sid -sndfile -wavpack" ABI_X86="64"
Comment 1 mephinet 2015-07-05 22:17:07 UTC
Created attachment 406216 [details]
build.log
Comment 2 Rafał Mużyło 2015-07-05 23:06:32 UTC
The whole function is gone in 3.5.2.

The problem with audacious is not only limited to the obvious one in Gentoo.

Much bigger issue is that gtk+ upstream keeps being silly and audacious upstream is being even more silly about that.
Comment 3 mephinet 2015-07-08 21:06:59 UTC
As mentioned here https://aur.archlinux.org/packages/libav/ the patch from the Debian repo can be used to solve the issue:

http://anonscm.debian.org/cgit/pkg-multimedia/audacious-plugins.git/plain/debian/patches/libav10.patch?id=4df124f2b474fec7d58c6ad49a9f435215788d0c

I applied this patch, and audacious-plugins compiles again.
Comment 4 mephinet 2015-07-08 21:07:49 UTC
Created attachment 406378 [details]
ebuild that applies the patch
Comment 5 Alex Xu (Hello71) 2015-07-11 21:41:39 UTC
(In reply to Rafał Mużyło from comment #2)
> The whole function is gone in 3.5.2.
> 
> The problem with audacious is not only limited to the obvious one in Gentoo.
> 
> Much bigger issue is that gtk+ upstream keeps being silly and audacious
> upstream is being even more silly about that.

what's this got to do with gtk+?
Comment 6 Rafał Mużyło 2015-07-12 01:56:48 UTC
(In reply to Alex Xu (Hello71) from comment #5)
> (In reply to Rafał Mużyło from comment #2)
> > The whole function is gone in 3.5.2.
> > 
> > The problem with audacious is not only limited to the obvious one in Gentoo.
> > 
> > Much bigger issue is that gtk+ upstream keeps being silly and audacious
> > upstream is being even more silly about that.
> 
> what's this got to do with gtk+?

This ?
Very little.

But version bump...
Due to above, gtk3 version is in a separate tarball..., so yeah, silly...

...and the obvious problem is a completely different matter.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2015-08-04 23:14:10 UTC
The problematic declaration is no longer in the source for the 3.6.2 release.
Comment 8 Rafał Mużyło 2015-08-06 07:55:20 UTC
...did anyone note dev-libs/dbus-glib dep is long obsolete (in fact, has already been in 3.5) ?

No ?

How "odd".