Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97314 - Procmail fails to build if distcc is running
Summary: Procmail fails to build if distcc is running
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-28 08:45 UTC by Pedro Algarvio
Modified: 2005-07-14 14:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The ouptut of the emerge (procmail,15.66 KB, application/octet-stream)
2005-07-14 14:23 UTC, Pedro Algarvio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Algarvio 2005-06-28 08:45:36 UTC
Procmail fails to build if distcc is running

Reproducible: Always
Steps to Reproduce:
1. distcc is running
2. emerge procmail
3. error happens
4. stop distcc
5. remove distcc from features
6. emerge procmail
7. error doens't happen

Actual Results:  
 * Applying gentoo-maildir2.diff ...                                           
              [ ok ]
 * Applying procmail-lazy-bindings.diff ...                                    
              [ ok ]
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
 "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen
-lsockdns -ldl" \
 "/lib /usr/lib /usr/local/lib" \
 /dev/null "make" o \
 "cc" "-O2 -march=pentium3 -fomit-frame-pointer -pipe -ftracer
-fno-inline-functions  " "-s  " "procmail lockfile formail mailstat" \
 "procmail formail lockfile" \
 "procmailrc procmailsc procmailex" "src man" \
 "/usr/bin" \
 "strip"
cc seems to work fine, using that as the C-compiler
Whoeaaa!  There's something fishy going on here.
You have a look and see if you detect anything uncanny:
*******************************************************
distcc[10426] ERROR: compile /root/.ccache/_autotst.tmp.worker.10422.i on
10.1.0.2/24 failed with exit code 110
distcc[10422] ERROR: compile _autotst.c on 10.1.0.2/24 failed with exit code 110
*******************************************************
I suggest you take a look at the definition of CC and CFLAGS*
in the Makefile before you try make again.
Also: write me a mail showing the errorlog you just generated.
The errorlog can still be found in src/_autotst.rrr
It would be helpful if you could mention what machine and OS
you are trying to compile this on (uname -a).  Thanks.
make: *** [init] Error 1

!!! ERROR: mail-filter/procmail-3.22-r6 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Procmail should build with distcc, or disable the distcc feature prior to build

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 17 2005, 00:17:37)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/
ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/
ftp://ftp.gentoo-pt.org/pub/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/"
LANG="en_US.UTF-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.es.gentoo.org/gentoo-portage"
USE="x86 X apache2 apm avi bash-completion berkdb bitmap-fonts crypt curl
directfb emboss encode fam foomaticdb fortran gd gdbm gif gnome gpm gtk
imagemagick imlib jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses
nls nosound ogg oggvorbis opengl pam pdflib perl png python quicktime readline
sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode
userlocales vhosts vorbis wxgtk1 xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-06-28 09:59:16 UTC
all the distcc hosts have the same gcc version? only happen with procmail or
other package as well?
Comment 2 Pedro Algarvio 2005-06-28 15:24:18 UTC
(In reply to comment #1)
> all the distcc hosts have the same gcc version? only happen with procmail or
> other package as well?

Until now, it only happened with procmail, and yes, both machines have the same gcc.

Machine 1(10.1.0.1):
# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++,objc,f77 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

gcc-config -l
[1] i686-pc-linux-gnu-3.3.6 *
[2] i686-pc-linux-gnu-3.3.6-hardened
[3] i686-pc-linux-gnu-3.3.6-hardenednopie
[4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.6-hardenednossp
[6] i686-pc-linux-gnu-3.4.4
[7] i686-pc-linux-gnu-3.4.4-hardened
[8] i686-pc-linux-gnu-3.4.4-hardenednopie
[9] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[10] i686-pc-linux-gnu-3.4.4-hardenednossp

equery list distcc
[ Searching for package 'distcc' in all categories among: ]
 * installed packages
[I--] [  ] sys-devel/distcc-2.18.3-r8 (0)

# vi vi /etc/distcc/hosts
10.1.0.2/24
-------------------------------------------------------------------------
Machine 2(10.1.0.2):
# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++,objc,f77 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

# gcc-config -l
[1] i686-pc-linux-gnu-3.3.6 *
[2] i686-pc-linux-gnu-3.3.6-hardened
[3] i686-pc-linux-gnu-3.3.6-hardenednopie
[4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.6-hardenednossp
[6] i686-pc-linux-gnu-3.4.4
[7] i686-pc-linux-gnu-3.4.4-hardened
[8] i686-pc-linux-gnu-3.4.4-hardenednopie
[9] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[10] i686-pc-linux-gnu-3.4.4-hardenednossp

# equery list distcc
[ Searching for package 'distcc' in all categories among: ]
 * installed packages
[I--] [  ] sys-devel/distcc-2.18.3-r8 (0)

# vi /etc/distcc/hosts
10.1.0.2/24 10.1.0.1/1
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2005-06-28 15:56:44 UTC
Please post emerge info from the other box.
Comment 4 Pedro Algarvio 2005-07-03 14:55:34 UTC
(In reply to comment #3)
> Please post emerge info from the other box.

I will when I get home, but I got another one:
]
>>> Source unpacked.
>>> vampas +sandbox(compile) /var/tmp/portage/linux-headers-2.6.8.1-r4
/usr/bin/i686-pc-linux-gnu-ar
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
distcc[30652] ERROR: compile /root/.ccache/conf.tmp.worker.30648.i on
10.1.0.2/24 failed with exit code 110
distcc[30648] ERROR: compile scripts/kconfig/conf.c on 10.1.0.2/24 failed with
exit code 110
make[1]: *** [scripts/kconfig/conf.o] Error 110
make: *** [defconfig] Error 2

!!! ERROR: sys-kernel/linux-headers-2.6.8.1-r4 failed.
!!! Function compile_headers, Line 385, Exitcode 2
!!! defconfig failed
!!! If you need support, post the topmost build error, NOT this status message.

also, althogh I have ~x86 for distcc, portage is making me downgrade to r7:
distcc-2.18.3-r7 [2.18.3-r8]
Comment 5 Tuan Van (RETIRED) gentoo-dev 2005-07-05 21:41:37 UTC
(In reply to comment #4)

> !!! ERROR: sys-kernel/linux-headers-2.6.8.1-r4 failed.
> !!! Function compile_headers, Line 385, Exitcode 2
> !!! defconfig failed
> !!! If you need support, post the topmost build error, NOT this status message.

reassign then.
Comment 6 Pedro Algarvio 2005-07-06 02:14:56 UTC
(In reply to comment #3)
> Please post emerge info from the other box.

Here it goes:

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0,
2.6.12-gentoo i686)
=================================================================
System uname: 2.6.12-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/
ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/
ftp://ftp.gentoo-pt.org/pub/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="en pt"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.es.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d alsa apm avi bash-completion berkdb bitmap-fonts bzip2
cdr crypt cups curl directfb dvd dvdr dvdread eds emacs emboss encode fam
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib
jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nvidia ogg
oggvorbis opengl oss pam pda pdflib perl png python quicktime readline scanner
sdl spell sqlite ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode
vorbis xine xml xml2 xmms xv zlib linguas_en linguas_pt userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2005-07-06 04:27:19 UTC
This WORKSFORME.

Error 110 means that distccd can't find your compiler.

Please recompile this verbosely:

(On client) distcc-config --set-verbose 1
(On server) edit /etc/conf.d/distccd, set --log-level debug

PLEASE sync the client and server's clocks!

Set the log file in the daemon.  Compile with emerge procmail &>/tmp/procmail.
txt

Attach the relevant pieces of the logs.
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2005-07-11 03:57:26 UTC
awaiting logs. reopen when posted.
Comment 9 Pedro Algarvio 2005-07-14 14:23:25 UTC
Created attachment 63417 [details]
The ouptut of the emerge

Ok, this bugs should be kept closed. Aparenttly it has nothing to do with
procmail, instead it has something to do with distcc, co's I had same probs on
other emerges, afterward downgraded distcc, and all emerged perfecttly, and
also procmail.

Attached is the output of the procmail emerge.
Comment 10 Pedro Algarvio 2005-07-14 14:24:14 UTC
Like so(see prev comment), this bug is now closed.