Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53090 - gtk-sharp-0.93 or 0.1.1 doesn't compile
Summary: gtk-sharp-0.93 or 0.1.1 doesn't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 13:58 UTC by Edon Kelmendi
Modified: 2004-06-08 08:37 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 Edon Kelmendi 2004-06-05 13:58:02 UTC
Name: rc_string Type: const-GString*  in callback GtkRcPropertyParser **** Stubbing it out ****
Name: ch Type: gunichar  in callback GtkTextCharPredicate **** Stubbing it out ****
Name: line Type: GtkTextLine*  in callback GtkTextSegCheckFunc **** Stubbing it out ****
Name: line Type: GtkTextLine*  in callback GtkTextSegCleanupFunc **** Stubbing it out ****
Name: line Type: GtkTextLine*  in callback GtkTextSegDeleteFunc **** Stubbing it out ****
Name: line Type: GtkTextLine*  in callback GtkTextSegLineChangeFunc **** Stubbing it out ****
Ellipsis parameter in method Get Name: p2 Type: GdkModifierType); Missing parameters bad signal AccelActivatein Object Gtk.AccelGroup
Ellipsis parameter in ctor in Object Gtk.Widget
Ellipsis parameter in ctor in Object Gtk.Object
Ellipsis parameter in ctor in Object Gtk.Dialog
Name: cclass Type: GtkContainerClass* in method ClassInstallChildProperty in Object Gtk.Container
Ellipsis parameter in method ChildSet in Object Gtk.Container
Name: cclass Type: GObjectClass* in method ClassFindChildProperty in Object Gtk.Container
Ellipsis parameter in method AddWithProperties in Object Gtk.Container
Name: cclass Type: GObjectClass* in method ClassListChildProperties in Object Gtk.Container
Ellipsis parameter in method ChildGet in Object Gtk.Container
Ellipsis parameter in method AddButtons in Object Gtk.Dialog
Property has unknown Type unichar in Object Gtk.Entry
Ellipsis parameter in ctor in Object Gtk.ListStore
Ellipsis parameter in method Set in Object Gtk.ListStore
Ellipsis parameter in method Get in Object Gtk.TreeModel
Ellipsis parameter in ctor in Object Gtk.MessageDialog
Name: expander_style Type: GtkExpanderStyle in method PaintExpander in Object Gtk.Style
Ellipsis parameter in method CreateTag in Object Gtk.TextBuffer
Ellipsis parameter in method InsertWithTagsByName in Object Gtk.TextBuffer
Ellipsis parameter in method InsertWithTags in Object Gtk.TextBuffer
Interface property detected in Object Gtk.TreeModelSort
Ellipsis parameter in method Get in Object Gtk.TreeModel
Ellipsis parameter in ctor in Object Gtk.TreeStore
Ellipsis parameter in method Set in Object Gtk.TreeStore
Ellipsis parameter in method Get in Object Gtk.TreeModel
Interface property detected in Object Gtk.TreeView
Name: dnotify Type: GDestroyNotify in method InsertColumnWithDataFunc in Object Gtk.TreeView
Ellipsis parameter in method InsertColumnWithAttributes in Object Gtk.TreeView
Ellipsis parameter in ctor in Object Gtk.TreeViewColumn
Ellipsis parameter in method SetAttributes in Object Gtk.TreeViewColumn
Name: p0 Type: GdkEvent); Missing parameters bad signal EventAfterin Object Gtk.Widget
Name: klass Type: GtkWidgetClass* in method ClassInstallStylePropertyParser in Object Gtk.Widget
Name: klass Type: GtkWidgetClass* in method ClassInstallStyleProperty in Object Gtk.Widget
Ellipsis parameter in method StyleGet in Object Gtk.Widget
Name: klass Type: GtkWidgetClass* in method ClassFindStyleProperty in Object Gtk.Widget
Name: klass Type: GtkWidgetClass* in method ClassListStyleProperties in Object Gtk.Widget
Field has unknown Type GdkKey
Name: gstring Type: const-GString* in method ParseRequisition in Object Gtk.RcProperty
Name: gstring Type: const-GString* in method ParseBorder in Object Gtk.RcProperty
Name: gstring Type: const-GString* in method ParseEnum in Object Gtk.RcProperty
Name: gstring Type: const-GString* in method ParseColor in Object Gtk.RcProperty
Name: gstring Type: const-GString* in method ParseFlags in Object Gtk.RcProperty
Ellipsis parameter in ctor in Object Gtk.TreePath
Name: scanner Type: GScanner* in method MapLoadScanner in Object Gtk.Accel
Name: scanner Type: GScanner* in method BindingParseBinding in Object Gtk.Global
Name: scanner Type: GScanner* in method ParseColor in Object Gtk.Rc
rettype: GScanner* method in Object Gtk.Rc
Name: scanner Type: GScanner* in method ParsePriority in Object Gtk.Rc
Name: scanner Type: GScanner* in method FindPixmapInPath in Object Gtk.Rc
Name: scanner Type: GScanner* in method ParseState in Object Gtk.Rc
Name: layout Type: GtkTextLayout* in method LayoutDraw in Object Gtk.Text

Generation Summary:
  Enums: 58  Structs: 26  Boxed: 4  Opaques: 16  Interfaces: 6  Objects: 113  Callbacks: 43
  Properties: 305  Signals: 230  Methods: 1218  Constructors: 128  Throttled: 21
Total Nodes: 2168

