Subject: pkg/23799: enlightenment-0.16.6 package cannot be build under NetBSD 1.6
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 12/19/2003 15:26:35
>Number:         23799
>Category:       pkg
>Synopsis:       enlightenment-0.16.6 package cannot be build under NetBSD 1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 19 14:27:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.2_RC3 2003-12-19 package sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6.2_RC3 NetBSD 1.6.2_RC3 (COLWYN) #2: Tue Dec 16 19:18:06 CET 2003 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
The lastet version of the "enlighment" package cannot be build under
NetBSD 1.6.2_RC3 (or any other version of the 1.6 series):

===> Checking for vulnerabilities in enlightenment-0.16.6
=> Checksum OK for enlightenment-0.16.6.tar.gz.
[...]
source='file.c' object='file.o' libtool=no  depfile='.deps/file.Po' tmpdepfile='.deps/file.TPo'  depmode=gcc /bin/sh ../depcomp  cc -DENLIGHTENMENT_ROOT=\"/usr/pkg/share/enlightenment\" -DENLIGHTENMENT_BIN=\"/usr/pkg/bin\" -I. -I. -I.. -I/usr/pkg/include -I/usr/X11R6/include -I.. -I../intl   -I/usr/pkg/include -I/usr/X11R6/include  -O2 -I/usr/pkg/include -I/usr/X11R6/include -c `test -f 'file.c' || echo './'`file.c
file.c: In function `word_mb':
file.c:624: parse error before `wctype_t'
file.c:624: warning: no semicolon at end of struct or union
file.c: At top level:
file.c:642: warning: braces around scalar initializer
file.c:642: warning: (near initialization for `char_class_tbl[0]')
file.c:642: warning: excess elements in scalar initializer
file.c:642: warning: (near initialization for `char_class_tbl[0]')
file.c:643: warning: data definition has no type or storage class
file.c:646: parse error before `if'
file.c:657: warning: data definition has no type or storage class
file.c:658: parse error before `for'
file.c:665: warning: data definition has no type or storage class
file.c:666: warning: data definition has no type or storage class
file.c:667: warning: data definition has no type or storage class
file.c:668: warning: data definition has no type or storage class
file.c:669: warning: data definition has no type or storage class
file.c:670: `wd' undeclared here (not in a function)
file.c:670: warning: data definition has no type or storage class
file.c:671: warning: data definition has no type or storage class
file.c:673: parse error before `while'
file.c:678: `s' undeclared here (not in a function)
file.c:678: initializer element is not constant
file.c:678: warning: data definition has no type or storage class
file.c:679: parse error before `if'
file.c:686: warning: data definition has no type or storage class
file.c:687: parse error before `if'
file.c:729: initializer element is not constant
file.c:729: warning: data definition has no type or storage class
file.c:730: parse error before `}'
file.c:740: parse error before `!='
file.c:743: warning: data definition has no type or storage class
file.c:744: parse error before `}'
*** Error code 1

Stop.

The reason is the missing definition of "wctype_t" in "wctype.h".

>How-To-Repeat:
cd pkgsrc/wm/enlightment
make

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted: