On Thu, Oct 10, 2013 at 09:29:40AM +0200, Jérémie Courrèges-Anglas wrote:
>
> So instead of struggling with clisp, let's just update sbcl first.
> Regress tests results and diff below. I'm postponing clisp for now.
>
> More tests on amd64 / ok?
There should be a build-time (and probably runtime) dependency on gmp,
or else the gmp contrib should be disabled. I'm not sure if it's right
to enforce a runtime dependency when few users will use sb-gmp, but it
would also be annoying to start splitting off contribs into separate
packages.
>
> 1.1.8 i386:
> ===========
> Finished running tests.
> Status:
> Expected failure: character.pure.lisp / (CASE-INSENSITIVE-CHAR-COMPARISONS
> EXHAUSTIVE)
> Expected failure: compiler.pure.lisp /
> FOLD-INDEX-ADDRESSING-POSITIVE-OFFSET
> Expected failure: interface.pure.lisp / (SLEEP NON-CONSING)
> Expected failure: dynamic-extent.impure.lisp / (NO-CONSING
> SPECIALIZED-DX-VECTORS)
> Failure: gc.impure.lisp / BUG-936304
> Expected failure: packages.impure.lisp / USE-PACKAGE-CONFLICT-SET
> Expected failure: packages.impure.lisp / IMPORT-SINGLE-CONFLICT
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> (48 tests skipped for this combination of platform and features)
> test failed, expected 104 return code, got 1
>
> 1.1.12 i386:
> ============
> Finished running tests.
> Status:
> Expected failure: dynamic-extent.impure.lisp / (NO-CONSING
> SPECIALIZED-DX-VECTORS)
> Expected failure: packages.impure.lisp / USE-PACKAGE-CONFLICT-SET
> Expected failure: packages.impure.lisp / IMPORT-SINGLE-CONFLICT
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> (50 tests skipped for this combination of platform and features)
> ok
> //apparent success (reached end of run-tests.sh normally)
>
> 1.1.8 macppc:
> =============
> Finished running tests.
> Status:
> Expected failure: character.pure.lisp / (CASE-INSENSITIVE-CHAR-COMPARISONS
> EXHAUSTIVE)
> Unexpected success: compiler.pure.lisp /
> FOLD-INDEX-ADDRESSING-POSITIVE-OFFSET
> Expected failure: float.pure.lisp / (ADDITION-OVERFLOW BUG-372)
> Expected failure: float.pure.lisp / (ADDITION-OVERFLOW BUG-372 TAKE-2)
> Expected failure: interface.pure.lisp / (SLEEP NON-CONSING)
> Unexpected success: debug.impure.lisp / (TRACE ENCAPSULATE NIL)
> Unexpected success: debug.impure.lisp / (TRACE-RECURSIVE ENCAPSULATE NIL)
> Unexpected success: dynamic-extent.impure.lisp /
> HANDLER-CASE-BOGUS-COMPILER-NOTE
> Unexpected success: dynamic-extent.impure.lisp / DX-COMPILER-NOTES
> Unexpected success: dynamic-extent.impure.lisp / HANDLER-CASE-EATING-STACK
> Expected failure: dynamic-extent.impure.lisp / RECHECK-NESTED-DX-BUG
> Expected failure: packages.impure.lisp / USE-PACKAGE-CONFLICT-SET
> Expected failure: packages.impure.lisp / IMPORT-SINGLE-CONFLICT
> Skipped (broken): timer.impure.lisp / (TIMER PARALLEL-UNSCHEDULE)
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> (52 tests skipped for this combination of platform and features)
> ok
> //apparent success (reached end of run-tests.sh normally)
>
> 1.1.12 macppc:
> ==============
> Finished running tests.
> Status:
> Expected failure: compiler.pure.lisp / COPY-MORE-ARG
> Expected failure: float.pure.lisp / (ADDITION-OVERFLOW BUG-372)
> Expected failure: float.pure.lisp / (ADDITION-OVERFLOW BUG-372 TAKE-2)
> Unexpected success: debug.impure.lisp / (TRACE ENCAPSULATE NIL)
> Unexpected success: debug.impure.lisp / (TRACE-RECURSIVE ENCAPSULATE NIL)
> Unexpected success: dynamic-extent.impure.lisp /
> HANDLER-CASE-BOGUS-COMPILER-NOTE
> Unexpected success: dynamic-extent.impure.lisp / DX-COMPILER-NOTES
> Unexpected success: dynamic-extent.impure.lisp / HANDLER-CASE-EATING-STACK
> Expected failure: dynamic-extent.impure.lisp / RECHECK-NESTED-DX-BUG
> Expected failure: packages.impure.lisp / USE-PACKAGE-CONFLICT-SET
> Expected failure: packages.impure.lisp / IMPORT-SINGLE-CONFLICT
> Skipped (broken): timer.impure.lisp / (TIMER PARALLEL-UNSCHEDULE)
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> Expected failure: walk.impure.lisp / (WALK-LET* HAIRY-SPECIALS)
> (54 tests skipped for this combination of platform and features)
> ok
> //apparent success (reached end of run-tests.sh normally)
>
>
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/lang/sbcl/Makefile,v
> retrieving revision 1.20
> diff -u -p -r1.20 Makefile
> --- Makefile 15 Sep 2013 16:34:00 -0000 1.20
> +++ Makefile 9 Oct 2013 07:03:38 -0000
> @@ -5,8 +5,7 @@ ONLY_FOR_ARCHS = amd64 i386 powerpc
>
> COMMENT= compiler and runtime system for ANSI Common Lisp
>
> -V = 1.1.8
> -REVISION= 0
> +V = 1.1.12
> DISTNAME= sbcl-${V}-source
> PKGNAME= sbcl-${V}
> WRKDIST= ${WRKDIR}/sbcl-${V}
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/lang/sbcl/distinfo,v
> retrieving revision 1.9
> diff -u -p -r1.9 distinfo
> --- distinfo 26 Jun 2013 17:44:03 -0000 1.9
> +++ distinfo 9 Oct 2013 07:08:14 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (sbcl-1.1.8-source.tar.bz2) =
> N8pU0Bj0nAleC/V1wurIJdzkhYmp3hrHv661JaK+rLo=
> -SIZE (sbcl-1.1.8-source.tar.bz2) = 4108784
> +SHA256 (sbcl-1.1.12-source.tar.bz2) =
> jJQSy9tgG2Nv8+PHkIykbZ2X3P7ewz62NNsTEi81dFc=
> +SIZE (sbcl-1.1.12-source.tar.bz2) = 4217764
> Index: patches/patch-contrib_sb-posix_constants_lisp
> ===================================================================
> RCS file: patches/patch-contrib_sb-posix_constants_lisp
> diff -N patches/patch-contrib_sb-posix_constants_lisp
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-contrib_sb-posix_constants_lisp 16 Sep 2013 10:51:21
> -0000
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- contrib/sb-posix/constants.lisp.orig Wed Aug 28 15:17:08 2013
> ++++ contrib/sb-posix/constants.lisp Mon Sep 16 12:51:16 2013
> +@@ -419,7 +419,7 @@
> + (:structure alien-timeval
> + ("struct timeval"
> + (time-t sec "time_t" "tv_sec")
> +- (suseconds-t usec "suseconds_t" "tv_usec")))
> ++ (long usec "long" "tv_usec")))
> +
> + (:integer veof "VEOF" nil t)
> + (:integer veol "VEOL" nil t)
> Index: patches/patch-src_code_unix_lisp
> ===================================================================
> RCS file: patches/patch-src_code_unix_lisp
> diff -N patches/patch-src_code_unix_lisp
> --- patches/patch-src_code_unix_lisp 15 Sep 2013 16:34:00 -0000 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,40 +0,0 @@
> -$OpenBSD: patch-src_code_unix_lisp,v 1.1 2013/09/15 16:34:00 jca Exp $
> -
> -Cope with 64-bit time_t.
> -
> ---- src/code/unix.lisp.orig Sun Jun 2 15:12:40 2013
> -+++ src/code/unix.lisp Sun Sep 15 14:17:59 2013
> -@@ -215,16 +215,19 @@ corresponds to NAME, or NIL if there is none."
> - (tv-sec time-t) ; seconds
> - (tv-usec suseconds-t))) ; and microseconds
> -
> --;; The above definition doesn't work on 64-bit OpenBSD platforms.
> --;; Both tv_sec and tv_usec are declared as long instead of time_t, and
> --;; time_t is a typedef for int.
> --#!+(or openbsd netbsd)
> -+;; The following definition was used on OpenBSD pre-5.5.
> -+;; Both tv_sec and tv_usec were declared as long instead of time_t, and
> -+;; time_t was a typedef for int.
> -+;; Note: time_t is 64-bit on all architectures, starting from OpenBSD 5.5.
> -+;; FIXME: it seems recent NetBSD releases use a 64-bit time_t too.
> -+#!+netbsd
> - (define-alien-type nil
> - (struct timeval
> - (tv-sec long) ; seconds
> - (tv-usec long))) ; and microseconds
> -
> --#!+win32
> -+;; OpenBSD 5.5 uses this struct layout.
> -+#!+(or win32 openbsd)
> - (define-alien-type nil
> - (struct timeval
> - (tv-sec time-t) ; seconds
> -@@ -948,6 +951,8 @@ avoiding atexit(3) hooks, etc. Otherwise exit(2) is ca
> - ;; Just as with struct timeval, 64-bit OpenBSD has problems with the
> - ;; above definition. tv_sec is declared as time_t instead of long,
> - ;; and time_t is a typedef for int.
> -+;; Note: time_t is 64-bit on all architectures, starting from OpenBSD 5.5
> -+;; FIXME: it seems recent NetBSD releases use a 64-bit time_t too.
> - #!+(or openbsd netbsd)
> - (define-alien-type nil
> - (struct timespec
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/lang/sbcl/pkg/PLIST,v
> retrieving revision 1.6
> diff -u -p -r1.6 PLIST
> --- pkg/PLIST 4 Jan 2012 20:16:43 -0000 1.6
> +++ pkg/PLIST 9 Oct 2013 11:55:57 -0000
> @@ -24,6 +24,7 @@ lib/sbcl/sb-aclrepl/repl.fasl
> lib/sbcl/sb-aclrepl/repl.lisp
> lib/sbcl/sb-aclrepl/sb-aclrepl.asd
> lib/sbcl/sb-aclrepl/sb-aclrepl.fasl
> +lib/sbcl/sb-aclrepl/tests.fasl
> lib/sbcl/sb-aclrepl/tests.lisp
> lib/sbcl/sb-aclrepl/toplevel.fasl
> lib/sbcl/sb-aclrepl/toplevel.lisp
> @@ -48,6 +49,7 @@ lib/sbcl/sb-bsd-sockets/sockopt.fasl
> lib/sbcl/sb-bsd-sockets/sockopt.lisp
> lib/sbcl/sb-bsd-sockets/split.fasl
> lib/sbcl/sb-bsd-sockets/split.lisp
> +lib/sbcl/sb-bsd-sockets/tests.fasl
> lib/sbcl/sb-bsd-sockets/tests.lisp
> lib/sbcl/sb-bsd-sockets/win32-constants.lisp
> lib/sbcl/sb-bsd-sockets/win32-lib.lisp
> @@ -63,8 +65,11 @@ lib/sbcl/sb-cltl2/macroexpand.fasl
> lib/sbcl/sb-cltl2/macroexpand.lisp
> lib/sbcl/sb-cltl2/sb-cltl2.asd
> lib/sbcl/sb-cltl2/sb-cltl2.fasl
> +lib/sbcl/sb-cltl2/tests.fasl
> lib/sbcl/sb-cltl2/tests.lisp
> lib/sbcl/sb-concurrency/
> +lib/sbcl/sb-concurrency/frlock.fasl
> +lib/sbcl/sb-concurrency/frlock.lisp
> lib/sbcl/sb-concurrency/gate.fasl
> lib/sbcl/sb-concurrency/gate.lisp
> lib/sbcl/sb-concurrency/mailbox.fasl
> @@ -80,12 +85,23 @@ lib/sbcl/sb-cover/cover.fasl
> lib/sbcl/sb-cover/cover.lisp
> lib/sbcl/sb-cover/sb-cover.asd
> lib/sbcl/sb-cover/sb-cover.fasl
> +lib/sbcl/sb-cover/test-data-1.fasl
> lib/sbcl/sb-cover/test-data-1.lisp
> +lib/sbcl/sb-cover/test-data-2.fasl
> lib/sbcl/sb-cover/test-data-2.lisp
> +lib/sbcl/sb-cover/test-data-3.fasl
> lib/sbcl/sb-cover/test-data-3.lisp
> +lib/sbcl/sb-cover/tests.fasl
> lib/sbcl/sb-cover/tests.lisp
> lib/sbcl/sb-executable/
> lib/sbcl/sb-executable/sb-executable.fasl
> +lib/sbcl/sb-gmp/
> +lib/sbcl/sb-gmp/gmp.fasl
> +lib/sbcl/sb-gmp/gmp.lisp
> +lib/sbcl/sb-gmp/sb-gmp.asd
> +lib/sbcl/sb-gmp/sb-gmp.fasl
> +lib/sbcl/sb-gmp/tests.fasl
> +lib/sbcl/sb-gmp/tests.lisp
> lib/sbcl/sb-grovel/
> lib/sbcl/sb-grovel/def-to-lisp.fasl
> lib/sbcl/sb-grovel/def-to-lisp.lisp
> @@ -102,11 +118,16 @@ lib/sbcl/sb-introspect/introspect.lisp
> lib/sbcl/sb-introspect/load-test.lisp
> lib/sbcl/sb-introspect/sb-introspect.asd
> lib/sbcl/sb-introspect/sb-introspect.fasl
> +lib/sbcl/sb-introspect/test-driver.fasl
> lib/sbcl/sb-introspect/test-driver.lisp
> +lib/sbcl/sb-introspect/test.fasl
> lib/sbcl/sb-introspect/test.lisp
> +lib/sbcl/sb-introspect/xref-test-data.fasl
> lib/sbcl/sb-introspect/xref-test-data.lisp
> +lib/sbcl/sb-introspect/xref-test.fasl
> lib/sbcl/sb-introspect/xref-test.lisp
> lib/sbcl/sb-md5/
> +lib/sbcl/sb-md5/md5-tests.fasl
> lib/sbcl/sb-md5/md5-tests.lisp
> lib/sbcl/sb-md5/md5.fasl
> lib/sbcl/sb-md5/md5.lisp
> @@ -123,6 +144,7 @@ lib/sbcl/sb-posix/interface.fasl
> lib/sbcl/sb-posix/interface.lisp
> lib/sbcl/sb-posix/macros.fasl
> lib/sbcl/sb-posix/macros.lisp
> +lib/sbcl/sb-posix/posix-tests.fasl
> lib/sbcl/sb-posix/posix-tests.lisp
> lib/sbcl/sb-posix/sb-posix.asd
> lib/sbcl/sb-posix/sb-posix.fasl
> @@ -137,6 +159,7 @@ lib/sbcl/sb-rotate-byte/compiler.lisp
> lib/sbcl/sb-rotate-byte/package.fasl
> lib/sbcl/sb-rotate-byte/package.lisp
> lib/sbcl/sb-rotate-byte/ppc-vm.lisp
> +lib/sbcl/sb-rotate-byte/rotate-byte-tests.fasl
> lib/sbcl/sb-rotate-byte/rotate-byte-tests.lisp
> lib/sbcl/sb-rotate-byte/rotate-byte.fasl
> lib/sbcl/sb-rotate-byte/rotate-byte.lisp
> @@ -170,6 +193,7 @@ lib/sbcl/sb-simple-streams/package.fasl
> lib/sbcl/sb-simple-streams/package.lisp
> lib/sbcl/sb-simple-streams/sb-simple-streams.asd
> lib/sbcl/sb-simple-streams/sb-simple-streams.fasl
> +lib/sbcl/sb-simple-streams/simple-stream-tests.fasl
> lib/sbcl/sb-simple-streams/simple-stream-tests.lisp
> lib/sbcl/sb-simple-streams/socket.fasl
> lib/sbcl/sb-simple-streams/socket.lisp