Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374339 - media-gfx/blender-2.57-r1: fails to building ffmpeg code
Summary: media-gfx/blender-2.57-r1: fails to building ffmpeg code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
: 382161 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-07 11:55 UTC by Artem Semendyaev
Modified: 2011-11-17 05:39 UTC (History)
24 users (show)

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


Attachments
build.log (build.log,34.69 KB, text/plain)
2011-07-07 11:56 UTC, Artem Semendyaev
Details
blender-2.57-r1-2.58a.ebuild.diff (blender-2.57-r1-2.58a.ebuild.diff,4.27 KB, patch)
2011-07-13 16:40 UTC, Honza Macháček
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Semendyaev 2011-07-07 11:55:07 UTC
media-gfx/blender-2.57-r1: fails to emerge with 
source/blender/blenkernel/intern/writeffmpeg.c: In function ‘ffmpeg_property_add’:
source/blender/blenkernel/intern/writeffmpeg.c:1104:9: error: incompatible types when assigning to type ‘int’ from type ‘const union <anonymous>’
source/blender/blenkernel/intern/writeffmpeg.c:1109:9: error: incompatible types when assigning to type ‘float’ from type ‘const union <anonymous>’

Reproducible: Always




emerge --info =media-gfx/blender-2.57-r1
Portage 2.1.10.4 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.38.4-zen x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38.4-zen-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 07 Jul 2011 10:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7, 2.7.2, 3.1.4, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
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
sys-devel/gcc:            3.4.6-r2, 4.1.2, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-i686_overlay proaudio roslin sunrise xwing spring kde qting-edge kde-sunset enlightenment desktop-effects belak local-portage initng
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru 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="/usr/local/i686_overlay /usr/local/portage/layman/pro-audio /usr/local/portage/layman/roslin /usr/local/portage/layman/sunrise /usr/local/portage/layman/xwing /usr/local/portage/layman/Spring /usr/local/portage/layman/kde /usr/local/portage/layman/qting-edge /usr/local/portage/layman/kde-sunset /usr/local/portage/layman/enlightenment /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/belak /usr/local/portage /usr/local/initng-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amarok amd64 avahi bash-completion berkdb bfq bittorrent bluetooth branding bzip2 cairo calendar caps cdb cdda cddb cdr chm cli consolekit cracklib crypt cups cxx dbus dga djvu dri dts dv dvb dvd dvdr dvdread emboss encode examples exif fam fbcon fbcondecor fbsplash ffmpeg firefox firefox3 flac fluidsynth fontconfig fortran ftp fuse gdbm gdu gif gimp gphoto2 gpm gtk hddtemp iconv icq imagemagick imap irc jabber jack javascript jingle joystick jpeg jpeg2k kde kipi lame laptop lcms levels libcaca libnotify libsamplerate lm_sensors logitech-mouse lua mad matroska matrox mdnsresponder-compat melt metalink mikmod mmx mmxext mng modplug modules mozilla mp3 mp4 mpeg mplayer mtp mudflap multilib multilibs ncurses nls nptl nptlonly ogg openal opengl openmp oscar oss pam pango pcre pda pdf perl plasma png policykit portaudio ppds pppd private-headers python qt3support qt4 quicktime radius raw rdesktop readline rss samba scanner sdl semantic-desktop session skype smp sounds sox speex spell sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs taglib tcpd theora threads tiff truetype udev unicode usb userlocales v4l v4l2 vcd vdpau vhook vhosts vnc vorbis wavpack webkit wmf wxwindows x264 xattr xcb xcomposite xine xml xorg xpm xscreensaver xulrunner xv xvid zlib" 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="braindump flow karbon kexi kpresenter krita tables words" 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" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NETBEANS_MODULES="cnd dlight enterprise ergonomics identity mobility php profiler webcommon apisupport harness java nb" PHP_TARGETS="php5-3" RUBY_TARGETS="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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Artem Semendyaev 2011-07-07 11:56:51 UTC
Created attachment 279321 [details]
build.log
Comment 2 Artem Semendyaev 2011-07-07 11:59:20 UTC
media-video/ffmpeg installed version:  0.7.1 (3dnow 3dnowext X aac alsa bzip2 encode hardcoded-tables jack jpeg2k mmx mmxext mp3 oss sdl speex ssse3 theora threads truetype v4l v4l2 vdpau video_cards_nvidia vorbis x264 xvid zlib)
Comment 3 Honza Macháček 2011-07-13 16:40:02 UTC
Created attachment 280003 [details, diff]
blender-2.57-r1-2.58a.ebuild.diff

The bug is known upstream http://web.archiveorange.com/archive/v/1bjALaIULEzxQ4yzyRGs and corrected in version 2.58.

I have compiled blender against the current ffmpeg (media-video/ffmpeg-0.7.1) using a makeshift version bump to the current version 2.58a.
Comment 4 Bernd Feige 2011-07-26 13:33:09 UTC
Same here!
Honza's version bump did the trick for me. Thanks!
Comment 5 Oleg Korsak 2011-09-17 23:50:52 UTC
Same here. Waiting for official ebuild
Comment 6 jannis 2011-09-18 21:07:21 UTC
See also: https://bugs.gentoo.org/show_bug.cgi?id=382161
Comment 7 Andrey Grozin gentoo-dev 2011-09-30 05:14:18 UTC
*** Bug 382161 has been marked as a duplicate of this bug. ***
Comment 8 Nick Bowler 2011-10-11 16:52:57 UTC
Note that since ffmpeg-0.7.6 is now stable, the "stable" tree is affected by this as well.
Comment 9 movrev 2011-10-16 08:07:43 UTC
Tested patch on amd64. Working flawlessly so far. It would make sense to just roll a 2.58a official ebuild (or just jump onto 2.59/2.60) in order to close the bug.
Comment 10 Peter Asplund 2011-10-16 15:51:25 UTC
I agree.

1.) Either just release a 2.57-r2 so user can run revdep-rebuild without a failing Blender?
2.) Bump the version to 2.59 and get rid of the bug that way.

Since the bug has been around since early July it would be really nice to get it sorted. The patch is here, so I guess releasing it as ~amd64 wouldn't be a huge endeavor?
Comment 11 Peter Asplund 2011-10-16 16:34:30 UTC
Patch works for me as well!
Comment 12 Krellan 2011-10-30 02:41:05 UTC
I couldn't get the Honza patch to work.  After merging it in, it still built blender 2.57-r1 and didn't upgrade to any newer version.

Are there additional files that I need, in order to use the patch?  Perhaps it wasn't merged right.  If anybody has a working ebuild file that will produce a version of Blender that is newer than 2.57, please attach it.  Thank you!

For now, I'm doing the workaround of disabling ffmpeg, in package.use:
media-gfx/blender -ffmpeg
Comment 13 Luca Barbato gentoo-dev 2011-11-07 21:48:08 UTC
I updated the patch supporting libav-0.7 api.
Comment 14 Nick Bowler 2011-11-09 18:50:58 UTC
The stable blender versions are still broken.
Comment 15 Eric Siegel 2011-11-17 02:39:13 UTC
Blender 2.60a works with ffmpeg.
Comment 16 Luca Barbato gentoo-dev 2011-11-17 05:39:54 UTC
the .49 should be fixed as well.