emerge nvidia-kernel complains about the kernel nvidia framebuffer module being activated in the kernel's config. The merge fails This is OK with DISTCC_HOSTS=localhost emerge nvidia-kernel Reproducible: Always Steps to Reproduce: 1. have 2 computer using nvidia drivers 2. distcc client has no nvidia_fb module 3. distcc server has the module nvidia_fb configured 4. emerge nvidia-kernel on the client host 5. you are unlucky, if the job used to test the fb driver presence is run on another host, the test is not OK Actual Results: the build process (nvidia) complains about the framebuffer module being configured then exit => the merge fails Expected Results: merge successfull Solution for me : DISTCC_HOSTS=localhost emerge nvidia-kernel # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/medias/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://194.117.143.71 http://194.117.143.69 http://194.117.143.70 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="FREN" MAKEOPTS="-j4" PKGDIR="/medias/portage/packages" PORTAGE_TMPDIR="/medias/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo cdr cjk crypt cups curl dga divx4linux dvd dvdr emacs emacs-w3 emboss encode fam foomaticdb fortran gd gdbm gif gimp-print gpm gtk gtk2 gtkhtml imagemagick imlib java joystick jpeg junit kde kdepim leim libg++ libwww mad mbox mikmod mime mmx mmx2 mono motif mp3 mpeg ncurses nls nptl nsl ogg oggvorbis opengl opie oss pam pda pdflib perl png python qt quicktime readline real rtc ruby scanner sdl slang spell sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis wxwindows xml xml2 xmms xv xvid zlib linguas_FREN userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
That's interesting indeed. Can you post verbose logs from the server? Perhaps force a machine without the kernel module to be used: put '--log-level debug' in DISTCCD_OPTS in /etc/make.conf on the host in question and restart the daemon. DISTCC_HOSTS='that_machine' emerge nvidia-kernel Attach the relevant part (where the compilation fails).
OK, problem solved, this package was the only one using CC=cc I've merged. HostA (gentoo) emerging nividia-kernel --------------------------------------- DISTCC_HOSTS='HostB' emerge nvidia-kernel * Preparing nvidia module Your kernel was configured to include rivafb support! The rivafb driver conflicts with the NVIDIA driver, please reconfigure your kernel and *disable* rivafb support, then try installing the NVIDIA kernel module again. *** Failed rivafb sanity check. Bailing out! *** make[1]: *** [rivafb-sanity-check] Erreur 1 make: *** [module] Erreur 2 !!! ERROR: media-video/nvidia-kernel-1.0.7667 failed. !!! Function linux-mod_src_compile, Line 491, Exitcode 2 !!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module. !!! If you need support, post the topmost build error, NOT this status message. HostB (mandrake) running distcc server --------------------------------------- Jul 16 20:24:58 gollum distccd[4516]: compile from conftest25176.c to conftest25176.o Jul 16 20:24:58 gollum distccd[4516]: (dcc_r_file_timed) 322602 bytes received in 0.026022s, rate 12107kB/s Jul 16 20:24:58 gollum distccd[4517]: (dcc_execvp) ERROR: failed to exec cc: No such file or directory <++++++++++++++++ MY ERROR Jul 16 20:24:58 gollum distccd[4517]: (dcc_exit) exit: code 110; self: 0.000000 user 0.000000 sys; children: 0.000000 user 0.000000 sys Jul 16 20:24:58 gollum distccd[4516]: (dcc_collect_child) cc times: user 0.000999s, system 0.000000s, 23 minflt, 0 majflt Jul 16 20:24:58 gollum distccd[4516]: cc conftest25176.c on localhost failed with exit code 110 Jul 16 20:24:58 gollum distccd[4516]: job complete (In reply to comment #1) > That's interesting indeed. > > Can you post verbose logs from the server? Perhaps force a machine without the > kernel module to be used: > > put '--log-level debug' in DISTCCD_OPTS in /etc/make.conf on the host in > question and restart the daemon. > > DISTCC_HOSTS='that_machine' emerge nvidia-kernel > > Attach the relevant part (where the compilation fails).