Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41487 - gimp-2.0_pre3 doesn't compile with gcc-2.95
Summary: gimp-2.0_pre3 doesn't compile with gcc-2.95
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 10:53 UTC by Tristan Henderson
Modified: 2004-02-15 11:08 UTC (History)
0 users

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


Attachments
patch to remove ";;" from gimp 2.0pre3 (gimp-2.0_pre3-gcc2_fix.patch,2.18 KB, patch)
2004-02-13 10:53 UTC, Tristan Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Henderson 2004-02-13 10:53:08 UTC
There are lots of double semi-colons ";;" in gimp-2.0_pre3, which prevent it from compiling with gcc-2.95. I've attached a patch to get rid of these - let me know if I should submit it upstream as well.

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/gtk-2.0 -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libart-2.0   -I/usr/incl
ude -DG_LOG_DOMAIN=\"Gimp-Core\" -DGIMP_COMPILATION  -DG_DISABLE_DEPRECATED -DGDK_PIXB
UF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEA
D_SAFE -DGTK_MULTIHEAD_SAFE  -g -mcpu=i686 -O3 -pipe -g -g -g -Wall -c `test -f 'gimpc
hannel-select.c' || echo './'`gimpchannel-select.c
make[3]: *** [gimpchannel.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0_pre3/work/gimp-2.0pre3/app/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0_pre3/work/gimp-2.0pre3/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0_pre3/work/gimp-2.0pre3'
make: *** [all] Error 2

gimpchannel.c: In function `gimp_channel_stroke':
gimpchannel.c:644: parse error before `*'
gimpchannel.c:649: `paint_options' undeclared (first use in this function)
gimpchannel.c:649: (Each undeclared identifier is reported only once
gimpchannel.c:649: for each function it appears in.)
gimpchannel.c:667: `core' undeclared (first use in this function)
source='gimpchannel-select.c' object='gimpchannel-select.o' libtool=no \
depfile='.deps/gimpchannel-select.Po' tmpdepfile='.deps/gimpchannel-select.TPo' \
depmode=gcc /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/gtk-2.0 -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libart-2.0   -I/usr/incl
ude -DG_LOG_DOMAIN=\"Gimp-Core\" -DGIMP_COMPILATION  -DG_DISABLE_DEPRECATED -DGDK_PIXB
UF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEA
D_SAFE -DGTK_MULTIHEAD_SAFE  -g -mcpu=i686 -O3 -pipe -g -g -g -Wall -c `test -f 'gimpc
hannel-select.c' || echo './'`gimpchannel-select.c
make[3]: *** [gimpchannel.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0_pre3/work/gimp-2.0pre3/app/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0_pre3/work/gimp-2.0pre3/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0_pre3/work/gimp-2.0pre3'
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-2.0_pre3 failed.
!!! Function src_compile, Line 81, Exitcode 2
(no error message)

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




Portage 2.0.50-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.24)
==============================================================
===
System uname: 2.4.24 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.
clarkson.edu/pub/distributions/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http:
//gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.net/gentoo http://open-systems.ufl.
edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http:
//mirror.cpsc.ucalgary.ca/mirror/gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curses dga dvd emacs 
encode esd ethereal evo fbcon foomaticdb gdbm gif gnome-libs gpm gtk gtk2 gtkhtml guile imap 
imlib java jpeg lcms ldap libg++ libwww mmx motif mpeg mysql nas ncurses odbc oggvorbis oss 
pam pcmcia pda pdflib perl pic plotutils png pnp python quicktime readline samba sdl skey slang 
smooth snmp spell ssl stroke svga tcltk tcpd tetex tiff truetype trusted usb vim-with-x x86 xml xml2 
xmms xv zlib"
Comment 1 Tristan Henderson 2004-02-13 10:53:47 UTC
Created attachment 25542 [details, diff]
patch to remove ";;" from gimp 2.0pre3
Comment 2 foser (RETIRED) gentoo-dev 2004-02-15 11:08:16 UTC
I just added gimp-2.0_pre3-r1 with this patch. Thanks for the report.

I assume this is already reported/fixed upstrea, ?