NetBSD Problem Report #25475

Received: (qmail 8110 invoked by uid 605); 5 May 2004 16:56:18 -0000
Message-Id: <20040505165616.79F0211158@narn.netbsd.org>
Date: Wed,  5 May 2004 16:56:16 +0000 (UTC)
From: yui@yui.pe.kr
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: yui@yui.pe.kr
To: gnats-bugs@gnats.NetBSD.org
Subject: coreutils isn't compiled. another statvfs problem.
X-Send-Pr-Version: www-1.0

>Number:         25475
>Category:       pkg
>Synopsis:       coreutils isn't compiled. another statvfs problem.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tron
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 05 16:57:00 +0000 2004
>Closed-Date:    Tue May 18 19:17:41 +0000 2004
>Last-Modified:  Tue May 18 19:17:41 +0000 2004
>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:
Responsible-Changed-From-To: pkg-manager->tron 
Responsible-Changed-By: tron 
Responsible-Changed-When: Tue May 18 18:21:34 UTC 2004 
Responsible-Changed-Why:  
I'll handle this PR. 

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25475 CVS commit: pkgsrc/sysutils/coreutils
Date: Tue, 18 May 2004 19:07:58 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Tue May 18 19:07:58 UTC 2004

 Modified Files:
 	pkgsrc/sysutils/coreutils: distinfo
 Added Files:
 	pkgsrc/sysutils/coreutils/patches: patch-ab patch-ac

 Log Message:
 Make this build under NetBSD 2.0D and above with statvfs(2).
 This fixes PR pkg/25475 Kibum Han.


 To generate a diff of this commit:
 cvs rdiff -r1.6 -r1.7 pkgsrc/sysutils/coreutils/distinfo
 cvs rdiff -r0 -r1.5 pkgsrc/sysutils/coreutils/patches/patch-ab
 cvs rdiff -r0 -r1.4 pkgsrc/sysutils/coreutils/patches/patch-ac

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Tue May 18 19:16:49 UTC 2004 
State-Changed-Why:  
I've fixed the problem. The "coreutils" package builds and works fine 
under NetBSD 2.0E now. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.