From shaun@pcuse.com  Thu Mar 22 04:51:32 2001
Return-Path: <shaun@pcuse.com>
Received: from mail007.syd.optusnet.com.au (mail007.syd.optusnet.com.au [203.2.75.231])
	by hub.freebsd.org (Postfix) with ESMTP id CA6DF37B718
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Mar 2001 04:51:19 -0800 (PST)
	(envelope-from shaun@pcuse.com)
Received: from pcuse.com (adlax6-188.dialup.optusnet.com.au [198.142.231.188])
	by mail007.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id f2MCfph23890
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Mar 2001 23:41:52 +1100
Received: (from shaun@localhost)
	by pcuse.com (8.11.2/8.11.2) id f2MCgcM40210;
	Thu, 22 Mar 2001 23:12:38 +1030 (CST)
	(envelope-from shaun)
Message-Id: <200103221242.f2MCgcM40210@pcuse.com>
Date: Thu, 22 Mar 2001 23:12:38 +1030 (CST)
From: shaun@pcuse.com
Reply-To: shaun@pcuse.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: editors/AbiWord fails to compile
X-Send-Pr-Version: 3.2

>Number:         25989
>Category:       ports
>Synopsis:       editors/AbiWord port fails to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 22 05:00:01 PST 2001
>Closed-Date:    Sat Mar 24 22:20:40 PST 2001
>Last-Modified:  Sat Mar 24 22:42:48 PST 2001
>Originator:     Shaun Branden
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

FreeBSD sagan.tpn 4.2-STABLE FreeBSD 4.2-STABLE #0: Sun Feb 18 21:34:55 CST 2001     shaun@sagan.tpn:/usr/obj/usr/src/sys/SAGAN_NEW  i386

