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

[macOS Sonoma 14.6][Arm64] Attempting to Install Lem through Roswell fails; COMPILATION ERROR in lem/detective package #1765

Open
tr0b opened this issue Feb 5, 2025 · 5 comments

Comments

@tr0b
Copy link

tr0b commented Feb 5, 2025

Architecture

  • arm64 m3 mac
  • macOS Sonoma 14.6

Issue

When I try to install Lem via roswell per the macOS instructions at Lem project page

ros follow-dependency=t install lem-project/lem

The process fails, specifically during compilation of of package lem/detective:

Error logs:

....
[package lem/detective]...
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/ring.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/ring-tmpDKS9KGUG.fasl
; compilation finished in 0:00:00.006
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/killring.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/killring-tmp3E37X9HX.fasl
; compilation finished in 0:00:00.008
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/history.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/history-tmpXPWOLC8S.fasl
; compilation finished in 0:00:00.019
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/timer.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/timer-tmpUSWNVC8E.fasl
; compilation finished in 0:00:00.021
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/command.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/command-tmp68FKQK8H.fasl
; compilation finished in 0:00:00.005
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/color.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/color-tmpMU3D23G2.fasl
; compilation finished in 0:00:00.011
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/queue.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/queue-tmpP7RRFRW4.fasl
; compilation finished in 0:00:00.011
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/hooks.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/hooks-tmp11AFZINB.fasl
; compilation finished in 0:00:00.002
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/var.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/var-tmpN84Z1F4D.fasl
; compilation finished in 0:00:00.010
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/socket.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/socket-tmpHX0IAQ8A.fasl
; compilation finished in 0:00:00.001
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/utils.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/utils-tmp8MQVZGT.fasl
; compilation finished in 0:00:00.003
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/icon.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/icon-tmp88LUAVGW.fasl
; compilation finished in 0:00:00.006
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/eastasian.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/eastasian-tmpM5RP096T.fasl
; compilation finished in 0:00:00.024
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/string-width-utils.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/string-width-utils-tmpRHTB3TH1.fasl
; compilation finished in 0:00:00.010
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/package.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/common/character/package-tmp4YJPLPB8.fasl
; compilation finished in 0:00:00.001
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/errors.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/errors-tmp6202QBVV.fasl
; compilation finished in 0:00:00.002
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/file-utils.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/file-utils-tmp8COQHEZO.fasl
; compilation finished in 0:00:00.019
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/line.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/line-tmpQYBBS7QC.fasl
; compilation finished in 0:00:00.032
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/buffer-list-manager.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/buffer-list-manager-tmpAMQ7AMSJ.fasl
; compilation finished in 0:00:00.002
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/syntax-table.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/syntax-table-tmpQSC8Z7I4.fasl
; compilation finished in 0:00:00.009
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/interrupt.lisp" (written 05 FEB 2025 03:59:41 PM):

; wrote /Users/tr0b/.cache/common-lisp/sbcl-2.5.1.roswell-macosx-arm64/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/interrupt-tmpNGMCS43U.fasl
; compilation finished in 0:00:00.001
; compiling file "/Users/tr0b/.roswell/local-projects/lem-project/lem/src/buffer/package.lisp" (written 05 FEB 2025 03:59:41 PM):
; compilation aborted after 0:00:00.001
[1/3] System 'lem' found. Loading the system..
;
; compilation unit aborted
;   caught 2 fatal ERROR conditions
[2/3] Processing build-hook..
[3/3] Attempting to install the scripts in roswell/ subdirectory of the system...
Found 5 scripts: lem-language-server lem-ncurses-ccl lem-ncurses lem-sdl2 lem
/Users/tr0b/.roswell/bin/lem-language-server
/Users/tr0b/.roswell/bin/lem-ncurses-ccl
/Users/tr0b/.roswell/bin/lem-ncurses
/Users/tr0b/.roswell/bin/lem-sdl2
/Users/tr0b/.roswell/bin/lem
@mpaulmier
Copy link

Hello, I found that it is still installed on my system even though I had the same error. I can launch lem-ncurses properly however I cannot start the sdl2 version, I get the following output:

Making core for Roswell...
building dump:/Users/Matthias.Paulmier/.roswell/impls/arm64/darwin/sbcl-bin/2.4.8/dump/lem-sdl2.core
Heap exhausted during garbage collection: 16 bytes available, 128 requested.
     | Immobile Objects |
 Gen layout symbol   code  Boxed   Cons    Raw   Code  SmMix  Mixed  LgRaw LgCode  LgMix Waste%       Alloc        Trig   Dirty GCs Mem-age
  2      0      0      0   6945    987    892    115    108    346      0      0     11    0.5   613214016   491148554    9404   1  0.7834
  3      0      0      0   4706    740    538     96     85    260     10      0     43    0.6   421787488     2000000    6478   0  0.0000
  4      0      0      0      0      0      0      0      0      0      0      0      0    0.0           0     2000000       0   0  0.0000
  5      0      0      0      0      0      0      0      0      0      0      0      0    0.0           0     2000000       0   0  0.0000
  6      0      0      0    112     48    103    184     30      5     15      0      5    3.1    31890016     2000000      13   0  0.0000
Tot      0      0      0  11763   1775   1533    395    223    611     25      0     59    0.6  1066855088 [99.4% of 1073741824 max]
GC control variables:
   *GC-INHIBIT* = true
   *GC-PENDING* = true
   *STOP-FOR-GC-PENDING* = false
Collection trigger variables:
   dynamic_space_size = 1073741824
   bytes_allocated = 1066855088
   auto_gc_trigger = 689373363
   bytes_consed_between_gcs = 53687091
fatal error encountered in SBCL pid 88836 pthread 0x1e9e2c840:
Heap exhausted, game over.

