NetBSD Problem Report #30375

From www@netbsd.org  Mon May 30 11:18:11 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 161DE63B116; Mon, 30 May 2005 11:18:11 +0000 (UTC)
Message-Id: <20050530111811.161DE63B116@narn.netbsd.org>
Date: Mon, 30 May 2005 11:18:11 +0000 (UTC)
From: adrianp@stindustries.net
Reply-To: adrianp@stindustries.net
To: gnats-bugs@netbsd.org
Subject: pkg_install-20050529 won't build on OpenBSD 3.6
X-Send-Pr-Version: www-1.0

>Number:         30375
>Category:       pkg
>Synopsis:       pkg_install-20050529 won't build on OpenBSD 3.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dmcmahill
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 30 11:19:00 +0000 2005
>Closed-Date:    Fri Jun 10 08:37:49 +0000 2005
>Last-Modified:  Fri Jun 10 08:37:49 +0000 2005
>Originator:     Adrian Portelli
>Release:        pkgsrc -HEAD
>Organization:
STIndustries
>Environment:
OpenBSD 3.6 (i386)
>Description:
Building the latest version of pkg_install in CVS fails with the following error:

ranlib libinstall.a
cc -DHAVE_CONFIG_H -DOPSYS_NAME=\"OpenBSD\" -DMACHINE_ARCH=\"i386\" -DBINDIR=\"/usr/pkg/sbin\" -DMTREE_CMD=\""/usr/sbin/mtree"\" -DTAR_CMD=\""/usr/pkg/bin/tar"\" -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. -I. -I../lib -O2 -c main.c
cc -DHAVE_CONFIG_H -DOPSYS_NAME=\"OpenBSD\" -DMACHINE_ARCH=\"i386\" -DBINDIR=\"/usr/pkg/sbin\" -DMTREE_CMD=\""/usr/sbin/mtree"\" -DTAR_CMD=\""/usr/pkg/bin/tar"\" -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. -I. -I../lib -O2 -c perform.c
perform.c: In function `pkg_do':
perform.c:329: syntax error before `PRIu64'
*** Error code 1
>How-To-Repeat:
cd pkgtools/pkg_install && bmake
>Fix:
Don't know.

>Release-Note:

>Audit-Trail:
From: Adrian Portelli <adrianp@stindustries.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/30375: pkg_install-20050529 won't build on OpenBSD 3.6
Date: Mon, 30 May 2005 14:56:10 +0100

 FYI: pkg_install-20050530 does not resolve this.

Responsible-Changed-From-To: pkg-manager->dmcmahill
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 30 May 2005 14:19:43 +0000
Responsible-Changed-Why:
Over to Dan, who introduced this PRIu64 occurrence.


From: Dan McMahill <dmcmahill@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30375 CVS commit: pkgsrc/pkgtools/pkg_install/files
Date: Fri, 10 Jun 2005 01:37:21 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	dmcmahill
 Date:		Fri Jun 10 01:37:21 UTC 2005

 Modified Files:
 	pkgsrc/pkgtools/pkg_install/files: configure configure.ac
 	pkgsrc/pkgtools/pkg_install/files/add: perform.c
 	pkgsrc/pkgtools/pkg_install/files/lib: config.h.in version.h

 Log Message:
 add autoconf test for missing (like in openbsd-3.6) or broken (like
 in AIX-4.3.2) PRIu64.  If it is missing or broken, provide one.  Should
 address PR30375.  Welcome to pkg_install-20050607


 To generate a diff of this commit:
 cvs rdiff -r1.16 -r1.17 pkgsrc/pkgtools/pkg_install/files/configure
 cvs rdiff -r1.14 -r1.15 pkgsrc/pkgtools/pkg_install/files/configure.ac
 cvs rdiff -r1.30 -r1.31 pkgsrc/pkgtools/pkg_install/files/add/perform.c
 cvs rdiff -r1.9 -r1.10 pkgsrc/pkgtools/pkg_install/files/lib/config.h.in
 cvs rdiff -r1.45 -r1.46 pkgsrc/pkgtools/pkg_install/files/lib/version.h

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

From: Adrian Portelli <adrianp@stindustries.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/30375 CVS commit: pkgsrc/pkgtools/pkg_install/files
Date: Fri, 10 Jun 2005 08:26:21 +0100

 Dan McMahill wrote:

 >  Log Message:
 >  add autoconf test for missing (like in openbsd-3.6) or broken (like
 >  in AIX-4.3.2) PRIu64.  If it is missing or broken, provide one.  Should
 >  address PR30375.  Welcome to pkg_install-20050607

 Thanks, this fixes the problem on OpenBSD 3.6.

 adrian.

State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Fri, 10 Jun 2005 08:37:49 +0000
State-Changed-Why:
Submitter reports problem is fixed -- thanks for PR&feedback!


>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.