>Description:

	/usr/local/include/glib12/glib.h:1307: warning: ANSI C does not allow macro with variable arguments
	libole2/ms-ole.c:107: syntax error before `MsOleHandleType'
	libole2/ms-ole.c:170: syntax error before `open2_wrap'
	libole2/ms-ole.c:171: warning: return-type defaults to `int'
	libole2/ms-ole.c: In function `open2_wrap':
	libole2/ms-ole.c:175: `MsOleHandleType' undeclared (first use in this function)
	libole2/ms-ole.c:175: (Each undeclared identifier is reported only once
	libole2/ms-ole.c:175: for each function it appears in.)
	libole2/ms-ole.c:175: syntax error before `open'
	libole2/ms-ole.c:177: warning: control reaches end of non-void function
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:203: syntax error before `open3_wrap'
	libole2/ms-ole.c:204: warning: return-type defaults to `int'
	libole2/ms-ole.c: In function `open3_wrap':
	libole2/ms-ole.c:208: `MsOleHandleType' undeclared (first use in this function)
	libole2/ms-ole.c:208: syntax error before `open'
	libole2/ms-ole.c:210: warning: control reaches end of non-void function
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:249: syntax error before `fd'
	libole2/ms-ole.c: In function `read_wrap':
	libole2/ms-ole.c:251: `fd' undeclared (first use in this function)
	libole2/ms-ole.c:251: `buf' undeclared (first use in this function)
	libole2/ms-ole.c:251: `count' undeclared (first use in this function)
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:270: syntax error before `fd'
	libole2/ms-ole.c: In function `close_wrap':
	libole2/ms-ole.c:272: `fd' undeclared (first use in this function)
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:288: syntax error before `fd'
	libole2/ms-ole.c: In function `write_wrap':
	libole2/ms-ole.c:290: `fd' undeclared (first use in this function)
	libole2/ms-ole.c:290: `buf' undeclared (first use in this function)
	libole2/ms-ole.c:290: `count' undeclared (first use in this function)
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:310: syntax error before `fd'
	libole2/ms-ole.c: In function `lseek_wrap':
	libole2/ms-ole.c:312: `fd' undeclared (first use in this function)
	libole2/ms-ole.c:312: `offset' undeclared (first use in this function)
	libole2/ms-ole.c:312: `whence' undeclared (first use in this function)
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:336: syntax error before `fd'
	libole2/ms-ole.c: In function `isregfile_wrap':
	libole2/ms-ole.c:340: `fd' undeclared (first use in this function)
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:369: syntax error before `fd'
	libole2/ms-ole.c: In function `getfilesize_wrap':
	libole2/ms-ole.c:373: `fd' undeclared (first use in this function)
	libole2/ms-ole.c:376: `size' undeclared (first use in this function)
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:404: syntax error before `MsOleHandleType'
	libole2/ms-ole.c: In function `mmap_wrap':
	libole2/ms-ole.c:406: `start' undeclared (first use in this function)
	libole2/ms-ole.c:406: `length' undeclared (first use in this function)
	libole2/ms-ole.c:406: `prot' undeclared (first use in this function)
	libole2/ms-ole.c:406: `flags' undeclared (first use in this function)
	libole2/ms-ole.c:406: `fd' undeclared (first use in this function)
	libole2/ms-ole.c:406: `offset' undeclared (first use in this function)
	libole2/ms-ole.c: At top level:
	libole2/ms-ole.c:427: warning: excess elements in struct initializer
	libole2/ms-ole.c:427: warning: (near initialization for `ms_ole_default_wrappers')
	libole2/ms-ole.c:433: warning: excess elements in struct initializer
	libole2/ms-ole.c:433: warning: (near initialization for `ms_ole_default_wrappers')
	libole2/ms-ole.c: In function `write_cache_block':
	libole2/ms-ole.c:537: structure has no member named `file_des'
	libole2/ms-ole.c:538: structure has no member named `file_des'
	libole2/ms-ole.c: In function `get_block_ptr':
	libole2/ms-ole.c:601: structure has no member named `file_des'
	libole2/ms-ole.c:602: structure has no member named `file_des'
	libole2/ms-ole.c: In function `remap_file':
	libole2/ms-ole.c:1012: syntax error before `file'
	libole2/ms-ole.c:1021: `file' undeclared (first use in this function)
	libole2/ms-ole.c:1021: structure has no member named `file_des'
	libole2/ms-ole.c:1023: structure has no member named `munmap'
	libole2/ms-ole.c:1063: structure has no member named `mmap'
	libole2/ms-ole.c:1013: warning: `newptr' might be used uninitialized in this function
	libole2/ms-ole.c: In function `extend_file':
	libole2/ms-ole.c:1082: structure has no member named `mmap'
	libole2/ms-ole.c:1083: structure has no member named `munmap'
	libole2/ms-ole.c: In function `ms_ole_open_vfs':
	libole2/ms-ole.c:1813: syntax error before `file'
	libole2/ms-ole.c:1825: structure has no member named `file_des'
	libole2/ms-ole.c:1825: `file' undeclared (first use in this function)
	libole2/ms-ole.c:1830: structure has no member named `file_des'
	libole2/ms-ole.c:1862: structure has no member named `mmap'
	libole2/ms-ole.c:1863: structure has no member named `mmap'
	libole2/ms-ole.c: In function `ms_ole_create_vfs':
	libole2/ms-ole.c:1945: syntax error before `file'
	libole2/ms-ole.c:1954: `file' undeclared (first use in this function)
	libole2/ms-ole.c:1975: structure has no member named `file_des'
	libole2/ms-ole.c:1986: structure has no member named `mmap'
	libole2/ms-ole.c:1987: structure has no member named `mmap'
	libole2/ms-ole.c: In function `ms_ole_destroy':
	libole2/ms-ole.c:2118: structure has no member named `file_des'
	libole2/ms-ole.c:2119: structure has no member named `file_des'
	libole2/ms-ole.c:2129: structure has no member named `file_des'
	gmake[4]: *** [/usr/ports/editors/AbiWord/work/abi/src/../src/FreeBSD_4.2-STABLE_i386_OBJ/obj/wv/libole2/ms-ole.o] Error 1
	gmake[4]: Leaving directory `/usr/ports/editors/AbiWord/work/wv'
	gmake[3]: *** [_LIBWV_] Error 2
	gmake[3]: Leaving directory `/usr/ports/editors/AbiWord/work/abi/src/config/require/unix'
	gmake[2]: *** [build] Error 2
	gmake[2]: Leaving directory `/usr/ports/editors/AbiWord/work/abi/src/config/require'
	gmake[1]: *** [build] Error 2
	gmake[1]: Leaving directory `/usr/ports/editors/AbiWord/work/abi/src/config'
	gmake: *** [build] Error 2
	*** Error code 2

	Stop in /usr/ports/editors/AbiWord.
	*** Error code 1

	Stop in /usr/ports/editors/AbiWord.
	*** Error code 1

	Stop in /usr/ports/editors/AbiWord.
	

>How-To-Repeat:

	cd /usr/ports/editors/AbiWord; make install

>Fix:

	

>Release-Note:
>Audit-Trail:

From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br>
To: freebsd-gnats-submit@FreeBSD.org
Cc: shaun@pcuse.com
Subject: Re: ports/25989
Date: Fri, 23 Mar 2001 14:50:42 -0300

 	I can't reproduce your problem. Abiword compiles just fine
 in my system.
 
 	Could you try updating to the latest ports tree and see if
 the problem still occur?
 
 	Regards,
 
 
 -- 
 Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
 lioux at ( freebsd dot org | linf dot unb dot br )
 flames to beloved devnull@someotherworldbeloworabove.org
State-Changed-From-To: open->closed 
State-Changed-By: keith 
State-Changed-When: Sat Mar 24 22:20:40 PST 2001 
State-Changed-Why:  
This is a known problem.  editors/AbiWord can't be built with either 
textproc/wv or devel/libole2 (used by math/gnumeric) installed.  This 
is due to the divergent version of libole2 in the AbiWord distribution, 
and there seems no trivial clean fix. 

The quick workaround is to install AbiWord first, and wv or libole2 
afterwards.  Since AbiWord does not install any wv/libole2-related 
binaries/headers/libraries, they won't conflict. 


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