Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116215 - media-video/mplayer-1.0_pre7-r1 dies in configure if distcc is used
Summary: media-video/mplayer-1.0_pre7-r1 dies in configure if distcc is used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 16:28 UTC by Robert Lippmann
Modified: 2006-06-21 17:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Lippmann 2005-12-20 16:28:14 UTC
If I use distcc to build mplayer-1.0_pre7-r1, it dies with:

Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... distcc[12749] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Dec 11 2005 03:50:21
distcc[12749] (dcc_recursion_safeguard) safeguard level=0
distcc[12749] (main) compiler name is "cc"
distcc[12749] (dcc_set_path) setting PATH=/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin
distcc[12749] (dcc_scan_args) scanning arguments: cc -dumpversion
distcc[12749] (dcc_scan_args) compiler apparently called not for compile
distcc[12749] (dcc_lock_host) got cpu lock on localhost slot 0 as fd4
distcc[12749] exec on localhost: cc -dumpversion
distcc[12749] (dcc_note_state) note state 5, file "(NULL)", host "localhost"
distcc[12749] (dcc_spawn_child) forking to execute: cc -dumpversion
distcc[12751] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1
distcc[12749] (dcc_spawn_child) child started as pid12751
distcc[12749] (dcc_collect_child) cc child 12751 terminated with status 0
distcc[12749] (dcc_collect_child) cc times: user 0.000999s, system 0.000999s, 320 minflt, 0 majflt
distcc[12749] compile (null) on localhost completed ok
distcc[12749] elapsed compilation time 0.003373s
distcc[12749] (dcc_exit) exit: code 0; self: 0.000999 user 0.003999 sys; children: 0.000999 user 0.000999 sys
distcc[12749] (dcc_cleanup_tempfiles) deleted 0 temporary files
3.4, bad
Checking for gcc version ... distcc[12761] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Dec 11 2005 03:50:21
distcc[12761] (dcc_recursion_safeguard) safeguard level=0
distcc[12761] (main) compiler name is "gcc"
distcc[12761] (dcc_set_path) setting PATH=/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin
distcc[12761] (dcc_scan_args) scanning arguments: gcc -dumpversion
distcc[12761] (dcc_scan_args) compiler apparently called not for compile
distcc[12761] (dcc_lock_host) got cpu lock on localhost slot 0 as fd4
distcc[12761] exec on localhost: gcc -dumpversion
distcc[12761] (dcc_note_state) note state 5, file "(NULL)", host "localhost"
distcc[12761] (dcc_spawn_child) forking to execute: gcc -dumpversion
distcc[12763] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1
distcc[12761] (dcc_spawn_child) child started as pid12763
distcc[12761] (dcc_collect_child) cc child 12763 terminated with status 0
distcc[12761] (dcc_collect_child) cc times: user 0.000999s, system 0.000999s, 320 minflt, 0 majflt
distcc[12761] compile (null) on localhost completed ok
distcc[12761] elapsed compilation time 0.003316s
distcc[12761] (dcc_exit) exit: code 0; self: 0.001999 user 0.003999 sys; children: 0.000999 user 0.000999 sys
distcc[12761] (dcc_cleanup_tempfiles) deleted 0 temporary files
3.4, bad
Checking for gcc-3.4 version ... ./configure: line 599: gcc-3.4: command not found, bad
Checking for gcc-3.3 version ... ./configure: line 599: gcc-3.3: command not found, bad
Checking for gcc-3.2 version ... ./configure: line 599: gcc-3.2: command not found, bad
Checking for gcc-3.1 version ... ./configure: line 599: gcc-3.1: command not found, bad
Checking for gcc3 version ... ./configure: line 599: gcc3: command not found, bad
Checking for gcc-3.0 version ... ./configure: line 599: gcc-3.0: command not found, bad
Checking for cc version ... distcc[12833] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Dec 11 2005 03:50:21
distcc[12833] (dcc_recursion_safeguard) safeguard level=0
distcc[12833] (main) compiler name is "cc"
distcc[12833] (dcc_set_path) setting PATH=/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin
distcc[12833] (dcc_scan_args) scanning arguments: cc -dumpversion
distcc[12833] (dcc_scan_args) compiler apparently called not for compile
distcc[12833] (dcc_lock_host) got cpu lock on localhost slot 0 as fd4
distcc[12833] exec on localhost: cc -dumpversion
distcc[12833] (dcc_note_state) note state 5, file "(NULL)", host "localhost"
distcc[12833] (dcc_spawn_child) forking to execute: cc -dumpversion
distcc[12834] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1
distcc[12833] (dcc_spawn_child) child started as pid12834
distcc[12833] (dcc_collect_child) cc child 12834 terminated with status 0
distcc[12833] (dcc_collect_child) cc times: user 0.000000s, system 0.002999s, 320 minflt, 0 majflt
distcc[12833] compile (null) on localhost completed ok
distcc[12833] elapsed compilation time 0.005984s
distcc[12833] (dcc_exit) exit: code 0; self: 0.003999 user 0.000999 sys; children: 0.000000 user 0.002999 sys
distcc[12833] (dcc_cleanup_tempfiles) deleted 0 temporary files
3.4, bad

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.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-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.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 !

    *** For details please read DOCS/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.

!!! ERROR: media-video/mplayer-1.0_pre7-r1 failed.
!!! Function src_compile, Line 479, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

It appears that it is getting the version of distcc as 2.x, and thinks that it's gcc 2.x (which isn't supported).

Also, I'm not sure why it's using cc as opposed to i686-pc-linux-gnu-cc.

If I remove distcc from the FEATURES variable in make.conf, everything works fine.
Comment 1 Robert Lippmann 2006-01-12 21:53:38 UTC
ok, when i tried it today, mplayer compiled fine with distcc.

what happened?  distcc fix or mplayer fix?
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2006-06-21 17:28:51 UTC
Closing, since it works now for him. :)