Subject: pkg/35033: [pkgsrc-2006Q3] archivers/bzip2 wrong PLIST
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 11/11/2006 03:00:01
>Number:         35033
>Category:       pkg
>Synopsis:       [pkgsrc-2006Q3] archivers/bzip2 wrong PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 11 03:00:00 +0000 2006
>Originator:     Matthew Clarke
IBM AIX 5.1 (, 5100-04)
With PKG_DEVELOPER=1 set in /usr/pkg/etc/mk.conf, the installation for archivers/bzip2 stops with:

=> Checking file-check results for bzip2-1.0.3
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib/
ERROR:         /usr/pkg/lib/
ERROR:         /usr/pkg/lib/
*** Error code 1

This is because libtool (from devel/libtool-base from the same pkgsrc-2006Q3 branch) -- triggered by the first '${LIBTOOL} --mode=install' line in the do-install target from archivers/bzip2's Makefile -- installs not only the file as requested, but also the, and files as well.


Naive patch:

Index: archivers/bzip2/PLIST
RCS file: /cvsroot/pkgsrc/archivers/bzip2/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- archivers/bzip2/PLIST       23 May 2005 06:49:29 -0000      1.3
+++ archivers/bzip2/PLIST       11 Nov 2006 02:57:44 -0000
@@ -5,6 +5,9 @@