nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

No longer builds with SBCL 2.2.7

Open hendursaga opened this issue 1 year ago • 8 comments

After compiling the latest SBCL, I can no longer build the latest commit (02bced0f804e1831bfc32d89c1a7eb7f3b43d28a). I suspect it's a CFFI bug. I cleaned my CL cache, make clean'd the project, and rebuilt with 2.2.6 and it builds and work just fine.

[...]
WARNING:
   redefining FFI-INITIALIZE (#<USER-CLASS NYXT:GTK-BROWSER>
                              #<SB-PCL:SYSTEM-CLASS COMMON-LISP:T>
                              #<SB-PCL:SYSTEM-CLASS COMMON-LISP:T>) in DEFMETHOD
WARNING:
   redefining FFI-KILL-BROWSER (#<USER-CLASS NYXT:GTK-BROWSER>) in DEFMETHOD
[undoing binding stack and other enclosing state... done]
[performing final GC...pre-GC failure
Ptr 0x1029acf2bf @ 102841e518 (lispobj 102841e51f,pg20611) sees junk
fatal error encountered in SBCL pid 44965 tid 44965:
Verify failed: 1 errors

   0: fp=0x7f2100856760 pc=0x55f0d13c6110 Foreign function (null)
   1: fp=0x7f2100856770 pc=0x55f0d13c612a Foreign function (null)
   2: fp=0x7f2100856860 pc=0x55f0d13c62c3 Foreign function (null)
   3: fp=0x7f2100856900 pc=0x55f0d13e6714 Foreign function verify_heap
   4: fp=0x7f21008569c0 pc=0x55f0d13ea17c Foreign function collect_garbage
   5: fp=0x7f2100856a30 pc=0x55f0d13ea650 Foreign function gc_and_save
Warning: lisp package array is not initialized for C
   6: fp=0x7f2100856a90 pc=0x52f4a886 <??? type 45>::GC-AND-SAVE
   7: fp=0x7f2100856ba8 pc=0x52cdf72f <??? type 45>::SAVE-LISP-AND-DIE
   8: fp=0x7f2100856bf0 pc=0x534d04c2 (<??? type 45>::EMF <??? type 45>::PERFORM)
   9: fp=0x7f2100856c80 pc=0x5348ebb2 (LAMBDA () :IN <??? type 45>::CALL-WHILE-VISITING-ACTION)
  10: fp=0x7f2100856df0 pc=0x53495b34 (<??? type 45>::FAST-METHOD <??? type 45>::PERFORM-WITH-RESTARTS :AROUND (T T))
  11: fp=0x7f2100856e30 pc=0x534a7af5 (<??? type 45>::FAST-METHOD <??? type 45>::PERFORM-PLAN (T))
  12: fp=0x7f2100856f10 pc=0x52b84653 (FLET <??? type 45>::WITH-IT :IN <??? type 45>::%WITH-COMPILATION-UNIT)
  13: fp=0x7f2100856f80 pc=0x534a7739 (<??? type 45>::FAST-METHOD <??? type 45>::PERFORM-PLAN :AROUND (T))
  14: fp=0x7f2100856fd0 pc=0x534a9a68 (<??? type 45>::FAST-METHOD <??? type 45>::OPERATE (<??? type 45>::OPERATION <??? type 45>::COMPONENT))
  15: fp=0x7f2100857030 pc=0x534cd499 (<??? type 45>::EMF <??? type 45>::OPERATE)
  16: fp=0x7f21008570f8 pc=0x534a9168 (LAMBDA () :IN <??? type 45>::OPERATE)
  17: fp=0x7f21008571c0 pc=0x534a8a2b (<??? type 45>::FAST-METHOD <??? type 45>::OPERATE :AROUND (T T))
  18: fp=0x7f2100857220 pc=0x534cd499 (<??? type 45>::EMF <??? type 45>::OPERATE)
  19: fp=0x7f21008572e8 pc=0x534a9168 (LAMBDA () :IN <??? type 45>::OPERATE)
  20: fp=0x7f21008573b0 pc=0x534a8a2b (<??? type 45>::FAST-METHOD <??? type 45>::OPERATE :AROUND (T T))
  21: fp=0x7f21008575a8 pc=0x5348393d <??? type 45>::CALL-WITH-ASDF-SESSION
  22: fp=0x7f2100857670 pc=0x534a931d (LAMBDA () :IN <??? type 45>::OPERATE)
  23: fp=0x7f2100857860 pc=0x5348393d <??? type 45>::CALL-WITH-ASDF-SESSION
  24: fp=0x7f2100857928 pc=0x534a8a2b (<??? type 45>::FAST-METHOD <??? type 45>::OPERATE :AROUND (T T))
  25: fp=0x7f2100857960 pc=0x534aae90 <??? type 45>::MAKE
  26: fp=0x7f2100857a28 pc=0x52b4e457 <??? type 45>::SIMPLE-EVAL-IN-LEXENV
  27: fp=0x7f2100857a40 pc=0x52a47513 EVAL
  28: fp=0x7f2100857bf0 pc=0x52c6c95a <??? type 45>::PROCESS-EVAL/LOAD-OPTIONS
  29: fp=0x7f2100857dc0 pc=0x52ba472a <??? type 45>::TOPLEVEL-INIT
  30: fp=0x7f2100857e60 pc=0x52f4afc5 (FLET <??? type 45>::BODY :IN <??? type 45>::START-LISP)
  31: fp=0x7f2100857f28 pc=0x52f4adc6 (FLET "WITHOUT-INTERRUPTS-BODY-3" :IN <??? type 45>::START-LISP)
  32: fp=0x7f2100857fc8 pc=0x52f4ab73 <??? type 45>::%START-LISP

Compilation failed, see the above stacktrace.

hendursaga avatar Aug 01 '22 16:08 hendursaga

It's most likely an SBCL bug. This should be reported upstream.

Can anyone report? I'm currently not available.

Ambrevar avatar Aug 03 '22 03:08 Ambrevar

I can report it, but I'm still trying to investigate it a bit on Guix by running:

./pre-inst-env guix build $(./pre-inst-env guix refresh -l sbcl | cut -d ':' -f 2)

aadcg avatar Aug 03 '22 07:08 aadcg

@aadcg any update on this? https://sourceforge.net/p/sbcl/mailman/search/?q=Nyxt shows nothing..

hendursaga avatar Aug 07 '22 16:08 hendursaga

I found out that maxima doesn't compile as well with the latest sbcl version. That means that the issue doesn't come from cffi.

I guess I'll drop an email in sbcl-devel.

aadcg avatar Aug 08 '22 17:08 aadcg

@hendursaga could you try to build nyxt with the latest sbcl commit?

aadcg avatar Aug 08 '22 19:08 aadcg

I can't even compile sbcl with the latest commit on guix.

Click to expand build output ;; Compiling file /tmp/guix-build-sbcl-2.2.7.drv-0/source/src/compiler/generic/genesis.lisp ... ;; Wrote file /tmp/guix-build-sbcl-2.2.7.drv-0/source/obj/from-host/src/compiler/generic/genesis.fas-tmp 0 errors, 0 warnings ;; Loading file obj/from-host/src/compiler/generic/genesis.fas ... ;; Loaded file obj/from-host/src/compiler/generic/genesis.fas beginning GENESIS, creating headers in "src/runtime/genesis"

*** - SB-XC:LISP-IMPLEMENTATION-VERSION: variable |2.2.7| has no value The following restarts are available: SKIP :R1 skip (UNLESS # #) RETRY :R2 retry (UNLESS # #) STOP :R3 stop loading file /tmp/guix-build-sbcl-2.2.7.drv-0/source/make-host-1.lisp ABORT-BUILD :R4 Abort building SBCL. ABORT :R5 Abort main loop Bye.

real 0m44.032s user 0m39.530s sys 0m4.461s //entering make-target-1.sh //building runtime system and symbol table file make: Entering directory '/tmp/guix-build-sbcl-2.2.7.drv-0/source/src/runtime' rm -f *.[do] sbcl ldb unit-tests sbcl.h core .tmp libsbcl.a shrinkwrap-sbcl sbcl.mk make: Leaving directory '/tmp/guix-build-sbcl-2.2.7.drv-0/source/src/runtime' make: Entering directory '/tmp/guix-build-sbcl-2.2.7.drv-0/source/src/runtime' echo '#include "genesis/config.h"' >sbcl.h echo '#include "genesis/constants.h"' >>sbcl.h In file included from x86-64-assem.S:21: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from sbcl.h:1, from x86-64-assem.S:23: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from x86-64-assem.S:23: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from brothertree.h:2, from immobile-space.c:48: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from immobile-space.c:49: code.h:15:10: fatal error: genesis/code.h: No such file or directory 15 | #include "genesis/code.h" | ^~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from traceroot.c:1: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from traceroot.c:1: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from gencgc.c:30: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from gencgc.c:30: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from gc.h:19, from fullcgc.c:12: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from gc.h:19, from fullcgc.c:12: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from os.h:20, from x86-64-linux-os.c:30: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from os.h:20, from x86-64-linux-os.c:30: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from linux-mman.c:5: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | linux-mman.c:6:10: fatal error: genesis/constants.h: No such file or directory 6 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from linux-os.c:26: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from linux-os.c:26: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from x86-64-arch.c:16: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from x86-64-arch.c:16: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from thread.h:7, from sprof.c:4: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from thread.h:7, from sprof.c:4: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from run-program.c:21: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from run-program.c:21: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from wrap.c:26: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from wrap.c:26: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from vars.c:17: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from vars.c:17: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from var-io.c:12: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | var-io.c:13:10: fatal error: genesis/bignum.h: No such file or directory 13 | #include "genesis/bignum.h" | ^~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from validate.c:19: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from validate.c:19: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from time.c:18: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from time.c:18: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from thread.c:15: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from thread.c:15: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from stringspace.c:12: gc-internal.h:26:10: fatal error: genesis/code.h: No such file or directory 26 | #include "genesis/code.h" | ^~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from search.c:15: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from search.c:15: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. sc-offset.c:16:10: fatal error: genesis/sc-offset.h: No such file or directory 16 | #include "genesis/sc-offset.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from save.c:21: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from save.c:21: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from safepoint.c:11: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from safepoint.c:11: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from runtime.c:16: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from runtime.c:16: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from regnames.c:12: lispregs.h:13:10: fatal error: genesis/regnames.h: No such file or directory 13 | #include "genesis/regnames.h" | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from print.c:23: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from print.c:23: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from parse.c:18: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from parse.c:18: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from os-common.c:17: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from os-common.c:17: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from murmur_hash.c:19: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from sbcl.h:1, from monitor.c:12: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from monitor.c:12: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from os.h:20, from interr.h:14, from main.c:1: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from os.h:20, from interr.h:14, from main.c:1: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from largefile.c:19: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from sbcl.h:1, from interrupt.c:43: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from interrupt.c:43: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from interr.c:20: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from interr.c:20: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from os.h:20, from hopscotch.c:19: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from os.h:20, from hopscotch.c:19: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from globals.c:20: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from globals.c:20: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from gc-common.c:31: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from gc-common.c:31: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from funcall.c:18: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from funcall.c:18: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from dynbind.c:20: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from dynbind.c:20: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from coreparse.c:17: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from coreparse.c:17: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from coalesce.c:16: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from coalesce.c:16: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from breakpoint.c:15: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from breakpoint.c:15: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from backtrace.c:21: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from backtrace.c:21: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from sbcl.h:1, from alloc.c:16: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from alloc.c:16: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. gcc -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wunused-parameter -fno-omit-frame-pointer -momit-leaf-frame-pointer -I. -I../../ -c -o alloc.o alloc.c In file included from sbcl.h:1, from alloc.c:16: genesis/config.h:13: error: unterminated #ifndef 13 | #ifndef SBCL_GENESIS_CONFIG | In file included from alloc.c:16: sbcl.h:2:10: fatal error: genesis/constants.h: No such file or directory 2 | #include "genesis/constants.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [: alloc.o] Error 1 make: Leaving directory '/tmp/guix-build-sbcl-2.2.7.drv-0/source/src/runtime'

real 0m0.871s user 0m0.475s sys 0m0.348s error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "sh" arguments: ("make.sh" "clisp" "--prefix=/gnu/store/c1h253d1f4ydz2s00zbmvcd9kdhbz19a-sbcl-2.2.7" "--dynamic-space-size=3072" "--with-sb-core-compression" "--with-sb-xref-for-internals" "--without-sb-simd") exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 50.6 seconds command "sh" "make.sh" "clisp" "--prefix=/gnu/store/c1h253d1f4ydz2s00zbmvcd9kdhbz19a-sbcl-2.2.7" "--dynamic-space-size=3072" "--with-sb-core-compression" "--with-sb-xref-for-internals" "--without-sb-simd" failed with status 2

Update: I'm building it!

aadcg avatar Aug 09 '22 07:08 aadcg

I successfully built nyxt 2.2.4 with the latest sbcl commit!

aadcg avatar Aug 09 '22 12:08 aadcg

I've just built everything that depends on sbcl locally. Now I can send my patch to Guix.

aadcg avatar Aug 09 '22 14:08 aadcg

Wait, is it a Guix issue or an SBCL issue now?

Ambrevar avatar Aug 10 '22 07:08 Ambrevar

It was always a SBCL issue.

The issue I faced with Guix was that I had to write a package definition for SBCL that would fetch from git, not from a tarball. SBCL expects a file with a specific name and content to exist in that scenario.

I've just CC you in the patch I've sent to Guix @Ambrevar.

aadcg avatar Aug 10 '22 09:08 aadcg

If SBCL has fixed it, then we only need to wait for the next stable release.

Ambrevar avatar Aug 10 '22 09:08 Ambrevar

The sbcl maintainer told me it would come at the end of the month.

Can we close this?

aadcg avatar Aug 10 '22 10:08 aadcg

I suppose so! :)

Ambrevar avatar Aug 10 '22 15:08 Ambrevar