Subject: pkg/35033: [pkgsrc-2006Q3] archivers/bzip2 wrong PLIST
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <clamat@telus.net>
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
>Release:
>Organization:
>Environment:
IBM AIX 5.1 (5.1.0.0, 5100-04)
>Description:
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/libbz2.so
ERROR: /usr/pkg/lib/libbz2.so.0
ERROR: /usr/pkg/lib/libbz2.so.0.0.0
*** 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 libbz2.la file as requested, but also the libbz2.so, libbz2.so.0 and libbz2.so.0.0 files as well.
>How-To-Repeat:
>Fix:
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 @@
bin/bzip2recover
include/bzlib.h
lib/libbz2.la
+lib/libbz2.so
+lib/libbz2.so.0
+lib/libbz2.so.0.0.0
man/man1/bunzip2.1
man/man1/bzcat.1
man/man1/bzip2.1