On Sat, 19 Feb 2022 12:29:18 +0100 Omar Polo <o...@openbsd.org> wrote:
> Hello, > > please find attached a trivial diff to update lang/sbcl to the latest > version, 2.2.1 release the last January 30. > > The changelog is here: http://www.sbcl.org/news.html#2.2.1 > > `make test' seems just like the current version, I'm typing this mail > from stumpwm built with sbcl-threads, and I've also tested a couple of > other programs that ends up using various libraries from quicklisp with > success. > > OK/comments? I have a problem: if devel/capstone/main is installed, then sbcl fails to build on powerpc. This happens with sbcl-2.1.11 or sbcl-2.2.1. sbcl doesn't depend on capstone, and doesn't need capstone to build contrib/sb-capstone, but does try to test sb-capstone during the build. If libcapstone.so is missing, then sbcl skips the test. If libcapstone.so is found, then the test crashes, so the build fails. An installed capstone broke sbcl-2.1.11 in the ongoing powerpc bulk; I told the bulk to retry sbcl; it succeeded after removing capstone. contrib might also try to open libmpfr.so (devel/mpfr) and libgmp.so (devel/gmp), but both of these are somewhere in sbcl's build dependencies. The fix might be to disable the test, but I have not yet tried this. The build failure in sbcl-2.2.1 is, Doing 3 pending tests of 3 tests total. CORRUPTION WARNING in SBCL pid 41036: Memory fault at 0x0 (pc=0xb96bb61c) The integrity of this image is possibly compromised. Exiting. 0: [I*]0x9361bda0 pc=0xb96bb61c {0x50c37288+68a84394} {code_serialno=9970} 1: [*] 0x9361bd80 pc=0x50c374b8 {0x50c37288+0230} SB-CAPSTONE::CS-OPEN ... gmake[1]: *** [../asdf-module.mk:41: test] Error 1 gmake[1]: Leaving directory '/usr/ports/pobj/sbcl-2.2.1/sbcl-2.2.1/contrib/sb-capstone' sh ./build-contrib sb-rotate-byte gmake[1]: Entering directory '/usr/ports/pobj/sbcl-2.2.1/sbcl-2.2.1/contrib/sb-rotate-byte' ... * gmake[1]: Leaving directory '/usr/ports/pobj/sbcl-2.2.1/sbcl-2.2.1/contrib/sb- graph' gmake: Leaving directory '/usr/ports/pobj/sbcl-2.2.1/sbcl-2.2.1/contrib' WARNING! Some of the contrib modules did not build successfully or pass their self-tests. Failed contribs:" sb-capstone *** Error 1 in . (Makefile:95 'do-build') --George > Cheers > > > Index: Makefile > =================================================================== > RCS file: /home/cvs/ports/lang/sbcl/Makefile,v > retrieving revision 1.47 > diff -u -p -r1.47 Makefile > --- Makefile 31 Dec 2021 09:53:11 -0000 1.47 > +++ Makefile 18 Feb 2022 16:59:18 -0000 > @@ -25,7 +25,7 @@ USE_WXNEEDED = Yes > > COMMENT= compiler and runtime system for ANSI Common Lisp > > -V = 2.1.11 > +V = 2.2.1 > DISTNAME= sbcl-${V}-source > PKGNAME= sbcl-${V} > WRKDIST= ${WRKDIR}/sbcl-${V} > Index: distinfo > =================================================================== > RCS file: /home/cvs/ports/lang/sbcl/distinfo,v > retrieving revision 1.21 > diff -u -p -r1.21 distinfo > --- distinfo 31 Dec 2021 09:53:11 -0000 1.21 > +++ distinfo 18 Feb 2022 16:59:50 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (sbcl-2.1.11-source.tar.bz2) = > v8FIHef9vfru8qsPDo6E79NDQz3qjSHPvqiwFGy9/v0= > -SIZE (sbcl-2.1.11-source.tar.bz2) = 6687529 > +SHA256 (sbcl-2.2.1-source.tar.bz2) = > Xdbm4/CLfG7fJioOhEqfi15WLMoIFVA0wfLAFPyQh9o= > +SIZE (sbcl-2.2.1-source.tar.bz2) = 6701705 > -- George Koehler <kern...@gmail.com>