Subject: pkg/30669: postgresql80-client has invalid PLIST
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pierre.bourgin@pcotech.fr>
List: pkgsrc-bugs
Date: 07/05/2005 09:41:00
>Number: 30669
>Category: pkg
>Synopsis: postgresql80-client has invalid PLIST
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jul 05 09:41:00 +0000 2005
>Originator: pierre bourgin
>Release: solaris 8 / sparc
>Organization:
PCO technologies
>Environment:
SunOS dapkg 5.8 Generic_117350-12 sun4u sparc SUNW,Ultra-5_10
>Description:
the postgresql80-client/PLIST file is incorrect : some files are missing in it.
This bug is not specific to Solaris platorm, it's happening also on NetBSD-1.6.2/i386.
pkgsrc: 2005Q2 of 20050626 : postgresql80-client-8.0.3
>How-To-Repeat:
% cd databases/postgresql80-client
% make install
[...]
% pkg_delete postgresql80-client-8.0.3
pkg_delete: unable to completely remove directory '/usr/pkg/share/doc/postgresql80/html'
pkg_delete: unable to completely remove directory '/usr/pkg/share/doc/postgresql80'
pkg_delete: couldn't entirely delete package `postgresql80-client-8.0.3'
(perhaps the packing list is incorrectly specified?)
% find /usr/pkg/share/doc/postgresql80
/usr/pkg/share/doc/postgresql80
/usr/pkg/share/doc/postgresql80/html
/usr/pkg/share/doc/postgresql80/html/encryption-options.html
/usr/pkg/share/doc/postgresql80/html/release-8-0-2.html
/usr/pkg/share/doc/postgresql80/html/release-7-4-8.html
/usr/pkg/share/doc/postgresql80/html/release-7-3-10.html
/usr/pkg/share/doc/postgresql80/html/release-7-2-8.html
>Fix:
modify postgresql80-client/PLIST:
% grep NetBSD postgresql80-client/PLIST.orig
@comment $NetBSD: PLIST,v 1.5 2005/05/02 20:33:59 reed Exp $
% gdiff -bu PLIST.orig PLIST
--- PLIST.orig 2005-06-26 04:07:53.000000000 +0200
+++ PLIST 2005-07-05 11:14:33.960007000 +0200
@@ -710,6 +710,7 @@
share/doc/postgresql80/html/ecpg-set-connection.html
share/doc/postgresql80/html/ecpg-variables.html
share/doc/postgresql80/html/ecpg.html
+share/doc/postgresql80/html/encryption-options.html
share/doc/postgresql80/html/errcodes-appendix.html
share/doc/postgresql80/html/error-message-reporting.html
share/doc/postgresql80/html/error-style-guide.html
@@ -947,6 +948,7 @@
share/doc/postgresql80/html/release-7-2-5.html
share/doc/postgresql80/html/release-7-2-6.html
share/doc/postgresql80/html/release-7-2-7.html
+share/doc/postgresql80/html/release-7-2-8.html
share/doc/postgresql80/html/release-7-2.html
share/doc/postgresql80/html/release-7-3-1.html
share/doc/postgresql80/html/release-7-3-2.html
@@ -957,6 +959,7 @@
share/doc/postgresql80/html/release-7-3-7.html
share/doc/postgresql80/html/release-7-3-8.html
share/doc/postgresql80/html/release-7-3-9.html
+share/doc/postgresql80/html/release-7-3-10.html
share/doc/postgresql80/html/release-7-3.html
share/doc/postgresql80/html/release-7-4-1.html
share/doc/postgresql80/html/release-7-4-2.html
@@ -965,8 +968,10 @@
share/doc/postgresql80/html/release-7-4-5.html
share/doc/postgresql80/html/release-7-4-6.html
share/doc/postgresql80/html/release-7-4-7.html
+share/doc/postgresql80/html/release-7-4-8.html
share/doc/postgresql80/html/release-7-4.html
share/doc/postgresql80/html/release-8-0-1.html
+share/doc/postgresql80/html/release-8-0-2.html
share/doc/postgresql80/html/release-8-0.html
share/doc/postgresql80/html/release.html
share/doc/postgresql80/html/resources.html