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
Created attachment 279321 [details] build.log
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)
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.
Same here! Honza's version bump did the trick for me. Thanks!
Same here. Waiting for official ebuild
See also: https://bugs.gentoo.org/show_bug.cgi?id=382161
*** Bug 382161 has been marked as a duplicate of this bug. ***
Note that since ffmpeg-0.7.6 is now stable, the "stable" tree is affected by this as well.
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.
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?
Patch works for me as well!
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
I updated the patch supporting libav-0.7 api.
The stable blender versions are still broken.
Blender 2.60a works with ffmpeg.
the .49 should be fixed as well.