Subject: pkg/22163: glib2 does not build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <htodd@twofifty.com>
List: netbsd-bugs
Date: 07/16/2003 21:46:57
>Number:         22163
>Category:       pkg
>Synopsis:       glib2 does not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 04:47:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hisashi T Fujinaka - htodd@twofifty.com
>Release:        NetBSD 1.6U
>Organization:
>Environment:
	
	
System: NetBSD allison 1.6U NetBSD 1.6U (ALLISON) #413: Wed Jul 16 18:39:14 PDT 2003 htodd@allison:/disk/0/obj/sys/arch/i386/compile.i386/ALLISON i386
Architecture: i386
Machine: i386
>Description:
Trying to build glib2 yields this error:
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION   -I/usr/pkg/include -pthread  -O2 -I/usr/pkg/include -Wall -c gconvert.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -I/usr/obj/pkg/devel/glib2/work.i386/.buildlink/include -pthread -O2 -I/usr/obj/pkg/devel/glib2/work.i386/.buildlink/include -Wall -c gconvert.c  -fPIC -DPIC -o .libs/gconvert.o
gconvert.c:46: #error GNU libiconv not in use but included iconv.h is from libiconv
gmake[3]: *** [gconvert.lo] Error 1
gmake[3]: Leaving directory `/disk/0/obj/pkg/devel/glib2/work.i386/glib-2.2.2/glib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/disk/0/obj/pkg/devel/glib2/work.i386/glib-2.2.2/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/disk/0/obj/pkg/devel/glib2/work.i386/glib-2.2.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

I just deleted ALL of my packages and tried to build with a current (as of 7/14) system to see if taht would help. No dice.
	
>How-To-Repeat:
make build in glib2
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: