First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 67038
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Joe Kappus <joecool1029@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
1.14.90-header_fix.patch Removes __THROW to fix tar compile failure patch Joe Kappus 2004-10-11 11:16 0000 743 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67038 depends on: Show dependency tree
Show dependency graph
Bug 67038 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-10 21:00 0000
I am gonna blame this on the headers.. but its only b0rkin on tar, so figured i
would report it anyway. Fails always, even with no cflags.

Fails like this.

gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=pentium4 -O2 -mfpmath=sse
-ffast-math -ftracer -fomit-frame-pointer -fweb -pipe -c argp-fmtstream.c
In file included from argp-eexst.c:26:
argp.h:561: error: parse error before '{' token
argp.h:567: error: parse error before '{' token
argp.h:579: error: parse error before '{' token
make[3]: *** [argp-eexst.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90/lib'
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

My info.

Portage 2.0.51_rc8 (default-linux/x86/2004.3, gcc-3.4.2,
glibc-2.3.4.20041006-r0, 2.6.9-rc2-love4 i686)
=================================================================
System uname: 2.6.9-rc2-love4 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
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 -mfpmath=sse -ffast-math -ftracer
-fomit-frame-pointer -fweb -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/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 -mfpmath=sse -ffast-math -ftracer
-fomit-frame-pointer -fweb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 applypatches arts atm bitmap-fonts cdr chroot crypt cups
curl encode esd f77 fam fbcon flac foomaticdb gd gdbm gif gpm gtk gtk2
imagemagick imlib innondb ithreads javascript jpeg kde libcaca libwww maildir
md5sum mmx motif mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mpeg mysql
ncurses nptl nptlonly oggvorbis opengl pam pdflib perl pic png ppds python qt
quicktime readline sdl spell sqlite sse ssl theora threads tiff truetype
userlocales x86 xml xml2 xmms xprint xv xvid zlib"

------- Comment #1 From Mike Crawford 2004-10-10 21:29:22 0000 -------
Making all in src
make[2]: Entering directory `/var/tmp/portage/tar-1.14.90/work/tar-1.14.90/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c buffer.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c compare.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c create.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c delete.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c extract.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c xheader.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c incremen.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c list.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c mangle.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c misc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c names.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c rtapelib.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c sparse.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c system.c
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=athlon -mtune=athlon -O3 -pipe -c update.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c utf8.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -O3 -pipe -c rmt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib     -march=athlon -mtune=athlon -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]: *** 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.


bluu ~ # emerge info
Portage 2.0.51_rc8 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.5.3
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
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 -mtune=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/openjms/config /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=athlon -mtune=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext S3TC X X509 aac acl acpi activefilter adns aim alsa amd apache2 apm arts audiofile avantgo avi bcmath bdf berkdb bidi bitmap-fonts bluetooth bzlib cap cddb cdinstall cdparanoia cdrom cgi chroot cjk client cpdflib crypt ctype cups curl curlwrappers dba dio directfb divx4linux djbfft dnd droproot dv dvb dvd dvdr dvdread edl eds emacs emacs-w3 encode erandom esd exif ext-png ext-zlib extensions f77 faac faad fam fastcgi fbcon ffmpeg flac flash fluidsynth fmod foomaticdb foreign-package foreign-sysvinit freetds freetype freewnn ftp gb gcj gcl gd gdbm geoip ggi gif gimp gimpprint ginac glade glgd glutgmp gmtfull gnome gnomedb gnuplot gpm gps graphviz gs gsl gstreamer gtk gtk2 gtkhtml guile hal hardenedphp hbci hdf iconv icq ide idl ieee1394 image imagemagick imap imlib imlib2 innodb ipv6 irda irmc j2ee jabber java javacomm javadoc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta junit jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms leim libdsk libg++ libgd libgda libsamplerate libwww live lm_sensors lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb memlimit mhash migemo mikmod mime mixer mmap mmx mng mono motif mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mssql mule music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas native ncurses net network nis nls nptl ntlm nvidia nviz oav objc ocaml odbc offensive ofx oggvorbis openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio posix postgres postgresql ppds print pthreads python qt quicktime quotes readline rhino rogue rplay rtc ruby samba sasl scanner sdl servlet-2.3 servlet-2.4 session sftplogging shaper shared sharedmem sheep silc simplexml skk slang slp smime sndfile snmp sockets socks5 softquota sox speex spell ssl stencil-buffer stroke svg svga sysvipc szip t1lib tcltk tcpd tetex tga theora tidy tiff transcode truetype unicode usb v4l v4l2 vda vhosts videos virus-scan wifi wmf wxwin wxwindows x86 xatrix xchatdccserver xchattext xemacs xgetdefault xine xml xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yahoo yv12 zlib zvbi"

I'll sign up for this one also... 4 affected systems with gcc-3.4.2-r2 sofar

------- Comment #2 From SpanKY 2004-10-10 21:42:07 0000 -------
ali3nx: dont post unrelated bugs, your bug is already fixed, see Bug 66959

this bug is because of the __THROW on those three lines ... if you remove the __THROW from the header file, tar will compile just fine ...
but that doesnt really tell me why __THROW doesnt work on those parts when it does further up in the header file :)

------- Comment #3 From Kathy Wills 2004-10-11 02:48:58 0000 -------
Removing __THROW from the header file didn't work for me. I still get the same
error message.

emerge info:

Portage 2.0.51_rc9 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0,
2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Pentium III (Coppermine)
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=pentium3 -mtune=i686 -O2 -funroll-loops -pipe
-fno-unit-at-a-time"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mtune=i686 -O2 -funroll-loops -pipe
-fno-unit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups doc encodeesd f77
foomaticdb gdbm gif gimp gimp-print gphoto2 gtk gtk2 imlib java jpeg kde ldap
libg++ libwww mad mikmod motif mpeg ncurses nls nptl nptlonly oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl
svga tcltk tcpd tetex truetype x86 xml2xmms xprint xv zlib"

------- Comment #4 From Santiago Gala 2004-10-11 07:48:56 0000 -------
>this bug is because of the __THROW on those three lines ... if you remove the 
>__THROW from the header file, tar will compile just fine ...
>but that doesnt really tell me why __THROW doesnt work on those parts when it 
>does further up in the header file :)

In the other places, "__THROWS;" expands to "throw();", which defines the function; in the three errors, there is a definition of the function below, so this does not make sense at all. I'm not a C programmer since years ago, but how does it make sense declaring a function "extern" and "__inline__", and defining it in the same declaration?

It fails here too, ppc with gcc 3.4.1-r3

------- Comment #5 From Elie De Brauwer 2004-10-11 10:43:53 0000 -------
Also fails on ~amd64 with the same errors:

gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -fPIC -c argp-eexst.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -fPIC -c argp-fmtstream.c
In file included from argp-eexst.c:26:
argp.h:561: error: syntax error before '{' token
argp.h:567: error: syntax error before '{' token
argp.h:579: error: syntax error before '{' token
make[3]: *** [argp-eexst.o] Error 1
make[3]: *** Waiting for unfinished jobs....

emerge info:
Portage 2.0.51_rc9 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.                              6.8-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
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-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2                              /share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /                              usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/sha                              re/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/gen                              eric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qma                              il/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.                              du.se/pub/os/gentoo http://gentoo.mirror.sdv.fr http://ftp.gentoo.skynet.be/pub/                              gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 apm arts avi berkdb bitmap-fonts cdr crypt encode esd f77 foomaticd                              b gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mikmod motif moz                              illa mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres py                              thon qt quicktime readline sdl slang spell ssl tcpd tetex truetype xml2 xmms xpr                              int xv zlib"


------- Comment #6 From Joe Kappus 2004-10-11 11:16:36 0000 -------
Created an attachment (id=41554) [edit]
Removes __THROW to fix tar compile failure

requesting this go into portage.

------- Comment #7 From SpanKY 2004-10-11 11:51:42 0000 -------
took a patch from the gnulib cvs to fix this

------- Comment #8 From Joe Kappus 2004-10-11 12:03:52 0000 -------
i'm hurt.. you didn't take my patch....

------- Comment #9 From Kathy Wills 2004-10-11 12:56:02 0000 -------
The patch from joecool will not work for me as I already don't have __THROW in
the sections this patches. I have __THROW in a different area of this file.
What was the patch that you used from the gnulib-cvs?

------- Comment #10 From Joe Kappus 2004-10-11 19:42:49 0000 -------
are you sure?  I am positive __THROW is on 3 lines in lib/argp.h. The patch I
tested myself.

Its not the headers in /usr/include.. its the header that came with the tar
source tree.  (I made this mistake at first..).

------- Comment #11 From SpanKY 2004-10-11 19:52:47 0000 -------
why not sync-up and try tar again and see if it works

------- Comment #12 From Joe Kappus 2004-10-11 19:55:08 0000 -------
or that too :P.

------- Comment #13 From Mike Crawford 2004-10-12 21:52:45 0000 -------
didn't see a previous bug on this... i searched for one but found no listed
duplicates. same version *shrug* fixed now anyways =]

First Last Prev Next    No search results available      Search page      Enter new bug