Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393313 - media-libs/ffmpegsource-2.16.2.1_pre587 - src/core/codectype.cpp:312:4: error: 'CODEC_ID_WMV3IMAGE' was not declared in this scope
Summary: media-libs/ffmpegsource-2.16.2.1_pre587 - src/core/codectype.cpp:312:4: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nikoli
URL:
Whiteboard:
Keywords:
Depends on: 392269
Blocks:
  Show dependency tree
 
Reported: 2011-12-05 20:17 UTC by Nick Bowler
Modified: 2012-02-12 12:25 UTC (History)
4 users (show)

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


Attachments
Full build log. (media-libs:ffmpegsource-2.16.2.1_pre587:20111205-201430.log,10.73 KB, text/plain)
2011-12-05 20:17 UTC, Nick Bowler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Bowler 2011-12-05 20:17:10 UTC
Created attachment 294885 [details]
Full build log.

Today's update pulled in ffmpegsource-2.16.2.1_pre587, which fails to build:

  src/core/codectype.cpp:312:4: error: 'CODEC_ID_WMV3IMAGE' was not declared in this scope
  src/core/codectype.cpp:315:4: error: 'CODEC_ID_VC1IMAGE' was not declared in this scope
  src/core/codectype.cpp:352:4: error: 'CODEC_ID_UTVIDEO' was not declared in this scope
  src/core/codectype.cpp:353:4: error: 'CODEC_ID_UTVIDEO' was not declared in this scope
  src/core/codectype.cpp:354:4: error: 'CODEC_ID_UTVIDEO' was not declared in this scope
  src/core/codectype.cpp:355:4: error: 'CODEC_ID_UTVIDEO' was not declared in this scope

Version 2.16 builds and installs fine.

Portage 2.2.0_alpha79 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r1, 3.2.0-rc4-00152-gaf968e2 x86_64)
=================================================================
System uname: Linux-3.2.0-rc4-00152-gaf968e2-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.1
Timestamp of tree: Mon, 05 Dec 2011 17:15:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo gentoo-draconx
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @OTHER-FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d/binutils /etc/env.d/gcc /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ja"
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="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cjk cli cracklib crypt cscope cups curl cxx djvu doc dri dts dvd dvdr emboss encode exif faad fam fbcon ffmpeg firefox flac fontconfig fontforge fortran gdbm gdu gif gimp gmp gnutls gphoto2 gpm graphviz gs gtk iconv icu idn imagemagick iproute2 ipv6 jack jadetex jpeg jpeg2k kerberos kpathsea latex lcms libsamplerate lua mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit postgres ppds pppd python qt3support readline samba sdl session speex sse sse2 ssl svg sysfs tcpd theora tiff truetype udev unicode usb vim-syntax vorbis x264 xcb xcomposite xft xinerama xml xorg xulrunner xv zlib" 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp3900" USERLAND="GNU" VIDEO_CARDS="fbdev tdfx nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nikoli 2011-12-05 21:30:57 UTC
What is your ffmpeg or libav version? What USE does it have enabled?
Does it build fine with media-video/libav-0.8_pre20111116?
Comment 2 Nick Bowler 2011-12-05 21:58:24 UTC
(In reply to comment #1)
> What is your ffmpeg or libav version? What USE does it have enabled?

[ebuild   R    ] media-video/ffmpeg-0.8.7  USE="3dnow X aac alsa bzip2 doc encode hardcoded-tables jack jpeg2k mmx mp3 qt-faststart sdl speex theora truetype vorbis zlib -3dnowext -aacplus (-altivec) -amr -avx -bindist (-celt) -cpudetection -debug -dirac -faac -frei0r -gsm -ieee1394 -mmxext -network -oss -pic -rtmp -schroedinger -ssse3 -static-libs -test -threads -v4l -vaapi -vdpau -vpx -x264 -xvid" 0 kB

> Does it build fine with media-video/libav-0.8_pre20111116?

Seems to.
Comment 3 Nikoli 2011-12-05 22:13:35 UTC
Did some testing:
it builds fine with libav-0.8_pre20111116
it fails with ffmpeg-0.7.8, ffmpeg-0.8.7 and libav-0.7.2

Will change dep to >=media-video/libav-0.8_pre20111116
Comment 4 Maxim Koltsov (RETIRED) gentoo-dev 2011-12-10 15:17:47 UTC
Fixed by setting >=media-video/libav-0.8_pre20111116 DEPEND.
Comment 5 shinydoofy 2011-12-10 18:06:53 UTC
I don't really think depending on libav is the best of solutions here, as it creates other problems (like audacious-plugins not playing nice with libav). I suggest waiting for upstream to fix this issue => https://code.google.com/p/ffmpegsource/issues/detail?id=64

ffmpegsource-2.16 compiles nicely against ffmpeg-0.8.7 and I can't seem to see any useful changes in the svn log that grant a version bump for ffmpegsource to screw over other packages.
Comment 6 Nikoli 2011-12-11 06:16:00 UTC
Let keep this open until fixed upstream.
Comment 7 Nikoli 2011-12-22 14:54:01 UTC
Maxim, please change '|| ( >=media-video/ffmpeg-0.9 >=media-video/libav-0.8_pre20111116 )' in ffmpegsource-2.16.2.1_pre587.ebuild and 'virtual/ffmpeg' in 9999 ebuild to '>=virtual/ffmpeg-0.9'
Comment 8 shinydoofy 2012-02-07 06:22:04 UTC
media-libs/ffmpegsource-2.16.2.1_pre587 just emerged flawlessly with ffmpeg-0.9 as there's been an update on the deps on 17 Dec of last year. I guess this bug may be closed then, right?
Comment 9 Maxim Koltsov (RETIRED) gentoo-dev 2012-02-12 12:25:48 UTC
2.17 has >=virtual/ffmpeg-0.9 depend.