Subject: pkg/29402: python24 packages have incomplete PLIST
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: pkgsrc-bugs
Date: 02/16/2005 15:35:00
>Number:         29402
>Category:       pkg
>Synopsis:       python24 packages have incomplete PLIST - dl.so
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 16 15:35:00 +0000 2005
>Originator:     Lubomir Sedlacik
>Release:        pkgsrc HEAD and pkgsrc-2004Q4 branches
>Environment:
System: NetBSD -current and 2.0
Architecture: i386
Machine: i386
>Description:
===> Packaging python24-2.4nb4
===> Building binary package for python24-2.4nb4
Creating package /pkg_comp/packages/All/python24-2.4nb4.tgz
Using SrcDir value of /usr/pkg
Registering depends:.
Registering conflicts: python-[0-9]*.
===> Cleaning for python24-2.4nb4
PKG_COMP ==> Unmounting sandboxed filesystems
root@krowak[16:23][~]# chroot /home/chroot/netbsd-HEAD /bin/sh
# pkg_info
pkg_install-20050210 Package management and administration tools for pkgsrc
digest-20021220     Message digest wrapper utility
x11-links-0.24      Shadow tree of links to native X11 headers and libraries
python24-2.4nb4     Interpreted, interactive, object-oriented programming language
# pkg_delete python24-2.4nb4
pkg_delete: unable to completely remove directory '/usr/pkg/lib/python2.4/lib-dynload'
pkg_delete: unable to completely remove directory '/usr/pkg/lib/python2.4'
pkg_delete: couldn't entirely delete package `python24-2.4nb4'
(perhaps the packing list is incorrectly specified?)
# ls -lR /usr/pkg/lib/python2.4
total 2
drwxr-xr-x  2 root  wheel  1536 Feb 16 15:27 lib-dynload

/usr/pkg/lib/python2.4/lib-dynload:
total 10
-rwxr-xr-x  1 root  wheel  9387 Feb 16 15:21 dl.so

>How-To-Repeat:

see above.
>Fix:
n/a, i don't know whether it's sufficient just to add
lib/python${PY_VER_SUFFIX}/lib-dynload/dl.so to PLIST.common