pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42340: sysutils/puppet PLIST error (+FIX)



>Number:         42340
>Category:       pkg
>Synopsis:       sysutils/puppet PLIST error (+FIX)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 18 13:00:00 +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@localhost:/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



Home | Main Index | Thread Index | Old Index