Subject: Re: Recent pkg_install breakage on Tru64
To: Tobias Nygren <tnn@netilium.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 05/29/2005 16:58:42
On Sat, May 28, 2005 at 05:03:45PM +0200, Tobias Nygren wrote:

> cc: Error: perform.c, line 329: Missing ")". (closeparen)
>                                 warnx("projected size of %" PRIu64 " bytes exceeds available free space\n"
> 
> CFLAGS=-DPRIu64=\"lu\" fixes it.
> 
> It appears at least SunOS has these constants defined, do they exist on AIX and IRIX?

there is a test for how to print 64bit integers in libnbcompat. the
use of PRIu64 in portable sources such as pkg_install is in error
and should be fixed.

grant.