Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66959 - emerge tar-1.14.90 fails
Summary: emerge tar-1.14.90 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 67050 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-10 02:58 UTC by Didier Link
Modified: 2004-10-11 11:15 UTC (History)
3 users (show)

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


Attachments
Simple patch (tar-1.14.90.remote-shell-fix.patch,724 bytes, patch)
2004-10-10 03:42 UTC, Loz Hygate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Didier Link 2004-10-10 02:58:32 UTC
two things :

- can't download the tar.bz2 archive for the moment, I've search it from ftp://alpha.gnu.org/gnu/tar and save in /usr/portage/distfiles

- compilation aborted with this messages :

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -O2 -march=athlon-xp -fomit-frame-pointer -c tar.c
tar.c: In function `show_default_settings':
tar.c:550: erreur: 
Comment 1 Didier Link 2004-10-10 02:58:32 UTC
two things :

- can't download the tar.bz2 archive for the moment, I've search it from ftp://alpha.gnu.org/gnu/tar and save in /usr/portage/distfiles

- compilation aborted with this messages :

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -O2 -march=athlon-xp -fomit-frame-pointer -c tar.c
tar.c: In function `show_default_settings':
tar.c:550: erreur: « REMOTE_SHELL » non déclaré (première utilisation dans cette fonction)
tar.c:550: erreur: (Chaque identificateur non déclaré est rapporté une seule fois
tar.c:550: erreur: pour chaque fonction dans laquelle il apparaît.)
make[2]: *** [tar.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90'
make: *** [all] Erreur 2

!!! ERROR: app-arch/tar-1.14.90 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

sorry for the french messages ;)


Reproducible: Always
Steps to Reproduce:
1. emerge --update system

Actual Results:  
compilation error

Expected Results:  
emerging tar correctly

Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r6 i686)
=================================================================
System uname: 2.6.8-gentoo-r6 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
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="-O2 -march=athlon-xp -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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks nostrip sandbox"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="3dnow S3TC X X509 Xaw3d aalib acpi alsa apache2 audiofile autofs avi berkdb
bidi bitmap-fonts bluetooth bonobo cairo caps cddb cdparanoia cdr chroot clamav
codecs crypt cups curl dba dbm dga dnd dts dv dvb dvd dvdread encode esd
ethereal evo exif expat ext-png ext-zlib f77 faac faad fam fbcon fbdev ffmpeg
flac foomaticdb freetype fs ftp gcj gcl gd gd-external gdbm gif gimp gimpprint
glade gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal howl ieee1394
imagemagick imap imlib imlib2 intl ipv6 j2ee jabber java javadoc javamail
javascript jce jikes jpeg junit lcms ldap libg++ libwww lufsusermount mad
maildir matroska mikmod mime mmx mmx2 mng motif mozdevelop mozilla mozsvg mp3
mpeg mpeg4 native ncurses nls no-old-linux nptl nptlonly objc ofx oggvorbis
openal opengl openssh oss pam pcre pdflib perl php plotutils png posix postgres
ppds pthreads python quicktime radeon readline regexp rtc scanner sdl
servlet-2.4 session slang smime speex spell sse ssl struts svg svga tcltk tcpd
theora threads tidy tiff truetype ucs2 ucs4 unicode usb userlocales virus-scan
wxwindows x86 xine xinerama xinetd xml2 xosd xpm xprint xrandr xv xvid xvmc zlib"
Comment 2 scaba 2004-10-10 03:34:23 UTC
I'm having the same issues...

echo '#define LOCALEDIR "/usr/share/locale"' >localedir.h
echo "#ifndef DEFAULT_RMT_COMMAND" >> localedir.h
echo "# define DEFAULT_RMT_COMMAND \"/usr/sbin/`echo \"rmt\" | sed 's,^.*/,,;s,x,x,'`\"" >> localedir.h
echo "#endif" >> localedir.h
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=pentium4 -O2 -pipe -c update.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=pentium4 -O2 -pipe -c utf8.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=pentium4 -O2 -pipe -c rmt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=pentium4 -O2 -pipe -c tar.c
tar.c: In function `show_default_settings':
tar.c:550: error: `REMOTE_SHELL' undeclared (first use in this function)
tar.c:550: error: (Each undeclared identifier is reported only once
tar.c:550: error: for each function it appears in.)
make[2]: *** [tar.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90'
make: *** [all] Error 2

!!! ERROR: app-arch/tar-1.14.90 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51_rc7 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-rc3 i686)
=================================================================
System uname: 2.6.9-rc3 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
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=pentium4 -O2 -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo/ http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xprint xv zlib"
Comment 3 Loz Hygate 2004-10-10 03:42:07 UTC
Created attachment 41448 [details, diff]
Simple patch

Not sure if it is the best solution or not, but it works around the compile
error.
Comment 4 Martin Gramatke 2004-10-10 12:46:28 UTC
I circumvent the download problem by 'cd /usr/portage/distfiles && wget www.mirror.ac.uk/mirror/alpha.gnu.org/gnu/tar/tar-1.14.90.tar.bz2 && emerge --resume'.

But now I face another problem:

[...]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=pentium3 -O3 -pipe -c tar.c
tar.c: In function `show_default_settings':
tar.c:550: error: `REMOTE_SHELL' undeclared (first use in this function)
tar.c:550: error: (Each undeclared identifier is reported only once
tar.c:550: error: for each function it appears in.)
make[2]: *** [tar.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90'
make: *** [all] Error 2

!!! ERROR: app-arch/tar-1.14.90 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 5 Jeff 2004-10-10 15:34:26 UTC
same problem here.
Comment 6 SpanKY gentoo-dev 2004-10-10 18:44:29 UTC
added a simpler patch to cvs & e-mailed upstream, thanks :)
Comment 7 SpanKY gentoo-dev 2004-10-11 05:24:09 UTC
*** Bug 67050 has been marked as a duplicate of this bug. ***
Comment 8 Loz Hygate 2004-10-11 11:15:07 UTC
From memory, that is a simpler fix that will cause problems if fprintf is a macro on any system. I've no idea if that is the case, but I remember similar problems with printf a while back.