Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94422 - media-gfx/blender-2.37 is out and requires some patches
Summary: media-gfx/blender-2.37 is out and requires some patches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-05-29 16:06 UTC by D J Capelis
Modified: 2006-07-17 03:01 UTC (History)
3 users (show)

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


Attachments
Ebuild for 2.37 (blender-2.37.ebuild,3.23 KB, application/octet-stream)
2005-05-29 16:11 UTC, D J Capelis
Details
Actual Ebuild for 2.37 (blender-2.37.ebuild,3.03 KB, text/plain)
2005-05-29 16:17 UTC, D J Capelis
Details
Partial fix to the path problems with blender (blender-2.37-dirs.patch,1.06 KB, patch)
2005-06-01 11:51 UTC, Luca Barbato
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description D J Capelis 2005-05-29 16:06:24 UTC
Blender 2.37 will be released presumably tomorrow.

Figured I'd go ahead and modify the ebuild to match.  It's attached below.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 D J Capelis 2005-05-29 16:11:35 UTC
Created attachment 60131 [details]
Ebuild for 2.37

This is a modified version of the 2.37-r1 ebuild.
Comment 2 D J Capelis 2005-05-29 16:12:21 UTC
Comment on attachment 60131 [details]
Ebuild for 2.37

Based off of 2.36-r1, not 2.37-r1
Comment 3 D J Capelis 2005-05-29 16:17:53 UTC
Created attachment 60132 [details]
Actual Ebuild for 2.37

Ever uploaded something that you saw was fine when you were editing it in VI
and then you realized you forgot to hit esc:w!	?

Well... I have, here's the actual attachment, sorry about that.
Comment 4 Luca Barbato gentoo-dev 2005-05-31 12:14:05 UTC
testing it now, thanks for the notice
Comment 5 Luca Barbato gentoo-dev 2005-05-31 12:14:58 UTC
question, why the source isn't available from the usual channel?
Comment 6 D J Capelis 2005-05-31 15:48:29 UTC
Looks like it's the same place it always has been... sometimes there's a slight
lag before the source is actually uploaded.  It should be there now. :)
Comment 7 Luca Barbato gentoo-dev 2005-06-01 02:32:47 UTC
As always blender has is share of issues about scons and standard paths.

It will require me about 2-3days to sort the issues out.

Please report yourself upstream the problems.
Comment 8 Luca Barbato gentoo-dev 2005-06-01 11:51:07 UTC
Created attachment 60391 [details, diff]
Partial fix to the path problems with blender

Please test this patch and report me which are the places that aren't yet
correctly set
Comment 9 Aris Adamantiadis 2005-06-05 10:37:59 UTC
Maybe it's an other issue here. when emerging blender on amd64 I get this error
after a while :
g++ -pipe -funsigned-char -O2 -pipe -fomit-frame-pointer -Wall -W
-DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -Iintern/guardedalloc
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/blenlib
-Isource/blender/blenlib -Isource/blender/blenlib
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/makesdna
-Isource/blender/makesdna -Isource/blender/makesdna
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/blenkernel
-Isource/blender/blenkernel -Isource/blender/blenkernel
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/imbuf
-Isource/blender/imbuf -Isource/blender/imbuf
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/include
-Isource/blender/include -Isource/blender/include
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/render/extern/include
-Isource/blender/render/extern/include -Isource/blender/render/extern/include
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/render/intern/include
-Isource/blender/render/intern/include -Isource/blender/render/intern/include -c
-o
/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/yafray/intern/export_Plugin.o
source/blender/yafray/intern/export_Plugin.cpp
scons: ***
[/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/yafray/intern/export_Plugin.o]
Exception
Traceback (most recent call last):
  File "/usr/lib/scons/SCons/Taskmaster.py", line 101, in execute
    self.targets[0].build()
  File "/usr/lib/scons/SCons/Node/__init__.py", line 201, in build
    apply(executor, (self, errfunc), kw)
  File "/usr/lib/scons/SCons/Executor.py", line 115, in __call__
    apply(action, (self.targets, self.sources, env, errfunc), kw)
  File "/usr/lib/scons/SCons/Action.py", line 243, in __call__
    stat = self.execute(target, source, env)
  File "/usr/lib/scons/SCons/Action.py", line 439, in execute
    return act.execute(target, source, env)
  File "/usr/lib/scons/SCons/Action.py", line 439, in execute
    return act.execute(target, source, env)
  File "/usr/lib/scons/SCons/Action.py", line 378, in execute
    ret = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "/usr/lib/scons/SCons/Platform/posix.py", line 80, in spawn_spawn
    stat = os.spawnvpe(os.P_WAIT, sh, args, env)
  File "/usr/lib64/python2.3/os.py", line 553, in spawnvpe
    return _spawnvef(mode, file, args, env, execvpe)
  File "/usr/lib64/python2.3/os.py", line 489, in _spawnvef
    pid = fork()
