From mdharnois@home.com  Sun Nov 26 20:06:40 2000
Return-Path: <mdharnois@home.com>
Received: from mharnois.workgroup.net (c1030098-a.wtrlo1.ia.home.com [24.11.39.39])
	by hub.freebsd.org (Postfix) with ESMTP id 52CC437B479
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Nov 2000 20:06:35 -0800 (PST)
Received: (from mdharnois@localhost)
	by mharnois.workgroup.net (8.11.1/8.11.1) id eAR46XX07225;
	Sun, 26 Nov 2000 22:06:34 -0600 (CST)
	(envelope-from mdharnois)
Message-Id: <200011270406.eAR46XX07225@mharnois.workgroup.net>
Date: Sun, 26 Nov 2000 22:06:34 -0600 (CST)
From: mdharnois@home.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: programs requiring glib13 fail in configure
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         23122
>Category:       ports
>Synopsis:       programs requiring glib13 fail in configure
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 26 20:10:01 PST 2000
>Closed-Date:    Fri Aug 31 10:33:19 PDT 2001
>Last-Modified:  Fri Aug 31 10:33:35 PDT 2001
>Originator:     Michael Harnois
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD mharnois.workgroup.net 5.0-CURRENT FreeBSD 5.0-CURRENT #19: Sun Nov 26 21:12:32 CST 2000 mdharnois@mharnois.workgroup.net:/usr/src/sys/compile/MYKERNEL i386


	
>Description:
(This is from pango. gtk13 gives same result.)

configure:2123: cc -o conftest -O -pipe -march=i686 -Wall -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -L/usr/local/lib -Wl,-E -lgmodule-1.3 -lgobject-1.3 -lglib-1.3 -lgiconv  1>&5
In file included from /usr/local/include/glib-2.0/gtypes.h:30,
                 from /usr/local/include/glib-2.0/galloca.h:30,
                 from /usr/local/include/glib-2.0/glib.h:30,
                 from configure:2049:
/usr/local/lib/glib-2.0/include/glibconfig.h:43: syntax error before `typedef'
/usr/local/lib/glib-2.0/include/glibconfig.h:44: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/galloca.h:30,
                 from /usr/local/include/glib-2.0/glib.h:30,
                 from configure:2049:
/usr/local/include/glib-2.0/gtypes.h:41: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:31,
                 from configure:2049:
/usr/local/include/glib-2.0/garray.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/garray.h:34: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/gerror.h:24,
                 from /usr/local/include/glib-2.0/gthread.h:30,
                 from /usr/local/include/glib-2.0/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from configure:2049:
/usr/local/include/glib-2.0/gquark.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gquark.h:34: syntax error before `typedef'
/usr/local/include/glib-2.0/gquark.h:41: syntax error before `G_GNUC_CONST'
In file included from /usr/local/include/glib-2.0/gthread.h:30,
                 from /usr/local/include/glib-2.0/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from configure:2049:
/usr/local/include/glib-2.0/gerror.h:28: syntax error before `typedef'
/usr/local/include/glib-2.0/gerror.h:40: syntax error before `G_GNUC_PRINTF'
/usr/local/include/glib-2.0/gerror.h:60: syntax error before `G_GNUC_PRINTF'
In file included from /usr/local/include/glib-2.0/gthread.h:31,
                 from /usr/local/include/glib-2.0/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from configure:2049:
/usr/local/include/glib-2.0/gmain.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gmain.h:36: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/gasyncqueue.h:30,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from configure:2049:
/usr/local/include/glib-2.0/gthread.h:33: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gthread.h:50: syntax error before `extern'
In file included from /usr/local/include/glib-2.0/glib.h:32,
                 from configure:2049:
/usr/local/include/glib-2.0/gasyncqueue.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gasyncqueue.h:34: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:33,
                 from configure:2049:
/usr/local/include/glib-2.0/gbacktrace.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gbacktrace.h:43: syntax error before `void'
In file included from /usr/local/include/glib-2.0/glist.h:30,
                 from /usr/local/include/glib-2.0/gcache.h:30,
                 from /usr/local/include/glib-2.0/glib.h:34,
                 from configure:2049:
/usr/local/include/glib-2.0/gmem.h:38: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gmem.h:40: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/gcache.h:30,
                 from /usr/local/include/glib-2.0/glib.h:34,
                 from configure:2049:
/usr/local/include/glib-2.0/glist.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/glist.h:34: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:34,
                 from configure:2049:
/usr/local/include/glib-2.0/gcache.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gcache.h:34: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:35,
                 from configure:2049:
