Subject: pkg/16107: fix non-i386 arch support for pkgsrc/editors/xemacs-current
To: None <gnats-bugs@gnats.netbsd.org, magick@netbsd.org>
From: OGATA <ogata@isp.qix.org>
List: netbsd-bugs
Date: 03/28/2002 22:44:48
>Number: 16107
>Category: pkg
>Synopsis: fix non-i386 arch support for pkgsrc/editors/xemacs-current
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 28 05:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: OGATA
>Release: NetBSD 1.5.2
>Organization:
>Environment:
System: NetBSD Leia2 1.5.2 NetBSD 1.5.2 (GENERIC_SCSI3-Leia2-1.5.2XCAST6) #0: Thu Oct 25 17:43:23 JST 2001 ogata@Kodiaka:/export/XCAST6/syssrc-xcast0.0.2/sys/arch/sparc/compile/GENERIC_SCSI3-Leia2-1.5.2XCAST6 sparc
>Description:
PLIST have non-i386 arch support bug.
ogata@Leia2[506]% sudo pkg_delete xemacs-21.5.5
Password:
pkg_delete: cannot remove non-existent directory `/usr/pkg/lib/xemacs-21.5-b5/i386--netbsdelf/modules'
this packing list is incorrect - ignoring delete request
pkg_delete: cannot remove non-existent directory `/usr/pkg/lib/xemacs-21.5-b5/i386--netbsdelf/include/m'
this packing list is incorrect - ignoring delete request
pkg_delete: cannot remove non-existent directory `/usr/pkg/lib/xemacs-21.5-b5/i386--netbsdelf/include/s'
this packing list is incorrect - ignoring delete request
pkg_delete: cannot remove non-existent directory `/usr/pkg/lib/xemacs-21.5-b5/i386--netbsdelf/include'
this packing list is incorrect - ignoring delete request
pkg_delete: cannot remove non-existent directory `/usr/pkg/lib/xemacs-21.5-b5/i386--netbsdelf'
this packing list is incorrect - ignoring delete request
pkg_delete: unable to completely remove directory '/usr/pkg/lib/xemacs-21.5-b5'
pkg_delete: unable to completely remove directory '/usr/pkg/lib/xemacs'
pkg_delete: couldn't entirely delete package `xemacs-21.5.5'
(perhaps the packing list is incorrectly specified?)
ogata% find /usr/pkg/lib/xemacs-21.5-b5
/usr/pkg/lib/xemacs-21.5-b5
/usr/pkg/lib/xemacs-21.5-b5/sparc--netbsdelf
/usr/pkg/lib/xemacs-21.5-b5/sparc--netbsdelf/modules
/usr/pkg/lib/xemacs-21.5-b5/sparc--netbsdelf/include
/usr/pkg/lib/xemacs-21.5-b5/sparc--netbsdelf/include/m
/usr/pkg/lib/xemacs-21.5-b5/sparc--netbsdelf/include/s
>How-To-Repeat:
Please try it on non-i386 arch machine.
>Fix:
--- PLIST.org Wed Mar 27 01:10:01 2002
+++ PLIST Wed Mar 27 01:27:19 2002
@@ -1509,11 +1509,11 @@
@dirrm lib/${EMACSVER}/lisp/w32
@dirrm lib/${EMACSVER}/lisp/x11
@dirrm lib/${EMACSVER}/lisp
-@dirrm lib/${EMACSVER}/i386--netbsdelf/modules
-@dirrm lib/${EMACSVER}/i386--netbsdelf/include/m
-@dirrm lib/${EMACSVER}/i386--netbsdelf/include/s
-@dirrm lib/${EMACSVER}/i386--netbsdelf/include
-@dirrm lib/${EMACSVER}/i386--netbsdelf
+@dirrm lib/${EMACSVER}/${MACHINE_GNU_PLATFORM}/modules
+@dirrm lib/${EMACSVER}/${MACHINE_GNU_PLATFORM}/include/m
+@dirrm lib/${EMACSVER}/${MACHINE_GNU_PLATFORM}/include/s
+@dirrm lib/${EMACSVER}/${MACHINE_GNU_PLATFORM}/include
+@dirrm lib/${EMACSVER}/${MACHINE_GNU_PLATFORM}
@dirrm lib/${EMACSVER}/info
@dirrm lib/${EMACSVER}
@exec mkdir -p /var/tmp/xemacs.lock && chmod 1777 /var/tmp/xemacs.lock
>Release-Note:
>Audit-Trail:
>Unformatted: