Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31637

Summary: util-linux-2.12 fails to build with distcc.
Product: Gentoo Linux Reporter: Chris Smith <chris.rs>
Component: [OLD] Core systemAssignee: Lisa Seelye (RETIRED) <lisa>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gentoo_ml
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Smith 2003-10-20 17:50:09 UTC
the util-linux-2.12 ebuild fails to compile properly. I'm running ~x86 so I 
have gcc-3.3.1 on my system, so it's either that or the ebuild patches the 2.12 
source code with patches for the 2.11z release. IANAD (i am not a developer) 
but those are things I've noticed. 

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge gcc 
2. ACCEPT_KEYWORDS="~x86" emerge util-linux 
3. observe ebuild death. 
Actual Results:  
make[1]: Entering directory 
`/var/tmp/portage/util-linux-2.12/work/util-linux-2.12/login-utils' 
gcc -c -march=k6 -O2 -pipe -I../lib -Wall -Wmissing-prototypes 
-Wstrict-prototypes -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" 
-DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" 
-DLOCALEDIR=\"/usr/share/locale\" -march=k6 -O2 -pipe agetty.c -o agetty.o 
agetty.c: In function `error': 
agetty.c:1265: warning: implicit declaration of function `__builtin_va_start' 
gcc -s  agetty.o ../lib/xstrncpy.o   -o agetty 
agetty.o(.text+0x142a): In function `error': 
: undefined reference to `__builtin_va_start' 
collect2: ld returned 1 exit status 
make[1]: *** [agetty] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/util-linux-2.12/work/util-linux-2.12/login-utils' 
make: *** [all] Error 1 
 
!!! ERROR: sys-apps/util-linux-2.12 failed. 
!!! Function src_compile, Line 101, Exitcode 2 
!!! emake failed 
 


Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 
2.4.22_pre2-gss) 
================================================================= 
System uname: 2.4.22_pre2-gss i586 AMD-K6(tm) 3D processor 
Gentoo Base System version 1.4.3.10p1 
distcc 2.9 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=k6 -O2 -pipe" 
CHOST="i586-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=k6 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache autoaddcvs distcc sandbox" 
GENTOO_MIRRORS="http://gazza.citylink.co.nz/gentoo 
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j6" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt encode foomaticdb gif gpm jpeg libg++ libwww mad 
mikmod mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gdbm 
berkdb slang readline svga java sdl tcpd pam ssl perl imlib oggvorbis motif 
opengl ipv6 3dnow acpi alsa arts cups directfb ethereal fbcon -gnome -gtk gps 
imap kde qt maildir mmx pcmcia pda python samba truetype trusted usb wavelan X"
Comment 1 Chris Smith 2003-10-20 17:57:57 UTC
Well, took "distcc" out of my features and it works fine.

Feeling pretty stupid...yep.

Renaming topic accordingly, could someone please reassign the bug to whoever
looks after distcc compile failures?

Cheers,
Chris.
Comment 2 SpanKY gentoo-dev 2003-10-20 22:52:36 UTC

*** This bug has been marked as a duplicate of 25983 ***
Comment 3 Zeek 2004-02-09 13:50:09 UTC
*** Bug 41009 has been marked as a duplicate of this bug. ***