Reading '/Users/Matthias.Paulmier/.roswell/local-projects/lem-project/lem/qlfile'...
Successfully installed.
   0:     0x104d03ad0 pc=0x700305ae90 {0x700305adf0+00a0} SB-KERNEL::COLLECT-GARBAGE
   1:     0x104d039f8 pc=0x70030405b0 {0x7003040000+05b0} (FLET "WITHOUT-GCING-BODY-" :IN SB-KERNEL::SUB-GC)
   2:     0x104d03920 pc=0x7003040310 {0x7003040000+0310} (FLET "WITHOUT-INTERRUPTS-BODY-" :IN SB-KERNEL::SUB-GC)
   3:     0x104d03848 pc=0x7003040170 {0x7003040000+0170} SB-KERNEL::SUB-GC
   4:     0x104d03838 pc=0x10478c9a0
   5:     0x104d03800 pc=0x7003a997f0 {0x7003a996a0+0150} SB-C::MAKE-VOP
   6:     0x104d03758 pc=0x70039850f0 {0x7003984fe0+0110} SB-C::EMIT-VOP
   7:     0x104d03708 pc=0x700353e650 {0x700353e570+00e0} SB-C::EMIT-AND-INSERT-VOP
   8:     0x104d036a0 pc=0x7004047920 {0x7004047600+0320} SB-C::IR2-CONVERT-CONDITIONAL
   9:     0x104d03648 pc=0x7003969bf0 {0x7003969930+02c0} SB-C::IR2-CONVERT-TEMPLATE
  10:     0x104d03608 pc=0x70037b6640 {0x70037b5f60+06e0} SB-C::IR2-CONVERT-BLOCK
  11:     0x104d035e0 pc=0x70033be3a0 {0x70033be280+0120} SB-C::IR2-CONVERT
  12:     0x104d03578 pc=0x70046635a0 {0x7004663180+0420} SB-C::%COMPILE-COMPONENT
  13:     0x104d03550 pc=0x70045f1840 {0x70045f1500+0340} SB-C::COMPILE-COMPONENT
  14:     0x104d03508 pc=0x70046e5480 {0x70046e52b0+01d0} SB-C::COMPILE-TOPLEVEL
  15:     0x104d034e0 pc=0x7004696cf0 {0x7004696ad0+0220} SB-C::CONVERT-AND-MAYBE-COMPILE
  16:     0x104d03450 pc=0x70046a8840 {0x70046a8510+0330} SB-C::PROCESS-TOPLEVEL-FORM
  17:     0x104d033c0 pc=0x70046a8910 {0x70046a8510+0400} SB-C::PROCESS-TOPLEVEL-FORM
  18:     0x104d03390 pc=0x70046b85f0 {0x70046b8520+00d0} SB-C::PROCESS-TOPLEVEL-PROGN
  19:     0x104d03300 pc=0x70046a89a0 {0x70046a8510+0490} SB-C::PROCESS-TOPLEVEL-FORM
  20:     0x104d03270 pc=0x70046a8910 {0x70046a8510+0400} SB-C::PROCESS-TOPLEVEL-FORM
  21:     0x104d03178 pc=0x7004307f70 {0x70043069e0+1590} (LAMBDA (SB-KERNEL::FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-C::SUB-COMPILE-FILE)
  22:     0x104d030a8 pc=0x7003133700 {0x7003133330+03d0} SB-C::%DO-FORMS-FROM-INFO
  23:     0x104d02fc0 pc=0x7004307b80 {0x70043069e0+11a0} (LAMBDA () :IN SB-C::SUB-COMPILE-FILE)
  24:     0x104d02ef0 pc=0x70040598d0 {0x70040591d0+0700} (FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)
  25:     0x104d02d78 pc=0x7004307540 {0x70043069e0+0b60} SB-C::SUB-COMPILE-FILE
  26:     0x104d02c20 pc=0x7003b3edc0 {0x7003b3e4d0+08f0} COMPILE-FILE
  27:     0x104d02b98 pc=0x7005be65b0 {0x7005be6490+0120} UIOP/UTILITY::CALL-WITH-MUFFLED-CONDITIONS
  28:     0x104d02b68 pc=0x7005863700 {0x70058635d0+0130} UIOP/PATHNAME::CALL-WITH-ENOUGH-PATHNAME
  29:     0x104d02a78 pc=0x7005bcd660 {0x7005bcd1e0+0480} UIOP/LISP-BUILD::COMPILE-FILE*
  30:     0x104d02a28 pc=0x70051f33f0 {0x70051f3120+02d0} ASDF/LISP-ACTION::PERFORM-LISP-COMPILATION
  31:     0x104d029e0 pc=0x70050c6510 {0x70050c6350+01c0} (SB-PCL::EMF ASDF/ACTION::PERFORM)
  32:     0x104d02950 pc=0x70084a5ff0 {0x70084a5c50+03a0} (LAMBDA () :IN ASDF/ACTION::CALL-WHILE-VISITING-ACTION)
  33:     0x104d02748 pc=0x70050816f0 {0x7005080cd0+0a20} (SB-PCL::FAST-METHOD ASDF/ACTION::PERFORM-WITH-RESTARTS :AROUND (T T))
  34:     0x104d02710 pc=0x70050968d0 {0x70050966e0+01f0} (SB-PCL::FAST-METHOD ASDF/PLAN::PERFORM-PLAN (T))
  35:     0x104d02608 pc=0x70040597a0 {0x70040591d0+05d0} (FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)
  36:     0x104d025c8 pc=0x7004fd6900 {0x7004fd6640+02c0} (SB-PCL::FAST-METHOD ASDF/PLAN::PERFORM-PLAN :AROUND (T))
  37:     0x104d02570 pc=0x70083a5540 {0x70083a5320+0220} (SB-PCL::FAST-METHOD ASDF/OPERATE::OPERATE (ASDF/OPERATION::OPERATION ASDF/COMPONENT::COMPONENT))
  38:     0x104d02508 pc=0x70054ab290 {0x70054aab90+0700} (SB-PCL::EMF ASDF/OPERATE::OPERATE)
  39:     0x104d02430 pc=0x7008400990 {0x7008400080+0910} (LAMBDA () :IN ASDF/OPERATE::OPERATE)
  40:     0x104d02348 pc=0x70084004c0 {0x7008400080+0440} (SB-PCL::FAST-METHOD ASDF/OPERATE::OPERATE :AROUND (T T))
  41:     0x104d022e0 pc=0x70054ab290 {0x70054aab90+0700} (SB-PCL::EMF ASDF/OPERATE::OPERATE)
  42:     0x104d02208 pc=0x7008400990 {0x7008400080+0910} (LAMBDA () :IN ASDF/OPERATE::OPERATE)
  43:     0x104d02120 pc=0x70084004c0 {0x7008400080+0440} (SB-PCL::FAST-METHOD ASDF/OPERATE::OPERATE :AROUND (T T))
  44:     0x104d01ec8 pc=0x7008462320 {0x7008461670+0cb0} ASDF/SESSION::CALL-WITH-ASDF-SESSION
  45:     0x104d01df0 pc=0x7008400d40 {0x7008400080+0cc0} (LAMBDA () :IN ASDF/OPERATE::OPERATE)
  46:     0x104d01b98 pc=0x7008462320 {0x7008461670+0cb0} ASDF/SESSION::CALL-WITH-ASDF-SESSION
  47:     0x104d01ab0 pc=0x70084004c0 {0x7008400080+0440} (SB-PCL::FAST-METHOD ASDF/OPERATE::OPERATE :AROUND (T T))
  48:     0x104d01a70 pc=0x7008407770 {0x7008407630+0140} ASDF/OPERATE::LOAD-SYSTEM
  49:     0x104d01a50 pc=0x7005129680 {0x7005129530+0150} QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS
  50:     0x104d017d0 pc=0x700512a290 {0x7005129c90+0600} QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES
  51:     0x104d017a0 pc=0x70089f6fd0 {0x70089f6e80+0150} (SB-PCL::FAST-METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T))
  52:     0x104d01760 pc=0x7008a586d0 {0x7008a585a0+0130} (SB-PCL::FAST-METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL::SBCL T))
  53:     0x104d015d8 pc=0x700512c490 {0x700512be80+0610} (SB-PCL::FAST-METHOD QUICKLISP-CLIENT::QUICKLOAD (T))
  54:     0x104d015a8 pc=0x7005122350 {0x70051221a0+01b0} QL-DIST::CALL-WITH-CONSISTENT-DISTS
  55:     0x104d014d8 pc=0x70037849d0 {0x70037842b0+0720} SB-INT::SIMPLE-EVAL-IN-LEXENV
  56:     0x104d014b0 pc=0x7003f3d200 {0x7003f3d120+00e0} SB-IMPL::SIMPLE-EVAL-PROGN-BODY
  57:     0x104d013e0 pc=0x7003784f60 {0x70037842b0+0cb0} SB-INT::SIMPLE-EVAL-IN-LEXENV
  58:     0x104d01318 pc=0x7003784b50 {0x70037842b0+08a0} SB-INT::SIMPLE-EVAL-IN-LEXENV
  59:     0x104d012f0 pc=0x7003f3d200 {0x7003f3d120+00e0} SB-IMPL::SIMPLE-EVAL-PROGN-BODY
  60:     0x104d01228 pc=0x7003784f60 {0x70037842b0+0cb0} SB-INT::SIMPLE-EVAL-IN-LEXENV
  61:     0x104d01200 pc=0x7003134160 {0x7003134040+0120} SB-EXT::EVAL-TLF
  62:     0x104d00f70 pc=0x7003091470 {0x7003090000+1470} (LABELS SB-FASL::EVAL-FORM :IN SB-INT::LOAD-AS-SOURCE)
  63:     0x104d00d70 pc=0x7003090960 {0x7003090000+0960} SB-INT::LOAD-AS-SOURCE
  64:     0x104d00c28 pc=0x7003130b80 {0x700312ff50+0c30} (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD)
  65:     0x104d00b70 pc=0x7003092cc0 {0x70030929a0+0320} SB-FASL::CALL-WITH-LOAD-BINDINGS
  66:     0x104d00a40 pc=0x70031308c0 {0x700312ff50+0970} LOAD
  67:     0x104d00950 pc=0x7008683070 {0x70086826a0+09d0} (FLET ROSWELL::BODY :IN ROSWELL::SCRIPT)
  68:     0x104d00870 pc=0x7008682b60 {0x70086826a0+04c0} ROSWELL::SCRIPT
  69:     0x104d00850 pc=0x7006683490 {0x70066833c0+00d0} ROSWELL::LOAD-ROS
  70:     0x104d00818 pc=0x7006294210 {0x7006294050+01c0} ROSWELL::RUN
  71:     0x104d00748 pc=0x70037849d0 {0x70037842b0+0720} SB-INT::SIMPLE-EVAL-IN-LEXENV
  72:     0x104d00730 pc=0x7003126ac0 {0x70031269f0+00d0} EVAL
  73:     0x104d004f0 pc=0x700307da80 {0x700307d480+0600} SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS
  74:     0x104d00278 pc=0x7003053810 {0x7003052ec0+0950} SB-IMPL::TOPLEVEL-INIT
  75:     0x104d001b0 pc=0x7003052cc0 {0x7003052780+0540} (FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP)
  76:     0x104d000c8 pc=0x7003052ae0 {0x7003052780+0360} (FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP)
  77:     0x104d00000 pc=0x7003052950 {0x7003052780+01d0} SB-IMPL::%START-LISP
