Subject: pkg/12423: Overall package list lossage in new KDE 2 packages
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 03/16/2001 17:56:47
>Number: 12423
>Category: pkg
>Synopsis: Overall package list lossage in new KDE 2 packages
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 16 08:57:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 2001/03/16
>Organization:
Matthias Scheler http://core.de/~tron/
>Environment:
System: NetBSD colwyn.zhadum.de 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (COLWYN) #0: Tue Feb 27 11:54:13 CET 2001 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
>Description:
1.) The package list of the "kdemultimedia2" package is incorrect:
pkg_create: can't stat `/usr/X11R6/lib/libmpeg.so.0'
pkg_create: can't stat `/usr/X11R6/lib/libmpeg.so.0.3'
Creating gzip'd tar ball in '/src/packages/All/kdemultimedia-2.1.tgz'
tar: can't add file lib/libmpeg.so.0 : No such file or directory
tar: can't add file lib/libmpeg.so.0.3 : No such file or directory
pkg_create: tar command failed with code 512
2.) The "kdebase2" package uses a static package list for certain directories
like e.g. "share/kde/applnk" which are known to be dynamically created
depending on the installed software on the local system.
3.) The "gnome-print" and the "kdebase2" package both create "share/fonts"
and try to remove it during deinstallation which causes error messages.
>How-To-Repeat:
1.) cd pkgsrc/x11/kde2
make package
2.+3.) pkg_delete -r kdebase2
>Fix:
1.) Read section 8 (debugging) of "Packages.txt" and use the described
techniques to verify the package list.
2.) Use dynamic package list creation technique from "kdebase" package.
3.) Put "share/fonts" in "mk/*.dist" and remove "@dirrm" commands from
both packages.
>Release-Note:
>Audit-Trail:
>Unformatted: