Subject: pkg/33435: cannot build libiconv under OpenBSD-3.8/spark64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 05/07/2006 17:35:00
>Number:         33435
>Category:       pkg
>Synopsis:       cannot build libiconv under OpenBSD-3.8/spark64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 07 17:35:00 +0000 2006
>Originator:     cheusov@tut.by
>Release:        NetBSD 3.0_STABLE
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
System: NetBSD chen.chizhovka.net 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #2: Sun Mar 12 12:49:58 GMT 2006 cheusov@chen:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
converters/libiconv cannot be built under OpenBSD-3.8/spark64
because of conflicting types.
An important part of log follows.


cc -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I. -I.     -O -c width.c
In file included from unitypes.h:23,
                 from uniwidth.h:22,
                 from width.c:25:
stdint.h:62: warning: redefinition of `int8_t'
/usr/include/machine/int_types.h:53: warning: `int8_t' previously declared here
stdint.h:64: warning: redefinition of `uint8_t'
/usr/include/machine/int_types.h:54: warning: `uint8_t' previously declared here
stdint.h:67: warning: redefinition of `int16_t'
/usr/include/machine/int_types.h:56: warning: `int16_t' previously declared here
stdint.h:69: warning: redefinition of `uint16_t'
/usr/include/machine/int_types.h:57: warning: `uint16_t' previously declared here
stdint.h:72: warning: redefinition of `int32_t'
/usr/include/machine/int_types.h:59: warning: `int32_t' previously declared here
stdint.h:74: warning: redefinition of `uint32_t'
/usr/include/machine/int_types.h:60: warning: `uint32_t' previously declared here
stdint.h:78: error: conflicting types for `int64_t'
/usr/include/machine/int_types.h:69: error: previous declaration of `int64_t'
stdint.h:80: error: conflicting types for `uint64_t'
/usr/include/machine/int_types.h:70: error: previous declaration of `uint64_t'
In file included from unitypes.h:23,
                 from uniwidth.h:22,
                 from width.c:25:
stdint.h:223:1: warning: "SIZE_MAX" redefined
In file included from /usr/include/sys/limits.h:44,
                 from /usr/include/limits.h:88,
                 from stdint.h:30,
                 from unitypes.h:23,
                 from uniwidth.h:22,
                 from width.c:25:
/usr/include/machine/limits.h:41:1: warning: this is the location of the previous definition
>How-To-Repeat:
>Fix: