Subject: pkg/10151: package x11/xpmicons fails to post-extract
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 05/18/2000 12:15:13
>Number: 10151
>Category: pkg
>Synopsis: package x11/xpmicons fails to post-extract
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 18 12:16:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Thilo Manske
>Release: -
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Environment:
System: NetBSD WintelKiller 1.4Y NetBSD 1.4Y (WintelKiller) #224: Wed May 17 01:11:03 MEST 2000 thilo@WintelKiller:/usr/src/sys/arch/i386/compile/WintelKiller i386
>Description:
Making xpmicons fails with:
[...]
===> Extracting for xpmicons-1.0
/usr/bin/find /usr/src/pkgsrc/x11/xpmicons/work.i386 -type d -name .xvpics -exec /bin/rm -rf {} \;
find: /usr/src/pkgsrc/x11/xpmicons/work.i386/3d_pixmaps_1.21/3dpixmaps/.xvpics: Datei oder Verzeichnis nicht gefunden
find: /usr/src/pkgsrc/x11/xpmicons/work.i386/3d_pixmaps_1.21/plain_pixmaps/.xvpics: Datei oder Verzeichnis nicht gefunden
find: /usr/src/pkgsrc/x11/xpmicons/work.i386/tif/.xvpics: Datei oder Verzeichnis nicht gefunden
find: /usr/src/pkgsrc/x11/xpmicons/work.i386/xpm/.xvpics: Datei oder Verzeichnis nicht gefunden
*** Error code 1
[...]
Sorry, I've set LANG to de :-)
>How-To-Repeat:
cd [...]/x11/xpmicons
make
>Fix:
Add -prune so that find doesn't recursive into the just deleted .xvpics:
--- Makefile.orig Thu May 18 21:13:59 2000
+++ Makefile Thu May 18 20:58:32 2000
@@ -22,7 +22,7 @@
NO_BUILD= yes
post-extract:
- ${FIND} ${WRKSRC} -type d -name .xvpics -exec ${RM} -rf {} \;
+ ${FIND} ${WRKSRC} -type d -name .xvpics -exec ${RM} -rf {} \; -prune
do-install:
${FIND} ${WRKSRC} -name \*.xpm -exec ${INSTALL_DATA} {} ${PREFIX}/include/X11/pixmaps \;
>Release-Note:
>Audit-Trail:
>Unformatted: