Subject: pkg/12969: Abiword fails to compile on NetBSD/i386 1.4.2
To: None <gnats-bugs@gnats.netbsd.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: netbsd-bugs
Date: 05/17/2001 18:27:26
>Number:         12969
>Category:       pkg
>Synopsis:       Abiword fails to compile on NetBSD/i386 1.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 17 09:27:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Olaf Seibert
>Release:        i386 1.4.2, with pkgsrc from today.
>Organization:
	
>Environment:
	
System: NetBSD klei.intern.polderland.nl 1.4.2 NetBSD 1.4.2 (KIELDRECHT) #11: Wed Jul 19 14:00:31 CEST 2000 root@kieldrecht:/usr/src/sys/arch/i386/compile/KIELDRECHT i386


>Description:

Abiword fails to compile on NetBSD/i386 1.4.2. Maybe an a.out issue?

Here is the end of the make output:

gmake ABI_ROOT=/usr/tmp/editors/abiword/work/abi-0.7.10 -C unix build
gmake[4]: Entering directory `/usr/tmp/editors/abiword/work/abi-0.7.10/src/wp/main/unix'
Building with [LicensedTrademarks:Off Debug:Off Gnome:Off].
UnixMain.cpp:
In file included from /usr/tmp/editors/abiword/work/abi-0.7.10/src/af/xap/unix/xap_UnixClipboard.h:23,
                 from /usr/tmp/editors/abiword/work/abi-0.7.10/src/wp/ap/unix/ap_UnixClipboard.h:29,
                 from /usr/tmp/editors/abiword/work/abi-0.7.10/src/wp/ap/unix/ap_UnixApp.h:32,
                 from UnixMain.cpp:20:  
/usr/pkg/include/glib/glib.h:1297: warning: ANSI C does not allow macro with variable arguments
/usr/pkg/include/glib/glib.h:1300: warning: ANSI C does not allow macro with variable arguments
/usr/pkg/include/glib/glib.h:1303: warning: ANSI C does not allow macro with variable arguments
Linking dynamic /usr/tmp/editors/abiword/work/abi-0.7.10/src/NetBSD_1.4.2_i386_OBJ/bin/AbiWord_d
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_close' referenced from text segment
newMain.o: Undefined symbol `_libiconv_close' referenced from text segment
newMain.o: Undefined symbol `_libiconv' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_open' referenced from text segment
newMain.o: Undefined symbol `_libiconv_close' referenced from text segment
newMain.o: Undefined symbol `_libiconv_close' referenced from text segment
newMain.o: Undefined symbol `_libiconv' referenced from text segment
newMain.o: Undefined symbol `_libiconv' referenced from text segment
newMain.o: Undefined symbol `_libiconv' referenced from text segment
text.o: Undefined symbol `_libiconv_open' referenced from text segment
text.o: Undefined symbol `_libiconv' referenced from text segment
text.o: Undefined symbol `_libiconv_close' referenced from text segment
text.o: More undefined symbol _libiconv_open refs follow
text.o: Undefined symbol `_libiconv' referenced from text segment
text.o: Undefined symbol `_libiconv_close' referenced from text segment
oledecod.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
collect2: ld returned 1 exit status
gmake[4]: *** [/usr/tmp/editors/abiword/work/abi-0.7.10/src/NetBSD_1.4.2_i386_OBJ/bin/AbiWord_d] Error 1
gmake[4]: Leaving directory `/usr/tmp/editors/abiword/work/abi-0.7.10/src/wp/main/unix'
gmake[3]: *** [build] Error 2
gmake[3]: Leaving directory `/usr/tmp/editors/abiword/work/abi-0.7.10/src/wp/main'
gmake[2]: *** [build] Error 2
gmake[2]: Leaving directory `/usr/tmp/editors/abiword/work/abi-0.7.10/src/wp'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/usr/tmp/editors/abiword/work/abi-0.7.10/src'
gmake: *** [compile] Error 2
*** Error code 2

Stop.

>How-To-Repeat:
	cd pkgsrc/editors/abiword && make
>Fix:
	I don't know yet.
	
	Bob Bernstein <torxhead@ruptured-duck.com> told me he recently
	filed a pr about this that was apparently fixed, but Frederick
	Bruckman <fb@enteract.com> informed me that on NetBSD-current it
	was not an issue, and requested me to file this pr.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/ land.nl     --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp
>Release-Note:
>Audit-Trail:
>Unformatted: