pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30663: [patch] lang/sbcl - ASDF-INSTALL is broken out of the box



>Number:         30663
>Category:       pkg
>Synopsis:       ASDF-INSTALL is broken out-of-the box as installed by pkgsrc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 04 21:03:00 +0000 2005
>Originator:     Peter Schuller <peter.schuller%infidyne.com@localhost>
>Release:        NetBSD 2.0.2_BETA
>Organization:
        
>Environment:
        
        
System: NetBSD scode.mine.nu 2.0.2_BETA NetBSD 2.0.2_BETA (PROMETHEUS) #2: Thu 
Mar 24 21:18:12 CET 2005 
toor%prometheus.scode.org@localhost:/usr/obj/sys/arch/i386/compile/PROMETHEUS 
i386
Architecture: i386
Machine: i386
>Description:
        ASDF-INSTALL is broken because it depends GNU tar (it parses tar's
        stdout in verbose mode). (This is semi-major because it means any
        Lisp newbie who wants to try things out with sbcl on NetBSD is going
        to have to jump through a lot of hoops.)
>How-To-Repeat:
        Install sbcl from pkgsrc, then (for example):

        (require 'asdf-install)
        (asdf-install:install 'cl-ppcre)
>Fix:
        The following patch adds a patch to make ASDF-INSTALL use 'gtar' instead
        of 'tar' when running on NetBSD, aswell as add archivers/gtar-base as
        a dependency to sbcl.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sbcl/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile    23 Jun 2005 03:00:20 -0000      1.1.1.1
+++ Makefile    4 Jul 2005 20:54:52 -0000
@@ -41,6 +41,8 @@
 PKG_SKIP_REASON=       "Sorry, need a Common Lisp system"
 .endif
 
+DEPENDS+=               gtar-base-1.15.1:../../archivers/gtar-base
+
 post-patch:
        ${MV} ${WRKSRC}/install.sh ${WRKSRC}/install.sh.dist
        ${SED} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/install.sh.dist > 
${WRKSRC}/install.sh
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sbcl/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo    23 Jun 2005 03:00:20 -0000      1.1.1.1
+++ distinfo    4 Jul 2005 20:54:52 -0000
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 8f1c02fc96233af1063ca8dd62bc6033eb435db2
 SHA1 (patch-ab) = c52f6a54783fbc7e55f198a070430b4c7378e6e7
 SHA1 (patch-ac) = b814853d6259be62cd18a5b68760ec1db7efe634
+SHA1 (patch-ad) = 52cd3605a93e12ddb042be62dddc4561a2ffd90b
Index: patches/patch-ad
===================================================================
RCS file: patches/patch-ad
diff -N patches/patch-ad
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-ad    4 Jul 2005 20:54:52 -0000
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- contrib/asdf-install/installer.lisp.orig   2005-07-04 20:49:42.000000000 
+0200
++++ contrib/asdf-install/installer.lisp
+@@ -249,8 +249,9 @@
+   (let* ((tar
+         (with-output-to-string (o)
+           (or
+-           (sb-ext:run-program #-darwin "tar"
++           (sb-ext:run-program #-(or darwin netbsd)"tar"
+                                #+darwin "gnutar"
++                               #+netbsd "gtar"
+                                (list "-C" (namestring source)
+                                      "-xzvf" (namestring packagename))
+                                :output o

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index