My emerge --info: Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.5 Last Sync: Fri, 22 Sep 2006 02:20:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5, 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.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/co nfig /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/conf ig/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ h ttp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LINGUAS="en de es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X aac aalib acpi aim alsa apache2 bash-completion berkdb bitmap-fonts calendar caps cdr cli crypt cups dga directfb dlloader dri dvd elibc_glibc emacs encode exif fbcon ffmpeg fftw firefox flac foomaticdb ftp gd gdbm gif glut gpm gtk gtk2 gtkhtml guile icq imagemagick input_devices_aiptek input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog ja va javascript jikes joystick jpeg jpeg2k kdexdeltas kernel_linux lcms leim libcaca libg++ libwww linguas_de linguas_en lingu as_es lm_sensors maildir mbox mcal memlimit mime mmx mng mp3 mpeg msn ncurses neXt nls nocd nptl nptlonly nsplugin offensive ogg opengl oscar pam pcre pdf perl plotutils png ppds pppd python qt4 quicktime readline reflection samba sdl session socke ts sox speex spell spl ssl svg svga tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GN U v4l vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga videos vorbis win32codecs wmf xml xmms xorg xosd xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Are we supposed to guess, or will you post some errors? :P
Created attachment 97835 [details] the emerge output The output of emerging truevision
Need to reopen bug after providing the requested info...
Same here (with same gcc version - 4.1.1)
Here it also fails with gcc 4.1.1 I can add emerge --info and emerge truevision output but it's quite the same as rubik's cube's (attachment). Errors seem to be: ../include/material.h: In member function 'virtual void Material::edit_widget(GtkWidget*)': ../include/material.h:155: error: 'sign_name_focusout' was not declared in this scope ../include/objparam.h:160: error: extra qualification 'ObjParam_bool::' on member 'ObjParam_bool'
> Errors seem to be: > > ../include/material.h: In member function 'virtual void > Material::edit_widget(GtkWidget*)': > ../include/material.h:155: error: 'sign_name_focusout' was not declared in this > scope > Adding "-ffriend-injection" C(XX)Flags seems to "solve" this one. I had to compile the file atmosphere.cc manually for testing as I was unable to convince configure to use them -.-
Regarding objparam.h: - ObjParam_bool::ObjParam_bool( ObjParam_bool & ref ) : ObjParam( ref ), TvWidget_bool( ref ) {} + ObjParam_bool( ObjParam_bool & ref ) : ObjParam( ref ), TvWidget_bool( ref ) {} + Explanation: http://help.lockergnome.com/linux/compile-lve-error-ftopict380899.html Regarding material.h: Haven't quite figured this one out. This may be helpful: http://gcc.gnu.org/ml/gcc-help/2007-02/msg00197.html Cheers
Created attachment 114142 [details, diff] Patch for ebuild Patch for ebuild to incorporate patch for gcc4 fixes
Created attachment 114146 [details] Patch with gcc4 fixes Patch to remove extra qualification in objparam.h (by Marcelo Goes) and extra declarations to remove the reliance on friend name injection. ref. http://womble.decadentplace.org.uk/c++/syntax-errors.html Compiles and runs on my machine. I hope that's it.
Created attachment 114150 [details, diff] Same patch (gcc4 fixes), minor cosmetic changes Only changed some of my comments reading "friend insertion" to "friend injection" ;-)
Wow, that was a lot of work! Thanks, added to cvs (patch should hit the mirrors soon enough). Please submit to upstream :-). Cheers, Marcelo