From nobody@FreeBSD.ORG  Tue Aug  8 17:31:26 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id EBA8037B8C3; Tue,  8 Aug 2000 17:31:25 -0700 (PDT)
Message-Id: <20000809003125.EBA8037B8C3@hub.freebsd.org>
Date: Tue,  8 Aug 2000 17:31:25 -0700 (PDT)
From: stevedav@pacbell.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: AbiWord-0.7.10 fails to compile on FreeBSD-4.1
X-Send-Pr-Version: www-1.0

>Number:         20491
>Category:       ports
>Synopsis:       AbiWord-0.7.10 fails to compile on FreeBSD-4.1
>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:   Tue Aug 08 17:40:01 PDT 2000
>Closed-Date:    Fri Mar 16 15:57:19 PST 2001
>Last-Modified:  Fri Mar 16 15:58:00 PST 2001
>Originator:     Steve Davidson
>Release:        FreeBSD 4.1-RELEASE
>Organization:
>Environment:
>Description:
A make on the latest Abiword port fails:

[...]
iconv/iconv.c:33: warning: (near initialization for `inputs[7]')
iconv/iconv.c:34: warning: excess elements in struct initializer
iconv/iconv.c:34: warning: (near initialization for `inputs[8]')
iconv/iconv.c:41: warning: excess elements in struct initializer
iconv/iconv.c:41: warning: (near initialization for `outputs[0]')
iconv/iconv.c:42: warning: excess elements in struct initializer
iconv/iconv.c:42: warning: (near initialization for `outputs[1]')
iconv/iconv.c:43: warning: excess elements in struct initializer
iconv/iconv.c:43: warning: (near initialization for `outputs[2]')
iconv/iconv.c:44: warning: excess elements in struct initializer
iconv/iconv.c:44: warning: (near initialization for `outputs[3]')
iconv/iconv.c: In function `iconv_open':
iconv/iconv.c:51: warning: implicit declaration of function `strcasecmp'
iconv/iconv.c:56: structure has no member named `proc'
iconv/iconv.c:65: structure has no member named `proc'
iconv/iconv.c: In function `iconv':
iconv/iconv.c:82: syntax error before `proc'
iconv/iconv.c:83: warning: implicit declaration of function `proc'
iconv/iconv.c:80: warning: unused variable `out'
iconv/iconv.c:79: warning: unused variable `j'
iconv/iconv.c:79: warning: unused variable `i'
gmake[4]: *** [/usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord/work/abi-0.7.10/src/../src/FreeBSD_
4.1-RELEASE_i386_OBJ/obj/wv/iconv/iconv.o] Error 1
gmake[4]: Leaving directory `/usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord/work/wv'
gmake[3]: *** [_LIBWV_] Error 2
gmake[3]: Leaving directory `/usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord/work/abi-0.7.10/src/c
onfig/require/unix'
gmake[2]: *** [build] Error 2
gmake[2]: Leaving directory `/usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord/work/abi-0.7.10/src/c
onfig/require'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord/work/abi-0.7.10/src/c
onfig'
gmake: *** [build] Error 2
*** Error code 2

Stop in /usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord.
*** Error code 1

Stop in /usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord.
*** Error code 1

Stop in /usr/home/sdn/p/s/pub/FreeBSD/branches/-current/ports/editors/AbiWord.


>How-To-Repeat:
cd /usr/ports/editors/Abiword
make
>Fix:
Fix the port.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Mon Sep 18 20:01:24 PDT 2000 
Responsible-Changed-Why:  
I'll take a look at this.. was trying to build it the other night.. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20491 
Responsible-Changed-From-To: ade->freebsd-ports 
Responsible-Changed-By: ade 
Responsible-Changed-When: Mon Oct 2 15:08:14 PDT 2000 
Responsible-Changed-Why:  
I'm handing this back to the -ports community at large. 
AbiWord is a mess, including its own copies of libole2, expat, 
and iconv (which is the problem here).  For this to be done 
right, appropriate LIB_DEPENDS need adding to the Makefile and 
incredible amounts of hackery will be needed in the various 
Makefiles to link against these external libraries. 

Oh, and an upgrade to 0.7.11 didn't help. 

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

From: Trevor Johnson <trevor@jpj.net>
To: Ade Lovett <ade@FreeBSD.ORG>,
	Steve Davidson <stevedav@pacbell.net>,
	Alec Wolman <wolman@cs.washington.edu>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/20491: AbiWord-0.7.10 fails to compile on FreeBSD-4.1
Date: Wed, 4 Oct 2000 02:02:55 -0400 (EDT)

 > I'm handing this back to the -ports community at large.
 > AbiWord is a mess, including its own copies of libole2, expat,
 > and iconv (which is the problem here).  For this to be done
 > right, appropriate LIB_DEPENDS need adding to the Makefile and
 > incredible amounts of hackery will be needed in the various
 > Makefiles to link against these external libraries.
 > 
 > Oh, and an upgrade to 0.7.11 didn't help.
 
 I made a simple attempt (no deep hacks) at updating the port to 0.7.11.  
 It compiles for me, but crashes when I run it, after displaying an error
 message about not being able to find its fonts.  I noticed the names of
 many of the fonts (in the fonts.dir file) have spaces in them, but without
 the double quotes around them that the mkfontdir man page says are needed.  
 I tried adding the quotes and restarting X, but it made no difference.  I
 made a patch of what I have, not including the quotes in the fonts.dir
 file:
 
 	http://people.freebsd.org/~trevor/ports/abiword.diff.gz
 -- 
 Trevor Johnson
 http://jpj.net/~trevor/gpgkey.txt
 
 
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Fri Mar 16 15:57:19 PST 2001 
State-Changed-Why:  
Well, please try latest version of abiwork, it's ok to me. 

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