Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40755 - xpad 1.13 doesn't compile with gtk 2.3.0
Summary: xpad 1.13 doesn't compile with gtk 2.3.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-07 13:31 UTC by Person Sébastien
Modified: 2004-02-28 07:33 UTC (History)
0 users

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 Person Sébastien 2004-02-07 13:31:26 UTC
I try to build the xpad package version 1.13 it fails. I went to the homepage (http://xpad.sf.net), and while browsing the CVS found that current version doesn't support gtk 2.3.0 and that it is being worked in the cvs one. It would be great if the ebuild could detect this problem. I didn't find how to restrict gtk+ version to 2.0.0 --> 2.2.99...



Reproducible: Always
Steps to Reproduce:
1.emerge =xpad-1.13
2.
3.

Actual Results:  
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..   
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/X11R6/include
-ansi -pedantic -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXMAP_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -Os -mcpu=athlon-tbird
-pipe -fomit-frame-pointer -mmmx -m3dnow -MT properties.o -MD -MP -MF
".deps/properties.Tpo" \
  -c -o properties.o `test -f 'properties.c' || echo './'`properties.c; \
then mv -f ".deps/properties.Tpo" ".deps/properties.Po"; \
else rm -f ".deps/properties.Tpo"; exit 1; \
fi
Dans le fichier inclus 
Comment 1 Person Sébastien 2004-02-07 13:31:26 UTC
I try to build the xpad package version 1.13 it fails. I went to the homepage (http://xpad.sf.net), and while browsing the CVS found that current version doesn't support gtk 2.3.0 and that it is being worked in the cvs one. It would be great if the ebuild could detect this problem. I didn't find how to restrict gtk+ version to 2.0.0 --> 2.2.99...



Reproducible: Always
Steps to Reproduce:
1.emerge =xpad-1.13
2.
3.

Actual Results:  
if gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..   
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/X11R6/include
-ansi -pedantic -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXMAP_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -Os -mcpu=athlon-tbird
-pipe -fomit-frame-pointer -mmmx -m3dnow -MT properties.o -MD -MP -MF
".deps/properties.Tpo" \
  -c -o properties.o `test -f 'properties.c' || echo './'`properties.c; \
then mv -f ".deps/properties.Tpo" ".deps/properties.Po"; \
else rm -f ".deps/properties.Tpo"; exit 1; \
fi
Dans le fichier inclus à partir de main.h:27,
          à partir de pref.c:22:
pad.h:71: erreur d'analyse syntaxique avant « GtkItemFactory »
pad.h:71: AVERTISSEMENT: pas de point virgule à la fin du struct ou de l'union
pad.h:92: erreur d'analyse syntaxique avant le jeton « } »
pad.h:92: AVERTISSEMENT: ISO C ne permet pas de «;» additionnel en dehors d'une
fonction
Dans le fichier inclus à partir de toolbar.h:25,
          à partir de toolbar.c:22:
pad.h:71: erreur d'analyse syntaxique avant « GtkItemFactory »
pad.h:71: AVERTISSEMENT: pas de point virgule à la fin du struct ou de l'union
pad.h:92: erreur d'analyse syntaxique avant le jeton « } »
pad.h:92: AVERTISSEMENT: ISO C ne permet pas de «;» additionnel en dehors d'une
fonction
toolbar.c: Dans la fonction « toolbar_show »:
toolbar.c:66: déréférence d'un pointeur en un type incomplet
toolbar.c:68: déréférence d'un pointeur en un type incomplet
toolbar.c:68: déréférence d'un pointeur en un type incomplet
toolbar.c:69: déréférence d'un pointeur en un type incomplet
toolbar.c:69: déréférence d'un pointeur en un type incomplet
toolbar.c:69: déréférence d'un pointeur en un type incomplet
toolbar.c:70: déréférence d'un pointeur en un type incomplet
toolbar.c:72: déréférence d'un pointeur en un type incomplet


and a lots a similars errors


Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.23-ck1)
=================================================================
System uname: 2.4.23-ck1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=athlon-tbird -pipe -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -mcpu=athlon-tbird -pipe -fomit-frame-pointer -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/media/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups dillo
directfb doc dvd emacs encode esd fbcon ffmpeg flash foomaticdb gdbm gdm2 gif
gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde lcd ldap libg++
libwww lirc mad matrox mikmod mmx motif mozilla moznocompose moznoirc moznomail
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex tiff truetype
usb wmf x86 xface xinerama xml2 xmms xv xvid zlib video_cards_matrox"


I tried with distcc and ccache disabled, and same result.
Comment 2 Brandon Hale (RETIRED) gentoo-dev 2004-02-28 07:33:49 UTC
GTK 2.3 is not released, and not in Portage, therefore we do not support it currently. With an eye to the future, the authors intend to have backwards compatibility as a feature of the final release. If this is still an issue when Gtk 2.3 hits Portage, please reopen.