From owner-freebsd-ports@FreeBSD.ORG Sat Jul 28 04:47:46 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7653B16A417 for ; Sat, 28 Jul 2007 04:47:46 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11]) by mx1.freebsd.org (Postfix) with ESMTP id 351BF13C457 for ; Sat, 28 Jul 2007 04:47:45 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.1.127] (bofh.straycat.dhs.org [192.168.1.127]) by straycat.dhs.org (8.13.8/8.13.8) with ESMTP id l6S4liee014903; Sat, 28 Jul 2007 00:47:44 -0400 (EDT) From: Tom McLaughlin To: Stephen Montgomery-Smith In-Reply-To: <46AAC690.8090604@math.missouri.edu> References: <46AAA930.4050209@math.missouri.edu> <1185596350.10339.20.camel@localhost> <46AAC690.8090604@math.missouri.edu> Content-Type: text/plain Date: Sat, 28 Jul 2007 00:47:43 -0400 Message-Id: <1185598063.10339.28.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, bsd-sharp-list@forge.novell.com Subject: Re: [Bsd-sharp-list] Problem with x11-toolkits/gnome-sharp20 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 04:47:46 -0000 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 |