From nobody@FreeBSD.org  Tue Aug 30 19:43:44 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 236C916A420
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Aug 2005 19:43:44 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B692143D55
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Aug 2005 19:43:42 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j7UJhgCH038684
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Aug 2005 19:43:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j7UJhgVh038683;
	Tue, 30 Aug 2005 19:43:42 GMT
	(envelope-from nobody)
Message-Id: <200508301943.j7UJhgVh038683@www.freebsd.org>
Date: Tue, 30 Aug 2005 19:43:42 GMT
From: Chris <kwizzz@googlemail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gnubg build error
X-Send-Pr-Version: www-2.3

>Number:         85499
>Category:       ports
>Synopsis:       gnubg build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 30 19:50:17 GMT 2005
>Closed-Date:    Tue Sep 20 09:50:40 GMT 2005
>Last-Modified:  Tue Sep 20 09:50:40 GMT 2005
>Originator:     Chris
>Release:        4.11
>Organization:
>Environment:
FreeBSD horizons.home.net 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #7: Thu Jun 30 18:26:47 CEST 2005     chris@horizons.home.net:/usr/obj/usr/src/sys/HORIZONS  i386
>Description:
There seems to be a build problem with gnubg.  When I try to make in /usr/ports/games/gnubg, I receive the following error message:

horizons# make
===>  Extracting for gnubg-0.14.1_3
=> Checksum OK for gnubg/gnubg-0.14.1.tar.gz.
=> Checksum OK for gnubg/gnubg.weights-0.14.gz.
=> Checksum OK for gnubg/gnubg_os0.bd.gz.
=> Checksum OK for gnubg/gnubg_ts0.bd.gz.
/usr/bin/gunzip -f --stdout /usr/ports/distfiles/gnubg/gnubg.weights-0.14.gz > /usr/ports/games/gnubg/work/gnubg-0.14.1/gnubg.weights
/usr/bin/gunzip -f --stdout /usr/ports/distfiles/gnubg/gnubg_os0.bd.gz > /usr/ports/games/gnubg/work/gnubg-0.14.1/gnubg_os0.bd
/usr/bin/gunzip -f --stdout /usr/ports/distfiles/gnubg/gnubg_ts0.bd.gz > /usr/ports/games/gnubg/work/gnubg-0.14.1/gnubg_ts0.bd
===>  Patching for gnubg-0.14.1_3
===>  Applying FreeBSD patches for gnubg-0.14.1_3
===>   gnubg-0.14.1_3 depends on executable: gmake - found
===>   gnubg-0.14.1_3 depends on file: /usr/local/bin/intltool-extract - found
===>   gnubg-0.14.1_3 depends on executable: pkg-config - found
===>   gnubg-0.14.1_3 depends on shared library: intl - found
===>   gnubg-0.14.1_3 depends on shared library: atk-1.0.901 - found
===>   gnubg-0.14.1_3 depends on shared library: glib-2.0.600 - found
===>   gnubg-0.14.1_3 depends on shared library: gtk-x11-2.0.600 - found
===>   gnubg-0.14.1_3 depends on shared library: xml2.5 - found
===>   gnubg-0.14.1_3 depends on shared library: pango-1.0.800 - found
===>  Configuring for gnubg-0.14.1_3
[skipping some output]
gmake[2]: Leaving directory `/usr/ports/games/gnubg/work/gnubg-0.14.1/sounds'
gmake[2]: Entering directory `/usr/ports/games/gnubg/work/gnubg-0.14.1'
source='gnubg.c' object='gnubg.o' libtool=no \
depfile='.deps/gnubg.Po' tmpdepfile='.deps/gnubg.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I. -I./lib  -I/usr/local/include/libxml2 -I/usr/local/include -I./intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -DXTHREADS -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include   -I/usr/local/include   -I/usr/local/include  -I/usr/X11R6/include/gnome-1.0   -I/usr/local/include  -O -pipe  -c `test -f 'gnubg.c' || echo './'`gnubg.c
gnubg.c: In function `CompleteKeyword':
gnubg.c:6192: warning: return makes pointer from integer without a cast
gnubg.c:6200: warning: return makes pointer from integer without a cast
gnubg.c:6204: `filename_completion_function' undeclared (first use in this function)
gnubg.c:6204: (Each undeclared identifier is reported only once
gnubg.c:6204: for each function it appears in.)
gnubg.c:6204: warning: return makes pointer from integer without a cast
gnubg.c:6206: warning: return makes pointer from integer without a cast
gnubg.c:6208: warning: return makes pointer from integer without a cast
gnubg.c:6210: warning: return makes pointer from integer without a cast
gnubg.c:6212: warning: return makes pointer from integer without a cast
gnubg.c:6214: warning: return makes pointer from integer without a cast
gnubg.c: In function `real_main':
gnubg.c:7828: warning: assignment from incompatible pointer type
gmake[2]: *** [gnubg.o] Error 1
gmake[2]: Leaving directory `/usr/ports/games/gnubg/work/gnubg-0.14.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/games/gnubg/work/gnubg-0.14.1'
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:
typing 'make' again ;-)
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: vs 
State-Changed-When: Wed Aug 31 09:57:09 GMT 2005 
State-Changed-Why:  
Please try the attached patch until it hits the tree. 

Index: Makefile 
=================================================================== 
RCS file: /usr/freebsdcvs/cvs-ports/ports/games/gnubg/Makefile,v 
retrieving revision 1.11 
diff -u -r1.11 Makefile 
--- Makefile	12 Mar 2005 10:51:59 -0000	1.11 
+++ Makefile	31 Aug 2005 09:56:17 -0000 
@@ -21,6 +21,8 @@ 
MAINTAINER=	kaoru@kaisei.org 
COMMENT=	GNU Backgammon 

+LIB_DEPENDS=	readline.5:${PORTSDIR}/devel/readline 
+ 
MAN6=	gnubg.6 

GNU_CONFIGURE=	yes 
@@ -29,6 +31,8 @@ 
USE_GNOME=	libxml2 gtk20 
WANT_ESOUND=	yes 

+CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib 
+CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" 
CONFIGURE_ARGS+=	--with-x --with-gtk2 --enable-nls --with-timecontrol --without-board3d 

.if defined(HAVE_ESOUND) 


Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Wed Aug 31 09:57:09 GMT 2005 
Responsible-Changed-Why:  
I'll track this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85499 

From: "Volker Stolz" <vs@freebsd.org>
To: bug-followup@freebsd.org, kaoru@kaisei.org
Cc:  
Subject: Re: ports/85499: gnubg build error
Date: Wed, 14 Sep 2005 11:42:45 +0200

 Dear maintainer, please review the proposed patch.
 
 Volker
State-Changed-From-To: analyzed->closed 
State-Changed-By: vs 
State-Changed-When: Tue Sep 20 09:47:34 GMT 2005 
State-Changed-Why:  
Unable to reproduce, cluster agrees. Now I'm confused. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85499 
>Unformatted:
