see attachment for full log please. media-gfx/blender-2.49b-r2 compile failed with ffmpeg-0.7.5 Reproducible: Always Portage 2.2.0_alpha59_p30 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64) ================================================================= System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Fri, 23 Sep 2011 19:00:01 +0000 app-shells/bash: 4.2_p10 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.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 9999 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo emacs lorelei-overlay lxde mgorny mpd qting-edge science wirelay scarabeus Techwolf poly-c luman gnome java-overlay nikai lokal Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en vi" MAKEOPTS="-j3" 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"
Created attachment 287555 [details] build.log
I also have this error. The problem seems to be the same as in bug 374339
Just stopping by to say "me too". media-gfx/blender-2.49b-r2 # qlist -Iv ffmpeg media-plugins/gst-plugins-ffmpeg-0.10.11-r1 media-video/ffmpeg-0.7.5 virtual/ffmpeg-0.6.90 M. (P.S. Why isn't there a more current virtual???)
Created attachment 288933 [details] build.log for failed media-gfx/blender-2.49b-r2
Created attachment 288935 [details] emerge.info for failed media-gfx/blender-2.49b-r2
Confirming all this.
confirm with ffmpeg 0.7.6 the bug is still present
confirm with ffmpeg 0.8.5 the bug is still present.
Me too, blender-2.49b-r2, ffmpeg-0.7.6
We have it too on both ~amd64 and ~x86
Created attachment 290593 [details, diff] patch to compile against ffmpeg-0.7.6 This is just a quick-n-dirty patch to get it to compile again. No guarantees that blender will actually work with the new ffmpeg. This may be too little, too late considering that blender 2.58a seems to fix this bug for good (see bug 374339)
Spock123: The /usr/include/libavutil/opt.h states that: /* TODO those are unused now */ int64_t i64; AVRational q; so I think, that i64 should not be used. I'm uploading my own patch, that just casts dbl for both: int and float values.
Created attachment 291245 [details, diff] Pretty much the same thing as Spocks patch with a little difference. I'ts pretty much the same thing as Spocks patch, but I used value casting from default_val.dbl, because ffmpeg's opt.h states that i64 is not used anymoe.
Uhm looks like I got the bugs in the wrong order... Well fixed anyway. *** This bug has been marked as a duplicate of bug 377479 ***
So.. how is it fixed?