# emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r11 i686) ================================================================= System uname: 2.6.16-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.15 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="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US.UTF-8" 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="/etc/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 avi berkdb bitmap-fonts cdr cjk cli crypt cups dlloader dri dvd eds emboss encode firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg opengl pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse ssl tcpd tetex truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS >>> Emerging (1 of 1) app-office/texmacs-1.0.4-r1 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking TeXmacs-1.0.4-R3-src.tar.gz ;-) >>> checking TeXmacs-600dpi-fonts.tar.gz ;-) >>> Unpacking source... >>> Unpacking TeXmacs-1.0.4-R3-src.tar.gz to /var/tmp/portage/texmacs-1.0.4-r1/work >>> Unpacking TeXmacs-600dpi-fonts.tar.gz to /var/tmp/portage/texmacs-1.0.4-r1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/texmacs-1.0.4-r1/work/TeXmacs-1.0.4-R3-src ... * econf: updating TeXmacs-1.0.4-R3-src/config.guess with /usr/share/gnuconfig/config.guess * econf: updating TeXmacs-1.0.4-R3-src/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking whether GNU C++ compiler is default... yes checking version of gcc... 4.1.1 checking version of g++... 4.1.1 checking for C++-compatible X header files... yes checking for Guile... yes checking version of guile... 1.6.7 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for dlopen... no checking for dlopen in -ldl... yes checking for dlopen... (cached) no checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for freetype... yes checking for gettimeofday... yes checking whether ... arguments behave correctly... no checking the size_t of guile strings... size_t checking if compiler supports -fno-rtti -fno-exceptions... yes checking if statically linking with guile works... "no" checking if it works with -lltdl... "no" checking if it works with -lltdl -ldl... "yes" checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu final setup for an Intel/GNU-linux host disabling debugging enabling optimizations, -O3 -fexpensive-optimizations configure: creating ./config.status config.status: creating Makefile config.status: creating src/common.makefile config.status: creating src/System/tm_configure.hpp config.status: creating misc/admin/admin.makefile config.status: creating misc/doxygen/Doxyfile config.status: creating misc/man/texmacs.1 config.status: creating misc/rpm/TeXmacs.spec config.status: creating misc/scripts/fig2ps config.status: creating misc/scripts/texmacs config.status: creating TeXmacs/examples/plugins/dynlink/Makefile mkdir -p src/Deps mkdir -p src/Objects mkdir -p TeXmacs/bin mkdir -p TeXmacs/lib cd src; make -f makefile link=shared make[1]: Entering directory `/var/tmp/portage/texmacs-1.0.4-r1/work/TeXmacs-1.0.4-R3-src/src' i686-pc-linux-gnu-g++ -I./System -I./System/Boot -I./System/Classes -I./System/Files -I./System/Link -I./System/Misc -I./Classes/Abstract -I./Classes/Atomic -I./Classes/Compound -I./Data/Drd -I./Data/String -I./Data/Tree -I./Data/Convert -I./Guile -I./Resource -I/var/tmp/portage/texmacs-1.0.4-r1/work/TeXmacs-1.0.4-R3-src/TeXmacs/include -I/usr/include/freetype2 -Wall -Wno-return-type -O2 -march=pentium4 -pipe -fno-default-inline -fno-inline -c ./Data/String/analyze.cpp -o Objects/analyze.o ./Classes/Atomic/string.hpp:29: error:
# emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r11 i686) ================================================================= System uname: 2.6.16-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.15 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="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US.UTF-8" 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="/etc/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 avi berkdb bitmap-fonts cdr cjk cli crypt cups dlloader dri dvd eds emboss encode firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg opengl pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse ssl tcpd tetex truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS >>> Emerging (1 of 1) app-office/texmacs-1.0.4-r1 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking TeXmacs-1.0.4-R3-src.tar.gz ;-) >>> checking TeXmacs-600dpi-fonts.tar.gz ;-) >>> Unpacking source... >>> Unpacking TeXmacs-1.0.4-R3-src.tar.gz to /var/tmp/portage/texmacs-1.0.4-r1/work >>> Unpacking TeXmacs-600dpi-fonts.tar.gz to /var/tmp/portage/texmacs-1.0.4-r1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/texmacs-1.0.4-r1/work/TeXmacs-1.0.4-R3-src ... * econf: updating TeXmacs-1.0.4-R3-src/config.guess with /usr/share/gnuconfig/config.guess * econf: updating TeXmacs-1.0.4-R3-src/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking whether GNU C++ compiler is default... yes checking version of gcc... 4.1.1 checking version of g++... 4.1.1 checking for C++-compatible X header files... yes checking for Guile... yes checking version of guile... 1.6.7 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for dlopen... no checking for dlopen in -ldl... yes checking for dlopen... (cached) no checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for freetype... yes checking for gettimeofday... yes checking whether ... arguments behave correctly... no checking the size_t of guile strings... size_t checking if compiler supports -fno-rtti -fno-exceptions... yes checking if statically linking with guile works... "no" checking if it works with -lltdl... "no" checking if it works with -lltdl -ldl... "yes" checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu final setup for an Intel/GNU-linux host disabling debugging enabling optimizations, -O3 -fexpensive-optimizations configure: creating ./config.status config.status: creating Makefile config.status: creating src/common.makefile config.status: creating src/System/tm_configure.hpp config.status: creating misc/admin/admin.makefile config.status: creating misc/doxygen/Doxyfile config.status: creating misc/man/texmacs.1 config.status: creating misc/rpm/TeXmacs.spec config.status: creating misc/scripts/fig2ps config.status: creating misc/scripts/texmacs config.status: creating TeXmacs/examples/plugins/dynlink/Makefile mkdir -p src/Deps mkdir -p src/Objects mkdir -p TeXmacs/bin mkdir -p TeXmacs/lib cd src; make -f makefile link=shared make[1]: Entering directory `/var/tmp/portage/texmacs-1.0.4-r1/work/TeXmacs-1.0.4-R3-src/src' i686-pc-linux-gnu-g++ -I./System -I./System/Boot -I./System/Classes -I./System/Files -I./System/Link -I./System/Misc -I./Classes/Abstract -I./Classes/Atomic -I./Classes/Compound -I./Data/Drd -I./Data/String -I./Data/Tree -I./Data/Convert -I./Guile -I./Resource -I/var/tmp/portage/texmacs-1.0.4-r1/work/TeXmacs-1.0.4-R3-src/TeXmacs/include -I/usr/include/freetype2 -Wall -Wno-return-type -O2 -march=pentium4 -pipe -fno-default-inline -fno-inline -c ./Data/String/analyze.cpp -o Objects/analyze.o ./Classes/Atomic/string.hpp:29: error: string has not been declared ./Classes/Atomic/string.hpp: In function int N(string): ./Classes/Atomic/string.hpp:19: error: int string_rep::n is private ./Classes/Atomic/string.hpp:48: error: within this context make[1]: *** [Objects/analyze.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/texmacs-1.0.4-r1/work/TeXmacs-1.0.4-R3-src/src' make: *** [TEXMACS] Error 2 !!! ERROR: app-office/texmacs-1.0.4-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile texmacs-1.0.4-r1.ebuild, line 49: Called die
The problem may have been a compatibility issue with the gcc-4.1. I'm using the ~x86 version of the texmacs and it didn't have a build issue.
*** This bug has been marked as a duplicate of 142267 ***