Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242502 - media-gfx/blender-2.48 does not compile with USE=ffmpeg
Summary: media-gfx/blender-2.48 does not compile with USE=ffmpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 20:26 UTC by karpi
Modified: 2008-10-20 07:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description karpi 2008-10-17 20:26:07 UTC
blender-2.48 does not compile with USE ffmpeg

...
...
...
Compiling ==> 'library.c'                             
Compiling ==> 'customdata.c'                          
Compiling ==> 'sca.c'                                 
Compiling ==> 'pointcache.c'                          
Compiling ==> 'writeffmpeg.c'                         
Compiling ==> 'armature.c'                            
source/blender/blenkernel/intern/writeffmpeg.c:32:29: error: ffmpeg/avformat.h: No such file or directory
source/blender/blenkernel/intern/writeffmpeg.c:33:28: error: ffmpeg/avcodec.h: No such file or directory
source/blender/blenkernel/intern/writeffmpeg.c:34:29: error: ffmpeg/rational.h: No such file or directory
source/blender/blenkernel/intern/writeffmpeg.c:35:28: error: ffmpeg/swscale.h: No such file or directory
source/blender/blenkernel/intern/writeffmpeg.c:36:24: error: ffmpeg/opt.h: No such file or directory
source/blender/blenkernel/intern/writeffmpeg.c:80: error: 'CODEC_ID_MPEG4' undeclared here (not in a function)
source/blender/blenkernel/intern/writeffmpeg.c:81: error: 'CODEC_ID_MP2' undeclared here (not in a function)
source/blender/blenkernel/intern/writeffmpeg.c:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
source/blender/blenkernel/intern/writeffmpeg.c:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
source/blender/blenkernel/intern/writeffmpeg.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
...
...
...

--------------------------------
also:

 *   !!! Please add /var/tmp/portage/media-gfx/blender-2.48/work/blender-2.48/scons.config when filing bugs reports to bugs.gentoo.org

alnagon ~ # find /var/tmp/portage/media-gfx/blender-2.48/work/blender-2.48/ |grep 'scons.config'

..empty out

--------------------------------
libs are there:
alnagon ~ % locate -i avformat.h
/usr/include/libavformat/avformat.h


my media-video/ffmpeg version:
(~)0.4.9_p20080326

------------------
alnagon ~ # emerge --info                      
Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Fri, 17 Oct 2008 18:37:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.7-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/proj/epsg /var/lib/postgresql/data/ /var/spool/wwwoffle/html"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/ http://gentoo.oregonstate.edu"
LC_ALL="cs_CZ.utf8"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi alsa apache2 bash-completion cairo cdda cddb cdio cdr chardet cli cracklib crypt cups dbus djvu dlloader dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg fftw firefox flac fortran freetype gd geoip geotiff gif gimp gnutls gphoto2 gstreamer gtk hal iconv isdnlog jack jpeg jpeg2k kde lcms libcaca libnotify live mad matroska mbox midi mikmod mmx mp3 mpeg mpeg2 mudflap musepack ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp oss pam pcre pdf png portaudio postgres pppd python qt3 qt3support qt4 quicktime readline reflection rstp rtsp sdl session spell spl sqlite sqlite3 ssl startup-notification stream svg syslog tcpd theora tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="vga vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Meier gentoo-dev 2008-10-18 19:53:30 UTC
could you try media-gfx/blender-2.48-r1 (which will require an unstable sys-apps/portage)?
Comment 2 Markus Meier gentoo-dev 2008-10-19 21:33:22 UTC
media-gfx/blender-2.48-r1 uses EAPI=0 now, so it should be useable without latest portage installed. please resync in a few hours and emerge this version. (and reopen this bug if it is should still be a problem)
Comment 3 karpi 2008-10-20 07:40:06 UTC
yes.. now emerges nicelly. Thank you. (Im too afraid to use unstable portage - i hope im not alone)