on configuration phase detects mplayers queries compiler version and assumes distcc version as gcc. the only way to compile is to disable distcc before the compilation. done on ~x86 system, with latest versions of packages. Reproducible: Always Steps to Reproduce: 1.install+enable distcc 2.emerge mplayer 3.voila Running ./configure CFLAGS="" ./configure --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir$ Detected operating system: Linux Detected host architecture: i386 Checking for i686-pc-linux-gnu-gcc version ... distcc[27612] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Aug 26 2007 21:49:57 distcc[27612] (dcc_recursion_safeguard) safeguard level=0 distcc[27612] (main) compiler name is "i686-pc-linux-gnu-gcc" distcc[27612] (dcc_set_path) setting PATH=/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.0 distcc[27612] (dcc_scan_args) scanning arguments: i686-pc-linux-gnu-gcc -dumpversion distcc[27612] (dcc_scan_args) compiler apparently called not for compile distcc[27612] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3 distcc[27612] exec on localhost: i686-pc-linux-gnu-gcc -dumpversion distcc[27612] (dcc_note_state) note state 5, file "(NULL)", host "localhost" distcc[27612] (dcc_spawn_child) forking to execute: i686-pc-linux-gnu-gcc -dumpversion distcc[27613] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1 distcc[27612] (dcc_spawn_child) child started as pid27613 4.2.0 distcc[27612] (dcc_collect_child) cc child 27613 terminated with status 0 distcc[27612] (dcc_collect_child) cc times: user 0.000000s, system 0.010000s, 345 minflt, 0 majflt distcc[27612] compile (null) on localhost completed ok distcc[27612] elapsed compilation time 0.007466s distcc[27612] (dcc_exit) exit: code 0; self: 0.000000 user 0.010000 sys; children: 0.000000 user 0.010000 sys distcc[27612] (dcc_cleanup_tempfiles) deleted 0 temporary files, bad Checking for gcc version ... distcc[27621] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Aug 26 2007 21:49:57 distcc[27621] (dcc_recursion_safeguard) safeguard level=0 distcc[27621] (main) compiler name is "gcc" distcc[27621] (dcc_set_path) setting PATH=/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.0 distcc[27621] (dcc_scan_args) scanning arguments: gcc -dumpversion distcc[27621] (dcc_scan_args) compiler apparently called not for compile distcc[27621] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3 distcc[27621] exec on localhost: gcc -dumpversion distcc[27621] (dcc_note_state) note state 5, file "(NULL)", host "localhost" distcc[27621] (dcc_spawn_child) forking to execute: gcc -dumpversion distcc[27622] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1 distcc[27621] (dcc_spawn_child) child started as pid27622 4.2.0 distcc[27621] (dcc_collect_child) cc child 27622 terminated with status 0 distcc[27621] (dcc_collect_child) cc times: user 0.000000s, system 0.010000s, 347 minflt, 0 majflt distcc[27621] compile (null) on localhost completed ok distcc[27621] elapsed compilation time 0.027704s distcc[27621] (dcc_exit) exit: code 0; self: 0.000000 user 0.010000 sys; children: 0.000000 user 0.010000 sys distcc[27621] (dcc_cleanup_tempfiles) deleted 0 temporary files, bad Checking for gcc-3.4 version ... not found Checking for gcc-3.3 version ... not found Checking for gcc-3.2 version ... not found Checking for gcc-3.1 version ... not found Checking for gcc3 version ... not found Checking for gcc-3.0 version ... not found Checking for cc version ... distcc[27672] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Aug 26 2007 21:49:57 distcc[27672] (dcc_recursion_safeguard) safeguard level=0 distcc[27672] (main) compiler name is "cc" distcc[27672] (dcc_set_path) setting PATH=/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.0 distcc[27672] (dcc_scan_args) scanning arguments: cc -dumpversion distcc[27672] (dcc_scan_args) compiler apparently called not for compile distcc[27672] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3 distcc[27672] exec on localhost: cc -dumpversion distcc[27672] (dcc_note_state) note state 5, file "(NULL)", host "localhost" distcc[27672] (dcc_spawn_child) forking to execute: cc -dumpversion distcc[27673] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1 4.2.0 distcc[27672] (dcc_spawn_child) child started as pid27673 distcc[27672] (dcc_collect_child) cc child 27673 terminated with status 0 distcc[27672] (dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 348 minflt, 0 majflt distcc[27672] compile (null) on localhost completed ok distcc[27672] elapsed compilation time 0.007535s distcc[27672] (dcc_exit) exit: code 0; self: 0.000000 user 0.000000 sys; children: 0.000000 user 0.000000 sys distcc[27672] (dcc_cleanup_tempfiles) deleted 0 temporary files, bad *** Please downgrade/upgrade C compiler to version gcc-2.95, 3.x or 4.x! *** You are not using a supported compiler. We do not have the time to make sure everything works with compilers other than the ones we use. Use either the same compiler as we do, or use --disable-gcc-check but DO *NOT* REPORT BUGS unless you can reproduce them after recompiling with a 2.95.x or 3/4.x version! Note for gcc 2.96 users: Some versions of this compiler are known to miscompile mplayer and lame (which is used for mencoder). If you get compile errors, first upgrade to the latest 2.96 release (minimum 2.96-85) and try again. If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting bugs! GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US ! Error: Bad gcc version Check "configure.log" if you do not understand why it failed. ^[[31;01m*^[[0m ^[[31;01m*^[[0m ERROR: media-video/mplayer-1.0.20070824 failed. ^[[31;01m*^[[0m Call stack: ^[[31;01m*^[[0m ebuild.sh, line 1654: Called dyn_compile ^[[31;01m*^[[0m ebuild.sh, line 990: Called qa_call 'src_compile' ^[[31;01m*^[[0m ebuild.sh, line 44: Called src_compile ^[[31;01m*^[[0m mplayer-1.0.20070824.ebuild, line 440: Called die ^[[31;01m*^[[0m ^[[31;01m*^[[0m (no error message) ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant. ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0.20070824/temp/build.log'. ^[[31;01m*^[[0m
emerge --info Portage 2.1.3.7 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686) ================================================================= System uname: 2.6.22-gentoo-r5 i686 AMD Athlon(tm) Gentoo Base System release 2.0.0_rc3 Timestamp of tree: Mon, 27 Aug 2007 10:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0_rc3-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.4.0-r1 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/port/distfiles" FEATURES="distcc distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mneisen.org http://mirror.ovh.net/gentoo-distfiles/ http://mirror.muntinternet.net/pub/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en ru" MAKEOPTS="-j5" PKGDIR="/usr/port/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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/custom-kernels /usr/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa artworkextra async audacious automount avahi bash-completion bidi bitmap-fonts bluetooth boost branding bzip2 cairo caps cdb cdparanoia cdr cli colordiff cracklib crypt dbus device-mapper dga dhcp directfb disk-partition djvu dmi dri dts dvd dvdr dvdread eds encode esd evo evolution expat fastbuild fat fbcon ffmpeg firefox fortran ftp fuse gd gdbm gif glibc-omitfp glitz glut gmail gmp gnome gnutls gpm gstreamer gtk hal hddtemp hpn iconv icu id3 imlib irc javascript jikes jpeg kdehiddenvisibility keyring libnotify libsamplerate libwww lm_sensors logitech-mouse lynxkeymap mad madwifi memlimit mime mmap mmkeys mmx mmxext mono motif mp3 mpeg mudflap musepack nautilus ncurses network-cron nforce2 nls nptl nptlonly nsplugin ntfs nvram obex offensive ogg opengl openmp pam pcre pda pdf perl png pop portage posix pyste python rar rdesktop readline reflection reiserfs rtc samba sdl session sharedmem slang sndfile soap sockets spell spl sqlite sqlite3 sse ssl startup-notification svg swat swig sysfs syslog tcpd tidy tiff tokenizer trayicon truetype truetype-fonts type1 type1-fonts unicode usb userlocales vncviewer vorbis watchdog wav wavpack win32codecs wma x86 xcomposite xforms xft xine xinetd xml xorg xrandr xscreensaver xsl xv xvmc xvnc zlib" ALSA_CARDS="emu10k1 intel8x0 ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeon vesa vmware void" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 203779 has been marked as a duplicate of this bug. ***
I guess this bug is stale now since I cannot reproduce this bug with mplayer 1.0_rc2_p25993 -- the current in-tree version and distcc-2.18.3-r12 And yes, distccd is running and working :-) >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-video/mplayer-1.0_rc2_p25993-r1/work/mplayer-1.0_rc2_p25993 ... Detected operating system: Linux Detected host architecture: i386 Checking for i686-pc-linux-gnu-gcc version ... 4.2.3, ok Checking for host cc ... i686-pc-linux-gnu-gcc Checking for cross compilation ... no Checking for CPU vendor ... GenuineIntel (6:13:8) Checking for CPU type ... Intel(R) Pentium(R) M processor 1.86GHz