NetBSD Problem Report #18672
Received: (qmail 15980 invoked by uid 605); 16 Oct 2002 16:45:59 -0000
Message-Id: <20021016164555.D169F11122@narn.netbsd.org>
Date: Wed, 16 Oct 2002 09:45:55 -0700 (PDT)
From: sketch@rd.bbc.co.uk
Sender: gnats-bugs-owner@netbsd.org
Reply-To: sketch@rd.bbc.co.uk
To: gnats-bugs@gnats.netbsd.org
Subject: desf.SunOS.mk doesn't pick up bootstrap-pkgsrc pkg_* tools
X-Send-Pr-Version: www-1.0
>Number: 18672
>Category: pkg
>Synopsis: desf.SunOS.mk doesn't pick up bootstrap-pkgsrc pkg_* tools
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 16 16:47:01 +0000 2002
>Closed-Date: Thu Nov 21 12:40:46 +0000 2002
>Last-Modified: Thu Nov 21 12:40:46 +0000 2002
>Originator: Jonathan Perkin
>Release: N/A
>Organization:
British Broadcasting Corporation
>Environment:
SunOS desk06 5.9 Generic_112233-01 sun4u sparc SUNW,Ultra-5_10
>Description:
bootstrap-pkgsrc developed in othersrc installs native pkg_* tools ready
for installing pkgsrc. Unfortunately, defs.SunOS.mk doesn't pick them
up as they're installed in sbin/ while zoularis would install in bin/ (
and then be overwritten with pkgtools/pkg_install latest version).
On a related note, PKGTOOLS_VERSION could do with being bumped for the
othersrc versions of pkg_* as they are unable to build anything. Might
also be worth merging those versions back into pkgtools/pkg_install as
that fails due to sys/cdefs.h and friends errors on Solaris.
>How-To-Repeat:
>Fix:
Index: defs.SunOS.mk
===================================================================
RCS file: /cache/ncvs/pkgsrc/mk/defs.SunOS.mk,v
retrieving revision 1.30
diff -u -r1.30 defs.SunOS.mk
--- defs.SunOS.mk 2002/10/06 22:16:41 1.30
+++ defs.SunOS.mk 2002/10/16 16:36:06
@@ -120,7 +120,11 @@
ZOULARISBASE:= ${LOCALBASE}
. endif
.endif
+.if exists(${ZOULARISBASE}/bin/pkg_info)
PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin
+.else
+PKG_TOOLS_BIN?= ${ZOULARISBASE}/sbin
+.endif
.if ${X11BASE} == "/usr/openwin"
HAVE_OPENWINDOWS= YES
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: grant
State-Changed-When: Thu Nov 21 04:39:11 PST 2002
State-Changed-Why:
pkgsrc/mk/defs.SunOS.mk rev 1.31 adds support for the bootstrap-pkgsrc
pkg_* tools.
closing PR.
>Unformatted:
(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.