as indicated in the gentoo documentation on http://www.gentoo.org/doc/en/distcc.xml, DISTCC can be switched on/off in /etc/make.conf by adding/removing it from the FEATURES variable. my problem is that distcc is used, even when i remove it from the FEATURES variable in /etc/make.conf, I discovered this after compilation errors related to distcc and then checked my /etc/make.conf, while distcc was disabled. now i can only compile some packages if i set localhost as the primary host, to avoid compilation tasks will be handed over to other machines. Reproducible: Always Steps to Reproduce: 1.disable distcc in the FEATURES variable of /etc/make.conf 2.run make 3.discover that it fails to compile on another computer Actual Results: distcc was used, even while it was not supposed to. Expected Results: distcc should not be used if not set in the features variable of /etc/make.conf
1) Please post your `emerge --info'. 2) Attach /etc/make.conf
thanks for helping me out! my emerge --info: --- Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r3 i686) ================================================================= System uname: 2.6.26-gentoo-r3 i686 AMD Athlon(tm) XP 2000+ Timestamp of tree: Fri, 12 Dec 2008 17:15:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo " LDFLAGS="-Wl,-O1" LINGUAS="nl fr en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/portage/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl alsa apache2 apm ares audacious automount bash-completion berkdb bzip2 cddb cdr cli cracklib crypt cups dbus directfb disk-partition divx dri dvd encode fat fbcon ffmpeg flac fortran ftp gd gdbm gif gimp gmail gmedia gnutella gpm gs gtk iconv id3tag imagemagick imap imlib isdnlog jabber jpeg mad midi mp3 mpeg mudflap mysql mysqli ncurses network nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pcre pdf perl php png pppd prediction python quicktime readline realmedia reflection reiser4 reiserfs samba session soap spl sqlite sqlite3 srt ssl sysfs syslog tcpd tiff truetype unicode vorbis win32codecs winbind wma wmp x264 x86 xfce xml xmlreader xmlwriter xorg xscreensaver xsl xv xvid xvmc zip 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl fr en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS --- my /etc/make.conf: --- # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS="-O2 -march=i686 -pipe" CXXFLAGS="-O2 -march=i686 -pipe" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="i686-pc-linux-gnu" MAKEOPTS="-j2" #2 cpu distcc: #MAKEOPTS="-j5" #FEATURES="distcc" FEATURES="ccache" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo " SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac alsa apache2 apm ares audacious automount bash-completion cddb cdr dbus directfb disk-partition divx dvd encode fat fbcon ffmpeg flac ftp gd gif gimp gmail gmedia gnutella gs gtk id3tag imagemagick imap imlib jabber jpeg mad mp3 mpeg mysql mysqli network nsplugin ntfs offensive ogg opengl pdf php png prediction quicktime realmedia reiser4 reiserfs samba soap sqlite sqlite3 srt syslog tiff truetype vorbis win32codecs winbind wma wmp x264 xfce xml xmlreader xmlwriter xscreensaver xsl xv xvid xvmc zip -gnome -ipv6 -javascript" INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="nvidia nv vesa" LINGUAS="nl fr en" PORTDIR_OVERLAY="/usr/portage/local/" #source /usr/local/portage/layman/make.conf --- thx, K.
I don't see where this is going wrong or what question next to ask.
(In reply to comment #0) > my problem is that distcc is used, even when i remove it from the FEATURES > variable in /etc/make.conf, I discovered this after compilation errors related > to distcc and then checked my /etc/make.conf, while distcc was disabled. Can you attach the build log and environment file for one of these packages that fails?
Created attachment 175636 [details] i now ran the command 'make > build.log' in order to get my XBMC (synched via SVN first) compiled. see attach for build.log. distcc was NOT enabled.
Comment on attachment 175636 [details] i now ran the command 'make > build.log' in order to get my XBMC (synched via SVN first) compiled. see attach for build.log. distcc was NOT enabled. build.log file, giving an overview of the make output
I don't see anything about distcc in your log. Perhaps you also need to disable the ccache feature or discard the existing cache since your cache got corrupted? If you're still having trouble, please attach the 'environment' file. It's path is shown in the die message when a build fails.
apparently something went wrong during my last post. this part was put as comment: i now ran the command 'make > build.log' in order to get my XBMC (synched via SVN first) compiled. see attach for build.log. features variable in make.conf was set like below, so distcc was NOT enabled. --- distcc[6272] ERROR: compile /home/canvas/.ccache/Applicatio.tmp.athlon.6268.ii on 192.168.1.10 failed In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr.h:115, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/c++io.h:39, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/iosfwd:48, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_algobase.h:70, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/char_traits.h:47, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/string:48, from linux/../../guilib/StdString.h:3, from linux/XHandle.h:28, from linux/PlatformInclude.h:27, from ../guilib/system.h:137, from stdafx.h:33, from Application.cpp:23: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:88: error: weakref 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:89: error: weakref 'void* __gthrw_pthread_getspecific(pthread_key_t)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:90: error: weakref 'int __gthrw_pthread_setspecific(pthread_key_t, const void*)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:91: error: weakref 'int __gthrw_pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:92: error: weakref 'int __gthrw_pthread_cancel(pthread_t)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:93: error: weakref 'int __gthrw_pthread_mutex_lock(pthread_mutex_t*)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:94: error: weakref 'int __gthrw_pthread_mutex_trylock(pthread_mutex_t*)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:95: error: weakref 'int __gthrw_pthread_mutex_unlock(pthread_mutex_t*)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:96: error: weakref 'int __gthrw_pthread_mutex_init(pthread_mutex_t*, const pthread_mutexattr_t*)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:99: error: weakref 'int __gthrw_pthread_key_create(pthread_key_t*, void (*)(void*))' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:100: error: weakref 'int __gthrw_pthread_key_delete(pthread_key_t)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:101: error: weakref 'int __gthrw_pthread_mutexattr_init(pthread_mutexattr_t*)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:102: error: weakref 'int __gthrw_pthread_mutexattr_settype(pthread_mutexattr_t*, int)' must have static linkage /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:103: error: weakref 'int __gthrw_pthread_mutexattr_destroy(pthread_mutexattr_t*)' must have static linkage make[1]: *** [Application.o] Error 1 make: *** [xbmc] Error 2 --- thx, K.
(In reply to comment #7) > I don't see anything about distcc in your log. Perhaps you also need to disable > the ccache feature or discard the existing cache since your cache got > corrupted? > > If you're still having trouble, please attach the 'environment' file. It's path > is shown in the die message when a build fails. > i tried disabling the ccache feature (so not having the feature variable filled in at all). i also tried clearing the /home/canvas/.ccache dir but none of this helps. sorry but i don't find my environment file :-S in the compile error (see attach earlier posts) i don't see any env. path?
(In reply to comment #0) > Steps to Reproduce: > 1.disable distcc in the FEATURES variable of /etc/make.conf > 2.run make > 3.discover that it fails to compile on another computer Why are you running make directly? In order for /etc/make.conf to work then you have to use either the emerge or ebuild commands. When either the emerge or ebuild commands exit with a failure, they include a 'die message' which includes the path of the environment file that I asked for.
(In reply to comment #10) > (In reply to comment #0) > > Steps to Reproduce: > > 1.disable distcc in the FEATURES variable of /etc/make.conf > > 2.run make > > 3.discover that it fails to compile on another computer > > Why are you running make directly? In order for /etc/make.conf to work then you > have to use either the emerge or ebuild commands. When either the emerge or > ebuild commands exit with a failure, they include a 'die message' which > includes the path of the environment file that I asked for. > OK, here is a new update: the problem seems not to occur in case of a regular emerge. so merging new packages don't result in errors. i still do have the problem in case i run make to compile code. the reason i run make directly is because XBMC is not part of the standard package tree and i update and compile the source from SVN as indicated on the XBMC website. as i don't use an ebuild i don't see the environment var you ask for. thx for your help
If this isn't using portage, then it seems like this bug is a big fat INVALID
(In reply to comment #12) > If this isn't using portage, then it seems like this bug is a big fat INVALID > sorry but i don't understand. what do you mean with INVALID bug? is it normal that distcc should run while giving the command 'make'? can somebody explain me what i can do to solve the problem or redirect me to the proper to forum in my search for a solution? thx, K.
If you're not using portage, then this isn't a bug with portage. Hence, your bug report is INVALID. If your builds are using distcc, then you've likely got /usr/lib/distcc/bin in your PATH. However, bugzilla is not the place to get help with that. Try the #gentoo channel on freenode or the forums.
(In reply to comment #14) > If you're not using portage, then this isn't a bug with portage. Hence, your > bug report is INVALID. If your builds are using distcc, then you've likely got > /usr/lib/distcc/bin in your PATH. However, bugzilla is not the place to get > help with that. Try the #gentoo channel on freenode or the forums. > thanks! it seems that removing distcc from my PATH solved the issue. happy holidays, K.