Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57492 - jigdo-0.7.0 fails to compile with gcc-3.4.1
Summary: jigdo-0.7.0 fails to compile with gcc-3.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jason Wever (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 62705
Blocks:
  Show dependency tree
 
Reported: 2004-07-18 08:47 UTC by Jon Marston
Modified: 2004-09-14 19:33 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 Jon Marston 2004-07-18 08:47:25 UTC
Compile stage fails when trying to emerge jigdo-0.7.0 with gcc-3.4.1. Compilation with gcc-3.3.3 work without a problem.
 

Reproducible: Always
Steps to Reproduce:
1.emerge jigdo
2.
3.

Actual Results:  
Actual output:

creating ./config.status
creating Makefile
creating doc/Makefile
creating src/Makefile
creating po/Makefile
creating src/config.h
 * Applying makefile.patch...                                                  
                                                                       [ ok
]test -h gfx -o -d gfx || ln -s "./gfx" gfx
cd src && make all
make[1]: Entering directory `/var/tmp/portage/jigdo-0.7.0/work/jigdo-0.7.0/src'
Using these {options}: -I. -I. -I./gtk -I./job -I./net -I./util
-D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="/usr/share/jigdo/"
-DPACKAGE_LOCALE_DIR="/usr/share/locale" -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H -O3
-march=athlon-xp -fomit-frame-pointer -pipe -ffast-math -Wall -W -Wpointer-arith
-Wconversion -Wmissing-prototypes -Woverloaded-virtual
g++ {options} -c cachefile.cc -o cachefile.o
g++ {options} -c compat.cc -o compat.o
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
g++ {options} -c configfile.cc -o configfile.o
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
g++ {options} -c glibc-md5.cc -o glibc-md5.o
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
In file included from ./md5sum.ih:17,
                 from ./md5sum.hh:341,
                 from glibc-md5.cc:41:
./mimestream.hh: In member function `Base64Out<Output>&
Base64Out<Output>::trailer(std::streamsize)':
./mimestream.hh:218: error: `stream' undeclared (first use this function)
./mimestream.hh:218: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make[1]: *** [glibc-md5.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
make[1]: Leaving directory `/var/tmp/portage/jigdo-0.7.0/work/jigdo-0.7.0/src'
make: *** [all] Error 2

!!! ERROR: net-misc/jigdo-0.7.0 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)



Expected Results:  
Successful emerge

emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.8-rc1-jon1)
=================================================================
System uname: 2.6.8-rc1-jon1 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.rnl.ist.utl.pt/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/bin"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo cdr crypt cups dga dvd dvdr encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg krb4 libg++
libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk
tcpd truetype usb x86 xml2 xmms xv xvid zlib"
Comment 1 Jason Wever (RETIRED) gentoo-dev 2004-07-18 18:32:41 UTC
Can you confirm that this problem is specific to Gentoo and not a problem with the original jigdo software?
Comment 2 Matthias Liertzer 2004-09-13 14:44:13 UTC
I have the same problem using gcc-3.4.2. I had a look at their homepage. There's a new release available: 0.7.1 The changelog says that it fixes various problems compiling jigdo with gcc-3.4. 

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/jigdo/jigdo/changelog?rev=HEAD

There's already an ebuild available at #62705, so I mark this one a dependency of #62705. When including the new ebuild, the project's url should also be fixed, the correct URL is http://atterer.net/jigdo/ . This would fix bug #62686.

Greets Matt
Comment 3 Jason Wever (RETIRED) gentoo-dev 2004-09-14 19:33:48 UTC
The newly added 0.7.1 ebuild fixed this for me on two ~x86 machines.  Feel free to re-open if you still have problems and thanks for the bug report :)