Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13329 - sawfish 1.2 doesn't compile anymore
Summary: sawfish 1.2 doesn't compile anymore
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-05 18:26 UTC by TGL
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 TGL 2003-01-05 18:26:50 UTC
Hi,

Here is the last words of a compilation attempt:

gcc -c -DHAVE_CONFIG_H -DSAWFISH -I. -I..   -I/usr/X11R6/include -march=i686 -O3
-I/usr/include -I/usr/lib/rep/i686-pc-linux-gnu -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/X11R6/include
-I/usr/X11R6/include    -o fonts.o fonts.c
In file included from fonts.c:46:
/usr/X11R6/include/X11/Xft/Xft.h:52: parse error before `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/Xft.h:52: warning: data definition has no type or
storage class
/usr/X11R6/include/X11/Xft/Xft.h:86: parse error before `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:86: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:89: parse error before `}'
/usr/X11R6/include/X11/Xft/Xft.h:89: warning: data definition has no type or
storage class
/usr/X11R6/include/X11/Xft/Xft.h:93: parse error before `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:93: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:96: parse error before `}'
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: data definition has no type or
storage class
/usr/X11R6/include/X11/Xft/Xft.h:190: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:256: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:262: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:295: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:354: parse error before `XftLockFace'
/usr/X11R6/include/X11/Xft/Xft.h:354: warning: data definition has no type or
storage class
/usr/X11R6/include/X11/Xft/Xft.h:393: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:399: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:408: parse error before `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:418: parse error before `XftCharIndex'
/usr/X11R6/include/X11/Xft/Xft.h:420: warning: data definition has no type or
storage class
/usr/X11R6/include/X11/Xft/Xft.h:461: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:472: parse error before `*'
/usr/X11R6/include/X11/Xft/Xft.h:493: parse error before `*'
make[1]: *** [fonts.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sawfish-1.2/work/sawfish-1.2-gtk2/src'
make: *** [all] Error 1

!!! ERROR: x11-wm/sawfish-1.2 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)

--------------------------------------------------------

I have the today ebuild, with "gtk+-2.2 detection" and "freetype2 include"
fixes. Have they been tested with gcc 2.95?

Here are a few informations about my system, please ask if you need something else:

gromit portage # qpkg -v -I xft
x11-libs/gdkxft-1.5 *
x11-libs/xft-2.0.1-r1 *

gromit portage # qpkg -v -I freetype
media-libs/freetype-1.3.1-r3 *
media-libs/freetype-2.1.3-r2 *
media-gfx/gimp-freetype-0.2-r2 *

gromit portage # qpkg -v -I gtk+
x11-libs/gtk+-1.2.10-r7 *
x11-libs/gtk+extra-0.99.17 *
x11-libs/gtk+-2.2.0 *
x11-libs/gtk+-1.2.10-r9 *

gromit portage # emerge info
Portage 2.0.46-r4 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r7)
=================================================================
System uname: 2.4.20-ck1 i686 AMD Athlon(tm) XP 1800+
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib qtmt quicktime spell truetype xml2 xmms xv berkdb gdbm gif gnome-libs gpm
gtk imlib java libwww motif nls oggvorbis opengl pam png python qt readline sdl
slang ssl svga tcpd tetex X aalib acpi alsa -arts bonobo cdr dga dvd esd fbcon
flash gd ggi ggz gnome gphoto2 gtkhtml guile imap junit -kde lcms ldap mbox
mozilla mozsvg mysql nas pcmcia pda perl plotutils pnp ruby sasl scanner slp
snmp tcltk tiff wmf xface xml zlib"
ARCH="x86"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3"
CXXFLAGS="-march=i686 -O3"
ACCEPT_KEYWORDS="x86 ~x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j1"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2003-01-06 14:29:49 UTC
That's a possibility that it's a gcc-2.95 error, I have no way to test, will
have to find someone with a 2.95 system, as for the patches...I have been unable
to compile sawfish for weeks until these patches...they worked perfect here.
I'll get back to u when I find someone with a 2.95 box.
Comment 2 Brad Cowan (RETIRED) gentoo-dev 2003-01-07 00:51:02 UTC
I checked on the 2.95 thing, and that seems to be the problem...we have been
working on a solution for gcc3 and gcc2 to exist together peacefully, so at this
point or until another patch comes along we're sorta at a stand still
Comment 3 Brad Cowan (RETIRED) gentoo-dev 2003-01-08 13:57:59 UTC
I'm gonna mark works-for-me until something changes, this is a gcc-2.95 bug not
much I can really do until we get our gcc-config working 100%