checking GCC version... 4.1.0 ================================================================================ *** Please downgrade/upgrade C compiler to gcc-2.95.x or gcc-3.x version! *** DO *NOT* REPORT BUGS unless you can reproduce them after recompiling with 2.95.x or 3.0.x version! Note for gcc 2.96 users: some versions of this compiler are known to miscompile programs. If you get compile errors, first upgrade to the latest 2.96 release (but minimum 2.96-85) and try again. If the problem still exists, try with gcc 3.0.x (or 2.95.x) *BEFORE* reporting bugs! Press return to resume configuration (CTRL-C to abort). ================================================================================ net-p2p/dctc-0.85.9 with gcc 4.1.0 Portage 2.1_pre6-r3 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15 i686) ================================================================= System uname: 2.6.15 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://85.25.128.62 ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync12.de.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac aalib acpi afs alsa apache2 apm avi bash-completion berkdb bidi bitmap-fonts bootsplash bzip2 ccache cdda cddb cdparanoia cdr chroot crypt cups curl dga dri dv dvd dvdr dvdread ecc eds emboss encode fbcon ffmpeg fftw foomaticdb fortran gd-external gdbm gif gimp gimpprint glep glitz gmp gpm graphviz imagemagick imap imlib ipv6 jabber java jikes jit jpeg jpeg2k kde kdeenablefinal kqemu ladcca lcms libg++ libwww lzo mad mhash mikmod mime mjpeg mmx mmxext mng motif mozilla mozsvg mp3 mpeg ncurses nls nptl nptlonly nvidia objc ogg oggvorbis openal opengl oss pam parse-clocks pcre pdf pdflib perl physfs png python qt quicktime readline recode samba sdl spell sqlite sse sse2 ssl stream tcltk tcpd threads tiff transcode truetype truetype-fonts type1-fonts unicode utf8 visualization vorbis win32codecs wxgtk1 xine xml xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
it also doesn't compile. if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DWITH_GCRYPT -DWITH_GLIB2 -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf -DBDB_V4 -DHAVE_ZLIB -DHAVE_BZIP2 -DHAVE_XML2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -MT typical_action.o -MD -MP -MF ".deps/typical_action.Tpo" \ -c -o typical_action.o `test -f 'typical_action.c' || echo './'`typical_action.c; \ then mv -f ".deps/typical_action.Tpo" ".deps/typical_action.Po"; \ else rm -f ".deps/typical_action.Tpo"; exit 1; \ fi user_manage.c:47: error: static declaration of 'hub_user_xtra_info' follows non-static declaration user_manage.h:30: error: previous declaration of 'hub_user_xtra_info' was here user_manage.c:50: error: static declaration of 'hub_user_uinfo' follows non-static declaration user_manage.h:34: error: previous declaration of 'hub_user_uinfo' was here make[2]: *** [user_manage.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/dctc-0.85.9/work/dctc-0.85.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dctc-0.85.9/work/dctc-0.85.9' make: *** [all] Error 2 !!! ERROR: net-p2p/dctc-0.85.9 failed. i have a fix for the compile error. i'll post a patch when i figure out how to disable the gcc version check.
Created attachment 82488 [details, diff] dctc-0.85.9-gcc41.patch adds 4.* to the configure check and fixes the compile errors under gcc 4.1.*
Created attachment 82489 [details, diff] dctc-0.85.9.ebuild.diff moves the patching up before the sed and calls eautoreconf to regenerate autotools files. it has to be done in this order to avoid bug #26708.
Fixed, thanks.