# emerge putty Calculating dependencies ...done! >>> emerge (1 of 1) net-misc/putty-0.55 to / >>> md5 src_uri ;-) putty-0.55.tar.gz >>> Unpacking source... >>> Unpacking putty-0.55.tar.gz to /var/tmp/portage/putty-0.55/work * Generating Makefiles... [ ok ] * Setting CFLAGS... [ ok ] >>> Source unpacked. cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././be_all.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././cmdline.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././ldisc.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././logging.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././misc.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././portfwd.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././proxy.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././raw.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././rlogin.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././settings.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c ../unix/signal.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././ssh.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././sshaes.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././sshblowf.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././sshbn.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././sshcrc.c cc -O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4 -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././sshcrcda.c distccd[21359] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1572] ERROR: compile on 192.168.5.83/4 failed with exit code 110 make: *** [portfwd.o] Error 110 make: *** Waiting for unfinished jobs.... distccd[3303] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1582] ERROR: compile on 192.168.5.92/3 failed with exit code 110 make: *** [rlogin.o] Error 110 distccd[16309] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1565] ERROR: compile on 192.168.5.93/4 failed with exit code 110 make: *** [misc.o] Error 110 !!! ERROR: net-misc/putty-0.55 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! make failed distccd[670] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1556] ERROR: compile on 192.168.5.86/4 failed with exit code 110 distccd[21360] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1608] ERROR: compile on 192.168.5.83/4 failed with exit code 110 distccd[671] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1576] ERROR: compile on 192.168.5.86/4 failed with exit code 110 distccd[3304] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1592] ERROR: compile on 192.168.5.92/3 failed with exit code 110 distccd[21361] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1626] ERROR: compile on 192.168.5.83/4 failed with exit code 110 distccd[11710] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1580] ERROR: compile on 192.168.5.82/4 failed with exit code 110 distccd[11711] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1563] ERROR: compile on 192.168.5.82/4 failed with exit code 110 distccd[672] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1614] ERROR: compile on 192.168.5.86/4 failed with exit code 110 distccd[16310] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1605] ERROR: compile on 192.168.5.93/4 failed with exit code 110 distccd[16311] (dcc_execvp) ERROR: failed to exec cc: No such file or directory distcc[1611] ERROR: compile on 192.168.5.93/4 failed with exit code 110 # also, shouldn't the test for /dev/ptmx be in pkg_postinst(), not in pkg_install()? if test ! -c /dev/ptmx; then ewarn ewarn "The pterm application requires kernel UNIX98 PTY support to operate." ewarn fi quick workaround after peeking Makefile.gtk seems to be: # TOOLPATH=g emerge putty perhaps missing cc on distcc hosts is just my configuration problem, but i havent' seen such issue before (ca 6 months of distcc usage) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please post output from: emerge info And post output from: ls -l /usr/lib/distcc/bin
# ls -l /usr/lib/distcc/bin total 4 lrwxrwxrwx 1 root root 15 May 3 19:05 c++ -> /usr/bin/distcc* lrwxrwxrwx 1 root root 15 May 3 19:05 cc -> /usr/bin/distcc* lrwxrwxrwx 1 root root 15 May 3 19:05 g++ -> /usr/bin/distcc* lrwxrwxrwx 1 root root 15 May 3 19:05 gcc -> /usr/bin/distcc* lrwxrwxrwx 1 root root 15 May 3 19:05 i686-pc-linux-gnu-c++ -> /usr/bin/distcc* lrwxrwxrwx 1 root root 15 May 3 19:05 i686-pc-linux-gnu-g++ -> /usr/bin/distcc* lrwxrwxrwx 1 root root 15 May 3 19:05 i686-pc-linux-gnu-gcc -> /usr/bin/distcc* # emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.22-1.2115.nptlsmp) ================================================================= System uname: 2.4.22-1.2115.nptlsmp i686 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4" CHOST="i686-pc-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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox usersandbox" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j25" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/gentoo/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 arts artswrappersuid avi chroot crypt cups dga directfb dvd encode extensions fbcon flac gif gphoto2 gpm gstreamer gtk gtk2 imap imlib java javascript jpeg kde libg++ libwww linguas_et mad maildir md5sum memlimit mmx motif mpeg mysql ncurses oggvorbis opengl oss pam pda pdflib perl png qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcltk tiff truetype usb x86 xinerama xml2 xv zlib"