Subject: pkg/34480: wm/bbkeys09 has incorrect PLIST (+FIX)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 09/06/2006 06:00:01
>Number: 34480
>Category: pkg
>Synopsis: wm/bbkeys09 has incorrect PLIST
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 06 06:00:01 +0000 2006
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (-- pkgsrc current today)
>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 PLIST for wm/bbkeys09 appears to have a couple of stray
lines (most probably left behind from when some other package
was converted into being this one). That causes binary package
building to fail, and pkg_delete to complain about missing files
that cannot be removed.
>How-To-Repeat:
cd ..../pkgsrc/wm/bbkeys09
make package
(I am actually using pkg_comp but that should
be irrelevant here)
Expect to see
=> Checking for missing run-time search paths in bbkeys09-0.9.0
=> Checking for work-directory references in bbkeys09-0.9.0
=> Checking file-check results for bbkeys09-0.9.0
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/share/bbtools/README.bbpager
ERROR: /usr/pkg/share/bbtools/bbpager.rc
*** Error code 1
When later doing pkg_delete bbkeys09-0.9.0 expect to see ...
pkg_delete: file `/usr/pkg/share/bbtools/README.bbpager' doesn't really exist
pkg_delete: file `/usr/pkg/share/bbtools/bbpager.rc' doesn't really exist
Executing `/bin/rmdir /usr/pkg/share/bbtools 2>/dev/null || true'
pkg_delete: couldn't entirely delete package `bbkeys09-0.9.0'
(perhaps the packing list is incorrectly specified?)
>Fix:
Apply the following patch. Since the binaries generated (all
files installed) are indentical after the patch, and as it is
impossible to build a binary package without the patch, no
PKGREVISIOn bump is required.
$NetBSD$
--- PLIST.real 2006-08-21 06:16:14.000000000 +0700
+++ PLIST
@@ -4,8 +4,6 @@ man/man1/bbkeys.1
man/man5/bbkeysrc.5
share/bbkeys/bbkeysrc
share/bbkeys/defaultStyle
-share/bbtools/README.bbpager
-share/bbtools/bbpager.rc
share/share/doc/bbkeys/AUTHORS
share/share/doc/bbkeys/BUGS
share/share/doc/bbkeys/ChangeLog