/usr/local/include/glib-2.0/gcompletion.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gcompletion.h:34: syntax error before `typedef'
In file included from /usr/include/stddef.h:41,
                 from /usr/local/include/glib-2.0/gconvert.h:30,
                 from /usr/local/include/glib-2.0/glib.h:36,
                 from configure:2049:
/usr/include/machine/ansi.h:108: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:36,
                 from configure:2049:
/usr/local/include/glib-2.0/gconvert.h:35: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:37,
                 from configure:2049:
/usr/local/include/glib-2.0/gdataset.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gdataset.h:34: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:38,
                 from configure:2049:
/usr/local/include/glib-2.0/gdate.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gdate.h:43: syntax error before `typedef'
/usr/local/include/glib-2.0/gdate.h:130: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:131: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:132: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:133: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:134: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:137: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:201: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:203: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:204: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:205: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/gdate.h:216: syntax error before `g_date_strftime'
/usr/local/include/glib-2.0/gdate.h:217: syntax error before `gsize'
/usr/local/include/glib-2.0/gdate.h:219: warning: type defaults to `int' in declaration of `g_date_strftime'
/usr/local/include/glib-2.0/gdate.h:219: warning: data definition has no type or storage class
In file included from /usr/local/include/glib-2.0/glib.h:40,
                 from configure:2049:
/usr/local/include/glib-2.0/gfileutils.h:26: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/gfileutils.h:30: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:41,
                 from configure:2049:
/usr/local/include/glib-2.0/ghash.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/ghash.h:34: syntax error before `typedef'
/usr/local/include/glib-2.0/ghash.h:76: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/ghash.h:77: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/ghash.h:85: syntax error before `G_GNUC_CONST'
/usr/local/include/glib-2.0/ghash.h:87: syntax error before `G_GNUC_CONST'
In file included from /usr/local/include/glib-2.0/glib.h:42,
                 from configure:2049:
/usr/local/include/glib-2.0/ghook.h:34: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:43,
                 from configure:2049:
/usr/local/include/glib-2.0/giochannel.h:32: syntax error before `G_BEGIN_DECLS'
/usr/local/include/glib-2.0/giochannel.h:37: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:47,
                 from configure:2049:
/usr/local/include/glib-2.0/gmarkup.h:31: syntax error before `typedef'
In file included from /usr/local/include/glib-2.0/glib.h:60,
                 from configure:2049:
/usr/local/include/glib-2.0/gstrfuncs.h:57: syntax error before `g_strlcpy'
/usr/local/include/glib-2.0/gstrfuncs.h:59: syntax error before `gsize'
/usr/local/include/glib-2.0/gstrfuncs.h:59: warning: type defaults to `int' in declaration of `g_strlcpy'
/usr/local/include/glib-2.0/gstrfuncs.h:59: warning: data definition has no type or storage class
/usr/local/include/glib-2.0/gstrfuncs.h:60: syntax error before `g_strlcat'
/usr/local/include/glib-2.0/gstrfuncs.h:62: syntax error before `gsize'
/usr/local/include/glib-2.0/gstrfuncs.h:62: warning: type defaults to `int' in declaration of `g_strlcat'
/usr/local/include/glib-2.0/gstrfuncs.h:62: warning: data definition has no type or storage class

>How-To-Repeat:

cd /usr/ports/x11-toolkits/pango
make
cd /usr/ports/x11-toolkits/gtk13
make

>Fix:

	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->sobomax 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Dec 10 17:47:18 PST 2000 
Responsible-Changed-Why:  
Over to port's maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23122 
State-Changed-From-To: open->feedback 
State-Changed-By: sobomax 
State-Changed-When: Mon Dec 11 07:31:36 PST 2000 
State-Changed-Why:  
Unfortunately I do not have any FreeBSD 3.* systems to track this problem down. 
Please either debug it by yourself and submit patches as usually, or upgrade 
your system to 4-STABLE (I really don't see any reasons why not to upgrade :-P). 

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

From: Michael Harnois <mdharnois@home.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/23122: programs requiring glib13 fail in configure
Date: 11 Dec 2000 21:19:22 -0600

 On Mon, 11 Dec 2000 07:34:09 -0800 (PST), sobomax@FreeBSD.org said:
 
     > State-Changed-Why: Unfortunately I do not have any FreeBSD 3.*
     > systems to track this problem down. Please either debug it by
     > yourself and submit patches as usually, or upgrade your system
     > to 4-STABLE (I really don't see any reasons why not to upgrade
     > :-P).
 
 As indicated in the PR this is on -current.
 
 -- 
 Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
 mdharnois@home.com                      aa0bt@aa0bt.ampr.org 
  Creative thought means that you forgot where you read it.
       --Stanley Hauerwas
 

From: "David W. Chapman Jr." <dwcjr@inethouston.net>
To: freebsd-gnats-submit@FreeBSD.org, mdharnois@home.com
Cc:  
Subject: Re: ports/23122: programs requiring glib13 fail in configure
Date: Fri, 31 Aug 2001 08:25:20 +0000

 Do you still have this problem, I can build both gtk and pango on 
 -current as of a few days ago.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: dwcjr 
State-Changed-When: Fri Aug 31 10:33:19 PDT 2001 
State-Changed-Why:  
Originator reports that pango now builds 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23122 
>Unformatted:
