I'm using distcc with cross compilers, so I need to specify CC=$CHOST-gcc. The ebuild ignores this and uses straight gcc, causing failure. Reproducible: Always Steps to Reproduce: 1. CC=powerpc-unknown-linux-gnu-gcc CXX=powerpc-unknown-linux-gnu-g++ emerge -u --nodeps yaboot Actual Results: Calculating dependencies ...done! >>> emerge (1 of 9) sys-apps/yaboot-1.3.10-r1 to / >>> md5 ;-) yaboot-1.3.10.tar.gz >>> Unpacking source... >>> Unpacking yaboot-1.3.10.tar.gz to /var/tmp/portage/yaboot-1.3.10-r1/work >>> Source unpacked. * Applying yabootconfig-1.3.10.patch... [ ok ] gcc -Os -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char -DVERSION=\"1.3.10\" -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -D__ASSEMBLY__ -c -o second/crt0.o second/crt0.S gcc -Os -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char -DVERSION=\"1.3.10\" -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o second/yaboot.o second/yaboot.c distcc[11606] (dcc_recursion_safeguard) CRITICAL! distcc seems to have invoked itself recursively! make: *** [second/yaboot.o] Error 111 !!! ERROR: sys-apps/yaboot-1.3.10-r1 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! (no error message) Expected Results: Calculating dependencies ...done! >>> emerge (1 of 9) sys-apps/yaboot-1.3.10-r1 to / >>> md5 ;-) yaboot-1.3.10.tar.gz >>> Unpacking source... >>> Unpacking yaboot-1.3.10.tar.gz to /var/tmp/portage/yaboot-1.3.10-r1/work >>> Source unpacked. * Applying yabootconfig-1.3.10.patch... [ ok ] powerpc-unknown-linux-gnu-gcc -Os -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char -DVERSION=\"1.3.10\" -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -D__ASSEMBLY__ -c -o second/crt0.o second/crt0.S powerpc-unknown-linux-gnu-gcc -Os -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char -DVERSION=\"1.3.10\" -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o second/yaboot.o second/yaboot.c ..... Fix: /usr/portage/sys-apps/yaboot/yaboot-1.3.10-r1.ebuild 29/29 - emake ${MAKEOPTS}|| die ---------------------------------------- + emake ${MAKEOPTS} CC=${CC}|| die
This has been fixed and committed to portage.