From durian@fever.boogie.com  Sat Oct 26 15:55:45 2002
Return-Path: <durian@fever.boogie.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 05E1A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Oct 2002 15:55:45 -0700 (PDT)
Received: from fever.boogie.com (cpe-66-87-52-132.co.sprintbbd.net [66.87.52.132])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0B24143E6E
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Oct 2002 15:55:44 -0700 (PDT)
	(envelope-from durian@fever.boogie.com)
Received: from man.boogie.com (man.boogie.com [192.168.1.3])
	by fever.boogie.com (8.12.6/8.12.6) with ESMTP id g9QMtQ8H017252
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Oct 2002 16:55:27 -0600 (MDT)
	(envelope-from durian@fever.boogie.com)
Received: from man.boogie.com (localhost [127.0.0.1])
	by man.boogie.com (8.12.6/8.12.6) with ESMTP id g9QMtQKN056492
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Oct 2002 16:55:26 -0600 (MDT)
	(envelope-from durian@man.boogie.com)
Received: (from durian@localhost)
	by man.boogie.com (8.12.6/8.12.6/Submit) id g9QMtQda056491;
	Sat, 26 Oct 2002 16:55:26 -0600 (MDT)
Message-Id: <200210262255.g9QMtQda056491@man.boogie.com>
Date: Sat, 26 Oct 2002 16:55:26 -0600 (MDT)
From: Mike Durian <durian@boogie.com>
Reply-To: Mike Durian <durian@boogie.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: openoffice-devel won't build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44511
>Category:       ports
>Synopsis:       openoffice-devel won't build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    openoffice
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 16:00:14 PDT 2002
>Closed-Date:    Tue Apr 29 06:02:03 PDT 2003
>Last-Modified:  Tue Apr 29 06:02:03 PDT 2003
>Originator:     Mike Durian
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD man.boogie.com 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Thu Oct 24 12:30:27 MDT 2002 root@man.boogie.com:/disk2/obj/disk2/src/sys/BOOGIE i386


	
>Description:
	The openoffice-devel port won't build on a -current system built
	from Oct 24, 2002 sources.  It can't find xmlparse.h

	Here's the tail end of the build:

	------------------------------
	Making: ../../../../../unxfbsd.pro/slo/ne_xml.obj
	cc -w -c -I. -I. -I../inc -I../../../../../inc -I../../../../../unx/inc -I../../../../../unxfbsd.pro/inc -I. -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solver/643/unxfbsd.pro/inc/dont_use_stl -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solver/643/unxfbsd.pro/inc/external -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solver/643/unxfbsd.pro/inc -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solenv/unxfbsd/inc -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solenv/inc -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/res -I/usr/include -I/usr/local/dont_use_stlport -I/usr/local/include/dont_use_stlport -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solenv/inc/Xp31 -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd -I/usr/local/jdk1.3.1/include/green_threads/include -I/usr/X11R6/include     -I. -I../../../../../res -I. -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solenv/unxfbsdi/usr/i!
 nclude -I/usr/X11R6/include -O   -I/disk2/ports/editors/openoffice-devel/work/oo_643_src/solver/643/unxfbsd.pro/inc/external/expat -pipe  -fPIC -DFREEBSD -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=400 -DOSVERSION=500042 -D_THREAD_SAFE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=643 -DBUILD=8231 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX643  -DHAVE_CONFIG_H -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../../../../unxfbsd.pro/slo/ne_xml.o ne_xml.c
	ne_xml.c:44:22: xmlparse.h: No such file or directory
	ne_xml.c:51: syntax error before "ne_xml_char"
	ne_xml.c:103: syntax error before "ne_xml_char"
	ne_xml.c:128: syntax error before "XML_Parser"
	ne_xml.c:157: syntax error before '*' token
	ne_xml.c:158: syntax error before '*' token
	ne_xml.c:159: syntax error before '*' token
	ne_xml.c:182: syntax error before "ne_xml_char"
	ne_xml.c:189: syntax error before '*' token
	ne_xml.c: In function `ne_xml_currentline':
	ne_xml.c:264: structure has no member named `parser'
	ne_xml.c: At top level:
	ne_xml.c:344: syntax error before '*' token
	ne_xml.c: In function `start_element':
	ne_xml.c:347: `userdata' undeclared (first use in this function)
	ne_xml.c:347: (Each undeclared identifier is reported only once
	ne_xml.c:347: for each function it appears in.)
	ne_xml.c:353: `name' undeclared (first use in this function)
	ne_xml.c:360: syntax error before '*' token
	ne_xml.c:361: `pnt' undeclared (first use in this function)
	ne_xml.c:367: `atts' undeclared (first use in this function)
	ne_xml.c: In function `destroy_state':
	ne_xml.c:431: structure has no member named `default_ns'
	ne_xml.c:431: structure has no member named `default_ns'
	ne_xml.c:431: structure has no member named `default_ns'
	ne_xml.c:437: structure has no member named `name'
	ne_xml.c:438: structure has no member named `uri'
	ne_xml.c: At top level:
	ne_xml.c:445: syntax error before '*' token
	ne_xml.c: In function `char_data':
	ne_xml.c:447: `userdata' undeclared (first use in this function)
	ne_xml.c:451: `data' undeclared (first use in this function)
	ne_xml.c:451: `len' undeclared (first use in this function)
	ne_xml.c: At top level:
	ne_xml.c:530: syntax error before '*' token
	ne_xml.c: In function `end_element':
	ne_xml.c:532: `userdata' undeclared (first use in this function)
	ne_xml.c:537: `name' undeclared (first use in this function)
	ne_xml.c:542: syntax error before '*' token
	ne_xml.c:543: `pnt' undeclared (first use in this function)
	ne_xml.c: In function `resolve_nspace':
	ne_xml.c:586: structure has no member named `name'
	ne_xml.c:587: structure has no member named `name'
	ne_xml.c:588: structure has no member named `uri'
	ne_xml.c: At top level:
	ne_xml.c:602: syntax error before '*' token
	ne_xml.c: In function `parse_element':
	ne_xml.c:605: syntax error before '*' token
	ne_xml.c:608: `name' undeclared (first use in this function)
	ne_xml.c:611: `atts' undeclared (first use in this function)
	ne_xml.c:618: `state' undeclared (first use in this function)
	ne_xml.c:629: `p' undeclared (first use in this function)
	ne_xml.c:639: structure has no member named `name'
	ne_xml.c:640: structure has no member named `uri'
	ne_xml.c:642: structure has no member named `name'
	ne_xml.c:642: structure has no member named `uri'
	ne_xml.c:647: `pnt' undeclared (first use in this function)
	ne_xml.c:653: structure has no member named `default_ns'
	ne_xml.c:654: structure has no member named `default_ns'
	ne_xml.c: In function `ne_xml_create':
	ne_xml.c:702: structure has no member named `parser'
	ne_xml.c:703: structure has no member named `parser'
	ne_xml.c:706: structure has no member named `parser'
	ne_xml.c:707: structure has no member named `parser'
	ne_xml.c:708: structure has no member named `parser'
	ne_xml.c: In function `ne_xml_parse':
	ne_xml.c:802: structure has no member named `parser'
	ne_xml.c:807: structure has no member named `parser'
	ne_xml.c:808: structure has no member named `parser'
	ne_xml.c: In function `ne_xml_destroy':
	ne_xml.c:850: structure has no member named `parser'
	dmake:  Error code 1, while making '../../../../../unxfbsd.pro/slo/ne_xml.obj'
	---* TG_SLO.MK *---
	dmake:  Error code 255, while making './unxfbsd.pro/misc/build/so_built'
	---* TG_SLO.MK *---

	ERROR: Error 65280 occurred while making /disk2/ports/editors/openoffice-devel/work/oo_643_src/neon
	dmake:  Error code 1, while making 'build_all'
	---* TG_SLO.MK *---
	*** Error code 255

	Stop in /disk2/ports/editors/openoffice-devel.


>How-To-Repeat:
	Nothing special.  I happens for me everytime I try to build.
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->openoffice 
Responsible-Changed-By: pat 
Responsible-Changed-When: Mon Oct 28 16:04:41 PST 2002 
Responsible-Changed-Why:  
Over to maintainers 

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

From: Mike Durian <durian@boogie.com>
To: freebsd-gnats-submit@FreeBSD.org, durian@boogie.com
Cc:  
Subject: Re: ports/44511: openoffice-devel won't build
Date: Fri, 1 Nov 2002 13:31:56 -0700

 Just an update that openoffice-devel still does not build on -current
 (or at least my combination of -current and various ports).  It suffers
 from the same missing xmlparse.h problem.
 
 mike
 

From: Mike Durian <durian@boogie.com>
To: freebsd-gnats-submit@FreeBSD.org, durian@boogie.com
Cc:  
Subject: Re: ports/44511: openoffice-devel won't build
Date: Fri, 1 Nov 2002 13:58:43 -0700

 --------------Boundary-00=_VX0XGV51SO0B9A0TQ74G
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 I don't think this is the proper fix, but it does get things going.
 On Oct. 4, 2002, FreeBSD added the expat library to the base system,
 but named the include file bsdxml.h.  There was no __FreeBSD_version
 bump for this.  The closest was the change on Oct 15 from 500040 to
 500041.
 
 The better fix is probably to check for the existance of bsdxml.h in
 one of the config files, but I didn't really want to dig into that
 right now.
 
 mike
 
 --------------Boundary-00=_VX0XGV51SO0B9A0TQ74G
 Content-Type: text/x-diff;
   charset="us-ascii";
   name="ne_xml.c.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="ne_xml.c.patch"
 
 --- ne_xml.c.orig	Fri Nov  1 13:35:21 2002
 +++ ne_xml.c	Fri Nov  1 13:54:07 2002
 @@ -41,7 +41,16 @@
  #if defined(HAVE_EXPAT_H)
  #include <expat.h>
  #elif defined(HAVE_XMLPARSE_H)
 +#if defined(__FreeBSD__)
 +#include <osreldate.h>
 +#if __FreeBSD_version >= 500041
 +#include <bsdxml.h>
 +#else
  #include <xmlparse.h>
 +#endif /* __FreeBSD_version */
 +#else
 +#include <xmlparse.h>
 +#endif /* __FreeBSD__ */
  #elif defined(HAVE_XMLTOK_XMLPARSE_H)
  #include <xmltok/xmlparse.h>
  #else
 
 --------------Boundary-00=_VX0XGV51SO0B9A0TQ74G--
 
State-Changed-From-To: open->closed 
State-Changed-By: mbr 
State-Changed-When: Tue Apr 29 06:01:08 PDT 2003 
State-Changed-Why:  
Hi, 

I have not been able to reproduce this on any of my 
systems. You need to remove old headers, look into 
your make.conf. 

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