Subject: pkg/34480: wm/bbkeys09 has incorrect PLIST (+FIX)
To: None <email@example.com, firstname.lastname@example.org,>
From: None <kre@munnari.OZ.AU>
Date: 09/06/2006 06:00:01
>Synopsis: wm/bbkeys09 has incorrect PLIST
>Arrival-Date: Wed Sep 06 06:00:01 +0000 2006
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (-- pkgsrc current today)
Prince of Songkla University
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 email@example.com:/usr/obj/current/kernels/JADE_ASUS i386
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.
(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: The following files are in the PLIST but not in /usr/pkg:
*** 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?)
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.
--- PLIST.real 2006-08-21 06:16:14.000000000 +0700
@@ -4,8 +4,6 @@ man/man1/bbkeys.1