Yeap, adding wxallowed to mount options fixed the build process.

So here's an update to sbcl port to latest release.
Quickly tested on amd64. Quicklisp works and loads libraries, threads seem to be
enabled.

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/sbcl/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile    2 Nov 2016 13:26:07 -0000       1.29
+++ Makefile    1 Feb 2017 15:57:04 -0000
@@ -6,7 +6,7 @@ USE_WXNEEDED =          Yes
 
 COMMENT=               compiler and runtime system for ANSI Common Lisp
 
-V =                    1.3.10
+V =                    1.3.14
 DISTNAME=              sbcl-${V}-source
 PKGNAME=               sbcl-${V}
 WRKDIST=               ${WRKDIR}/sbcl-${V}
@@ -35,7 +35,7 @@ EXTRA_PARAMS=
 .if ${FLAVOR:Mthreads}
 # XXX
 BROKEN-powerpc=                no support yet
-EXTRA_PARAMS+=         --with-sb-threads
+EXTRA_PARAMS+=         --with-sb-thread
 .endif
 
 .if ${FLAVOR:Mnative_bootstrap}
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/sbcl/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo    2 Nov 2016 13:26:07 -0000       1.13
+++ distinfo    1 Feb 2017 15:57:04 -0000
@@ -1,2 +1,2 @@
-SHA256 (sbcl-1.3.10-source.tar.bz2) = 
SlZ6rZGzFsIut1bdjlAs/ZqVpMZg+x+i6x5Q4Am4V3c=
-SIZE (sbcl-1.3.10-source.tar.bz2) = 5763563
+SHA256 (sbcl-1.3.14-source.tar.bz2) = 
v5Y9WFM9g563aoAoq9FwcXCNlk1dzgd4eDnPttDW3Mo=
+SIZE (sbcl-1.3.14-source.tar.bz2) = 5784135


Timo

Solene Rapenne <sol...@perso.pw> writes:

> Hello 
>
> You need to have wxallowed mount flag on the building filesystem in order to 
> build sbcl.
>
> Indeed the flag had an extra s in the makefile. It's a mistake of mine...
>
> https://github.com/sbcl/sbcl/blob/master/INSTALL
>
>
>
> Le 1 février 2017 05:50:44 GMT+01:00, timo.my...@wickedbsd.net a écrit :
>>Hi,
>>
>>I noticed that the thread support in sbcl isn't working at all.
>>Seems that the ports Makefile passes wrong configure flag and needs
>>following
>>tweak:
>>
>>Index: Makefile
>>===================================================================
>>RCS file: /cvs/ports/lang/sbcl/Makefile,v
>>retrieving revision 1.29
>>diff -w -u -b -r1.29 Makefile
>>--- Makefile    2 Nov 2016 13:26:07 -0000       1.29
>>+++ Makefile    1 Feb 2017 04:34:35 -0000
>>@@ -11,6 +11,7 @@
>> PKGNAME=               sbcl-${V}
>> WRKDIST=               ${WRKDIR}/sbcl-${V}
>> EXTRACT_SUFX=          .tar.bz2
>>+REVISION=              0
>> 
>> CATEGORIES=            lang
>> HOMEPAGE=              http://www.sbcl.org/
>>@@ -35,7 +36,7 @@
>> .if ${FLAVOR:Mthreads}
>> # XXX
>> BROKEN-powerpc=                no support yet
>>-EXTRA_PARAMS+=         --with-sb-threads
>>+EXTRA_PARAMS+=         --with-sb-thread
>> .endif
>> 
>>
>>Though I haven't been able to verify that the above actually works as I
>>hit
>>following error when I try to build sbcl.
>>
>>...
>>gmake: Entering directory
>>'/usr/ports/pobj/sbcl-1.3.10-threads-native_bootstrap/sbcl-1.3.10/tools-for-build'
>>cc -O2 -pipe -fno-omit-frame-pointer -fno-pie -I../src/runtime -nopie 
>>determine-endianness.c   -lutil -o determine-endianness
>>gmake: Leaving directory
>>'/usr/ports/pobj/sbcl-1.3.10-threads-native_bootstrap/sbcl-1.3.10/tools-for-build'
>>make-config.sh[760]: tools-for-build/determine-endianness: Permission
>>denied
>>*** Error 1 in . (Makefile:73 'do-build')
>>*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2683
>>'/usr/ports/pobj/sbcl-1.3.10-threads-native_bootstrap/.build_done')
>>*** Error 1 in /usr/ports/lang/sbcl
>>(/usr/ports/infrastructure/mk/bsd.port.mk:2389 'all')
>>...
>>
>>I'm pretty suprised why I don't have permissions to run that. If I
>>manually
>>change to that dir and compile the file manually things work.
>>
>>tmy@phobos sbcl $ cd
>>/usr/ports/pobj/sbcl-1.3.14-threads-native_bootstrap/sbcl-1.3.14/tools-for-build
>>    
>>tmy@phobos tools-for-build $ cc -O2 -pipe -fno-omit-frame-pointer
>>-I../src/runtime   determine-endianness.c   -lutil -o
>>determine-endianness 
>>tmy@phobos tools-for-build $ ./determine-endianness                    
>>                            :little-endiantmy@phobos tools-for-build $ 
>>
>>Is the SBCL build process doing something else behind the scenes or
>>what?
>>Anyone else seeing this?
>>
>>Timo

-- 
Shut up and hack!

Reply via email to