Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120889 - busybox-1.00 fails to compile under distcc
Summary: busybox-1.00 fails to compile under distcc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 17:07 UTC by Bob
Modified: 2006-02-05 05:58 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 Bob 2006-01-29 17:07:35 UTC
busybox-1.00 compilation fails under distcc.  stopping the distccd daemon on the assistant boxes cures the problem.  all machines have identical installations.  here is the information from the machine on which the emerge is being performed:


kaiser ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2,
2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [enabled]
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=pentium -pipe -O2 -fweb -frename-registers -fforce-addr
-fomit-frame-pointer -ftracer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -pipe -O2 -fweb -frename-registers -fforce-addr
-fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://******/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss
encode expat foomaticdb fortran gdbm geoip gif gpm gstreamer gtk2 imlib ipv6
jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg
oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell
ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS

just to provide some context about this problem:  this problem occurs near the end of an emerge -e system.  the first 70-odd packages compiled with no
problems (except for udev, Bug # 120873), so i doubt its a problem with my distcc configuration. ;)

insofar as i am in the middle of an emerge -e system, I have not yet had a chance to test the recommendation in the other bug report to repeat compilation with revised minimalistic CFLAGS.  the only other difference is that userpriv and usersandbox are turned off this time (they were on in the other bug report).

here's the error output:

<snip>
 * # CONFIG_SULOGIN is not set
 * # CONFIG_DC is not set
>>> Source unpacked.
/usr/bin/i586-pc-linux-gnu-ar
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/scripts/mkdep.c
rm -f .depend .hdepend;
mkdir -p include/config;
scripts/mkdep -I include -- \
  `find /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00 -name \*.c -print | sed -e "s,^./,,"` >> .depend;
/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/libbb/syslog_msg_with_name.c is empty
scripts/mkdep -I include -- \
  `find /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00 -name \*.h -print | sed -e "s,^./,,"` >> .hdepend;
i586-pc-linux-gnu-gcc -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/include -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG    -I/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/e2fsprogs/  -c -o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/applets/applets.o /var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/applets/applets.c
distcc[1275] ERROR: compile /var/tmp/ccache/applets.tmp.kaiser.1267.i on todland failed with exit code 110
make: *** [/var/tmp/portage/busybox-1.00-r4/work/busybox-1.00/applets/applets.o] Error 110
</snip>

thanks.
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2006-01-30 08:43:51 UTC
Read https://bugs.gentoo.org/show_bug.cgi?id=120873#c1

Is there some reason you're using such silly cflags?
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2006-02-05 05:58:05 UTC
I won't try this with the CFLAGS that make debugging impossible. Remove them, and if it still fails reopen and repost emerge info.