Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 59151

Summary: emerge world fails with distcc
Product: Gentoo Linux Reporter: Aristotle Allen <aristotle.allen>
Component: New packagesAssignee: Lisa Seelye (RETIRED) <lisa>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aristotle Allen 2004-08-02 08:14:16 UTC
nvidia-kernel fails, may be related to http://bugs.gentoo.org/show_bug.cgi?id=58630


Reproducible: Always
Steps to Reproduce:
1. emerge world
2.
3.

Actual Results:  
monster src # emerge world
Calculating world dependencies
*** Package in world file is not installed: sys-apps/sh-utils

*** Package in world file is not installed: sys-apps/fileutils

*** Package in world file is not installed: sys-apps/textutils
 ...done!
>>> emerge (1 of 66) media-video/nvidia-kernel-1.0.6106-r1 to /
x86
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-6106-pkg1.run
x86
x86
>>> Unpacking source...
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.5 found in /usr/src/linux
 * which outputs to /usr/src/linux
 * By not using the kernel's ability to output to an alternative
 * directory, some external module builds may fail.
 * See <insert link to user doc here>
Creating directory NVIDIA-Linux-x86-1.0-6106-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86
1.0-6106..........................................................................................................................................................................................................
 * Applying NVIDIA_kernel-1.0-6106-koutput-support.patch...                    
                                                                     [ ok ]
>>> Source unpacked.
x86

NVIDIA: calling KBUILD...
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
mkdir -p .tmp_versions
make -f scripts/Makefile.build obj=scripts/basic
  gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer        -o scripts/basic/fixdep scripts/basic/fixdep.c
ACCESS DENIED  open_wr:   /usr/src/linux-2.6.5/scripts/basic/.fixdep.d
cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
distcc[6497] ERROR: compile scripts/basic/fixdep.c on localhost failed
make[3]: *** [scripts/basic/fixdep] Error 1
make[2]: *** [scripts_basic] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.6106-r1 failed.
!!! Function src_compile, Line 87, Exitcode 2
!!! Failed to build module

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-video_-_nvidia-kernel-1.0.6106-r1-6291.log"

open_wr:   /usr/src/linux-2.6.5/scripts/basic/.fixdep.d
--------------------------------------------------------------------------------


Expected Results:  
a sucessful emerge

#also I modified /etc/env.d/05gcc to the following
PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
# to enable distcc
#CC="gcc"
#CXX="g++"
LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3"

#my make.conf
# These settings were set by the catalyst build script that automatically built
this stage
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse
-mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
USE="distcc evo nptl cups foomaticdb ppds usb krb4 kerberos mmx sse -gtk2 -gnome
kde alsa acpi apm arts avi cdr cups dga directfb dvd ethereal flash gif java
jpeg mozilla ncurses oggvorbis opengl oss pcmcia pda perl png qt quicktime samba
scanner sdl spell svga tiff truetype usb videos x xinerama xml xml2 xmms xv zlib
x86"
MAKEOPTS="-j4"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo
http://mirror.tucdemonic.org/gentoo/
http://212.219.247.20/sites/www.ibiblio.org/gentoo/"
ACCEPT_KEYWORDS="~x86"
CCACHE_SIZE="2G"
PORTDIR_OVERLAY=/usr/local/portage
FEATURES="distcc"
DISTCC_HOSTS="localhost 10.7.45.73"
DISTCC_LOG="/tmp/distcc.log"
DISTCC_VERBOSE=1
CC="distcc"
CXX="distcc g++"
DISTCC_DIR="/var/tmp/portage/.distcc"
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2004-08-02 10:02:46 UTC
Does this build without distcc?
Comment 2 Aristotle Allen 2004-08-02 10:28:01 UTC
CC="distcc"; CXX="g++"; emerge nvidia-kernel

CC="distcc"; CXX="g++"; emerge nvidia-glx

worked just fine, so I guess its a ditscc issue, but I just got distcc working for the first time today... I may have it setup wrong...
Comment 3 Aristotle Allen 2004-08-02 10:33:55 UTC
correction it does not compile with or without distcc
Comment 4 Lisa Seelye (RETIRED) gentoo-dev 2004-08-22 12:17:51 UTC
seems to be a dupe of bug 58630

*** This bug has been marked as a duplicate of 58630 ***