[Bsd-sharp-list] Problem with x11-toolkits/gnome-sharp20 port

Tom McLaughlin tmclaugh at sdf.lonestar.org
Sat Jul 28 04:47:46 UTC 2007


On Fri, 2007-07-27 at 23:31 -0500, Stephen Montgomery-Smith wrote:
> Tom McLaughlin wrote:
> > On Fri, 2007-07-27 at 21:25 -0500, Stephen Montgomery-Smith wrote:
> >> Quite often the x11-toolkits/gnome-sharp20 port does not compile with 
> >> the following error:
> >>
> >> Making all in gconf
> >> gmake[3]: Entering directory 
> >> `/usr/p2/x11-toolkits/gnome-sharp20/work/gnome-sharp-2.16.0/sample/gconf'
> >> MONO_PATH=../../gconf/GConf/gconf-sharp.dll: mono 
> >> ./../gconf/tools/gconfsharp-schemagen.exe Sample ./sample.schema > 
> >> Settings.cs
> >> /usr/local/bin/mcs /out:sample.exe Settings.cs ./main.cs 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll 
> >>  
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/glade-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll 
> >> -r:/usr/local/libdata/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll 
> >>    /r:../../art/art-sharp.dll /r:../../gconf/GConf/gconf-sharp.dll 
> >> /r:../../gnome/gnome-sharp.dll 
> >> /r:../../gconf/GConf.PropertyEditors/gconf-sharp-peditors.dll 
> >> /resource:./sample.glade
> >> Settings.cs(212,8): error CS8025: Parsing error
> >> Compilation failed: 1 error(s), 0 warnings
> >> gmake[3]: *** [sample.exe] Error 1
> >> gmake[3]: Leaving directory 
> >> `/usr/p2/x11-toolkits/gnome-sharp20/work/gnome-sharp-2.16.0/sample/gconf'
> >> gmake[2]: *** [all-recursive] Error 1
> >> gmake[2]: Leaving directory 
> >> `/usr/p2/x11-toolkits/gnome-sharp20/work/gnome-sharp-2.16.0/sample'
> >> gmake[1]: *** [all-recursive] Error 1
> >> gmake[1]: Leaving directory 
> >> `/usr/p2/x11-toolkits/gnome-sharp20/work/gnome-sharp-2.16.0'
> >> gmake: *** [all] Error 2
> >> *** Error code 2
> >>
> >> Stop in /usr/p2/x11-toolkits/gnome-sharp20.
> >> *** Error code 1
> >>
> >>
> >>
> >> The problem seems to be with
> >>
> >> work/gnome-sharp-2.16.0/sample/gconf/Settings.cs
> >>
> >> which quite often has at its end stuff like
> >>
> >> Thread 81ebe00 has exited with leftover thread-specific data after 4 
> >> destructor iterations
> >>
> >> This seems to be because this file is created using:
> >>
> >> Settings.cs: $(SCHEMA)
> >>  
> >> MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll:${MONO_PATH} 
> >> $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > 
> >> Settings.cs
> >>
> >> which invokes mono whose output is redirected to Settings.cs. 
> >> Unfortunately it looks like mono doesn't send its error messages to 
> >> stderr but rather to stdout.
> >>
> >> Maybe this is a problem with mono.  Anyway it's not working as it is.
> >>
> >> Stephen
> > 
> > Please include the FreeBSD version when reporting a problem. :)  This is
> > a -CURRENT issue only due to libthr.  A fix is here but has not been
> > committed to libthr:
> > 
> > http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075454.html
> 
> That would explain the problem.  Except I am using STABLE!!!

Wow, I've never seen that one happen on -STABLE before. :-/  But it
appears libpthread does the same thing too.

tom

-- 
| tmclaugh at sdf.lonestar.org             tmclaugh at FreeBSD.org |
| FreeBSD                                   http://www.FreeBSD.org |



More information about the freebsd-ports mailing list