Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230615 - media-gfx/blender-2.46-r1 failed to build
Summary: media-gfx/blender-2.46-r1 failed to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-03 10:36 UTC by Mike Bonar
Modified: 2008-07-03 15:57 UTC (History)
0 users

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 Mike Bonar 2008-07-03 10:36:25 UTC
Emerge for blender fails with the following error.

Linking program ==> 'blender'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libfaad.so.0, needed by /usr/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/lib/libavcodec.so: undefined reference to `faacDecClose'
/usr/lib/libavcodec.so: undefined reference to `faacDecInit2'
/usr/lib/libavcodec.so: undefined reference to `faacDecOpen'
/usr/lib/libavcodec.so: undefined reference to `faacDecInit'
/usr/lib/libavcodec.so: undefined reference to `faacDecGetErrorMessage'
/usr/lib/libavcodec.so: undefined reference to `faacDecSetConfiguration'
/usr/lib/libavcodec.so: undefined reference to `faacDecDecode'
/usr/lib/libavcodec.so: undefined reference to `faacDecGetCurrentConfiguration'
collect2: ld returned 1 exit status
scons: *** [/var/tmp/portage/media-gfx/blender-2.46-r1/work/build/linux2/bin/blender] Error 1
scons: building terminated because of errors.

emerge --info:

ocean glide # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Thu, 03 Jul 2008 09:04:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
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-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer hal iconv ipod isdnlog jack jpeg kde kerberos mad midi mikmod mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg tcpd tiff truetype unicode vorbis xcomposite xine xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I had just fixed some dependency issues between vlc and ffmpeg.  My package.keywords:

ocean glide # more /etc/portage/package.keywords
x11-drivers/nvidia-drivers
media-libs/freetype
x11-libs/libXft
x11-libs/cairo
app-emulation/wine
media-gfx/blender
media-video/ffmpeg
x11-libs/pixman
dev-util/eclipse-sdk
dev-java/cldc-api
dev-java/junit
dev-java/hamcrest-core
dev-java/icu4j
dev-java/lucene
dev-java/commons-el
kde-base/kdepim-meta
kde-base/kde-meta
dev-util/bouml
dev-util/scons
media-video/vlc
media-video/transcode
media-libs/libquicktime
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-03 15:15:09 UTC
`revdep-rebuild` should do it, otherwse reopen please
Comment 2 Mike Bonar 2008-07-03 15:24:19 UTC
(In reply to comment #1)
> `revdep-rebuild` should do it, otherwse reopen please
> 
I ran revdep-rebuild a couple of times to fix the ffmpeg dependency problem right before I ran the emerge for Blender.
Comment 3 Mike Bonar 2008-07-03 15:31:09 UTC
(In reply to comment #1)
> `revdep-rebuild` should do it, otherwse reopen please
> 

...And, I just ran it again.  You are correct, "broken /usr/bin/blender (requires  libavformat.so.51)"

Thx.
Comment 4 Mike Bonar 2008-07-03 15:46:48 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > `revdep-rebuild` should do it, otherwse reopen please
> > 
> 
> ...And, I just ran it again.  You are correct, "broken /usr/bin/blender
> (requires  libavformat.so.51)"
> 
> Thx.
> 
...And revdep-rebuild failed to rebuild it...

Compiling ==> 'cdderivedmesh.c'
scons: *** [/var/tmp/portage/media-gfx/blender-2.46/work/build/linux2/source/blender/blenkernel/intern/writeffmpeg.o] Error 1
scons: building terminated because of errors.
 *
 * ERROR: media-gfx/blender-2.46 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2675:  Called die
 * The specific snippet of code:
 *       scons ${MAKEOPTS/-l[0-9]} || die "!!! Please add ${S}/scons.config when filing bugs reports to bugs.gentoo.org";
 *  The die message:
 *   !!! Please add /var/tmp/portage/media-gfx/blender-2.46/work/blender-2.46/scons.config when filing bugs reports to bugs.gentoo.org
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/blender-2.46/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.46/temp/environment'.
 *

The output says to include scons.config in the bug, but there is no such file:

ocean glide # ls -l /var/tmp/portage/media-gfx/blender-2.46/work/blender-2.46
total 140
drwxr-xr-x  2 root root  4096 May 19 09:41 CMake
-rw-r--r--  1 root root 15442 May 19 09:40 CMakeLists.txt
-rw-r--r--  1 root root    85 May 19 09:40 COPYING
-rw-r--r--  1 root root  4148 May 19 09:40 ChangeLog
-rw-r--r--  1 root root 16744 May 19 09:40 INSTALL
-rw-r--r--  1 root root  1879 May 19 09:40 Makefile
-rw-r--r--  1 root root  1383 May 19 09:40 README
-rw-r--r--  1 root root 17523 May 19 09:40 SConstruct
drwxr-xr-x  3 root root  4096 May 19 09:41 bin
drwxr-xr-x  2 root root  4096 May 19 09:41 blenderplayer
drwxr-xr-x  2 root root  4096 May 19 09:41 config
drwxr-xr-x  2 root root  4096 May 19 09:41 dlltool
drwxr-xr-x  2 root root  4096 May 19 09:41 doc
drwxr-xr-x 15 root root  4096 May 19 09:41 extern
drwxr-xr-x 18 root root  4096 May 19 09:41 intern
drwxr-xr-x  5 root root  4096 May 19 09:41 make
drwxr-xr-x  2 root root  4096 May 19 09:41 po
drwxr-xr-x  7 root root  4096 May 19 09:41 projectfiles
drwxr-xr-x  6 root root  4096 May 19 09:41 projectfiles_vc7
drwxr-xr-x 11 root root  4096 May 19 09:41 release
drwxr-xr-x  9 root root  4096 May 19 09:41 source
drwxr-xr-x  2 root root  4096 May 19 09:41 tools
-rw-r--r--  1 root root   379 Jul  3 10:37 user-config.py

Comment 5 Mike Bonar 2008-07-03 15:57:58 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #1)
> > > `revdep-rebuild` should do it, otherwse reopen please
> > > 
> > 
> > ...And, I just ran it again.  You are correct, "broken /usr/bin/blender
> > (requires  libavformat.so.51)"
> > 
> > Thx.
> > 
> ...And revdep-rebuild failed to rebuild it...
> 
> Compiling ==> 'cdderivedmesh.c'
> scons: ***
> [/var/tmp/portage/media-gfx/blender-2.46/work/build/linux2/source/blender/blenkernel/intern/writeffmpeg.o]
> Error 1
> scons: building terminated because of errors.
>  *
>  * ERROR: media-gfx/blender-2.46 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2675:  Called die
>  * The specific snippet of code:
>  *       scons ${MAKEOPTS/-l[0-9]} || die "!!! Please add ${S}/scons.config
> when filing bugs reports to bugs.gentoo.org";
>  *  The die message:
>  *   !!! Please add
> /var/tmp/portage/media-gfx/blender-2.46/work/blender-2.46/scons.config when
> filing bugs reports to bugs.gentoo.org
>  *
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/tmp/portage/media-gfx/blender-2.46/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/media-gfx/blender-2.46/temp/environment'.
>  *
> 
> The output says to include scons.config in the bug, but there is no such file:
> 
> ocean glide # ls -l /var/tmp/portage/media-gfx/blender-2.46/work/blender-2.46
> total 140
> drwxr-xr-x  2 root root  4096 May 19 09:41 CMake
> -rw-r--r--  1 root root 15442 May 19 09:40 CMakeLists.txt
> -rw-r--r--  1 root root    85 May 19 09:40 COPYING
> -rw-r--r--  1 root root  4148 May 19 09:40 ChangeLog
> -rw-r--r--  1 root root 16744 May 19 09:40 INSTALL
> -rw-r--r--  1 root root  1879 May 19 09:40 Makefile
> -rw-r--r--  1 root root  1383 May 19 09:40 README
> -rw-r--r--  1 root root 17523 May 19 09:40 SConstruct
> drwxr-xr-x  3 root root  4096 May 19 09:41 bin
> drwxr-xr-x  2 root root  4096 May 19 09:41 blenderplayer
> drwxr-xr-x  2 root root  4096 May 19 09:41 config
> drwxr-xr-x  2 root root  4096 May 19 09:41 dlltool
> drwxr-xr-x  2 root root  4096 May 19 09:41 doc
> drwxr-xr-x 15 root root  4096 May 19 09:41 extern
> drwxr-xr-x 18 root root  4096 May 19 09:41 intern
> drwxr-xr-x  5 root root  4096 May 19 09:41 make
> drwxr-xr-x  2 root root  4096 May 19 09:41 po
> drwxr-xr-x  7 root root  4096 May 19 09:41 projectfiles
> drwxr-xr-x  6 root root  4096 May 19 09:41 projectfiles_vc7
> drwxr-xr-x 11 root root  4096 May 19 09:41 release
> drwxr-xr-x  9 root root  4096 May 19 09:41 source
> drwxr-xr-x  2 root root  4096 May 19 09:41 tools
> -rw-r--r--  1 root root   379 Jul  3 10:37 user-config.py
> 

emerge -C and emerge blender fixed it.