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

Bug 69562

Summary: app-arch/tar-1.14.90-r1 fails to compile with gcc-3.4.2
Product: Gentoo Linux Reporter: Christian Malerbakken <christian>
Component: Current packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Malerbakken 2004-10-30 18:32:50 UTC
tar repeatedly refuses to compile.

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-mp -Os -pipe -fomit-frame-pointer -c argp-f
mtstream.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-mp -Os -pipe -fomit-frame-pointer -c argp-f
s-xinl.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-mp -Os -pipe -fomit-frame-pointer -c argp-h
elp.c
In file included from /usr/include/stdio.h:28,
                 from argp-fmtstream.h:32,
                 from argp-fs-xinl.c:27:
/usr/include/features.h:265:41: operator '&&' has no right operand
make[3]: *** [argp-fs-xinl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/tar-1.14.90-r1/work/tar-1.14.90/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/tar-1.14.90-r1/work/tar-1.14.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tar-1.14.90-r1/work/tar-1.14.90'
make: *** [all] Error 2

!!! ERROR: app-arch/tar-1.14.90-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! emake failed

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge tar
2.
3.

Actual Results:  
tar failed to compile

Expected Results:  
tar should have compiled

emerge info
Portage 2.0.51-r2 (default-linux/x86/2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 
2.6.9-gentoo-r1 i68
6)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.6.4
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/
share/config /usr/sha
re/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo http://mirror.gentoo.no http://
gentoo.oregonstate.edu
 http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.no/gentoo-portage"
USE="3dnow X aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups dvd dvdr 
encode f77 fbcon flac f
oomaticdb gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 hal howl imagemagick 
imlib ipv6 ithreads
 java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl objc 
oggvorbis opengl pam pcre p
dflib perl pic png ppds python quicktime readline samba scanner sdl slang snmp 
speex spell sse ssl s
vga tcltk tcpd threads tiff truetype unicode usb x86 xml2 xmms xprint xv zlib"
Comment 1 Lourdes Jones 2004-10-30 21:34:17 UTC
I had the same problem but the patch in bug 69395 allowed tar to compile and install for me.

http://bugs.gentoo.org/show_bug.cgi?id=69395
Comment 2 Christian Malerbakken 2004-10-31 06:08:11 UTC
I can confirm that the patch in bug #69395 works (with the slight modification stated in the first comment)
Marked as duplicate

*** This bug has been marked as a duplicate of 69395 ***