while trying to emerge fte 20050108-r3 I ran into the following problem g++ -fno-rtti -fno-exceptions -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -DUNIX -DLINUX -I/usr/X11R6/include -I/usr/include/slang -c con_slang.cpp g++ -fno-rtti -fno-exceptions -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -DUNIX -DLINUX -I/usr/X11R6/include -I/usr/include/slang -c clip_no.cpp con_slang.cpp: In function 'int ConInit(int, int)': con_slang.cpp:236: error: 'SLtty_set_suspend_state' was not declared in this scope make[2]: *** [con_slang.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [unix] Error 2 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.52-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) =============================================================== == System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc emboss imagemagick nls png ppc-macos qt sdl slang tiff userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I get a bit further, but it seems to be a linux only tuned editor: /Library/Gentoo/usr/lib/gcc/powerpc-apple-darwin8/4.1.2/../../../../powerpc-apple-darwin8/bin/ld: warning multiple definitions of symbol _strlcat s_string.o definition of _strlcat in section (__TEXT,__text) /usr/lib//libSystem.dylib(strlcat.So) definition of _strlcat g++ -fno-rtti -fno-exceptions -g -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -DUNIX -DLINUX -I/usr/X11R6/include -I/usr/include/slang -c con_linux.cpp con_linux.cpp:43:20: error: sys/vt.h: No such file or directory con_linux.cpp:44:20: error: sys/kd.h: No such file or directory con_linux.cpp:49:23: error: linux/tty.h: No such file or directory con_linux.cpp:50:25: error: linux/major.h: No such file or directory con_linux.cpp:51:26: error: linux/kdev_t.h: No such file or directory con_linux.cpp:52:22: error: linux/kd.h: No such file or directory con_linux.cpp:96: error: aggregate ‘kbdiacrs diacr_table’ has incomplete type and cannot be defined
vtfe is a Linux console, and hence needs not to be built on non-Linux platforms. Fixed and keyworded ppc-macos now.