Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccl failed in OS X 10.14 Mojave. #150

Closed
ijitai opened this issue Sep 28, 2018 · 34 comments

Comments

@ijitai
Copy link

commented Sep 28, 2018

AltConsole broke down.

@qzivli

This comment has been minimized.

Copy link

commented Sep 28, 2018

Could you please post more information about this? I use macOS 10.14 too, meet an issue, maybe same as yours:

$ ccl --load quicklisp.lisp 
sigreturn returned
? for help
[3835] Clozure CL kernel debugger: 

(The ccl is my alias to dx86cl64)

@xrme

This comment has been minimized.

Copy link
Member

commented Sep 28, 2018

@qzivli your problem is #146

@ijitai

This comment has been minimized.

Copy link
Author

commented Sep 28, 2018

the same:
sigreturn returned ? for help [2128] Clozure CL kernel debugger:

@ijitai

This comment has been minimized.

Copy link
Author

commented Sep 30, 2018

Fixed. Follow the approach xrme #146 . Rebuild full clean ccl64.
It seems that ccl64 IDE doesn't accept mojave' dark mode: Cursor disappeared unless background color changes dark color.

@jdtw

This comment has been minimized.

Copy link

commented Oct 13, 2018

If the only machine I have at the moment is on 10.14, what are my options for doing the rebuild? Would it be possible to release a new dev snapshot with the fix?

@xrme

This comment has been minimized.

Copy link
Member

commented Oct 13, 2018

Until I can make a new snapshot or even a new release (soon I hope), you can get a 1.12 snapshot.

https://github.com/Clozure/ccl/releases/tag/v1.12-dev.1

The lisp kernel in that snapshot won't work, so you need to recompile it locally. Go to lisp-kernel/darwinx8664 and then do "make clean && make" and that should get you a working lisp kernel binary (i.e., a dx86cl64 binary). You can then start the lisp and evaluate (rebuild-ccl :full t) as normal.

@jdtw

This comment has been minimized.

Copy link

commented Oct 13, 2018

Thanks for spelling it out for me @xrme! I'm up and running now.

@informatimago

This comment has been minimized.

Copy link

commented Oct 27, 2018

The current release doesn't work on Mojave:

[pjb@despina org.macports:0 src]$ distribution
Darwin apple 18.0.0 Mojave OS_X_v10.14
[pjb@despina org.macports:0 src]$ tar zxf ccl-1.11.5-darwinx86.tar.gz
[pjb@despina org.macports:0 src]$ rm -rf ccl-1.11.5/
[pjb@despina org.macports:0 src]$ mv ccl ccl-1.11.5
[pjb@despina org.macports:0 src]$ ln -s ccl-1.11.5 ccl
[pjb@despina org.macports:0 src]$ ccl -n
Clozure Common Lisp Version 1.11.5/v1.11.5  (DarwinX8664)

For more information about CCL, please see http://ccl.clozure.com.

CCL is free software.  It is distributed under the terms of the Apache
Licence, Version 2.0.
? (ccl:rebuild-ccl :full t)
Rebuilding Clozure Common Lisp using Version 1.11.5/v1.11.5  (DarwinX8664)
;Compiling "/usr/local/src/ccl-1.11.5/lib/systems.lisp"...
;Loading #P"/usr/local/src/ccl/bin/systems.dx64fsl"...sigreturn returned
? for help
[29338] Clozure CL kernel debugger: B
current thread: tcr = 0x103010, native thread ID = 0x307, interrupts enabled


