ports/162017: [patch] lang/sbcl: mark BROKEN on freebsd 9/10 (THREADS option)

Nali Toja nalitoja at gmail.com
Wed Oct 26 01:20:08 UTC 2011


>Number:         162017
>Category:       ports
>Synopsis:       [patch] lang/sbcl: mark BROKEN on freebsd 9/10 (THREADS option)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 26 01:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nali Toja
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
sb-thread is going to be broken on the upcoming 9.0-RELEASE. It doesn't
work with more than one thread, e.g. with editors/slime by default

  ;; excerpt from swank-sbcl.lisp
  (defimplementation preferred-communication-style ()
    (cond
      ;; fixme: when SBCL/win32 gains better select() support, remove
      ;; this.
      ((member :sb-thread *features*) :spawn)
      ((member :win32 *features*) nil)
      (t :fd-handler)))

cf. http://docs.freebsd.org/cgi/mid.cgi?86mxd7qdzk.fsf (call for help)
>How-To-Repeat:
>Fix:
--- broken.diff begins here ---
Index: lang/sbcl/Makefile
===================================================================
RCS file: /a/.csup/ports/lang/sbcl/Makefile,v
retrieving revision 1.90
diff -u -p -r1.90 Makefile
--- lang/sbcl/Makefile	14 Jul 2011 21:35:19 -0000	1.90
+++ lang/sbcl/Makefile	26 Oct 2011 01:01:29 -0000
@@ -88,6 +88,10 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 
 .include <bsd.port.pre.mk>
 
+.if defined(WITH_THREADS) && ${OSVERSION} > 900027
+BROKEN=		'thread was already on queue' crash since libthr at r216641
+.endif
+
 .if !defined(NOPORTDOCS) || !defined(WITHOUT_PDF) || !defined(WITHOUT_PS)
 BUILD_DEPENDS=	dot:${PORTSDIR}/graphics/graphviz
 .endif
--- broken.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list