MacShabba:/Users/shabba root# emerge gcc-config Calculating dependencies ...done! >>> emerge (1 of 1) sys-devel/gcc-config-1.3.9 to / >>> Unpacking source... >>> Source unpacked. /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.4.c:17:18: wait.h: No such file or directory !!! ERROR: sys-devel/gcc-config-1.3.9 failed. !!! Function src_compile, Line 26, Exitcode 1 !!! compile wrapper runnong in debug mode: + gcc -O2 -Wall -o wrapper /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.4.c /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.4.c:17:18: wait.h: No such file or directory Reproducible: Always Steps to Reproduce: 1. keyword sys-devel/gcc-config-1.3.9 with ppc-macos 2. emerge gcc-config 3. Actual Results: !!! ERROR: sys-devel/gcc-config-1.3.9 failed. :o( Expected Results: >>> sys-devel/gcc-config-1.3.9 merged. ;o) MacShabba:/Users/shabba root# emerge info !!! 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.51-r3 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh) =============================================================== == System uname: 7.7.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: Automake: Binutils: Headers: sys-libs/libsystem-7.1 Libtools: ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CFLAGS="" CHOST="powerpc-apple-darwin" COMPILER="" 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="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="nls ppc-macos" i do find it ironic that 'emerge info' states that i need to install gcc-config :oP
changed the reference from #include <wait.h> to #include <sys/wait.h> this then leaves a complaint about not being able to find /etc/init.d/functions.sh which is part of the baselayout bug (58106)
Created attachment 52779 [details, diff] patch to add support for ppc-macos Should fix above two problems. Suspect is also eliminates the dependancy on 58106. The ebuild was rearranged somewhat so that the files are modified in the WORKDIR as opposed to on the fly / in the INSTALLDIR in order to add support (additional modifications) for ppc-macos.
changed the include to sys/wait.h in cvs