NetBSD Problem Report #32783

From kre@munnari.OZ.AU  Thu Feb  9 13:09:40 2006
Return-Path: <kre@munnari.OZ.AU>
Received: from jade.coe.psu.ac.th (unknown [202.12.74.196])
	by narn.netbsd.org (Postfix) with ESMTP id 51EBC63B863
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  9 Feb 2006 13:09:36 +0000 (UTC)
Message-Id: <200602091309.k19D9Yum021539@jade.coe.psu.ac.th>
Date: Thu, 9 Feb 2006 20:09:34 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@netbsd.org
Subject: sysutils/xuvmstat DISTNAME incorrect (revbump fallout) (+fix - bad one)
X-Send-Pr-Version: 3.95

>Number:         32783
>Category:       pkg
>Synopsis:       sysutils/xuvmstat DISTNAME incorrect (+fix - bad one)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 09 13:10:00 +0000 2006
>Closed-Date:    Thu Feb 09 13:30:56 +0000 2006
>Last-Modified:  Thu Feb 09 13:35:01 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current as of a few huors ago)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	The DISTNAME for sysutils/xuvmstat is formed from the
	PKGNAME - when the revbump occurred a few days ago, that
	had the side-effect of appending "nb1" to the DISTNAME.

	This package was never intended to have PKGREVISION set,
	since it is a local NetBSD package, any changes would
	simply make a new version of the distfile.   hence it
	doesn't work very well with a PKGREVISION set.
>How-To-Repeat:
	# no need to remove any old distfiles you cannot have the one
	# it wants, there is no such thing
	cd ..../pkgsrc/sysutils/xuvmstat
	make fetch
>Fix:
	The patch below works around the problem.   I know this
	isn't the way the pkgsrc people are going to fix it,
	they will derive PKGNAME from DISTNAME instead.   But
	this works, and might allow anyone else who needs to
	recompile xuvmstat after the revbump disaster to survive
	until the correct fix is comitted.

--- Makefile.was	2006-02-06 16:16:18.000000000 +0700
+++ Makefile	2006-02-09 20:02:50.000000000 +0700
@@ -1,9 +1,9 @@
 # $NetBSD: Makefile,v 1.15 2006/02/05 23:10:59 joerg Exp $
 #

-DISTNAME=	${PKGNAME:S/-//}
+DISTNAME=	xuvmstat20050909
 PKGNAME=	xuvmstat-20050909
 PKGREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.NetBSD.org/~chuck/gz/


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: joerg@netbsd.org
State-Changed-When: Thu, 09 Feb 2006 13:30:56 +0000
State-Changed-Why:
different fix applied. Thanks for the PR.


From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32783 CVS commit: pkgsrc/sysutils/xuvmstat
Date: Thu,  9 Feb 2006 13:30:19 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	joerg
 Date:		Thu Feb  9 13:30:19 UTC 2006

 Modified Files:
 	pkgsrc/sysutils/xuvmstat: Makefile

 Log Message:
 Use PKGNAME_NOREV as base for DISTNAME. Different fix for PR 32783.


 To generate a diff of this commit:
 cvs rdiff -r1.15 -r1.16 pkgsrc/sysutils/xuvmstat/Makefile

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

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