Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42659 - distccd 2.12.1 won't start but distccd 2.11.1 does...
Summary: distccd 2.12.1 won't start but distccd 2.11.1 does...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 15:12 UTC by g_os
Modified: 2004-02-23 23:14 UTC (History)
0 users

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 g_os 2004-02-23 15:12:15 UTC
distccd 2.12.1 won't start but distccd 2.11.1 does...
Forum has a thread about it, see: http://forums.gentoo.org/viewtopic.php?t=140241&highlight=distcc

The result is, distccd daemon does not run anymore.

Reproducible: Always
Steps to Reproduce:
1. emerge distcc
2. /etc/init.d/distccd start  [See error, no OK]
3. tail /var/log/everything/current

Actual Results:  
/etc/init.d/distccd start 
 * Starting distccd...                                                                                                        
[ !! ] 
Feb 24 00:07:30 [distccd] (dcc_setup_daemon_path) daemon's PATH 
is /usr/i686-pc-linux-gnu/gcc-bin/3.3:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin/wrappers:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jre-1.4.1/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/share/karamba/bin 
Feb 24 00:07:30 [distccd] (dcc_should_be_inetd) stdin is a tty; assuming 
--daemon mode 
Feb 24 00:07:30 [distccd] (dcc_listen_by_addr) ERROR: socket creation failed: 
Address family not supported by protocol 
Feb 24 00:07:30 [distccd] (dcc_exit) exit: code 102; self: 0.000000 user 
0.010000 sys; children: 0.000000 user 0.000000 sys 
 
 

Expected Results:  
The error is: 
(dcc_listen_by_addr) ERROR: socket creation failed: Address family not 
supported by protocol 

All was working fine with previous version. I have the same error on two 
boxes. And it seems to be on the forum too. 
I search a bit with option or starting directly distccd from the command line 
but it does not give me idea. 
 
See emerge info result: 
root # emerge info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.2.5-r2,2.3.2-r9, 
2.4.20-xfs-r3) 
================================================================= 
System uname: 2.4.20-xfs-r3 i686 AMD Duron(tm) Processor 
Gentoo Base System version 1.4.3.10p1 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math  
-funroll-loops -fforce-addr -falign-functions=4 -fstack-protector" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer 
-ffast-math  -funroll-loops -fforce-addr -falign-functions=4 
-fstack-protector" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc sandbox" 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/opt/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://lancelot.degeneve.net/gentoo-portage" 
USE="3dnow X aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups directfb 
dvd encode esd evo ffmpeg foomaticdb gdbm gif gphoto2 gpm gtk gtk2 gtkhtml 
guile imlib ipv6 irmc java jpeg ldap libg++ libwww mad mikmod mmx mozilla 
moznocompose moznoirc mozsvg mpeg mysql ncurses nls oggvorbis opengl oss pam 
pda pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk 
tcpd truetype x86 xml xml2 xmms xosd xv xvid zlib"
Comment 1 g_os 2004-02-23 15:16:15 UTC
Another emerge info on the my second box with the same issue:

emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-fstack-protector -O3 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-fstack-protector -O3 -mcpu=i686 -pipe"
DISTDIR="/var/spool/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 apm berkdb cdr crypt gd gdbm gif gpm gtk2 imap imlib ipv6 jpeg ldap libg++ libwww maildir memlimit mmx mysql ncurses nls pam pdflib perl png pwdb python readline sasl slang spell ssl tcpd vhost x86 xml xml2 zlib"
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2004-02-23 16:01:13 UTC
If you don't have ipv6 enabled in your kernel and have ipv6 in your USE settings distccd will not work.

Try USE='-ipv6' emerge distcc
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2004-02-23 17:21:12 UTC
issue fixed.

the ole ipv6 in USE flags strikes again (please heed the ewarn before compile starts)
Comment 4 g_os 2004-02-23 23:14:28 UTC
Thanks a lot Lisa ! 
 
 I set the ipv6 flag to prepare a futur switch to IPV6 whithout recompiling all my gentoo box. But I did not build the kernel with ipv6 support in it. 
 
 Idea: It would be good to add test in portage or etc-update about the USE="+ipv6" and /usr/src/linux/.config (or something like that).