Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115425 - Using distcc with some packages fails with "File format not recognized"
Summary: Using distcc with some packages fails with "File format not recognized"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 08:50 UTC by Peter Rofner
Modified: 2005-12-13 08:52 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 Peter Rofner 2005-12-13 08:50:04 UTC
Using distcc when emerging packages causes some packages to fail with an error 
of "File format not recognized." Some packages that fail are:
net-dialup/ppp
net-dialup/l2tpd
net-mail/ripmime
mail-client/mailx-support
app-admin/gkrellm


Reproducible: Always
Steps to Reproduce:
1. Install and setup distcc with multipe hosts
2. Emerge the package in questions

Actual Results:  
Error similar to (using ppp as example):

ipcp.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
distcc[11548] ERROR: compile (null) on localhost failed
make[1]: *** [pppd] Error 1
make[1]: Leaving directory `/var/tmp/portage/ppp-2.4.2-r15/work/ppp-2.4.2/pppd'
make: *** [all] Error 2

!!! ERROR: net-dialup/ppp-2.4.2-r15 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! build has failed
!!! If you need support, post the topmost build error, NOT this status message.

That is the topmost build error.

Expected Results:  
It should compile and install the package without error.

Currently using 6 distcc hosts with a total of 12 physical CPU's (2 single-
cpu, 3 dual cpu, 1 quad cpu). All hosts are i686, though CPU's are P3, P3 
Xeon, P4, P4 Xeon, and Via Nehemiah.

One emerege --info where it fails:

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.13
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-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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-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/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ 
http://mirror.datapipe.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 acpi alsa apache2 audiofile berkdb bitmap-fonts bzip2 cli crypt cups 
curl dba encode foomaticdb gd gdbm gif gmp gtk2 imap imlib jpeg kerberos ldap 
libwww mad mhash mmx mng mp3 mpeg mpm-worker mysql ncurses nls nptl nptlonly 
ogg oggvorbis oss pam pcre pdflib pear perl php png python readline samba 
session slang spell sse ssl tcpd threads tiff truetype truetype-fonts type1-
fonts udev vorbis winbind xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-13 08:52:44 UTC
Please, don't file summary bugs about unrelated ebuilds. Such bugs cannot be
reasonably assigned and tracked. One ebuild = one bug. Thanks.