Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92261

Summary: colorgcc is not able to compile blender-2.36-r1
Product: Gentoo Linux Reporter: Ruben Garcia <ruben>
Component: Current packagesAssignee: Aaron Walker (RETIRED) <ka0ttic>
Status: VERIFIED FIXED    
Severity: normal CC: esigra, graphics+disabled
Priority: High    
Version: 2005.0   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ruben Garcia 2005-05-11 09:11:41 UTC
when I run emerge blender, colorgcc gives lots of errors 
Use of uninitialized value in concatenation (.) or string at /bin/gcc line 207.
Use of uninitialized value in substitution (s///) at /bin/gcc line 244.


Reproducible: Always
Steps to Reproduce:
1. emerge blender
2.
3.

Actual Results:  
Calculating dependencies  >>> Unpacking source...
>>> Unpacking blender-2.36.tar.gz to /var/tmp/portage/blender-2.36-r1/work
 * Applying blender-2.36-dirs.patch ...
                                                                               [
ok ]
>>> Source unpacked.
scons: Reading SConscript files ...
Creating new config file: config.opts
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
 * enabling game engine
 * enabling internationalization
scons: Reading SConscript files ...
Using config file: config.opts
scons: done reading SConscript files.
scons: Building targets ...
gcc -pipe -funsigned-char -O3 -pipe -march=athlon-mp -fomit-frame-pointer -Wall
-W -D
GAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -DBUILD_TIME='"15:47:32"'
-DBUILD_DATE='"2005
-05-11"' -DBUILD_TYPE='"dynamic"' -DNAN_BUILDINFO -DBUILD_PLATFORM='"linux2"'
-I/usr/
include -c -o
/mnt/backup/vartmp/portage/blender-2.36-r1/work/build/linux2/source/cre
ator/player_buildinfo.o source/creator/buildinfo.c
Use of uninitialized value in concatenation (.) or string at /bin/gcc line 207.
Use of uninitialized value in substitution (s///) at /bin/gcc line 244.
Use of uninitialized value in concatenation (.) or string at /bin/gcc line 207.
Use of uninitialized value in substitution (s///) at /bin/gcc line 244.
-------repeats infinitely-------------

Expected Results:  
compile blender correctly

colorgcc version dev-util/colorgcc-1.3.2-r4

 gcc -v
Leyendo especificaciones de /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/specs
Configurado con: /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--enable-languages=c,c++,java,f77 --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
Modelo de hilos: posix
gcc versión 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2,
ssp-3.4.3.20050110-0, pie-8.7.7)
Comment 1 Ruben Garcia 2005-05-11 09:11:41 UTC
when I run emerge blender, colorgcc gives lots of errors 
Use of uninitialized value in concatenation (.) or string at /bin/gcc line 207.
Use of uninitialized value in substitution (s///) at /bin/gcc line 244.


Reproducible: Always
Steps to Reproduce:
1. emerge blender
2.
3.

Actual Results:  
Calculating dependencies  >>> Unpacking source...
>>> Unpacking blender-2.36.tar.gz to /var/tmp/portage/blender-2.36-r1/work
 * Applying blender-2.36-dirs.patch ...
                                                                               [
ok ]
>>> Source unpacked.
scons: Reading SConscript files ...
Creating new config file: config.opts
scons: done reading SConscript files.
scons: Building targets ...
scons: building terminated because of errors.
 * enabling game engine
 * enabling internationalization
scons: Reading SConscript files ...
Using config file: config.opts
scons: done reading SConscript files.
scons: Building targets ...
gcc -pipe -funsigned-char -O3 -pipe -march=athlon-mp -fomit-frame-pointer -Wall
-W -D
GAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -DBUILD_TIME='"15:47:32"'
-DBUILD_DATE='"2005
-05-11"' -DBUILD_TYPE='"dynamic"' -DNAN_BUILDINFO -DBUILD_PLATFORM='"linux2"'
-I/usr/
include -c -o
/mnt/backup/vartmp/portage/blender-2.36-r1/work/build/linux2/source/cre
ator/player_buildinfo.o source/creator/buildinfo.c
Use of uninitialized value in concatenation (.) or string at /bin/gcc line 207.
Use of uninitialized value in substitution (s///) at /bin/gcc line 244.
Use of uninitialized value in concatenation (.) or string at /bin/gcc line 207.
Use of uninitialized value in substitution (s///) at /bin/gcc line 244.
-------repeats infinitely-------------

Expected Results:  
compile blender correctly

colorgcc version dev-util/colorgcc-1.3.2-r4

 gcc -v
Leyendo especificaciones de /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/specs
Configurado con: /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--enable-languages=c,c++,java,f77 --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
Modelo de hilos: posix
gcc versión 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2,
ssp-3.4.3.20050110-0, pie-8.7.7)
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-05-12 04:22:36 UTC
I highly doubt those are coming from colorgcc, as emerge does not use colorgcc even if it's installed.  Would be nice if it did though (see bug 2679).
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-12 04:27:35 UTC
OK. Sorry, ka0ttic.
Comment 4 Ruben Garcia 2005-05-12 04:48:22 UTC
ls -l /bin/gcc
lrwxr-xr-x  1 root root 17 oct 14  2004 /bin/gcc -> /usr/bin/colorgcc
ls -l /bin/g++
lrwxr-xr-x  1 root root 17 oct 14  2004 /bin/g++ -> /usr/bin/colorgcc

So /bin/gcc and so is /bin/g++ is colorgcc

I also have distcc installed. Perhaps distcc is calling colorgcc on emerge's back?
Comment 5 Ruben Garcia 2005-05-13 09:47:21 UTC
emerge unmerge colorgcc

emerge blender

Works
Comment 6 Ruben Garcia 2005-05-13 09:56:03 UTC
please reasign to colorgcc.

If I remember correctly, after thousands of these error messages, blender does manage to compile with colorgcc (it takes looong, though)

I'll try to make a small testcase with the blender source
Comment 7 Aaron Walker (RETIRED) gentoo-dev 2005-05-13 18:25:09 UTC
Not sure why you have symlinks in /bin.... colorgcc does not install those.   colorgcc installs the links in /usr/lib/colorgcc/bin, which you have to explicitly add to your PATH.
Comment 8 Ruben Garcia 2005-05-19 04:22:35 UTC
removing the /bin links and changing the path seems to work
Closing bug
Comment 9 Luca Barbato gentoo-dev 2005-05-19 04:24:01 UTC
Closing