Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12755 - Sawfish-1.2 fails to compile
Summary: Sawfish-1.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-26 17:59 UTC by Arcady Genkin (RETIRED)
Modified: 2003-01-05 06:05 UTC (History)
1 user (show)

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


Attachments
Revised ebulid (sawfish-1.2-r1.ebuild,2.14 KB, text/plain)
2003-01-04 22:37 UTC, Andy Dustman
Details
Patch to fix compile problems with gtk+-2.2 (sawfish-1.2-gtk+-2.2.patch,471 bytes, patch)
2003-01-04 22:38 UTC, Andy Dustman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arcady Genkin (RETIRED) gentoo-dev 2002-12-26 17:59:29 UTC
Emerging sawfish-1.2 produces the following error:

gcc -DHAVE_CONFIG_H -DSAWFISH -I. -I..   -I/usr/X11R6/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -o gtk-style gtk-style.c -Wl,--export-dynamic
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lnsl 
gtk-style.c: In function `print_rc_style':
gtk-style.c:101: structure has no member named `font_name'
gtk-style.c:102: structure has no member named `font_name'
gtk-style.c:103: structure has no member named `fontset_name'
gtk-style.c:104: structure has no member named `fontset_name'
make[1]: *** [gtk-style] 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 56, Exitcode 2
!!! (no error message)
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-12-26 18:20:31 UTC
Some more info:

Portage 2.0.46-r2 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20 i686 GenuineIntel
USE="x86 oss 3dnow apm crypt cups encode libg++ mikmod mmx mpeg ncurses pdflib
qtmt quicktime spell truetype xml2 xmms xv berkdb cdr esd gdbm ggi gif
gnome-libs gtk guile imlib java libwww nls opengl pam perl python qt readline
sdl slang ssl svga tcltk tcpd tetex X dvd avi alsa oggvorbis png tiff jpeg xface
lucid -mule -gpm -kde gnome -motif -arts -nas"
ARCH="x86"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O2 -pipe"
CXXFLAGS="-mcpu=i686 -O2 -pipe"
ACCEPT_KEYWORDS="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="-j2"
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 2 Andy Dustman 2003-01-04 22:36:05 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=101834

This is the fix for the bug. Basically, sawfish 1.2 does not compile against
gtk+-2.2 because of bad #ifdef logic. I am attaching a patch and ebuild.
Comment 3 Andy Dustman 2003-01-04 22:37:01 UTC
Created attachment 6971 [details]
Revised ebulid
Comment 4 Andy Dustman 2003-01-04 22:38:05 UTC
Created attachment 6972 [details, diff]
Patch to fix compile problems with gtk+-2.2
Comment 5 foser (RETIRED) gentoo-dev 2003-01-05 06:05:11 UTC
Patch added to the tree, thnx for the good work Andy :)