while trying to emerge games-roguelike/moria 5.5.2 I ran into the following problem files.c: In function 'read_times': files.c:155: warning: incompatible implicit declaration of built-in function 'exit' gcc -O2 -pipe -c -o io.o io.c io.c: In function 'suspend': io.c:245: error: storage size of 'tbuf' isn't known io.c:246: error: storage size of 'lcbuf' isn't known io.c:247: error: storage size of 'cbuf' isn't known io.c:252: error: 'TIOCGETP' undeclared (first use in this function) io.c:252: error: (Each undeclared identifier is reported only once io.c:252: error: for each function it appears in.) io.c:253: error: 'TIOCGETC' undeclared (first use in this function) io.c:254: error: 'TIOCGLTC' undeclared (first use in this function) io.c:261: error: 'TIOCSETP' undeclared (first use in this function) io.c:262: error: 'TIOCSETC' undeclared (first use in this function) io.c:263: error: 'TIOCSLTC' undeclared (first use in this function) io.c: In function 'init_curses': io.c:302: error: 'TIOCGLTC' undeclared (first use in this function) io.c:303: error: 'TIOCGETP' undeclared (first use in this function) io.c:304: error: 'TIOCGETC' undeclared (first use in this function) io.c:320: warning: comparison between pointer and integer io.c:324: warning: incompatible implicit declaration of built-in function 'exit' io.c:329: warning: incompatible implicit declaration of built-in function 'exit' io.c: In function 'moriaterm': io.c:397: error: storage size of 'lbuf' isn't known io.c:398: error: storage size of 'buf' isn't known io.c:448: error: 'TIOCGLTC' undeclared (first use in this function) io.c:455: error: 'TIOCSLTC' undeclared (first use in this function) io.c:457: error: 'TIOCGETC' undeclared (first use in this function) io.c:464: error: 'TIOCSETC' undeclared (first use in this function) io.c: In function 'put_buffer': io.c:500: warning: incompatible implicit declaration of built-in function 'abort' io.c: In function 'restore_term': io.c:562: error: 'TIOCSLTC' undeclared (first use in this function) io.c:563: error: 'TIOCSETP' undeclared (first use in this function) io.c:564: error: 'TIOCSETC' undeclared (first use in this function) io.c: In function 'shell_out': io.c:659: error: storage size of 'tbuf' isn't known io.c:660: error: storage size of 'lcbuf' isn't known io.c:661: error: storage size of 'cbuf' isn't known io.c:692: error: 'TIOCGETP' undeclared (first use in this function) io.c:693: error: 'TIOCGETC' undeclared (first use in this function) io.c:694: error: 'TIOCGLTC' undeclared (first use in this function) io.c:695: error: 'TIOCLGET' undeclared (first use in this function) io.c:734: error: 'TIOCSLTC' undeclared (first use in this function) io.c:735: error: 'TIOCSETP' undeclared (first use in this function) io.c:736: error: 'TIOCSETC' undeclared (first use in this function) io.c:737: error: 'TIOCLSET' undeclared (first use in this function) io.c:746: warning: incompatible implicit declaration of built-in function 'execl' io.c:756: warning: incompatible implicit declaration of built-in function 'exit' io.c:766: warning: passing argument 1 of 'wait' from incompatible pointer type io.c: In function 'print': io.c:1126: warning: incompatible implicit declaration of built-in function 'abort' io.c: In function 'move_cursor_relative': io.c:1159: warning: incompatible implicit declaration of built-in function 'abort' make: *** [io.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: games-roguelike/moria-5.5.2 failed. !!! Function games_src_compile, Line 164, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. 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 try to stay out of the games team's reach