(#x0000000000647EE0) #x00003000004794E4 : #<Function %NANOSLEEP #x00003000004791EF> + 757
(#x0000000000647F68) #x0000300000486DBC : #<Function HOUSEKEEPING-LOOP #x0000300000486BDF> + 477
(#x0000000000647FB8) #x0000300000487384 : #<Function (:INTERNAL (TOPLEVEL-FUNCTION (LISP-DEVELOPMENT-SYSTEM T))) #x000030000048727F> + 261
[29338] Clozure CL kernel debugger: K
Killed: 9
[pjb@despina org.macports:0 src]$ 

I recompiled 1.11.5 on HighSierra successfully, but it still doesn't work on Mojave:

[pjb@despina org.macports:0 ccl-1.11.5]$ distribution
Darwin apple 18.0.0 Mojave OS_X_v10.14
[pjb@despina org.macports:0 ccl-1.11.5]$ ccl -n
Clozure Common Lisp Version 1.11.5/v1.11.5  (DarwinX8664)

For more information about CCL, please see http://ccl.clozure.com.

CCL is free software.  It is distributed under the terms of the Apache
Licence, Version 2.0.
? (ccl:rebuild-ccl :full t)
Rebuilding Clozure Common Lisp using Version 1.11.5/v1.11.5  (DarwinX8664)
;Compiling "/usr/local/src/ccl-1.11.5/lib/systems.lisp"...
;Loading #P"/usr/local/src/ccl/bin/systems.dx64fsl"...sigreturn returned
? for help
[27517] Clozure CL kernel debugger: B
current thread: tcr = 0x400500, native thread ID = 0x307, interrupts enabled


(#x000000000074BEE0) #x0000300000479C24 : #<Function %NANOSLEEP #x000030000047992F> + 757
(#x000000000074BF68) #x00003000004874FC : #<Function HOUSEKEEPING-LOOP #x000030000048731F> + 477
(#x000000000074BFB8) #x0000300000487AC4 : #<Function (:INTERNAL (TOPLEVEL-FUNCTION (LISP-DEVELOPMENT-SYSTEM T))) #x00003000004879BF> + 261
[27517] Clozure CL kernel debugger: K
Killed: 9
[pjb@despina org.macports:0 ccl-1.11.5]$ 

And the same with 1.12-dev.3, compiled on HighSierra, when run on Mojave:


[pjb@despina org.macports:0 src]$ ccl --version
Version 1.11.5 (v1.11.5-12-g071e85a7) DarwinX8664
[pjb@despina org.macports:0 src]$ ccl -n
Clozure Common Lisp Version 1.11.5 (v1.11.5-12-g071e85a7) DarwinX8664

For more information about CCL, please see http://ccl.clozure.com.

CCL is free software.  It is distributed under the terms of the Apache
Licence, Version 2.0.
? (ccl:rebuild-ccl :full t)
sigreturn returned
? for help
[31228] Clozure CL kernel debugger: B
current thread: tcr = 0x400510, native thread ID = 0x307, interrupts enabled


(#x000000000074BEE0) #x0000300000479E54 : #<Function %NANOSLEEP #x0000300000479B5F> + 757
(#x000000000074BF68) #x000030000048772C : #<Function HOUSEKEEPING-LOOP #x000030000048754F> + 477
(#x000000000074BFB8) #x0000300000487CF4 : #<Function (:INTERNAL (TOPLEVEL-FUNCTION (LISP-DEVELOPMENT-SYSTEM T))) #x0000300000487BEF> + 261
[31228] Clozure CL kernel debugger: K
Killed: 9
[pjb@despina org.macports:0 src]$ 

With register dumps:

[pjb@despina org.macports:0 ccl-1.12-dev.3-git]$ ccl -n
Clozure Common Lisp Version 1.11.5 (v1.11.5-12-g071e85a7) DarwinX8664

For more information about CCL, please see http://ccl.clozure.com.

CCL is free software.  It is distributed under the terms of the Apache
Licence, Version 2.0.
? (lisp-implementation-version)
"Version 1.11.5 (v1.11.5-12-g071e85a7) DarwinX8664"
? (quit)
sigreturn returned
? for help
[31574] Clozure CL kernel debugger: ?
(G)  Set specified GPR to new value
(R)  Show raw GPR/SPR register values
(L)  Show Lisp values of tagged registers
(F)  Show FPU registers
(S)  Find and describe symbol matching specified name
(B)  Show backtrace
(T)  Show info about current thread
(M)  Show memory areas
(X)  Exit from this debugger, asserting that any exception was handled
(P)  Propagate the exception to another handler (debugger or OS)
(K)  Kill Clozure CL process
(V)  Show Subversion revision information
(?)  Show this help

[31574] Clozure CL kernel debugger: R
%rax = 0x0000000000000004      %r8  = 0x00000000002792b6
%rcx = 0x00007ffeefbfd958      %r9  = 0x00007fff9a3d1ea0
%rdx = 0x0000000000001000      %r10 = 0x0000000000000009
%rbx = 0x00007fff9a3d2110      %r11 = 0x0000000000000206
%rsp = 0x00007ffeefbfd958      %r12 = 0x0000000000000017
%rbp = 0x00007ffeefbfd970      %r13 = 0x000000000003b631
%rsi = 0x0000000002000000      %r14 = 0x00007fff9a3d2110
%rdi = 0x0000000000000000      %r15 = 0x0000000000000000
%rip = 0x00007fff6846db9e   %rflags = 0x00000207
[31574] Clozure CL kernel debugger: F
f00: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f01: 0x0000ffff (9.183409e-41), 0x000000000000ffff (3.237859e-319)
f02: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f03: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f04: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f05: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f06: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f07: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f08: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f09: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f10: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f11: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f12: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f13: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f14: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f15: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
mxcsr = 0x00001f80
[31574] Clozure CL kernel debugger: B
current thread: tcr = 0x4003b0, native thread ID = 0x307, interrupts enabled


(#x000000000074BEE0) #x0000300000479E54 : #<Function %NANOSLEEP #x0000300000479B5F> + 757
(#x000000000074BF68) #x000030000048772C : #<Function HOUSEKEEPING-LOOP #x000030000048754F> + 477
(#x000000000074BFB8) #x0000300000487CF4 : #<Function (:INTERNAL (TOPLEVEL-FUNCTION (LISP-DEVELOPMENT-SYSTEM T))) #x0000300000487BEF> + 261
[31574] Clozure CL kernel debugger: T
Current Thread Context Record (tcr) = 0x4003b0
Control (C) stack area:  low = 0x7ffeef99c000, high = 0x7ffeefbfe6f8
Value (lisp) stack area: low = 0x500000, high = 0x74c000
Exception stack pointer = 0x7ffeefbfd958
[31574] Clozure CL kernel debugger: P
[31574] Clozure CL kernel debugger: K
Killed: 9
[pjb@despina org.macports:0 ccl-1.12-dev.3-git]$ 
@xrme

This comment has been minimized.

Copy link
Member

commented Oct 27, 2018

@informatimago I do not see from your pasted transcripts that you were actually using 1.12-dev.

It's true that 1.11.5 won't run on Mojave, but the 1.12 development branch does. I'm working on a 1.12 release.

@informatimago

This comment has been minimized.

Copy link

commented Oct 28, 2018

The last one, with the register dumps is 1.12-dev.3.

@informatimago

This comment has been minimized.

Copy link

commented Oct 28, 2018

I checked out the sources of 1.12-dev.1 from git, downloaded and unpacked the binaries, and recompiled the kernel, and we still get the sigreturn returned on (quit) (or anything more complex than a simple arithemtic operation, such as rebuild):

[pjb@despina org.macports:0 src]$ cd ccl-git
[pjb@despina org.macports:0 ccl-git]$ git status
HEAD detached at v1.12-dev.1
nothing to commit, working tree clean
[pjb@despina org.macports:0 ccl-git]$ ccl --version
Version 1.12-dev/v1.12-dev.1  (DarwinX8664)
[pjb@despina org.macports:0 ccl-git]$ make -C  lisp-kernel/darwinx8664 
make: Entering directory '/usr/local/src/ccl-git/lisp-kernel/darwinx8664'
make: Nothing to be done for 'all'.
make: Leaving directory '/usr/local/src/ccl-git/lisp-kernel/darwinx8664'
[pjb@despina org.macports:0 ccl-git]$ make -C  lisp-kernel/darwinx8664  clean all > /tmp/ccl.log ; echo status = $?
status = 0
[pjb@despina org.macports:0 ccl-git]$ ccl -n
Clozure Common Lisp Version 1.12-dev/v1.12-dev.1  (DarwinX8664)

For more information about CCL, please see http://ccl.clozure.com.

CCL is free software.  It is distributed under the terms of the Apache
Licence, Version 2.0.
? (+ 1 2)
3
? (* 3 4)
12
? (quit)
sigreturn returned
? for help
[54723] Clozure CL kernel debugger: R
%rax = 0x0000000000000004      %r8  = 0x0000000000000000
%rcx = 0x00007ffeefbfe5c8      %r9  = 0x0000000013ab6680
%rdx = 0x0000000000000001      %r10 = 0x0000000000000001
%rbx = 0x0000000000000000      %r11 = 0x0000000000000246
%rsp = 0x00007ffeefbfe5c8      %r12 = 0x0000000000000150
%rbp = 0x00007ffeefbfe600      %r13 = 0x00003000004afb4f
%rsi = 0x0000000000000000      %r14 = 0x00007ffeefbfe640
%rdi = 0x0000000000001403      %r15 = 0x00007ffeefbfe680
%rip = 0x00007fff68470876   %rflags = 0x00000247
[54723] Clozure CL kernel debugger: F
f00: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f01: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f02: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f03: 0x00000000 (0.000000e+00), 0x0000ff0000000000 (1.385239e-309)
f04: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f05: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
f06: 0x4adb78fd (7.191678e+06), 0xe7457e724adb78fd (-2.992700e+189)
f07: 0x8f724c21 (-1.194618e-29), 0xa3aae32c8f724c21 (-7.225049e-137)
f08: 0x13f7d12b (6.255782e-27), 0x5f22fd7113f7d12b (1.942553e+150)
f09: 0xa922a2f7 (-3.611258e-14), 0xf6005f86a922a2f7 (-2.517436e+260)
f10: 0xdd88e0ac (-1.232884e+18), 0x785709efdd88e0ac (4.868512e+271)
f11: 0x0b285f50 (3.242733e-32), 0x737f56bf0b285f50 (2.191187e+248)
f12: 0xf72defee (-3.527866e+33), 0x8452b951f72defee (-7.685297e-288)
f13: 0x5803cbb5 (5.796438e+14), 0xdc5172e45803cbb5 (-5.072984e+136)
f14: 0x90845ebe (-5.221079e-29), 0x4cd52c5a90845ebe (1.360964e+62)
f15: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00)
mxcsr = 0x00001920
[54723] Clozure CL kernel debugger: T
Current Thread Context Record (tcr) = 0x300660
Control (C) stack area:  low = 0x7ffeef99c000, high = 0x7ffeefbfe708
Value (lisp) stack area: low = 0x1800000, high = 0x1a4c000
Exception stack pointer = 0x7ffeefbfe5c8
[54723] Clozure CL kernel debugger: B
current thread: tcr = 0x300660, native thread ID = 0x307, interrupts enabled


(#x0000000001A4BEF8) #x00003000004AFE34 : #<Function %NANOSLEEP #x00003000004AFB4F> + 741
(#x0000000001A4BF78) #x00003000004D957C : #<Function HOUSEKEEPING-LOOP #x00003000004D934F> + 557
(#x0000000001A4BFB8) #x00003000004D9B5C : #<Function (:INTERNAL (TOPLEVEL-FUNCTION (LISP-DEVELOPMENT-SYSTEM T))) #x00003000004D9A4F> + 269
[54723] Clozure CL kernel debugger: K
Killed: 9
[pjb@despina org.macports:0 ccl-git]$ distribution
Darwin apple 18.0.0 Mojave OS_X_v10.14
[pjb@despina org.macports:0 ccl-git]$ 
  System Version:	macOS 10.14 (18A391)
  Kernel Version:	Darwin 18.0.0
@xrme

This comment has been minimized.

Copy link
Member

commented Oct 28, 2018

Your git checkout needs to be at the tip of master (or at least 212c254), or it won't include the necessary fix for the "sigreturn returned" problem.

@informatimago

This comment has been minimized.

Copy link

commented Oct 28, 2018

@xrme Ah! Great! Indeed, the tip of master works nicely! Thank you very much.

@abishek

This comment has been minimized.

Copy link

commented Nov 13, 2018

I have the same issue too. How do I rebuild the image? Any prebuilt ccl binary fails with sigreturn when I try to rebuild. I have access to only a OSX Mojave machine!

@kdesmedt

This comment has been minimized.

Copy link

commented Nov 13, 2018

Meanwhile, if you don't need the UI, you can still run CCL in a terminal window, by invoking the script directly, for instance,
/Applications/ccl/scripts/ccl64
You can, of course, also invoke this in Emacs, for instance, with the command run-lisp, if this is set up with:
(setq inferior-lisp-program "/Applications/ccl/scripts/ccl64")

@informatimago

This comment has been minimized.

Copy link

commented Nov 13, 2018

@abishek the usual : ccl —no-init
(ccl::rebuild-ccl :full t)

@abishek

This comment has been minimized.

Copy link

commented Nov 13, 2018

@informatimago I am unable to do that. With the App Store App,
/Applications/Clozure\ CL.app/Contents/MacOS/dx86cl64 --no-init
fails with sigreturn returned.

If I git clone master, I am able to build the kernel, but I cannot start that kernel because I don't have the corresponding image. I am kinda stuck without any way to access CCL. Also, am a lisp newbie. So forgive me if I am not seeing something quite obvious!

@edoneel

This comment has been minimized.

Copy link

commented Nov 13, 2018

@abishek

This comment has been minimized.

Copy link

commented Nov 13, 2018

@edoneel Thanks a tonne! This one worked on my Mojave

@dimitri

This comment has been minimized.

Copy link

commented Nov 23, 2018

I updated the Homebrew formula to use the newer image, you can see it at Homebrew/homebrew-core#34416 ; and use it if you want to have brew install --HEAD clozure-cl back to working.

@xrme

This comment has been minimized.

Copy link
Member

commented Nov 24, 2018

I just made an updated snapshot release of binaries that will run on Mojave. Please see https://github.com/Clozure/ccl/releases/tag/v1.12-dev.4.

@rlevins

This comment has been minimized.

Copy link

commented Dec 3, 2018

I just made an updated snapshot release of binaries that will run on Mojave. Please see https://github.com/Clozure/ccl/releases/tag/v1.12-dev.4.

@xrme This worked great.

@edoneel the summary was much appreciated

Just updated to Mojave, and would have been dead in the water without this.

I'm running:

System Version: macOS 10.14 (18A391)
Kernel Version: Darwin 18.0.0

Will report any issues in #146

Thanks for the excellent work!

@informatimago

This comment has been minimized.

Copy link

commented Dec 5, 2018

v1.12-dev.4 works, however, the executable images produced with it crash randomly on a signal 4.
Usually, just relaunching the command will work.

Clearing Common Lisp Cache.
ccl --no-init --eval '(defparameter *configuration-pathname* #P"/opt/ianalyse-test/etc/ianalyse.conf")' --load 'generate-cic.lisp'
;;; Loading quicklisp.
;;; Quickloading system fr.sbde.smt.cic
To load "fr.sbde.smt.cic":
  Load 1 ASDF system:
    fr.sbde.smt.cic
; Loading "fr.sbde.smt.cic"
; Warning: No definition for CFLAG-VSWTC
; While executing: #<Anonymous Function #x3020012F896F>, in process listener(1).
; Warning: No definition for TTY-IUCLC
; While executing: #<Anonymous Function #x3020012F54BF>, in process listener(1).
; Warning: No definition for TTY-OLCUC
; While executing: #<Anonymous Function #x3020012F423F>, in process listener(1).
[package fr.sbde.configuration]...................
[package fr.sbde.manage.shell]....................
[package fr.sbde.manage.macos]....................
[package fr.sbde.manage.user].....................
[package fr.sbde.manage.file].....................
[package fr.sbde.smt.database.tools]..............
[package fr.sbde.smt.cic].
;;; Generating program /Users/pjb/works/sbde/smt/sources/cic
Unhandled exception 4 at 0x7fff7cafdb53, context->regs at #x7000059ae590
? for help
[23019] Clozure CL kernel debugger: sudo make install
sudo make install

 symbol name :

Symbol : at #x3020016D1C0E
  value    : :
[23019] Clozure CL kernel debugger: ?
?
(G)  Set specified GPR to new value
(R)  Show raw GPR/SPR register values
(L)  Show Lisp values of tagged registers
(F)  Show FPU registers
(S)  Find and describe symbol matching specified name
(B)  Show backtrace
(T)  Show info about current thread
(M)  Show memory areas
(X)  Exit from this debugger, asserting that any exception was handled
(P)  Propagate the exception to another handler (debugger or OS)
(K)  Kill Clozure CL process
(V)  Show Subversion revision information
(?)  Show this help
[23019] Clozure CL kernel debugger: R
R
%rax = 0xffffffffffffffff      %r8  = 0x0000000000805000
%rcx = 0x00007fff7ca5462a      %r9  = 0x00000000000185b4
%rdx = 0xffffffffffffffff      %r10 = 0x0000000000000000
%rbx = 0x0000000001219850      %r11 = 0x0000000000000247
%rsp = 0x00007000059aea60      %r12 = 0xafde0652f12d8fb2
%rbp = 0x00000000012193c0      %r13 = 0x00003000000a1c3f
%rsi = 0x000000000000001e      %r14 = 0x0000000001219888
%rdi = 0x0000000000000016      %r15 = 0x0000000000000000
%rip = 0x00007fff7cafdb53   %rflags = 0x00010206
[23019] Clozure CL kernel debugger: L
L
Unhandled exception 10 at 0x37ce5, context->regs at #x7000059adb30
Exception occurred while executing foreign code
 at sprint_lisp_object + 1045
received signal 10; faulting address: 0x18
? for help
[23019] Clozure CL kernel debugger: B
B
current thread: tcr = 0x103560, native thread ID = 0x14903, interrupts enabled


(#x00000000012198B0) #x0000000000000000 : #<Function TYPEP #x00003000000A1C3F> + 221
(#x0000000001219930) #x0000300000101494 : #<Function SIGNAL #x000030000010118F> + 773
(#x0000000001219978) #x00003000004CC6E4 : #<Function %PROCESS-RESET #x00003000004CC6AF> + 53
(#x0000000001219990) #x00003000004F569C : #<Method-Function PROCESS-INTERRUPT (PROCESS T) #x00003000004F558F> + 269
(#x00000000012199C8) #x00003000004F18A4 : #<Method-Function PROCESS-KILL (PROCESS) #x00003000004F185F> + 69
(#x00000000012199E0) #x00003000005901E4 : #<Function CALL-CHECK-REGS #x00003000005900FF> + 229
(#x0000000001219A18) #x0000300000474FDC : #<Function (:INTERNAL WITH-COMPILATION-UNIT-BODY LOAD-FROM-STREAM) #x0000300000474CCF> + 781
(#x0000000001219A90) #x0000300000473194 : #<Function CALL-WITH-COMPILATION-UNIT #x00003000004730CF> + 197
(#x0000000001219AD8) #x00003000004752D4 : #<Function LOAD-FROM-STREAM #x000030000047516F> + 357
(#x0000000001219B18) #x0000300000478954 : #<Function %LOAD #x000030000047745F> + 5365
(#x0000000001219C60) #x000030000012E5D4 : #<Function LOAD #x000030000012E15F> + 1141
(#x0000000001219D08) #x000030000061385C : #<Function (:INTERNAL LOAD-FILE STARTUP-CCL) #x000030000061368F> + 461
(#x0000000001219D50) #x00003000004ED7EC : #<Function STARTUP-CCL #x00003000004ED17F> + 1645
(#x0000000001219DB0) #x00003000004EDA74 : #<Function (:INTERNAL (TOPLEVEL-FUNCTION (LISP-DEVELOPMENT-SYSTEM T))) #x00003000004EDA2F> + 69
(#x0000000001219DD0) #x0000300000612AC4 : #<Function (:INTERNAL MAKE-MCL-LISTENER-PROCESS) #x000030000061282F> + 661
(#x0000000001219E68) #x00003000004F8AC4 : #<Function RUN-PROCESS-INITIAL-FORM #x00003000004F87DF> + 741
(#x0000000001219EF0) #x00003000004F9414 : #<Function (:INTERNAL (%PROCESS-PRESET-INTERNAL (PROCESS))) #x00003000004F91CF> + 581
(#x0000000001219F98) #x00003000004CEDA4 : #<Function (:INTERNAL THREAD-MAKE-STARTUP-FUNCTION) #x00003000004CEC8F> + 277
[23019] Clozure CL kernel debugger: K
K
make: *** [Makefile:133: cic-test] Error 255
[pjb@despina org.macports:0 sources]$ 
@marcoxa

This comment has been minimized.

Copy link

commented Jan 29, 2019

Hi guys

I am the lazy bastard here. Any ETA on an update on the Apple Store?

Cheers

MA

@xrme

This comment has been minimized.

Copy link
Member

commented Jan 29, 2019

I submitted an update to the Mac App Store, but it was rejected because CCL isn't sandboxed. I'll make another submission, but if they keep rejecting it, I'll provide a version for download on ccl.clozure.com.

@marcoxa

This comment has been minimized.

Copy link

commented Jan 29, 2019

@xrme

This comment has been minimized.

Copy link
Member

commented Jan 29, 2019

They cite one of their rules that says "New OS feature adoption must implement sandboxing."

Since this new release supports running on Mojave (even though it doesn't use any Mojave-specific features), they seem to be interpreting that as saying that CCL must now be sandboxed.

@informatimago

This comment has been minimized.

Copy link

commented Jan 29, 2019

Yes, they changed their policy, making sandboxing mandatory.

Of course, sandboxing doesn’t make a lot of sense for development environments, at least if you consider a classical unix environment.

But clearly, Apple is moving ultimately toward a capability-based OS, enforcing in the current unix-based OS the same constraints we would have in such a security-conscious capability-based OS.

While it gives us developers, and development tools developers more work, the goal of providing the all the users a secure computing platform is commendable, and it’s probably worth investing in it.

Running a new program is not anymore the simple unix compile and run. It’s compile, sign, put in a sandbox and run. Yes, it’s becoming as complex as on Multics or CICS… :-/

@svspire

This comment has been minimized.

Copy link
Contributor

commented Jan 30, 2019

This kind of nanny-state nonsense is one of the reasons I'm leaving the Apple platform. Soon it won't be possible to install any program on the Mac that did not come from the Apple store, and that's a world I don't want to be part of.

@GOFAI

This comment has been minimized.

Copy link

commented Jan 30, 2019

While sandboxing is silly for a development environment, is there a reason that CCL can't be put in a sandbox with all entitlements enabled? Or would things like file access still be too crippled in that case?

@cl4yton

This comment has been minimized.

Copy link

commented May 29, 2019

Thanks to everyone for the recommendations in this thread. I am also running Mojave (10.14.5) and I am trying to recompile the kernel following the detailed instructions provided by @edoneel . I am in the midst of the kernel rebuild -- (ccl:rebuild-ccl :full t) -- but the step for Compiling .../compiler/optimizers.lisp seems to be taking an inordinate amount of time: it has been on this step for 23 hours so far (but the process is still running).

How long is optimizers.lisp compilation expected to take?
If 23+ hours indicates a problem, are there any recommendations for debugging?

Thanks!

@xrme

This comment has been minimized.

Copy link
Member

commented May 29, 2019

@cl4yton please see https://github.com/Clozure/ccl/releases/tag/v1.12-dev.5

Use the bootstrapping binaries there, and you should be be good to go.

@xrme

This comment has been minimized.

Copy link
Member

commented May 29, 2019

Also, there's an updated CCL in the Mac App Store that works on Mojave.

I'm going to close this issue. Please make new ones if needed, everyone. Thank you.

@xrme xrme closed this May 29, 2019
@cl4yton

This comment has been minimized.

Copy link

commented Jun 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.