Subject: pkg/25475: coreutils isn't compiled. another statvfs problem.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <yui@yui.pe.kr>
List: pkgsrc-bugs
Date: 05/05/2004 16:56:16
>Number:         25475
>Category:       pkg
>Synopsis:       coreutils isn't compiled. another statvfs problem.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 05 16:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kibum Han
>Release:        2.0E
>Organization:
n/a
>Environment:
NetBSD caspar 2.0E NetBSD 2.0E (GENERIC) #1: Tue May  4 12:00:10 KST 2004  root@caspar:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
sysutils/coreutils isn't compiled with the following error message:
if gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/pkg/lib\" -I. -I. -I..  -I.. -I.  -I/usr/ include  -O2 -march=athlon -pipe -I/usr/include -MT mountlist.o -MD -MP -MF ".de ps/mountlist.Tpo" -c -o mountlist.o mountlist.c;  then mv -f ".deps/mountlist.Tp o" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi
mountlist.c: In function `fstype_to_string':
mountlist.c:187: error: case label does not reduce to an integer constant
mountlist.c:203: error: case label does not reduce to an integer constant
mountlist.c:207: error: case label does not reduce to an integer constant
mountlist.c:211: error: case label does not reduce to an integer constant
mountlist.c:215: error: case label does not reduce to an integer constant
mountlist.c:223: error: case label does not reduce to an integer constant
mountlist.c:227: error: case label does not reduce to an integer constant
mountlist.c:231: error: case label does not reduce to an integer constant
mountlist.c:235: error: case label does not reduce to an integer constant
mountlist.c:239: error: case label does not reduce to an integer constant
mountlist.c:243: error: case label does not reduce to an integer constant
mountlist.c:247: error: case label does not reduce to an integer constant
mountlist.c:251: error: case label does not reduce to an integer constant
mountlist.c:255: error: case label does not reduce to an integer constant
mountlist.c:263: error: case label does not reduce to an integer constant
mountlist.c: At top level:
mountlist.c:274: warning: `struct statfs' declared inside parameter list
mountlist.c:274: warning: its scope is only this definition or declaration, whic h is probably not what you want
mountlist.c: In function `fsp_to_string':
mountlist.c:279: error: dereferencing pointer to incomplete type
mountlist.c: In function `read_filesystem_list':
mountlist.c:387: warning: passing arg 1 of `getmntinfo' from incompatible pointe r type
mountlist.c:390: error: increment of pointer to unknown structure
mountlist.c:390: error: arithmetic on pointer to an incomplete type
mountlist.c:392: warning: passing arg 1 of `fsp_to_string' from incompatible poi nter type
mountlist.c:395: error: dereferencing pointer to incomplete type
mountlist.c:396: error: dereferencing pointer to incomplete type
*** Error code 1
 



>How-To-Repeat:
do :
# cd sysutils/coreutils; make install

>Fix:

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