cp ../gtk-sharp.pub .
/usr/bin/mcs --unsafe /out:gtk-sharp.dll /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll ./Application.cs ./ITreeNode.cs ./NodeStore.cs ./ThreadNotify.cs ./TreeNodeAttribute.cs ./TreeNode.cs ./TreeNodeValueAttribute.cs AssemblyInfo.cs generated/*.cs
generated/CheckMenuItem.cs(91) warning CS0108: The keyword new is required on `Gtk.CheckMenuItem.OverrideToggled' because it hides inherited member `Item.OverrideToggled'
generated/CheckMenuItem.cs(99) warning CS0114: `Gtk.CheckMenuItem.OnToggled' hides inherited member `Item.OnToggled'.  To make the current member override that implementation, add the override keyword, otherwise use the new keyword
generated/Window.cs(937) error CS0103: The name `err' could not be found in `Gtk.Window'
generated/Window.cs(938) error CS0165: Use of unassigned local variable `raw_ret'
generated/Window.cs(940) error CS0165: Use of unassigned local variable `ret'
generated/Window.cs(995) error CS0103: The name `err' could not be found in `Gtk.Window'
generated/Window.cs(996) error CS0165: Use of unassigned local variable `raw_ret'
generated/Window.cs(998) error CS0165: Use of unassigned local variable `ret'
Compilation failed: 6 error(s), 2 warnings
make[3]: *** [gtk-sharp.dll] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk-sharp-0.91.1/work/gtk-sharp-0.91.1/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-0.91.1/work/gtk-sharp-0.91.1/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-0.91.1/work/gtk-sharp-0.91.1'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk-sharp-0.91.1 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)

root@tarzani monodevelop #



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Kohl (RETIRED) gentoo-dev 2004-06-05 14:55:02 UTC
I emerged it fine today. Are you doing an update or a fresh install?
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2004-06-05 20:59:14 UTC
What version of mono do you have installed? If you have mono-0.95, you definitely need to be trying gtk-sharp-0.93.
Comment 3 Edon Kelmendi 2004-06-05 23:33:28 UTC
I am using mono-0.95 and gtk-sharp-0.93 fails to compile too: 


Name: gstring Type: const-GString* in method ParseEnum in Object Gtk.RcProperty
Name: gstring Type: const-GString* in method ParseColor in Object Gtk.RcPropertyName: gstring Type: const-GString* in method ParseFlags in Object Gtk.RcPropertyEllipsis parameter in ctor in Object Gtk.TreePath
Name: scanner Type: GScanner* in method MapLoadScanner in Object Gtk.Accel
Name: scanner Type: GScanner* in method BindingParseBinding in Object Gtk.GlobalName: scanner Type: GScanner* in method ParseColor in Object Gtk.Rc
rettype: GScanner* method in Object Gtk.Rc
Name: scanner Type: GScanner* in method ParsePriority in Object Gtk.Rc
Name: scanner Type: GScanner* in method FindPixmapInPath in Object Gtk.Rc
Name: scanner Type: GScanner* in method ParseState in Object Gtk.Rc
Name: layout Type: GtkTextLayout* in method LayoutDraw in Object Gtk.Text

Generation Summary:
  Enums: 59  Structs: 26  Boxed: 4  Opaques: 16  Interfaces: 6  Objects: 113  Callbacks: 43
  Properties: 305  Signals: 230  Methods: 1214  Constructors: 112  Throttled: 21Total Nodes: 2149

cp ../gtk-sharp.pub .
/usr/bin/mcs --unsafe /out:gtk-sharp.dll /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll ./Application.cs ./ITreeNode.cs ./NodeStore.cs ./ThreadNotify.cs ./TreeNodeAttribute.cs ./TreeNode.cs ./TreeNodeValueAttribute.cs AssemblyInfo.cs generated/*.cs
generated/CheckMenuItem.cs(79) warning CS0108: The keyword new is required on `Gtk.CheckMenuItem.OverrideToggled' because it hides inherited member `Item.OverrideToggled'
generated/CheckMenuItem.cs(87) warning CS0114: `Gtk.CheckMenuItem.OnToggled' hides inherited member `Item.OnToggled'.  To make the current member override that implementation, add the override keyword, otherwise use the new keyword
generated/Window.cs(945) error CS0103: The name `err' could not be found in `Gtk.Window'
generated/Window.cs(946) error CS0165: Use of unassigned local variable `raw_ret'
generated/Window.cs(948) error CS0165: Use of unassigned local variable `ret'
generated/Window.cs(1003) error CS0103: The name `err' could not be found in `Gtk.Window'
generated/Window.cs(1004) error CS0165: Use of unassigned local variable `raw_ret'
generated/Window.cs(1006) error CS0165: Use of unassigned local variable `ret'
Compilation failed: 6 error(s), 2 warnings
make[3]: *** [gtk-sharp.dll] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk-sharp-0.93/work/gtk-sharp-0.93/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-0.93/work/gtk-sharp-0.93/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-0.93/work/gtk-sharp-0.93'make: *** [all] Error 2

!!! ERROR: x11-libs/gtk-sharp-0.93 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)
Comment 4 Edon Kelmendi 2004-06-06 08:18:45 UTC
my emerge info


Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040207-r0,2.3.3_pre20040420-r0, 2.6.7-rc2-love2)
=================================================================
System uname: 2.6.7-rc2-love2 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -march=pentium4 -O3 -fomit-frame-pointer -msse -mfpmath=sse -ftracer -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-pipe -march=pentium4 -O3 -fomit-frame-pointer -msse -mfpmath=sse -ftracer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs prelink sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 5 foser (RETIRED) gentoo-dev 2004-06-08 03:55:20 UTC
i'd start rebuilding stuff with conservative CFLAGS & compiler for a start... just always do this before filing a bug : eliminate possible coolness related factors.
Comment 6 Edon Kelmendi 2004-06-08 08:37:28 UTC
The problem was at my locales, sorry for bothering .

Thank you