Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 384239

Summary: media-gfx/blender-2.49b-r2 compile failed with ffmpeg-0.7.5
Product: Gentoo Linux Reporter: tman <cornicx>
Component: New packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED DUPLICATE    
Severity: normal CC: azamat.hackimov, cedric.godin, DuPol, edt, graphics+disabled, mrsteven, nikoli, saintdev, spock128, ted, vostorga, waynedpj
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
build.log for failed media-gfx/blender-2.49b-r2
emerge.info for failed media-gfx/blender-2.49b-r2
patch to compile against ffmpeg-0.7.6
Pretty much the same thing as Spocks patch with a little difference.

Description tman 2011-09-23 20:54:14 UTC
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"
Comment 1 tman 2011-09-23 20:54:43 UTC
Created attachment 287555 [details]
build.log
Comment 2 Renato Alves 2011-09-25 14:05:58 UTC
I also have this error.

The problem seems to be the same as in bug 374339
Comment 3 Matt 2011-10-06 03:31:38 UTC
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???)
Comment 4 Matt 2011-10-06 03:32:39 UTC
Created attachment 288933 [details]
build.log for failed media-gfx/blender-2.49b-r2
Comment 5 Matt 2011-10-06 03:34:01 UTC
Created attachment 288935 [details]
emerge.info for failed media-gfx/blender-2.49b-r2
Comment 6 mrsteven 2011-10-06 21:02:04 UTC
Confirming all this.
Comment 7 Andrea 2011-10-07 17:02:32 UTC
confirm with ffmpeg 0.7.6 the bug is still present
Comment 8 Ed Tomlinson 2011-10-09 14:02:21 UTC
confirm with ffmpeg 0.8.5 the bug is still present.
Comment 9 aditsu 2011-10-10 10:44:36 UTC
Me too, blender-2.49b-r2, ffmpeg-0.7.6
Comment 10 Joost Ruis 2011-10-18 07:54:00 UTC
We have it too on both ~amd64 and ~x86
Comment 11 spock128 2011-10-23 05:36:45 UTC
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)
Comment 12 Piotr Mrożek 2011-10-30 16:05:01 UTC
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.
Comment 13 Piotr Mrożek 2011-10-30 16:08:39 UTC
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.
Comment 14 Luca Barbato gentoo-dev 2011-11-07 21:52:58 UTC
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 ***
Comment 15 aditsu 2011-11-08 09:34:17 UTC
So.. how is it fixed?