Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128270 - app-editors/cute-0.2.9-r2 doesn't compile with gcc-4.1; patches provided
Summary: app-editors/cute-0.2.9-r2 doesn't compile with gcc-4.1; patches provided
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: PENDING REMOVAL Nov 28th 2006
Keywords: PMASKED
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-31 09:13 UTC by Robert Sebastian Gerus
Modified: 2006-11-29 18:22 UTC (History)
3 users (show)

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


Attachments
cute-0.2.9-gcc4.1_patch1.diff (cute-0.2.9-gcc4.1_patch1.diff,858 bytes, patch)
2006-03-31 09:14 UTC, Robert Sebastian Gerus
Details | Diff
cute-0.2.9-r2-ebuild_patch.diff (cute-0.2.9-r2-ebuild_patch.diff,760 bytes, patch)
2006-03-31 09:15 UTC, Robert Sebastian Gerus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Sebastian Gerus 2006-03-31 09:13:30 UTC
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
Comment 1 Robert Sebastian Gerus 2006-03-31 09:14:28 UTC
Created attachment 83527 [details, diff]
cute-0.2.9-gcc4.1_patch1.diff
Comment 2 Robert Sebastian Gerus 2006-03-31 09:15:59 UTC
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)
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2006-03-31 09:21:41 UTC
patched in portage, without the revbump - thanks for the patch.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2006-08-16 17:29:54 UTC
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.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-16 18:00:11 UTC
Reopen. I tend more towards burying the sucker. Upstream is dead for three years.
Comment 6 Patrick Lauer gentoo-dev 2006-10-01 11:17:15 UTC
treecleaners candidate?
Comment 7 Christoph Renner 2006-10-05 01:02:57 UTC
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() {
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 05:36:26 UTC
(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... ;)
Comment 9 Christian Heim (RETIRED) gentoo-dev 2006-11-04 12:24:35 UTC
nothing depends on it -> package.mask'ed, pending removal.
Comment 10 Christian Heim (RETIRED) gentoo-dev 2006-11-04 12:46:05 UTC
Guess Alec really needs to follow his own guidelines ...
Comment 11 Steve Dibb (RETIRED) gentoo-dev 2006-11-29 18:22:21 UTC
punted