Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486628 - media-plugins/gst-plugins-libav-1.2.0 fails with media-video/ffmpeg-2.0.1 - gstavutils.c:35:47: error: parameter 1 ('codec_id') has incomplete type
Summary: media-plugins/gst-plugins-libav-1.2.0 fails with media-video/ffmpeg-2.0.1 - g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
: 501526 (view as bug list)
Depends on:
Blocks: ffmpeg-2.0
  Show dependency tree
 
Reported: 2013-10-01 05:44 UTC by Jura
Modified: 2014-02-18 11:19 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,45.74 KB, text/plain)
2013-10-01 05:48 UTC, Jura
Details
Support ffmpeg-2 if installed (gst-plugins-libav-1.2.0.ebuild,1.79 KB, text/plain)
2013-10-15 14:05 UTC, Steven Newbury
Details
ffmpeg-2 suppot patch (gst-plugins-libav-1.2.0-ffmpeg2.patch,5.00 KB, patch)
2013-10-15 14:06 UTC, Steven Newbury
Details | Diff
gst-plugins-libav-1.2.0 still fails to build (build.log,29.45 KB, text/x-log)
2014-02-18 10:28 UTC, renato gallo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jura 2013-10-01 05:44:41 UTC
failed emerge media-plugins/gst-plugins-libav-1.2.0

Reproducible: Always

Steps to Reproduce:
1.emerge avNDu world --with-bdeps=y
2.ERROR: media-plugins/gst-plugins-libav-1.2.0::gentoo failed (compile phase)



Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.11.1-pf x86_64)
=================================================================
System uname: Linux-3.11.1-pf-x86_64-Intel-R-_Core-TM-_i3_CPU_550_@_3.20GHz-with-gentoo-2.2
KiB Mem:    12302568 total,    407440 free
KiB Swap:    4101556 total,   4101556 free
Timestamp of tree: Tue, 01 Oct 2013 05:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::MasterLay
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo steam-overlay masterlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -fgraphite-identity -march=native -finline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -fgraphite-identity -march=native -finline-functions"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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 userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/masterlay"
USE="X a52 aac acl acpi alsa amd64 amr apng auto-hinter avahi berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cue cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif extras faac faad fam ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm graphite gstreamer gtk gtk3 iconv id3tag introspection joystick jpeg lame lcms libnotify libsecret mad mmx mng modules mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses networkmanager nls nm-applet nptl ogg openal opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support readline sdl session socialweb spell sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vaapi vdpau video vim vim-syntax vorbis vpx wxwidgets x264 xcb xinerama xml xv xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="canon samsung" 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 keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" NETBEANS_MODULES="ide java" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 pypy2_0 python3_3" RUBY_TARGETS="ruby20 ruby19" SANE_BACKENDS="canon canon630u canon_dr canon_pp pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Jura 2013-10-01 05:48:15 UTC
Created attachment 359850 [details]
build.log
Comment 2 Cănărău Constantin 2013-10-01 07:03:14 UTC
I confirm this bug.

Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.1, glibc-2.18, 3.11.2-gentoo-costel x86_64)
=================================================================
System uname: Linux-3.11.2-gentoo-costel-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.2
KiB Mem:    16428096 total,  13210688 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 01 Oct 2013 06:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.18
Repositories: gentoo added utils fixed gnome
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -w -flto=8 -fno-fat-lto-objects"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -w -flto=8 -fno-fat-lto-objects"
DISTDIR="/mnt/linux/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=10 --keep-going --with-bdeps=y --complete-graph --quiet-build=n --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy collision-protect config-protect-if-modified distlocks fail-clean fixlafiles merge-sync news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/ ftp://ftp.romnet.org/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://distfiles.gentoo.org/"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--warn-once,--as-needed,-z,now -O2 -pipe -march=native -mtune=native -w -flto=8 -fno-fat-lto-objects"
MAKEOPTS="-j8 --load-average=10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --delete-before --progress"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/added /usr/portage/local/utils /usr/portage/local/fixed /usr/portage/local/gentoo-gnome"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac gdbm gif gmp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv introspection ipv6 ithreads jpeg lcms ldap libnotify libsecret logrotate mad mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nautilus ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pch pcre pdf png policykit postgres ppds pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vaapi vdpau vhosts vorbis wxwidgets x264 xcb xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="virtuoso hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ro en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gunzip gzip limit_conn limit_req map memcached naxsi proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition cache_purge dav fancyindex flv geoip gzip_static headers_more image_filter mp4 perl push random_index realip secure_link spdy stub_status sub upload_progress xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7 python 3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 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, SYNC, USE_PYTHON
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-10-04 23:21:24 UTC
Strange, CodecID should be defined in your /usr/include/libavcodec/avcodec.h

