Subject: bin/24638: df(1) does not build on amd64 (-current 20040302)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 03/02/2004 11:37:20
>Number:         24638
>Category:       bin
>Synopsis:       df(1) does not build on amd64 (-current 20040301)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 02 10:59:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Joly
>Release:        NetBSD 1.6ZK
>Organization:
	Institut Pasteur
>Environment:
System: NetBSD calimero.sis.pasteur.fr 1.6ZK NetBSD 1.6ZK (CALIMERO) #4: Mon Mar 1 14:12:16 CET 2004 njoly@calimero.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/CALIMERO amd64
Architecture: x86_64
Machine: amd64
>Description:
While trying to update my amd64 userland, i noticed that df(1) does not
build anymore (no problems on a i386 box) with recent `unsigned long long'
changes.

#   compile  df/df.o
/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow  -Werror    -nostdinc -isystem /local/src/NetBSD/dest/amd64/usr/include  -c    /local/src/NetBSD/src/bin/df/df.c
/local/src/NetBSD/src/bin/df/df.c: In function `prtstat':
/local/src/NetBSD/src/bin/df/df.c:372: warning: long long unsigned int format, long unsigned int arg (arg 3)
/local/src/NetBSD/src/bin/df/df.c:372: warning: long long unsigned int format, long unsigned int arg (arg 4)
/local/src/NetBSD/src/bin/df/df.c:372: warning: long long unsigned int format, long unsigned int arg (arg 5)
*** Error code 1

df.c:
     $NetBSD: df.c,v 1.53 2004/03/02 03:59:17 itojun Exp $
     $NetBSD: df.c,v 1.53 2004/03/02 03:59:17 itojun Exp $

>How-To-Repeat:
cd bin/df && make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: