Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distcc problem: error code 110
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dulrich
n00b
n00b


Joined: 23 Apr 2005
Posts: 46

PostPosted: Sat Jan 14, 2006 5:41 pm    Post subject: distcc problem: error code 110 Reply with quote

Hi,

I'm trying to use distcc but I have some problems. I have 2 computers (one dual and one laptop) with distccd and distcc installed. They are on the same network.
When I try to emerge with distcc I always have the same error:
Code:
distcc ERROR: compile xxxx.cpp on 192.168.0.1 failed with exit code 110


I try to compile from laptop 192.168.0.2 to the tower 192.168.0..2.

Error 110 is something like "Couldn't find file...". I have verified distccd listening on the tower with nmap and netstat and it's ok.

Exemple :
Code:
distcc[21612] ERROR: compile ./fad-getad.c on 192.168.0.2 failed with exit code 110
make[1]: *** [fad-getad.o] Error 110
make[1]: Leaving directory `/var/tmp/portage/nmap-3.83/work/nmap-3.83.DC13/libpcap-possiblymodified'
make: *** [libpcap-possiblymodified/libpcap.a] Error 2

!!! ERROR: net-analyzer/nmap-3.83 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


distcc host file is ok and distccd config is:
Code:
# Copyright 1999-2004 Gentoo Foundation
# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/files/2.18/conf,v 1.2 2004/10/21 16:20:10 vapier Exp $
# distccd configuration file

DISTCCD_OPTS=""

# this is the distccd executable
DISTCCD_EXEC="/usr/bin/distccd"

# this is where distccd will store its pid file
DISTCCD_PIDFILE="/var/run/distccd/distccd.pid"

# set this option to run distccd with extra parameters
# Default port is 3632.  For most people the default is okay.
DISTCCD_OPTS="${DISTCCD_OPTS} --port 3632"

# Logging
# You can change some logging options here:
# --log-file FILE
# --log-level LEVEL  [critical,error,warning, notice, info, debug]
#
# Leaving --log-file blank will log to syslog
# example: --log-file /dev/null --log-level warning
# example: --log-level critical

DISTCCD_OPTS="${DISTCCD_OPTS} --log-level critical"

# SECURITY NOTICE:
# It is HIGHLY recomended that you use the --listen option
# for increased security. You can specify an IP to permit connections
# from or a CIDR mask
# --listen accepts only a single IP
# --allow is now mandatory as of distcc-2.18.
# example:  --allow 192.168.0.0/24
# example:  --allow 192.168.0.5 --allow 192.168.0.150
# example:  --listen 192.168.0.2
DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.0.0/24"
#DISTCCD_OPTS="${DISTCCD_OPTS} --listen 192.168.0.1"

# set this for niceness
# Default is 15
DISTCCD_NICE="15"


use flags:
Code:
Portage 2.0.51.22-r3 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3-smp ppc)
=================================================================
System uname: 2.6.13-gentoo-r3-smp ppc 7455, altivec supported
Gentoo Base System version 1.6.13
distcc 2.18.3 powerpc-unknow-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknow-linux-gnu"
CFLAGS="-O2 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknow-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/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/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo"
LINGUAS="us fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec audiofile berkdb bitmap-fonts bluetooth browserplugin bzip2 cdr crypt cups curl dvd dvdr eds emacs emboss encode expat f77 fam ffmpeg fortran ftp gdbm gif gmp gpm gstreamer icq idn ieee1394 ipv6 jabber java jpeg jpg kde lcms libwww mad mng motif mozilla mp3 mpeg mpi msn mysql ncurses nls odbc ogg oggvorbis opengl oscar pam pcre pdflib perl php png posix ppc python qt quicktime readline samba sdl spell ssl tcpd tetex tiff truetype truetype-fonts truetypefonts type1-fonts udev unicode vorbis xinerama xml xml2 xmms xv xvid zlib video_cards_radeon linguas_us linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Sun Jan 15, 2006 2:05 pm    Post subject: Reply with quote

The error is
man distcc wrote:
110 Compiler not found

Are both the client and server powerpc?
What says
Code:
gcc-config --get-bin-path

on each?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum