app-editors/cute-0.2.9-r2 doesn't compile using gcc-4.1 on my system without those patches. `--> emerge --info Portage 2.1_pre7-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16 i686) ================================================================= System uname: 2.6.16 i686 Pentium II (Deschutes) Gentoo Base System version 1.12.0_pre16 dev-lang/python: 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-r2 sys-devel/binutils: 2.16.1-r1, 2.16.91.0.6, 2.16.91.0.7 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="-Os -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/pub/gentoo/distfiles" FEATURES="autoconfig digest distlocks keepwork metadata-transfer noinfo parallel-fetch sfperms strict" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo " LANG="en_US" LC_ALL="en_US" LINGUAS="pl en" MAKEOPTS="" PKGDIR="/pub/gentoo/packages" PORTAGE_TMPDIR="/pub/gentoo/tmpdir" PORTDIR="/pub/gentoo/portage" PORTDIR_OVERLAY="/pub/gentoo/portage-overlay/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apm atroska avi background berkdb bitmap-fonts browserplugin bzip2 cairo cdb cdda cddb cdparanoia cli cpudetection crypt ctype cups curl custom-cflags dba dlloader dvd dvdread eds emboss encode exif expat fam fastbuild fastcgi ffmpeg flac foomaticdb force-cgi-redirect ftp gd gdbm gif gpm gtk gtk2 hal icecast idn imagemagick imlib imlib2 ipv6 isdnlog jabber javascript jpeg kde kerberos lcms ldap libg++ libwww lua mad matroska memlimit mikmod mmx mng motif mouse moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpi musepack musicbrainz ncurses nls nodrm nptl nsplugin nvidia odbc offensive ogg opengl oss pam pcre pdflib perl png posix postgres pppd python qt quicktime readline real ruby samba sdl session simplexml skins soap sockets spell spl sqlite ssl svg tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd vidix vorbis win32codecs wma x264 xanim xine xml xml2 xosd xpm xsl xv xvid xvmc zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_pl linguas_en userland_GNU video_cards_vesa video_cards_nv video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Created attachment 83527 [details, diff] cute-0.2.9-gcc4.1_patch1.diff
Created attachment 83528 [details, diff] cute-0.2.9-r2-ebuild_patch.diff I'm wondering how did it compile without those changes in the ebuild (the emake line)
patched in portage, without the revbump - thanks for the patch.
still broken. the ebuild needs Robert's emake patch. i686-pc-linux-gnu-g++ -c -pipe -O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -I/usr/include -I/usr/include/python2.4 -I/usr/qt/3/include -Imoc/ -o obj/cuteshell.o cuteshell.cpp In file included from readtags.c:24: /usr/include/stdio.h:88: error: two or more data types in declaration specifiers readtags.c:109: error: static declaration of 'struppercmp' follows non-static declaration /usr/include/string.h:326: error: previous declaration of 'struppercmp' was here readtags.c:119: error: static declaration of 'strnuppercmp' follows non-static declaration /usr/include/string.h:330: error: previous declaration of 'strnuppercmp' was here make: *** [obj/readtags.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: app-editors/cute-0.2.9-r2 failed.
Reopen. I tend more towards burying the sucker. Upstream is dead for three years.
treecleaners candidate?
still interested in fixing this 'error: two or more data types in declaration specifiers'? this did it for me: --- /usr/portage/app-editors/cute/cute-0.2.9-r2.ebuild 2006-03-31 19:35:25.000000000 +0200 +++ /usr/local/portage/app-editors/cute/cute-0.2.9-r2.ebuild 2006-10-05 09:49:07.000000000 +0200 @@ -36,7 +36,9 @@ -e "s:-lpython2.2:-lpython${PYVER}:" \ -e "s:SCINTILLADIR/lib:SCINTILLADIR:" cute.pro - echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> cute.pro + echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -DHAVE_FGETPOS +\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -DHAVE_FGETPOS +\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> cute.pro } src_compile() {
(In reply to comment #5) > Reopen. I tend more towards burying the sucker. Upstream is dead for three > years. 14:31:14 <@jakub> Flameeyes: any objections to sending this to treecleaners? Bug 128270 14:31:14 <+jeeves> jakub: https://bugs.gentoo.org/128270 nor, P2, All, arachnist@gmail.com->qt@gentoo.org, REOPENED, pending, app-editors/cute-0.2.9-r2 doesn't compile with gcc-4.1; patches provided 14:32:19 <@Flameeyes> jakub, no objection myself Treecleaners, do you job... ;)
nothing depends on it -> package.mask'ed, pending removal.
Guess Alec really needs to follow his own guidelines ...
punted