Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401311 - media-video/ffmpeg2theora-0.28 - src/ffmpeg2theora.c:525:5: error: 'pp_mode_t' undeclared (first use in this function)
Summary: media-video/ffmpeg2theora-0.28 - src/ffmpeg2theora.c:525:5: error: 'pp_mode_t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 405745
  Show dependency tree
 
Reported: 2012-01-29 14:19 UTC by Randy Andy
Modified: 2012-02-25 13:03 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Andy 2012-01-29 14:19:16 UTC
>>> Emerging (1 of 1) media-video/ffmpeg2theora-0.28
 * ffmpeg2theora-0.28.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking ffmpeg2theora-0.28.tar.bz2 to /var/tmp/portage/media-video/ffmpeg2theora-0.28/work
>>> Source unpacked in /var/tmp/portage/media-video/ffmpeg2theora-0.28/work
>>> Preparing source in /var/tmp/portage/media-video/ffmpeg2theora-0.28/work/ffmpeg2theora-0.28 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/ffmpeg2theora-0.28/work/ffmpeg2theora-0.28 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/ffmpeg2theora-0.28/work/ffmpeg2theora-0.28 ...
scons: Reading SConscript files ...
Checking for pkg-config... (cached) yes
Checking for ogg >= 1.1... (cached) yes
Checking for vorbis... (cached) yes
Checking for vorbisenc... (cached) yes
Checking for theoraenc >= 1.1.0... (cached) yes
Checking for ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0... (cached) yes
Checking for libavdevice libavformat libavcodec >= 52.30.0 libpostproc libswscale libavutil... (cached) yes
Checking for C header file libavformat/framehook.h... no
Checking for C header file iconv.h... yes
Checking for C library iconv... no
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/iso639.o -c -DPACKAGE_VERSION=\"0.28\" -DPACKAGE_STRING=\"ffmpeg2theora-0.28\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=core2 -mtune=core2 -O2 -pipe -DHAVE_ICONV -I. src/iso639.c
gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.28\" -DPACKAGE_STRING=\"ffmpeg2theora-0.28\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -march=core2 -mtune=core2 -O2 -pipe -DHAVE_ICONV -I. src/ffmpeg2theora.c
src/ffmpeg2theora.c: In function 'find_language_for_subtitle_stream':
src/ffmpeg2theora.c:507:3: warning: 'AVMetadataTag' is deprecated (declared at /usr/include/libavutil/dict.h:77)
src/ffmpeg2theora.c:507:3: warning: 'av_metadata_get' is deprecated (declared at /usr/include/libavformat/avformat.h:251)
src/ffmpeg2theora.c: In function 'ff2theora_output':
src/ffmpeg2theora.c:525:5: error: 'pp_mode_t' undeclared (first use in this function)
src/ffmpeg2theora.c:525:5: note: each undeclared identifier is reported only once for each function it appears in
src/ffmpeg2theora.c:525:16: error: 'ppMode' undeclared (first use in this function)
src/ffmpeg2theora.c:526:5: error: 'pp_context_t' undeclared (first use in this function)
src/ffmpeg2theora.c:526:19: error: 'ppContext' undeclared (first use in this function)
src/ffmpeg2theora.c:597:9: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4154)
src/ffmpeg2theora.c:957:9: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4154)
src/ffmpeg2theora.c:1427:33: warning: passing argument 2 of 'sws_scale' from incompatible pointer type
/usr/include/libswscale/swscale.h:237:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **'
src/ffmpeg2theora.c:1474:37: warning: passing argument 2 of 'sws_scale' from incompatible pointer type
/usr/include/libswscale/swscale.h:237:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **'
src/ffmpeg2theora.c:1533:21: warning: 'av_get_bits_per_sample_fmt' is deprecated (declared at /usr/include/libavutil/samplefmt.h:83)
src/ffmpeg2theora.c:1536:25: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4245)
src/ffmpeg2theora.c: In function 'copy_metadata':
src/ffmpeg2theora.c:1925:5: warning: 'AVMetadataTag' is deprecated (declared at /usr/include/libavutil/dict.h:77)
src/ffmpeg2theora.c:1926:5: warning: 'av_metadata_get' is deprecated (declared at /usr/include/libavformat/avformat.h:251)
src/ffmpeg2theora.c: In function 'main':
src/ffmpeg2theora.c:2817:13: warning: 'channel' is deprecated (declared at /usr/include/libavformat/avformat.h:356)
src/ffmpeg2theora.c:2818:13: warning: 'width' is deprecated (declared at /usr/include/libavformat/avformat.h:353)
src/ffmpeg2theora.c:2819:13: warning: 'height' is deprecated (declared at /usr/include/libavformat/avformat.h:354)
src/ffmpeg2theora.c:2820:13: warning: 'time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2821:13: warning: 'time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2823:17: warning: 'width' is deprecated (declared at /usr/include/libavformat/avformat.h:353)
src/ffmpeg2theora.c:2825:17: warning: 'height' is deprecated (declared at /usr/include/libavformat/avformat.h:354)
src/ffmpeg2theora.c:2828:13: warning: 'time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2829:13: warning: 'time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2831:13: warning: 'time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2832:13: warning: 'time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2835:5: warning: 'av_open_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1480)
src/ffmpeg2theora.c:2836:9: warning: 'av_find_stream_info' is deprecated (declared at /usr/include/libavformat/avformat.h:1526)
src/ffmpeg2theora.c:2866:25: warning: format not a string literal and no format arguments
src/ffmpeg2theora.c:2963:9: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1706)
scons: *** [src/ffmpeg2theora.o] Error 1
scons: building terminated because of errors.
 * ERROR: media-video/ffmpeg2theora-0.28 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 213:  Called die
 * The specific snippet of code:
 *       scons "${mysconsopts[@]}" || die
 * 
 * If you need support, post the output of 'emerge --info =media-video/ffmpeg2theora-0.28',
 * the complete build log and the output of 'emerge -pqv =media-video/ffmpeg2theora-0.28'.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg2theora-0.28/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg2theora-0.28/temp/environment'.
 * S: '/var/tmp/portage/media-video/ffmpeg2theora-0.28/work/ffmpeg2theora-0.28'

