baselayout-1.10.1 fails to compile. Error message: >>> Source unpacked. * Building utilities... gcc -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -c -o consoletype.o consoletype.c gcc -o consoletype consoletype.o gcc -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -c -o runscript.o runscript.c gcc -o runscript runscript.o -ldl gcc -o start-stop-daemon -O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -DHAVE_ERROR_H -DHAVE_TIOCNOTTY -DHAVE_SETSID start-stop-daemon.c In file included from /usr/local/include/error.h:46, from start-stop-daemon.c:106: /usr/local/include/utils.h:71:18: util.h: No such file or directory In file included from /usr/local/include/error.h:47, from start-stop-daemon.c:106: /usr/local/include/node.h:47:44: util.h: No such file or directory make: *** [start-stop-daemon] Error 1 !!! ERROR: sys-apps/baselayout-1.10.1 failed. !!! Function src_compile, Line 89, Exitcode 2 !!! problem compiling utilities Hardware: G3 iBook Rev. 2.2 800 MHz # emerge info Portage 2.0.50-r8 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.2_rc1-benh1) ================================================================= System uname: 2.6.2_rc1-benh1 ppc 750FX Gentoo Base System version 1.4.16 distcc 2.14 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gd.tuwien.ac.at/opsys/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa apache2 apm arts audiofile berkdb caps crypt cups doc dvd encode flac foomaticdb gdbm gif gnome-libs gphoto2 gpm gtk2 guile icq imlib innodb jack jack-tmpfs java jpeg kde ladcca lcms libwww mad maildir mitshm monkey motif mozilla mpeg mysql ncurses nls offensive oggvorbis opengl pam pdflib perl png ppc python qt radeon readline samba sasl sdl slang speex spell ssl tcltk tcpd tetex tiff truetype usb video_cards_radeon wmf xml xml2 xmms xv zlib"
you broke your system mv /usr/local/include /usr/local/include-old and try again
Thanks, this fixes the problem. But why does the compilation care for /usr/local/include (It comes from some non-ebuild installation)? Shouldn't it work anyway?
no, that's the normal gcc behavior ... users can override most things by putting files in /usr/local/include