Unhandled UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread #<SB-THREAD:THREAD tid=259 "main thread" RUNNING
                                                         {70083902D3}>:
  Subprocess with command "/opt/homebrew/bin/ros   +R  +A  -Q  -L sbcl-bin/2.4.8  --load  /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2  dump output -f  lem-sdl2"
 exited with error code 1

Backtrace for: #<SB-THREAD:THREAD tid=259 "main thread" RUNNING {70083902D3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {7008268283}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {7008268283}>)
2: (INVOKE-DEBUGGER #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {7008268283}>)
3: (CERROR "IGNORE-ERROR-STATUS" UIOP/RUN-PROGRAM:SUBPROCESS-ERROR :COMMAND "/opt/homebrew/bin/ros   +R  +A  -Q  -L sbcl-bin/2.4.8  --load  /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2  dump output -f  lem-sdl2" :CODE 1 :PROCESS NIL)
4: (UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND "/opt/homebrew/bin/ros   +R  +A  -Q  -L sbcl-bin/2.4.8  --load  /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2  dump output -f  lem-sdl2" :PROCESS NIL :IGNORE-ERROR-STATUS NIL)
5: (UIOP/RUN-PROGRAM::%USE-SYSTEM "/opt/homebrew/bin/ros   +R  +A  -Q  -L sbcl-bin/2.4.8  --load  /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2  dump output -f  lem-sdl2" :OUTPUT T :ERROR-OUTPUT :INTERACTIVE)
6: (ROSWELL:ROSWELL ("" " +R" " +A" " -Q" " -L sbcl-bin/2.4.8 " "--load " "/Users/Matthias.Paulmier/.roswell/bin/lem-sdl2 " "dump output -f " "lem-sdl2") T NIL)
7: (MAIN "lem-sdl2")
8: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
9: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
10: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
11: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
12: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {7007213173}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
13: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {7007213173}> NIL)
14: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {1047B0B4B}> #<CONCATENATED-STREAM :STREAMS NIL {7007213173}> NIL #<CONCATENATED-STREAM :STREAMS NIL {7007213173}>)
15: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {7007213173}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
16: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file /opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/setup.ros" {70071EFE43}>)
17: (ROSWELL:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/setup.ros" "lem-sdl2")
18: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/setup.ros" "lem-sdl2") (:QUIT NIL)))
19: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/setup.ros" "lem-sdl2") (:QUIT NIL)))) #<NULL-LEXENV>)
20: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/setup.ros" "lem-sdl2") (:QUIT NIL)))))
21: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/setup.ros\"\"lem-sdl2\")(:quit ())))")))
22: (SB-IMPL::TOPLEVEL-INIT)
23: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
24: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
25: (SB-IMPL::%START-LISP)