OSError: [Errno 12] Cannot allocate memory
scons: building terminated because of errors.

!!! ERROR: media-gfx/blender-2.37 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! (no error message)
!!! If you need support, post blahblah

MAKEOPTS="" emerge blender corrects it (looks like the ebuild does not like -j2)
Comment 10 Luca Barbato gentoo-dev 2005-06-05 11:40:13 UTC
another issue (here works correctly), please open another bug. Looks like you
don't have enough memory to have scons working (how much ram do you have?)
Comment 11 Aris Adamantiadis 2005-06-05 14:43:24 UTC
(In reply to comment #10)
> another issue (here works correctly), please open another bug. Looks like you
> don't have enough memory to have scons working (how much ram do you have?)
athlon 64 3400+, 512mb ram
it looks like a scons bug. I'm going to open an other bug
Comment 12 Luca Barbato gentoo-dev 2005-06-07 02:16:48 UTC
Could you tell me if the partial fix (now in portage) is enough to fix your
issues or you think I should fix something else (please tell me what exactly)
Comment 13 Sean Parsons 2005-06-08 17:34:40 UTC
I get this when I try to emerge blender: 
g++ -pipe -funsigned-char -O2 -march=k8 -pipe -Wall -W -DGAMEBLENDER=1  
-DUSE_SUMO_SOLID -DNDEBUG  
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/kernel/gen_messaging  
-Isource/kernel/gen_messaging -Isource/kernel/gen_messaging  
-I/var/tmp/portage/blender-2.37/work/build/linux2/source/kernel/gen_system  
-Isource/kernel/gen_system -Isource/kernel/gen_system -Iintern/string  
-Iintern/moto/include -c  
-o /var/tmp/portage/blender-2.37/work/build/linux2/source/kernel/gen_system/GEN_HashedPtr.o  
source/kernel/gen_system/GEN_HashedPtr.cpp  
../build/linux2/makesdna /var/tmp/portage/blender-2.37/work/build/linux2/source/blender/makesdna/intern/dna.c  
*** glibc detected *** double free or corruption (out): 0x00002aaaacf85fc0 ***  
scons: ***  
[/var/tmp/portage/blender-2.37/work/build/linux2/source/blender/makesdna/intern/dna.c]  
Error -6  
In file included from source/kernel/gen_system/GEN_HashedPtr.cpp:33:  
source/kernel/gen_system/GEN_HashedPtr.h: In member function `unsigned int  
GEN_HashedPtr::hash() const':  
source/kernel/gen_system/GEN_HashedPtr.h:43: warning: cast from pointer to  
integer of different size  
scons: building terminated because of errors.  
  
!!! ERROR: media-gfx/blender-2.37 failed.  
!!! Function src_compile, Line 100, Exitcode 2  
!!! (no error message)  
!!! If you need support, post the topmost build error, NOT this status  
message.  
 
emerge info gives: 
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 
2.6.11-gentoo-r7 x86_64) 
================================================================= 
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+ 
Gentoo Base System version 1.6.12 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.8 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.16-r1 
sys-devel/libtool:   1.5.18 
virtual/os-headers:  2.6.11-r1 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -march=k8 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=k8 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/java-experimental" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aac acl acpi aim alsa apache2 apm arts avi bash-completion berkdb 
bitmap-fonts blender-game bluetooth bzip2 cairo cdparanoia cdr chroot clamav 
clamd crypt cups curl dmx doc dvd dvdr dvdread emul-linux-x86 encode esd 
extras fam ffmpeg flac flash fluidsynth font-server fortran ftp gcj gd gdbm 
gif gimp glut gstreamer gtk gtk2 hal http icq id3 ieee1394 image imagemagick 
imap imlib ipv6 j2ee jabber jack jack-tmpfs java javacomm javadoc javascript 
jce jcs jikes jp2 jpeg jpeg2k junit kde kdeenablefinal kdepim lame libclamav 
lua lzw lzw-tiff mad mikmod mmap mng mp3 mpeg mpeg2 mpeg4 msn mssql musepack 
music mysql mysqli ncurses network nfs nls nvidia odbc ogg oggvorbis openal 
opengl openssl oss pam perl png pnp portaudio posix postgres povray python qt 
quicktime readline real reiserfs ruby samba sdl soap sounds soundtouch sox 
speex spell sql ssl subversion svg tcpd theora tiff transcode truetype 
truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd virus-scan 
vorbis web wxwindows xine xinerama xml xml2 xmms xpm xrandr xsl xslt xv yahoo 
zeroconf zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
Comment 14 Luca Barbato gentoo-dev 2005-06-09 01:46:46 UTC
that is a sandbox related issue that should be already fixed (please update the
sandbox or disable it.
Comment 15 Ziga Boehm 2005-06-15 10:58:20 UTC
i post this more as a side note than anything else - in case somebody else  
encounters similar problems...  
  
when i first tried to compile the new blender-2.37 i got the following  
error:  
[...]  
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld:  
warning: libslang.so.1, needed by /usr/lib/libaa.so.1, not found (try using  
-rpath or -rpath-link)  
/usr/lib/libaa.so.1: undefined reference to `SLsmg_Display_Eight_Bit'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_set_cursor_visibility'  
/usr/lib/libaa.so.1: undefined reference to `SLkp_init'  
/usr/lib/libaa.so.1: undefined reference to `SLsmg_write_string'  
/usr/lib/libaa.so.1: undefined reference to `SLsmg_gotorc'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_set_color'  
/usr/lib/libaa.so.1: undefined reference to `SLang_init_tty'  
/usr/lib/libaa.so.1: undefined reference to `SLsmg_refresh'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_Screen_Cols'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_Use_Ansi_Colors'  
/usr/lib/libaa.so.1: undefined reference to `SLang_reset_tty'  
/usr/lib/libaa.so.1: undefined reference to `SLang_input_pending'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_get_terminfo'  
/usr/lib/libaa.so.1: undefined reference to `SLkp_getkey'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_set_mono'  
/usr/lib/libaa.so.1: undefined reference to `SLsmg_set_color'  
/usr/lib/libaa.so.1: undefined reference to `SLsmg_reset_smg'  
/usr/lib/libaa.so.1: undefined reference to `SLsmg_init_smg'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_get_screen_size'  
/usr/lib/libaa.so.1: undefined reference to `SLtt_Screen_Rows'  
collect2: ld returned 1 exit status  
scons: *** [blenderplayer] Error 1  
[...] 
 
strangely enough the libslang, reported here as missing, was in fact installed 
on my system. i therefore decided to dig through other bug reports and soon 
found out the following three, which could be related to this: 
 
http://bugs.gentoo.org/show_bug.cgi?id=70328 
http://bugs.gentoo.org/show_bug.cgi?id=95223 
http://bugs.gentoo.org/show_bug.cgi?id=95247 
 
since my system is unicode and the error was about libslang i decided to 
upgrade sys-libs/slang from 1.4.9-r1 to 1.4.9-r2. after that the emerge  of 
new blender went without a hitch. 
 
 
Comment 16 Luca Barbato gentoo-dev 2005-06-15 12:17:35 UTC
looks like it's unrelated do blender, the bugs you picked are correct.

Could you please check if you have any problems setting up the python scripts or
other path related issues?

Comment 17 gad.kadosh 2005-06-16 11:03:25 UTC
In any case, blender-2.37a is out now, so portage requires a version bump :)
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-07-17 03:01:52 UTC
Obsolete bug, closing.