Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146278 - media-gfx/blender-2.41-r1 fails to compile
Summary: media-gfx/blender-2.41-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-04 08:47 UTC by Steve Carr
Modified: 2006-09-07 09:37 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 Steve Carr 2006-09-04 08:47:36 UTC
g++ -pipe -funsigned-char -O2 -march=pentium4 -fomit-frame-pointer -Wall -W -DGAMEBLENDER=1 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -DFTGL_STATIC_LIBRARY -I/usr/include/freetype2 -I/usr/include/FTGL -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont -Isource/blender/ftfont -Isource/blender/ftfont -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern -Isource/blender/ftfont/intern -Isource/blender/ftfont/intern -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/blenkernel -Isource/blender/blenkernel -Isource/blender/blenkernel -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/blenlib -Isource/blender/blenlib -Isource/blender/blenlib -I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/makesdna -Isource/blender/makesdna -Isource/blender/makesdna -c -o /var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern/FTF_Api.o source/blender/ftfont/intern/FTF_Api.cpp
In file included from source/blender/ftfont/intern/FTF_Api.cpp:44:
source/blender/ftfont/intern/FTF_TTFont.h:40:28: error: FTGLPixmapFont.h: No such file or directory
source/blender/ftfont/intern/FTF_TTFont.h:41:29: error: FTGLTextureFont.h: No such file or directory
source/blender/ftfont/intern/FTF_TTFont.h:115: error: ISO C++ forbids declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:115: error: expected ';' before '*' token
source/blender/ftfont/intern/FTF_TTFont.h:117: error: ISO C++ forbids declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:117: error: expected ';' before '*' token
source/blender/ftfont/intern/FTF_TTFont.h:118: error: ISO C++ forbids declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:118: error: expected ';' before '*' token
source/blender/ftfont/intern/FTF_TTFont.h:119: error: ISO C++ forbids declaration of 'FTFont' with no type
source/blender/ftfont/intern/FTF_TTFont.h:119: error: expected ';' before '*' token
scons: *** [/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern/FTF_Api.o] Error 1
scons: building terminated because of errors.

!!! ERROR: media-gfx/blender-2.41-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  blender-2.41-r1.ebuild, line 105:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

=========================
kvasir ~ # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --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 alsa apache2 apm arts avi berkdb bitmap-fonts cgi cli crypt cups curl dlloader dri eds emboss encode esd fam firefox foomaticdb fortran freetds gdbm gif gnome gpm gstreamer gtk gtk2 iconv imap imlib ipv6 isdnlog java jpeg kde kerberos ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly objc odbc ogg opengl oss pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis x86 xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_vesa video_cards_nvidia video_cards_i810 video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


kvasir ~ # gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,objc,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
Comment 1 Luca Barbato gentoo-dev 2006-09-07 07:43:24 UTC
Missing dep? the newer version shows the same problem?
Comment 2 Steve Carr 2006-09-07 07:47:05 UTC
so how has this been resolved?
Comment 3 Luca Barbato gentoo-dev 2006-09-07 07:50:58 UTC
there is something wrong

    nls? ( >=media-libs/ftgl-2.1 )

do you have ftgl installed?
Comment 4 Steve Carr 2006-09-07 07:53:00 UTC
ftgl is in place...

*  media-libs/ftgl
      Latest version available: 2.1.2-r1
      Latest version installed: 2.1.2-r1
Comment 5 Luca Barbato gentoo-dev 2006-09-07 08:07:32 UTC
qfile /usr/include/FTGL/FTGLPixmapFont.h
media-libs/ftgl (/usr/include/FTGL/FTGLPixmapFont.h)

I'm pretty puzzled since I have the same version installed...
Comment 6 Steve Carr 2006-09-07 08:41:14 UTC
same here...

qfile /usr/include/FTGL/FTGLPixmapFont.h
media-libs/ftgl (/usr/include/FTGL/FTGLPixmapFont.h)
Comment 7 Luca Barbato gentoo-dev 2006-09-07 08:43:24 UTC
g++ -pipe -funsigned-char -O2 -march=pentium4 -fomit-frame-pointer -Wall -W
-DGAMEBLENDER=1 -DUSE_BULLET -DUSE_SUMO_SOLID -DNDEBUG -DFTGL_STATIC_LIBRARY
-I/usr/include/freetype2 -I/usr/include/FTGL
-I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont
-Isource/blender/ftfont -Isource/blender/ftfont
-I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern
-Isource/blender/ftfont/intern -Isource/blender/ftfont/intern
-I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/blenkernel
-Isource/blender/blenkernel -Isource/blender/blenkernel
-I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/blenlib
-Isource/blender/blenlib -Isource/blender/blenlib
-I/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/makesdna
-Isource/blender/makesdna -Isource/blender/makesdna -c -o
/var/tmp/portage/blender-2.41-r1/work/build/linux2/source/blender/ftfont/intern/FTF_Api.o
source/blender/ftfont/intern/FTF_Api.cpp
In file included from source/blender/ftfont/intern/FTF_Api.cpp:44:
source/blender/ftfont/intern/FTF_TTFont.h:40:28: error: FTGLPixmapFont.h: No
such file or directory

reemerge blender. it makes no sense.
Comment 8 Steve Carr 2006-09-07 09:37:37 UTC
Everything is OK now, compiled and installed, it must have just been having a bad day with all the upgrades to gcc & glibc, thanks for you time