What version, and with what USE flags, of libav (or ffmpeg) are you using?
Comment 4 Cănărău Constantin 2013-10-05 08:44:09 UTC
ffmpeg-2.0.1 - yes, it's masked in the tree, and, by my limited knowledge, it seems that codec_id it's defined as:

enum AVCodecID     codec_id; /* see AV_CODEC_ID_xxx */


These are the packages that would be merged, in order:

[ebuild   R   #] media-video/ffmpeg-2.0.1:0/52.55.55  USE="X aac alsa bzip2 encode hardcoded-tables iconv mmx mp3 opus pulseaudio sdl theora threads truetype vaapi vdpau vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -amrenc -avx -bindist -bluray -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig -frei0r -gme -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libcaca -libsoxr -libv4l -mmxext -modplug (-neon) -network -openal -openssl -oss -pic -quvi -rtmp -schroedinger -speex -ssse3 -static-libs {-test} -twolame -v4l (-vis) -vpx -wavpack" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 5 Cănărău Constantin 2013-10-05 09:04:23 UTC
Including libavcodec/avcodec.h allow compilation to advance but it fail somewhere else. By default, avcodec.h it's not used anywhere in the source.
Downgrading ffmpeg allow media-plugins/gst-plugins-libav-1.2.0 to compile, so it's definitely due to ffmpeg-2.
Comment 6 Steven Newbury 2013-10-15 14:05:29 UTC
Created attachment 360944 [details]
Support ffmpeg-2 if installed
Comment 7 Steven Newbury 2013-10-15 14:06:06 UTC
Created attachment 360946 [details, diff]
ffmpeg-2 suppot patch
Comment 8 Steven Newbury 2013-10-15 14:07:43 UTC
Enough to make it build, needs a little more work though.
Comment 9 Alexis Ballier gentoo-dev 2013-10-26 07:37:57 UTC
used to be fixed in previous gst-libav version...

  12 Oct 2013; Alexis Ballier <aballier@gentoo.org>
  gst-plugins-libav-1.2.0.ebuild, +files/gst-plugins-libav-1.2.0-ffmpeg2.patch:
  fix build with ffmpeg2 (again)
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-17 13:08:27 UTC
*** Bug 501526 has been marked as a duplicate of this bug. ***
Comment 11 renato gallo 2014-02-18 10:19:05 UTC
(In reply to Alexis Ballier from comment #9)
> used to be fixed in previous gst-libav version...
> 
>   12 Oct 2013; Alexis Ballier <aballier@gentoo.org>
>   gst-plugins-libav-1.2.0.ebuild,
> +files/gst-plugins-libav-1.2.0-ffmpeg2.patch:
>   fix build with ffmpeg2 (again)
libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -O2 -pipe -c gstavutils.c  -fPIC -DPIC -o .libs/libgstlibav_la-gstavutils.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -O2 -pipe -c gstavcodecmap.c  -fPIC -DPIC -o .libs/libgstlibav_la-gstavcodecmap.o
In file included from gstavutils.c:23:0:
gstavutils.h:89:39: warning: 'enum CodecID' declared inside parameter list [enabled by default]
gstavutils.h:89:39: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
gstavutils.c:35:39: warning: 'enum CodecID' declared inside parameter list [enabled by default]
gstavutils.c:35:47: error: parameter 1 ('codec_id') has incomplete type
Makefile:626: recipe for target 'libgstlibav_la-gstavutils.lo' failed
make[3]: *** [libgstlibav_la-gstavutils.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from gstav.c:35:0:
gstavutils.h:89:39: warning: 'enum CodecID' declared inside parameter list [enabled by default]
gstavutils.h:89:39: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
gstav.c: In function 'gst_ffmpeg_avcodec_open':
gstav.c:47:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
gstav.c:49:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
gstav.c: In function 'gst_ffmpeg_avcodec_close':
gstav.c:59:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
gstav.c:61:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
gstav.c: In function 'gst_ffmpeg_av_find_stream_info':
gstav.c:71:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
gstav.c:73:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:149): Use 'GMutex' instead [-Wdeprecated-declarations]
In file included from gstavcodecmap.c:33:0:
gstavcodecmap.h:36:31: warning: 'enum CodecID' declared inside parameter list [enabled by default]
gstavcodecmap.h:36:31: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
gstavcodecmap.h:47:9: warning: 'enum CodecID' declared inside parameter list [enabled by default]
gstavcodecmap.h:52:9: warning: 'enum CodecID' declared inside parameter list [enabled by default]
gstavcodecmap.c:218:18: error: parameter 3 ('codec_id') has incomplete type
gstavcodecmap.c:473:18: error: parameter 3 ('codec_id') has incomplete type
gstavcodecmap.c:689:42: error: parameter 1 ('codec_id') has incomplete type
gstavcodecmap.c: In function 'gst_ffmpeg_codecid_to_caps':
gstavcodecmap.c:796:65: error: 'AVCodecContext' has no member named 'sub_id'
gstavcodecmap.c:973:11: error: type of formal parameter 2 is incomplete
gstavcodecmap.c:1630:10: error: 'AV_CODEC_ID_SNOW' undeclared (first use in this function)
gstavcodecmap.c:1630:10: note: each undeclared identifier is reported only once for each function it appears in
gstavcodecmap.c: At top level:
gstavcodecmap.c:2080:18: error: parameter 3 ('codec_id') has incomplete type
gstavcodecmap.c:2141:61: error: parameter 4 ('codec_id') has incomplete type
gstavcodecmap.c:2178:18: error: parameter 2 ('codec_id') has incomplete type
gstavcodecmap.c:2206:18: error: parameter 2 ('codec_id') has incomplete type
gstavcodecmap.c:2755:44: error: parameter 1 ('codec_id') has incomplete type
gstavcodecmap.c: In function 'gst_ffmpeg_caps_with_codecid':
gstavcodecmap.c:2903:16: error: 'AVCodecContext' has no member named 'sub_id'
gstavcodecmap.c: In function 'gst_ffmpeg_formatid_get_codecids':
gstavcodecmap.c:3133:23: error: array type has incomplete element type
gstavcodecmap.c:3137:23: error: array type has incomplete element type
gstavcodecmap.c:3145:25: error: array type has incomplete element type
gstavcodecmap.c:3150:25: error: array type has incomplete element type
gstavcodecmap.c:3150:25: warning: unused variable 'mp4_audio_list' [-Wunused-variable]
gstavcodecmap.c:3145:25: warning: unused variable 'mp4_video_list' [-Wunused-variable]
gstavcodecmap.c:3158:25: error: array type has incomplete element type
gstavcodecmap.c:3163:25: error: array type has incomplete element type
gstavcodecmap.c:3163:25: warning: unused variable 'mpeg_audio_list' [-Wunused-variable]
gstavcodecmap.c:3158:25: warning: unused variable 'mpeg_video_list' [-Wunused-variable]
gstavcodecmap.c:3172:25: error: array type has incomplete element type
gstavcodecmap.c:3175:25: error: array type has incomplete element type
gstavcodecmap.c:3175:25: warning: unused variable 'mpeg_audio_list' [-Wunused-variable]
gstavcodecmap.c:3172:25: warning: unused variable 'mpeg_video_list' [-Wunused-variable]
gstavcodecmap.c:3185:25: error: array type has incomplete element type
gstavcodecmap.c:3190:25: error: array type has incomplete element type
gstavcodecmap.c:3190:25: warning: unused variable 'mpegts_audio_list' [-Wunused-variable]
gstavcodecmap.c:3185:25: warning: unused variable 'mpegts_video_list' [-Wunused-variable]
gstavcodecmap.c:3201:25: error: array type has incomplete element type
gstavcodecmap.c:3203:25: error: array type has incomplete element type
gstavcodecmap.c:3203:25: warning: unused variable 'vob_audio_list' [-Wunused-variable]
gstavcodecmap.c:3201:25: warning: unused variable 'vob_video_list' [-Wunused-variable]
gstavcodecmap.c:3210:25: error: array type has incomplete element type
gstavcodecmap.c:3212:25: error: array type has incomplete element type
gstavcodecmap.c:3212:25: warning: unused variable 'flv_audio_list' [-Wunused-variable]
gstavcodecmap.c:3210:25: warning: unused variable 'flv_video_list' [-Wunused-variable]
gstavcodecmap.c:3218:25: error: array type has incomplete element type
gstavcodecmap.c:3222:25: error: array type has incomplete element type
gstavcodecmap.c:3222:25: warning: unused variable 'asf_audio_list' [-Wunused-variable]
gstavcodecmap.c:3218:25: warning: unused variable 'asf_video_list' [-Wunused-variable]
gstavcodecmap.c:3230:25: error: array type has incomplete element type
gstavcodecmap.c:3232:25: error: array type has incomplete element type
gstavcodecmap.c:3232:25: warning: unused variable 'dv_audio_list' [-Wunused-variable]
gstavcodecmap.c:3230:25: warning: unused variable 'dv_video_list' [-Wunused-variable]
gstavcodecmap.c:3238:25: error: array type has incomplete element type
gstavcodecmap.c:3245:25: error: array type has incomplete element type
gstavcodecmap.c:3245:25: warning: unused variable 'mov_audio_list' [-Wunused-variable]
gstavcodecmap.c:3238:25: warning: unused variable 'mov_video_list' [-Wunused-variable]
gstavcodecmap.c:3256:25: error: array type has incomplete element type
gstavcodecmap.c:3260:25: error: array type has incomplete element type
gstavcodecmap.c:3260:25: warning: unused variable 'tgp_audio_list' [-Wunused-variable]
gstavcodecmap.c:3256:25: warning: unused variable 'tgp_video_list' [-Wunused-variable]
gstavcodecmap.c:3269:25: error: array type has incomplete element type
gstavcodecmap.c:3269:25: warning: unused variable 'mmf_audio_list' [-Wunused-variable]
gstavcodecmap.c:3275:25: error: array type has incomplete element type
gstavcodecmap.c:3275:25: warning: unused variable 'amr_audio_list' [-Wunused-variable]
gstavcodecmap.c:3282:25: error: array type has incomplete element type
gstavcodecmap.c:3282:25: warning: unused variable 'gif_image_list' [-Wunused-variable]
gstavcodecmap.c:3295:25: error: array type has incomplete element type
gstavcodecmap.c:3299:25: error: array type has incomplete element type
gstavcodecmap.c:3299:25: warning: unused variable 'tgp_audio_list' [-Wunused-variable]
gstavcodecmap.c:3295:25: warning: unused variable 'tgp_video_list' [-Wunused-variable]
gstavcodecmap.c:3137:23: warning: unused variable 'tmp_alist' [-Wunused-variable]
gstavcodecmap.c:3133:23: warning: unused variable 'tmp_vlist' [-Wunused-variable]
gstavcodecmap.c: At top level:
gstavcodecmap.c:3322:1: error: return type is an incomplete type
gstavcodecmap.c:3322:1: error: conflicting types for 'gst_ffmpeg_caps_to_codecid'
In file included from gstavcodecmap.c:33:0:
gstavcodecmap.h:61:1: note: previous declaration of 'gst_ffmpeg_caps_to_codecid' was here
gstavcodecmap.c: In function 'gst_ffmpeg_caps_to_codecid':
gstavcodecmap.c:3324:8: error: variable 'id' has initializer but incomplete type
gstavcodecmap.c:3324:16: error: storage size of 'id' isn't known
gstavcodecmap.c:3329:3: warning: 'return' with a value, in function returning void [enabled by default]
gstavcodecmap.c:3330:3: warning: 'return' with a value, in function returning void [enabled by default]
gstavcodecmap.c:3872:5: error: type of formal parameter 1 is incomplete
gstavcodecmap.c:3881:3: warning: 'return' with a value, in function returning void [enabled by default]
gstavcodecmap.c:3324:16: warning: unused variable 'id' [-Wunused-variable]
Makefile:619: recipe for target 'libgstlibav_la-gstavcodecmap.lo' failed
make[3]: *** [libgstlibav_la-gstavcodecmap.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-plugins/gst-plugins-libav-1.2.0/work/gst-libav-1.2.0/ext/libav'
Makefile:457: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-plugins/gst-plugins-libav-1.2.0/work/gst-libav-1.2.0/ext'
Makefile:548: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-plugins/gst-plugins-libav-1.2.0/work/gst-libav-1.2.0'
Makefile:476: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-plugins/gst-plugins-libav-1.2.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/gst-plugins-libav-1.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/gst-plugins-libav-1.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/gst-plugins-libav-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/gst-plugins-libav-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/gst-plugins-libav-1.2.0/work/gst-libav-1.2.0'
 * S: '/var/tmp/portage/media-plugins/gst-plugins-libav-1.2.0/work/gst-libav-1.2.0'
Comment 12 renato gallo 2014-02-18 10:23:11 UTC
please reopen
Comment 13 renato gallo 2014-02-18 10:26:46 UTC
emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.18-r1, 3.13.3-gentoo x86_64)
=================================================================
System uname: Linux-3.13.3-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_640_@_2.80GHz-with-gentoo-2.2
KiB Mem:     3908868 total,    595544 free
KiB Swap:   16777212 total,  15480668 free
Timestamp of tree: Mon, 17 Feb 2014 19:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.9, 2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ rsync://ftp.heanet.ie/pub/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11"
SYNC="rsync://rsync.ie.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 atmo autoipd avahi berkdb bidi bluetooth bluray branding bzip2 cairo cdda cddb cdr chromaprint cli colord cracklib crypt cups curl cxx dbus dc1394 dcc_video dirac directfb dri dts dvb dvd dvdr eds egl emboss encode evo exif faad fam fdk ffmpeg firefox flac fluidsynth fontconfig fortran gbm gdbm gif gimp gme gnome gnome-keyring gnome-online-accounts gpm growl gstreamer gtk gtk3 html httpd iconv icu introspection ipv6 java jemalloc jpeg jpeg2k kate laptop lcms ldap libass libcaca libkms libnotify libsamplerate libsecret libtar libtiger linsys lirc live lua mad matroska minizip mmx mng modemmanager modplug modules mp3 mp4 mpeg mtp multilib musepack mysql nautilus ncurses nls nptl nsplugin odbcmanual odk ogg omxil opencv opengl openmp optimisememory opus pam pango pcre pdf png policykit postscript ppds projectm pulseaudio python qt3support qt4 rdp readline rtsp run-as-root samba schroedinger sdl sdl-image session sftp shout sid skins smp socialweb speex spell sse sse2 ssl startup-notification svg systemd taglib tcpd telepathy theora tiff tremor truetype twolame udev udisks unicode upnp upower usb v4l vaapi vcdx vdpau vlm vorbis webkit wifi wimax wma-fixed wmf wps wxwidgets x264 xa xcb xml xpm xv xvid zlib zvbi" 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="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 14 renato gallo 2014-02-18 10:28:12 UTC
Created attachment 370702 [details]
gst-plugins-libav-1.2.0 still fails to build
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-18 11:19:44 UTC
Please don't CC random people.