>>> Failed to emerge media-video/ffmpeg2theora-0.28, Log file:

>>>  '/var/tmp/portage/media-video/ffmpeg2theora-0.28/temp/build.log'
Comment 1 Randy Andy 2012-01-29 14:20:44 UTC
emerge --info
Portage 2.2.0_alpha84 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sun, 29 Jan 2012 10:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.7-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo betagarden
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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=core2 -mtune=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs 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="http://gentoo.tiscali.nl/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j5"
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/betagarden"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs aalib accessibility acpi additions addressbook alsa amd64 amr animgif apm apng audiofile autoipd autotrace avahi bash-completion berkdb binary-drivers bluetooth bluray branding bzip2 cairo canvas ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi chipcard chroot cjk clamav cli clucene compressed-lumas consolekit corefonts cracklib crypt css cups cvs cvsgraph cxx daemon dar64 dbus dc1394 declarative dia dirac disk-partition djbfft djvu dri dts dv dvd dvdnav dvdr dvi dynamic editor emboss emovix enca encode enscript excel exif extensions extrafilters extras fam fame fat ffmpeg fftw finger firefox firefox3 flac flash flv fmod fontconfig foomaticdb fortran fortran2003 fpx frei0r fuse gcj gd gdbm gdu geolocation gif gimp glib glut gnokii gnutls gpac gphoto2 gpm gstreamer gtk gtk3 gzip hddtemp hdri hfs howl-compat html http httpd iconv icq id3 id3tag ieee1394 image imagemagick imap imlib inkjar introspection iptv ipv6 irc ivtv jabber java java6 javacomm javascript jbig jce jingle joystick jpeg juju kde kdm kexiv2 kig-scripting kino kipi kmail ladspa lame lcdfilter lcms libcaca libnotify libsamplerate libv4l2 libvisual lightning live lm_sensors logrotate logwatch loop-aes lzma lzo mad math matroska mdnsresponder-compat melt metric midi mikmod mime mjpeg mmx mng modplug modules mono mouse mozdevelop mozilla mp3 mp3rtp mp4 mpd mpeg mpg123 mpi mpi-threads mplayer mpu401 mtp mudflap muine multilib multimedia multiprocess musepack music musicbrainz mysql mysqli nano-syntax nas ncurses network network-cron nfs nfsv4 nls nntp nptl nptlonly nsplugin ntfs nut nuv obex ocean odk ofa ogg ogg123 ogm okular opencl openexr opengl openmedia openmp openssl opensslcrypt oss pam pango pch pcm pcre pda pdf pdfimport perforce perl pg-intdatetime phonon php physfs pipe plasma player plotutils pmount pmu png pnm podcast policykit pop postgis postproc ppds pppd prelude private-headers profile profiler proj ps pstoedit pvr python python3 q32 q64 qalculate qos qt3support qt4 quesoglc quicktime radio rar raw readline redeyes rle romio rsh rss rtc rtmp rtsp ruby scale0tilt scanner schedule schroedinger sdl sdl-image sdl-sound sdlaudio search secure-delete semantic-desktop sensord session sftp shaders shine shorten shout sift skins slideshow smp sms sndfile sound soundextract soundtouch soup source spamassassin speex spell sql srt srtp sse sse2 ssh ssl ssse3 startup-notification statistics stats stk stream suid svg svgz sysfs syslog szip t1lib tbb tcl tcmalloc tcpd teletext templates tga tgif themes theora threads threadsafe thumbnail thumbnails tiff timidity tk toolame tools transcode tremor truetype tv_check tv_combiner tv_pick_cgi twolame type3 udev unicode unzip urlpicpreview usb utempter utils uudeview v4l v4l2 vaapi vamp vcd vcdinfo vcdx vdpau vdr video vim vim-syntax virtuoso visibility vlm vorbis vpx vrml vxml wav wavpack weather-metar weather-xoap webcam webdav webkit webp windeco winpopup wma wma-fixed wmf wordperfect wxwindows x11vnc x264 xanim xcb xcf xface xforms xine xinerama xml xmlreader xmlwriter xmp xorg xpm xscreensaver xsl xslt xterm xulrunner xv xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg youtube yv12 zeroconf zip zlib zvbi" ALSA_CARDS="hda-intel" 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="*" 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="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia v4l2" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Randy Andy 2012-01-29 14:29:37 UTC
Version 0.28 is installed since 28.11.2011, but since a few days of
updating system and world, it couldn't be recompiled again.


 eix ffmpeg2theora
[I] media-video/ffmpeg2theora
     Available versions:  0.25 (~)0.26 (~)0.27 0.28 {debug kate}
     Installed versions:  0.28(19:41:00 28.11.2011)(-debug -kate)
     Homepage:            http://www.v2v.cc/~j/ffmpeg2theora/
     Description:         A simple converter to create Ogg Theora files.
Comment 3 poncho 2012-01-29 16:21:57 UTC
Same here.

I think the issue is the ffmpeg-0.10 update.

Upstream bug report: https://bugs.launchpad.net/ffmpeg2theora/+bug/923059
Upstream fix: http://bazaar.launchpad.net/~vcs-imports/ffmpeg2theora/trunk/revision/509
Comment 4 Randy Andy 2012-01-29 17:37:00 UTC
Yes, I can state this now, it compiles fine with fmpeg-0.9.1.
Thanks for the hint, poncho.
Comment 5 Guy 2012-01-29 18:57:39 UTC
FWIW - ffmpeg2theora also fails in the same manner with 'ffmpeg-9999'
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-01-30 21:58:36 UTC
should be fixed by 0.28-r1