Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458948 - media-plugins/gst-plugins-ffmpeg-0.10.13-r2 with media-video/ffmpeg-1.0.4 - In file included from gstffmpegprotocol.c:34:0: gstffmpeg.h:63:1: error: unknown type name 'URLProtocol'
Summary: media-plugins/gst-plugins-ffmpeg-0.10.13-r2 with media-video/ffmpeg-1.0.4 - I...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
: 459066 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-24 08:38 UTC by jms
Modified: 2013-03-09 21:10 UTC (History)
2 users (show)

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


Attachments
build log jms (build.log,28.92 KB, text/plain)
2013-02-24 08:39 UTC, jms
Details
environment jms (environment,89.31 KB, text/plain)
2013-02-24 08:40 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2013-02-24 08:38:25 UTC
after world update did revdep-rebuild
this brought up quite a few update related to  ffmpeg
rebuild fail for gst-plugins-ffmpeg-0.10.13-r2

Reproducible: Always

Steps to Reproduce:
1.emerge -v =media-video/ffmpeg-1.0.4 
2.emerge -v =media-plugins/gst-plugins-ffmpeg-0.10.13-r2
3.
Actual Results:  
fail to compile
gstffmpegcodecmap.c:2065:11: warning: statement with no effect [-Wunused-value]
gstffmpegcodecmap.c:2067:33: error: 'SAMPLE_FMT_S32' undeclared (first use in this function)
gstffmpegcodecmap.c:2067:31: error: incompatible types when assigning to type 'enum AVSampleFormat' from type 'const struct <anonymous> *'
gstffmpegcodecmap.c:2067:11: warning: statement with no effect [-Wunused-value]
gstffmpegcodecmap.c: In function 'gst_ffmpeg_caps_with_codecid':
gstffmpegcodecmap.c:2483:9: warning: 'sub_id' is deprecated (declared at /usr/include/libavcodec/avcodec.h:1502) [-Wdeprecated-declarations]
make[3]: *** [libgstffmpeg_la-gstffmpegcodecmap.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13-r2/work/gst-ffmpeg-0.10.13/ext/ffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13-r2/work/gst-ffmpeg-0.10.13/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13-r2/work/gst-ffmpeg-0.10.13'
make: *** [all] Error 2
 * ERROR: media-plugins/gst-plugins-ffmpeg-0.10.13-r2 failed (compile phase):
 *   emake failed


Expected Results:  
compile

emerge --info =media-plugins/gst-plugins-ffmpeg-0.10.13-r2
Portage 2.1.11.52 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.6.8-gentoo-jms-3.6.8 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.6.8-gentoo-jms-3.6.8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1
KiB Mem:     4046884 total,    230816 free
KiB Swap:    4208992 total,   3534432 free
Timestamp of tree: Sun, 24 Feb 2013 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.6.8, 2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo gamerlay sunrise x-jms
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/sunrise /usr/local/portage/jms"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apm autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dga dhcpcd directfb dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp gnutls gphoto2 gpm gstreamer gtk gzip hdri iconv icq icu ieee1394 imagemagick imap imlib ipod ipv6 jabber jpeg jpeg2k kde kipi kontact lame laptop lastfm lcms ldap libcaca libnotify libwww lm_sensor lzma lzo mad maildir matroska mdnsresponder-compat memlimit mhash mikmod mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurse ncurses networkmanager nls nptl nsplugin nvidia ofx ogg openal openexr opengl openmp oss pam pango pcmcia pcre pdf phonon php plasma png policykit ppds projectm pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop session smp speex spell sse sse2 ssl ssse3 startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb v4l v4l2 vcd vdpau video vim-syntax vorbis webkit wifi wxwidgets x x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xscreesaver xulrunner xv xvid xvmc yahoo 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" 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="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" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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

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

media-plugins/gst-plugins-ffmpeg-0.10.13-r2 was built with the following:
USE="(multilib) orc"
Comment 1 jms 2013-02-24 08:39:18 UTC
Created attachment 339924 [details]
build log jms
Comment 2 jms 2013-02-24 08:40:15 UTC
Created attachment 339926 [details]
environment jms
Comment 3 jms 2013-02-24 08:52:46 UTC
downgrading to media-video/ffmpeg-0.10.6 
 then works again
Comment 4 jms 2013-02-24 18:38:42 UTC
so had a quick look at this .
It seems that  gstreamer renamed gst-plugins-ffmpeg to gst-plugins-libav
gst-plugins-libav should work with libav or ffmpeg as gentoo suport virtual/ffmpeg

+gst-plugins-libav-1.0.3.ebuild, +metadata.xml:
  Initial ebuild, upstream renamed gst-ffmpeg

Don't know if there has been some news about it maybe I missed it .
That would be nice
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-26 16:55:09 UTC
*** Bug 459066 has been marked as a duplicate of this bug. ***
Comment 6 jms 2013-02-26 17:13:17 UTC
there is a comment:
* Messages for package media-plugins/gst-plugins-ffmpeg-0.10.13-r2:

 * Please note that upstream uses media-video/libav
 * rather than media-video/ffmpeg. If you encoutner any
 * issues try to move from ffmpeg to libav.
Comment 7 jms 2013-02-26 17:24:00 UTC
note:
from what I understood we should move to 
gst-plugins-libav has that is what upstream suport mow instead of gst-plugins-ffmpeg
problem this depend of 
>=media-plugins/gst-plugins-meta-1.0 
which depend of media-libs/gstreamer:1.0

but I can't update because of firefox-19.0

RDEPEND="
	>=sys-devel/binutils-2.16.1
	>=dev-libs/nss-3.14.1
	>=dev-libs/nspr-4.9.4
	>=dev-libs/glib-2.26:2
	>=media-libs/mesa-7.10
	>=media-libs/libpng-1.5.13[apng]
	virtual/libffi
	gstreamer? ( media-plugins/gst-plugins-meta:0.10[ffmpeg] )
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-02-27 11:34:59 UTC
gst-plugins-ffmpeg is the name of the package for gstreamer-0.10 series, it was renamed upstream to gst-plugins-libav for 1.0 series and we follow upstream here.

The error here lies in the fact that you keyworded >=ffmpeg-1 while this release of gst-plugins-ffmpeg does not support it. You must keyword the appropriate version of gst-plugins-ffmpeg as well.
Comment 9 Tianon 2013-02-27 16:32:07 UTC
Would it not also be required to keyword appropriately newer releases of the rest of the gstreamer packages (to get all of them up to 1.0)?

Keywording just gst-plugins-ffmpeg gets version 0.10.13_p201211 (still in slot 0.10), presumably because I'm still running the rest of gstreamer at 0.10, and because gst-plugins-ffmpeg doesn't actually exist in 1.0 (renamed to libav, as mentioned), right?

Just want to make sure the exact resolution here is a little more clear in case future adventurers can't give up their keyworded ffmpeg. :)
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-02-27 16:57:56 UTC
The issue is that your are mixing ~arch and arch and failed to keyword all relevant packages.
Comment 11 Jaak Ristioja 2013-02-27 20:16:50 UTC
(In reply to comment #10)
> The issue is that your are mixing ~arch and arch and failed to keyword all
> relevant packages.

Shouldn't package dependencies prevent such situations?
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-02-28 12:24:37 UTC
No.

Package dependencies are meant for regular usage (upgrades) and preventing know combination of packages when it makes sense (like part of a package being split to its own ebuild), etc.

It is not meant to accommodate users who keyword packages on their own. In such situation, the user is expected to know what he/she is doing and keyword necessary dependencies/reverse dependencies.
Comment 13 Jaak Ristioja 2013-03-01 07:13:35 UTC
(In reply to comment #12)
> No.
> 
> Package dependencies are meant for regular usage (upgrades) and preventing
> know combination of packages when it makes sense (like part of a package
> being split to its own ebuild), etc.
> 
> It is not meant to accommodate users who keyword packages on their own. In
> such situation, the user is expected to know what he/she is doing and
> keyword necessary dependencies/reverse dependencies.

This is not what I read from the Gentoo Handbook chapter 3 on Mixing Software Branches. Maybe I'll file a bug about the handbook being misleading then?
Comment 14 Jack 2013-03-09 21:10:22 UTC
I get the same error, and I "think" I have what I want/need keyworded.  I have both gst-plugins-meta 0.10-r8:0.10 and 1.0-r1:1.0 emerged, with gst-plugins-ffmpeg-0.10.13-r2:0.10 and gst-plugins-libav-1.0.5:1.0 with media-video/ffmpeg-1.0.5.  As with the OP, revdep-rebuild is trying to re-install gst-plugins-ffmpeg-0.10.13-r2, which is failing as per this bug.  

Am I really missing a keyword somewhere, or is there a problem with the chain of depends?  gst-plugins-ffmpeg-0.10.13-r2 needs virtual/ffmpeg-0.10.3 which then needs >=media-video/ffmpeg-0.10.3.  

Is the problem that gst-plugins-ffmpeg:0.10 really shouldn't be OK with >=media-video/ffmpeg-1?