unhandled condition in --disable-debugger mode, quitting
Unhandled SB-C::INPUT-ERROR-IN-LOAD in thread #<SB-THREAD:THREAD tid=259 "main thread" RUNNING
                                                 {7004FC0003}>:
  READ error during LOAD:

    Package UIOP does not exist.

      Line: 16, Column: 30, File-Position: 507

      Stream: #<CONCATENATED-STREAM :STREAMS (#<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}>
                                              #<SB-IMPL::STRING-INPUT-STREAM {7006AAE7A3}>) {7006AB05A3}>

Backtrace for: #<SB-THREAD:THREAD tid=259 "main thread" RUNNING {7004FC0003}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-C::INPUT-ERROR-IN-LOAD {7006B39293}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-C::INPUT-ERROR-IN-LOAD {7006B39293}>)
2: (INVOKE-DEBUGGER #<SB-C::INPUT-ERROR-IN-LOAD {7006B39293}>)
3: (ERROR SB-C::INPUT-ERROR-IN-LOAD :STREAM #<CONCATENATED-STREAM :STREAMS (#<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}> #<SB-IMPL::STRING-INPUT-STREAM {7006AAE7A3}>) {7006AB05A3}> :CONDITION #<SB-INT:SIMPLE-READER-PACKAGE-ERROR "Package ~A does not exist." {7006B39233}>)
4: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS (#<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}> #<SB-IMPL::STRING-INPUT-STREAM {7006AAE7A3}>) {7006AB05A3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
5: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS (#<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}> #<SB-IMPL::STRING-INPUT-STREAM {7006AAE7A3}>) {7006AB05A3}> NIL)
6: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {1008A0B3B}> #<CONCATENATED-STREAM :STREAMS (#<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}> #<SB-IMPL::STRING-INPUT-STREAM {7006AAE7A3}>) {7006AB05A3}> NIL #<CONCATENATED-STREAM :STREAMS (#<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}> #<SB-IMPL::STRING-INPUT-STREAM {7006AAE7A3}>) {7006AB05A3}>)
7: (LOAD #<CONCATENATED-STREAM :STREAMS (#<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}> #<SB-IMPL::STRING-INPUT-STREAM {7006AAE7A3}>) {7006AB05A3}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
8: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file /Users/Matthias.Paulmier/.roswell/bin/lem-sdl2" {7006AAD423}>)
9: (ROSWELL:SCRIPT "/Users/Matthias.Paulmier/.roswell/bin/lem-sdl2")
10: (ROSWELL:RUN ((:SCRIPT "/Users/Matthias.Paulmier/.roswell/bin/lem-sdl2") (:QUIT NIL)))
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:SCRIPT "/Users/Matthias.Paulmier/.roswell/bin/lem-sdl2") (:QUIT NIL)))) #<NULL-LEXENV>)
12: (EVAL (ROSWELL:RUN (QUOTE ((:SCRIPT "/Users/Matthias.Paulmier/.roswell/bin/lem-sdl2") (:QUIT NIL)))))
13: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"/opt/homebrew/Cellar/roswell/24.10.115/etc/roswell/init.lisp\"))") (:EVAL . "(ros:run '((:script \"/Users/Matthias.Paulmier/.roswell/bin/lem-sdl2\")(:quit ())))")))
14: (SB-IMPL::TOPLEVEL-INIT)
15: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
16: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
17: (SB-IMPL::%START-LISP)

unhandled condition in --disable-debugger mode, quitting

@vindarel
Copy link
Collaborator

Hey guys could you try without Roswell? There has been work to make Lem easily (much more easily) installable from scratch (though I'm not the best to give details).

curl -L https://qlot.tech/installer | bash
git clone https://github.com/lem-project/lem.git
cd lem && make sdl2-ncurses

@mpaulmier
Copy link

Hi, to me it worked with the previous instructions, maybe the docs should be updated to reflect the fact that this is the prefered method over roswell?

Thank you very much for the help, hope this helps OP as well

@vindarel
Copy link
Collaborator

great. I touched the macos doc to show the roswell way is deprecated.

@tr0b
Copy link
Author

tr0b commented Feb 28, 2025

Hi,

brew install sbcl sdl2 sdl2_image sdl2_ttf
curl -L https://qlot.tech/installer | bash
git clone https://github.com/lem-project/lem.git
cd lem && make sdl2 # build with sdl2 only

This worked for me. Lem now runs in my machine. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants