[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Crunch: Error when trying to build from scratch
From: |
Ben |
Subject: |
Crunch: Error when trying to build from scratch |
Date: |
Sat, 07 Dec 2024 02:54:14 +0100 |
Hello
Again I'm going through the entire build process from scratch
$ git clone https://code.call-cc.org/git/chicken-core.git
$ cd chicken-core
$ git checkout utf+r7rs
$ sh scripts/bootstrap.sh
$ ./configure --prefix <install location> --chicken ./chicken-boot
$ make
$ make install
# So far so good
# but then the last step
$ chicken-install -test crunch
building crunch
installing crunch
0001-tak.scm ...
0002-string.scm ...
0003-vectorliteral.scm ...
0004-freevar.scm ...
0005-boxedfreevar.scm ...
0006-freevarstring.scm ...
0007-boxedfreevarstring.scm ...
0008-loop.scm ...
0009-do.scm ...
0010-dispatch.scm ...
0011-id.scm ...
0012-for-each.scm ...
0013-fixvoid.scm ...
0014-vmap.scm ...
0015-table.scm ...
0016-compound.scm ...
Error: during expansion of (c-lambda576 ...) - no rule matches form: (c-lambda
float (((struct point) _s)) "return _s.x;")
0017-multivariant.scm ...
0018-evenodd.scm ...
embedded ...
import ...
emulator ... building engine ... compiling ...
Error: during expansion of (crunch ...) - bad argument count - received 1 but
expected 2: #<procedure (a2296 forms path)>
Call history:
6502/mos6502.scm:102 (##sys#cons (quote830 128) (quote830 ()))
6502/mos6502.scm:102 (quote830 128)
6502/mos6502.scm:102 (##core#quote 128)
6502/mos6502.scm:102 (quote830 ())
6502/mos6502.scm:102 (##core#quote ())
6502/mos6502.scm:102 (##sys#car tail832)
<syntax> (##core#begin
(chicken.internal.syntax-rules#syntax-rules-mismatch input822))
6502/mos6502.scm:102
(chicken.internal.syntax-rules#syntax-rules-mismatch input822)
6502/mos6502.scm:102 (##sys#cdr input822)
6502/mos6502.scm:102 (##sys#er-transformer (lambda825 (input822
rename831 compare819) (let826 ((tail832 (##sys#cdr input8...
<syntax> (##core#undefined)
<syntax> (cond-expand (simulate (include "engine.scm")) (else
(crunch-options verbose) (crunch (: (engine int...
<syntax> (##core#begin (crunch-options verbose) (crunch (:
(engine integer (numvector u8) (numvector u8)) int...
<syntax> (crunch-options verbose)
<syntax> (##core#undefined)
<syntax> (crunch (: (engine integer (numvector u8) (numvector
u8)) integer) (include "engine.scm")) <--
Error: shell command terminated with non-zero exit status 70:
'.../crunch-scheme/bin/chicken' '6502/mos6502.scm' '-output-file'
'/var/folders/2f/_9380nw966jbwjbc68_bw0mw0000gw/T/temp1952.44570.c' '-dynamic'
'-feature' 'chicken-compile-shared' '-emit-all-import-libraries'
Syntax error (import): cannot import from undefined module
mos6502
Expansion history:
<syntax> (##core#begin (import (scheme base) (scheme file)
(chicken number-vector) (chicken memory) (scheme p...
<syntax> (import (scheme base) (scheme file) (chicken
number-vector) (chicken memory) (scheme process-context...<--
Error: shell command terminated with non-zero exit status 70:
'.../crunch-scheme/bin/chicken' '6502/forth.scm' '-output-file'
'/var/folders/2f/_9380nw966jbwjbc68_bw0mw0000gw/T/tempbe84.44570.c' '-dynamic'
'-feature' 'chicken-compile-shared' '-optimize-level' '2' '-debug-level' '2'
test script failed with nonzero exit status
- Crunch: Error when trying to build from scratch,
Ben <=