Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265801 - portage using distcc when it has been disabled
Summary: portage using distcc when it has been disabled
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 19:05 UTC by Adrian Goins
Modified: 2015-06-11 17:02 UTC (History)
2 users (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 Adrian Goins 2009-04-11 19:05:59 UTC
this looks like the same issue as 250776, which was closed INVALID a few months back:

I'm experiencing the same random distcc stuff, and I agree with the original poster that it appears to be a bug.  I do not have distcc in my FEATURES in make.conf.  I do not have /usr/lib/distcc/bin in my path.  The distcc binary itself is in /usr/bin, but from my understanding of distcc, that shouldn't matter since i'm not calling 'distcc' but am instead calling 'cc' or one of its variants.  Unlike the original poster, I _am_ using portage.  I'm in the middle of emerging 'system' and tracked a failure in compiling gcc to distcc trying to ship it off to another system.  I rebooted my system.  I've disabled ccache.  I re-read the docs on distcc to see if maybe I missed something.  I finally had to move /etc/distcc/hosts to a different filename so that distcc would stop shipping the compiles off to other systems, and it still complains when it can't find the hosts file.  All indications are that it's a bug.

If I should be looking somewhere else, please let me know.  Otherwise, let me know what else you need from me to track this down.

Thanks.

here's a snippet of the compile output as it's running now:

distcc[20677] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work
distcc[20677] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
i686-pc-linux-gnu-gcc getaddrinfo_a.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -march=i686 -pipe -Wno-strict-prototypes -Wno-write-strings -Wstrict-prototypes -mpreferred-stack-boundary=2  -fPIC    -I../include -I/var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/work/build-default-i686-pc-linux-gnu-nptl/resolv -I/var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_libanl=1    -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -Dgethostbyname=res_gethostbyname -Dgethostbyname2=res_gethostbyname2 -Dgethostbyaddr=res_gethostbyaddr -Dgetnetbyname=res_getnetbyname -Dgetnetbyaddr=res_getnetbyaddr -o /var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/work/build-default-i686-pc-linux-gnu-nptl/resolv/getaddrinfo_a.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/work/build-default-i686-pc-linux-gnu-nptl/resolv/getaddrinfo_a.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/work/build-default-i686-pc-linux-gnu-nptl/resolv/getaddrinfo_a.os
distcc[20681] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work
distcc[20681] (dcc_build_somewhere) Warning: failed to distribute, running locally instead

-----
here's emerge --info

image ~ # cat /var/tmp/emerge.info 
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.24-gentoo-r8-1 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r8-1-i686-Intel-R-_Xeon-R-_CPU_E7310_@_1.60GHz-with-glibc2.0
Timestamp of tree: Fri, 10 Apr 2009 06:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://void.arces.net/gentoo-portage"
USE="acl acpi bash-completion berkdb bluetooth branding bzip2 bzlib cairo cdb cdr cli cracklib crypt cups dbus dri dvdr dvdread emboss encode evo firefox fortran gdbm gif gstreamer hal iconv isdnlog jpeg ldap libnotify logrotate mad maildir midi mikmod mime mmx mp3 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly offensive ogg openmp pam pcntl pcre pdf perl php png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby session shared snmp spell spl ssl startup-notification svg sysfs threads tiff truetype unicode usb vorbis win32codecs x86 xattr xml xml2 xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

-----

here's /etc/make.conf

CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS='-j5'
SYNC="rsync://void.arces.net/gentoo-portage"

#FEATURES='ccache sandbox buildpkg'
FEATURES='sandbox buildpkg'
CCACHE_DIR='/var/lib/ccache'
CCACHE_SIZE='1G'

USE="-X acl -alsa bash-completion -bidi bzlib cdb -djk crypt -doc -dvd -eds -emacs -esd -fam -gpm -gnome -imlib -ipv6 -java -kde -kerberos ldap maildir mime mmx -motif mysql mysqli ncurses nptl offensive -opengl -oss pam -pcmcia pcntl pcre perl php posix -postgres python -qt readline ruby -samba -sdl shared snmp ssl -svga -tcpd threads unicode usb xattr xml xml2 -xv zlib png jpeg logrotate -gtk"

# my portage tree:
PORTDIR_OVERLAY='/usr/local/portage'

# binary packages:
PKGDIR='/usr/local/portage/packages'

# mirrors:
GENTOO_MIRRORS='http://mirror.datapipe.net/gentoo'

# temporary FS:
PORTAGE_TMPFS='/dev/shm'

---
Comment 1 Alex Xu (Hello71) 2015-06-11 16:22:35 UTC
maybe your root profile (assuming you are using su) has PATH somewhere set?

if still occurring, try grep -z PATH /proc/$(pgrep make)/environ.
Comment 2 Adrian Goins 2015-06-11 17:02:38 UTC
Just for the record, waiting 6 years and then pretending that you need more info is lame.  You should have just closed it with "This bug is really freakin' old and probably fixed by now.  If you're still having the issue, please open a new bug report and reference this one." 

At least then you're being honest.  Do you think I've spent 6 years suffering through this bug?  I haven't.  I don't use Gentoo anymore - not because of this or anything else - just because.