I am using distcc-2.18.3-r10 My last emerge --depclean removed gcc-config (may be becouse of my use of gcc-4.1.1 and the heading towards eselect). The problem is that distcc's init-script seems to need gcc-config so either make distcc depend on gcc-config or port the script to use eselect instead. ### ~ $ sudo /etc/init.d/distccd restart * Starting distccd ... /etc/init.d/distccd: line 14: gcc-config: command not found [ ok ] ### Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4.90.20060716-r0, 2.6.17-gentoo-r2 i686) ================================================================= System uname: 2.6.17-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17.50.0.3 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -pipe -O2 -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -pipe -O2 -ggdb -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms splitdebug strict userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.csbnet.se/pub/linux/distributions/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.pudas.net/gentoo" LANG="sv" LC_ALL="sv_SE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both" LINGUAS="sv" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/portage/local/layman/liferea_overlay /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/nxsty-glibc /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/gentopia /usr/local/overlays/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa asf audioscrobbler avahi avi bash bash-completion beagle berkdb bitmap-fonts boost branding browserplugin bzip2 cairo canvas cdr cli crypt cups curl dbus debug dlloader dmx dpms dri dvd dvdr eds emboss encode evo fat firefox flac fortran freetype gd gdbm gif glibc-omitfp glitz gmp gnome gnome-firefox gnutls gpm gstreamer gstreamer010 gstreamer10 gtk gtk2 gtkhtml gxl hal howl-compat icu idn imlib inotify ipv6 irmc isdnlog ithreads java jikes joystick jpeg lcms libclamav libg++ libnotify libsexy libwww lm_sensors logrotate lx700 mad matroska mikmod mmx mng mono moznocompose moznoirc moznomail mp3 mpeg musepack musicbrainz nautilus ncurses network nls nptl nptlonly ntfs ntp numeric offensive ogg opengl pam pcre pdf pdflib perl pic png ppds pppd python quicktime readline real reflection reiser4 reiserfs rtc samba sdl session smp sox spell spf spl sse sse2 ssh ssl startup-notification svg symlink syslog tagwriting tcltk tcpd test tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis win32codecs wma wmf wv wxwindows xinetd xml xml2 xorg xosd xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_evdev input_devices_mouse kernel_linux linguas_sv userland_GNU video_cards_none video_cards_-nvidia video_cards_nv" Unset: CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
I presume you mean app-admin/eselect-compiler. This is ~arch on all available arches. When it's pushed stable I'll fix distccd's init script. Reopen when app-admin/eselect-compiler is stable.
Maybe at least make distccd depend on gcc-config in the meantime since it in it's current shape needs it?
Why does distccd need to call "gcc-config --get-bin-path" in the first place? The PATH environment variable already has that path in it. It's redundant information.