NetBSD Problem Report #42340

From kre@munnari.OZ.AU  Wed Nov 18 12:57:28 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E24ED63C48A
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 18 Nov 2009 12:57:28 +0000 (UTC)
Message-Id: <200911181256.nAICuPwl021345@jade.coe.psu.ac.th>
Date: Wed, 18 Nov 2009 19:56:25 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: sysutils/puppet PLIST error (+FIX)
X-Send-Pr-Version: 3.95

>Number:         42340
>Category:       pkg
>Synopsis:       sysutils/puppet PLIST error (+FIX)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    tonnerre
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 18 13:00:00 +0000 2009
>Closed-Date:    Sun Nov 29 19:25:30 +0000 2009
>Last-Modified:  Tue Dec 01 08:40:02 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   (probably irrelevant)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	The latest update to sysutils/puppet (puppet-0.24.8) added a file
	to the PLIST that looks like it was probably an accident - nothing
	resembling that file seems to exist anywhere in puppet itself (at
	best it might be added as a by-product of running the package, but
	that's very unlikely - it looks to be more related to postgresql,
	or something)

>How-To-Repeat:
	With PKG_DEVELOPER=yes, build a binary package for sysutils/puppet
	Expect to see ...

pkg_create: can't stat `/usr/pkg/pgsql/data/global/pgstat.stat'
=> Registering installation for puppet-0.24.8
pkg_admin: puppet-0.24.8: File `/usr/pkg/pgsql/data/global/pgstat.stat' is in +CONTENTS but not on filesystem!
puppet-0.24.8 requires installed package ruby18-base-1.8.7.174nb2
puppet-0.24.8 requires installed package ruby18-facter-1.5.7
puppet-0.24.8 requires installed package rubygems-1.3.5nb1
=> Checking file-check results for puppet-0.24.8
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/pgsql/data/global/pgstat.stat
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/puppet
*** Error code 1

Stop.

	I did this using pkg_comp with libkver, and NetBSD 4.0 release
	sets (and sources etc) installed, except no x* sets, pkgsrc
	modular xorg is used instead - but puppet doesn't use that.
	I doubt any of this is relevant to this problem.

>Fix:
	Apply the appended patch, that simply deletes the offending
	line from the PLIST.   No revbump should be needed for this.
	(It is probably easier to do this manually than via patch, the
	line to delete is near the end of the PLIST, and is the only one
	that mentions "pgsql").

--- PLIST.broken	2009-11-12 05:44:05.000000000 +0700
+++ PLIST	2009-11-18 19:35:57.000000000 +0700
@@ -1004,7 +1004,6 @@
 ${GEM_LIBDIR}/test/util/subclass_loader.rb
 ${GEM_LIBDIR}/test/util/utiltest.rb
 ${GEM_HOME}/specifications/puppet-${PKGVERSION}.gemspec
-pgsql/data/global/pgstat.stat
 share/examples/puppet/puppet.conf
 share/examples/rc.d/puppetd
 share/examples/rc.d/puppetmasterd

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tonnerre
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 18 Nov 2009 14:01:49 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42340 CVS commit: pkgsrc/sysutils/puppet
Date: Sat, 28 Nov 2009 23:39:18 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sat Nov 28 23:39:18 UTC 2009

 Modified Files:
 	pkgsrc/sysutils/puppet: PLIST

 Log Message:
 Remove stray postgres file that clearly does not belong here.
 Noted by Robert Elz in PR 42340.


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/puppet/PLIST

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

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 28 Nov 2009 23:41:12 +0000
State-Changed-Why:
I removed the trash, can you check that it works now?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 29 Nov 2009 19:25:30 +0000
State-Changed-Why:
actually let's just assume it's ok.


From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42340 (sysutils/puppet PLIST error (+FIX))
Date: Tue, 01 Dec 2009 15:34:57 +0700

     Date:        Sun, 29 Nov 2009 19:25:31 +0000 (UTC)
     From:        dholland@NetBSD.org
     Message-ID:  <20091129192531.74F9363C3B1@www.NetBSD.org>

   | actually let's just assume it's ok.

 It is (as in, it builds correctly now).   Thanks.

 kre

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