Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2007 15:16:41 -0400
From:      Tom McLaughlin <tmclaugh@sdf.lonestar.org>
To:        Doug Rabson <dfr@rabson.org>
Cc:        current@freebsd.org
Subject:   Re: Weird thread error which breaks the gtk-sharp build
Message-ID:  <1185131801.1955.44.camel@localhost>
In-Reply-To: <200707221902.49369.dfr@rabson.org>
References:  <200707221902.49369.dfr@rabson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2007-07-22 at 19:02 +0100, Doug Rabson wrote:
> I was giving my machine a bit of a workout to test some patches and I 
> happened to pick the gnome2 ports build. All was going swimmingly until 
> it fell flat on its face attempting to build gtk-sharp. As it turned 
> out, an error (warning?) message from libthr had turned up in one of 
> the source files that the build generated. I tweaked my sources as 
> below to get around it but I'm not really sure of the right fix:
> 
> Index: thr_private.h
> ===================================================================
> RCS file: /home/ncvs/src/lib/libthr/thread/thr_private.h,v
> retrieving revision 1.77
> diff -u -r1.77 thr_private.h
> --- thr_private.h	20 Dec 2006 04:43:34 -0000	1.77
> +++ thr_private.h	22 Jul 2007 17:54:21 -0000
> @@ -72,7 +72,7 @@
>  
>  /* Output debug messages like this: */
>  #define stdout_debug(args...)	_thread_printf(STDOUT_FILENO, ##args)
> -#define stderr_debug(args...)	_thread_printf(STDOUT_FILENO, ##args)
> +#define stderr_debug(args...)	_thread_printf(STDERR_FILENO, ##args)
>  
>  #ifdef _PTHREADS_INVARIANTS
>  #define THR_ASSERT(cond, msg) do {	\

This error has been a real pain.  I've only been able to generate it in
my tinderbox [1].  Building it manually hasn't been a problem for me.
In addition, if I ran my tinderbox enough times eventually gtk-sharp and
gnome-sharp would build.

[1] http://straycat.dhs.org/tb/errors/7-i386-FreeBSD/gtk-sharp-1.0.10_13.log

tom

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1185131801.1955.44.camel>