Re: [Chicken-announce] [ANN] CHICKEN 5.4.0 release candidate available

Christian Himpe <[email protected]>
Newsgroups gmane.lisp.scheme.chicken
Message-ID <[email protected]>
Hi,

here are my 5.4rc1 results:

HW: MacBook Air M2 (arm64)
OS: macos Montery 12.7.5
CC: clang 14.0.0

Installation works?: yes
Tests work?: no (see attachment)
Installation of "pastiche" egg works?: yes
Installation of “arcadedb" egg works?: yes
Installation of "matrico" egg works?: no (see attachment, it works with brew-installed chicken-5.3)

Best

Christian



> On 31. May 2024, at 10:08, Peter Bex <[email protected]> wrote:
> 
> Hello everyone,
> 
> We are happy to announce the first release candidate of the upcoming
> CHICKEN 5.4.0.
> 
> CHICKEN 5.4.0rc1 is now available at this location:
> https://code.call-cc.org/dev-snapshots/2024/05/31/chicken-5.4.0rc1.tar.gz
> 
> The SHA256 sum of that tarball is
> 61d59cb4f3ca226995d7dca3510c7a646c2cf1e28ebc771bf6c5177e28d14c81
> 
> This is mostly a bugfix and maintenance release, preparing for the
> upcoming CHICKEN 6 release (hopefully later this year).
> 
> It contains some security hardening regarding option parsing and a
> fix for CVE-2022-45145 handling of escape characters in egg metadata.
> 
> Notable new features are new thread-safe APIs for POSIX signals and
> finalizers, support for weak pairs and having line numbers available
> on error traces in the interpreter.
> 
> The complete list of changes since version 5.3.0 is available here:
> https://code.call-cc.org/dev-snapshots/2024/05/31/NEWS
> 
> Please give it a test and report your findings to the mailing list.
> 
> Here's a suggested test procedure:
> 
>  $ make PREFIX=<some dir> install check
>  $ <some dir>/bin/chicken-install pastiche
> 
> If you want to build CHICKEN with a compiler other than the default one,
> just use C_COMPILER=<the compiler> (e.g., C_COMPILER=clang) on the make
> invocation.
> 
> Of course, feel free to explore other supported build options (see the
> README file for more information) and actually use CHICKEN 5.3.0rc1 for
> your software.
> 
> If you can, please let us know the following information about the
> environment you tested the RC tarball on:
> 
> Operating system: (e.g., FreeBSD 14.0, Debian 12, Windows 11 mingw-msys under 
> mingw32)
> Hardware platform: (e.g., x86, x86-64, PPC)
> C Compiler: (e.g., GCC 11.3.0, clang 16.0.6)
> Installation works?: yes or no
> Tests work?: yes or no
> Installation of eggs works?: yes or no
> 
> Thanks in advance!
> 
> The CHICKEN Team
>
check.log (application/octet-stream, 9.2 KB)
cd tests; sh runtests.sh
======================================== repository search path ...
(/tmp/chicken-5.4rc1/lib/chicken/11)
(PASS) (repository-path) contains something by default
 TOTALS: 
  1 tests completed in 0.011 seconds
  1 (100.00%) tests passed
  0 (0.00%) tests failed
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' /tmp/chicken-5.4.0rc1/tests/../chicken 'sample-module.scm' -output-file 'sample-module.c' '-dynamic' '-feature' 'chicken-compile-shared' '-verbose' '-include-path' '/tmp/chicken-5.4.0rc1/tests/..' '-consult-types-file' '../types.db' '-ignore-repository' '-emit-import-library' 'sample-module'
generating import library `sample-module.import.scm' for module `sample-module' ...
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' 'gcc' 'sample-module.c' -o 'sample-module.o' -c  '-fno-strict-aliasing' '-fwrapv' '-fno-common' '-DHAVE_CHICKEN_CONFIG_H' '-DC_ENABLE_PTABLES' '-Os' '-fomit-frame-pointer' '-fPIC' '-DPIC' '-DC_SHARED' '-I/tmp/chicken-5.4.0rc1/tests/..' '-I/tmp/chicken-5.4rc1/include/chicken'
rm sample-module.c
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' 'gcc' 'sample-module.o' -o 'sample-module.so' '-bundle' '-headerpad_max_install_names' '-L/tmp/chicken-5.4.0rc1/tests/..' '-L/tmp/chicken-5.4.0rc1/tests/..' -lchicken -lm
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' /usr/bin/install_name_tool -change libchicken.dylib '/tmp/chicken-5.4rc1/lib/libchicken.dylib' 'sample-module.so'
rm sample-module.o
(PASS) find-file on #f
(PASS) find-file on string
(PASS) find-file on list
(PASS) (repository-path) is populated by CHICKEN_REPOSITORY_PATH
(PASS) setting (repository-path) and loading a library
(PASS) Putting garbage in (repository-path)
 TOTALS: 
  6 tests completed in 0.110 seconds
  6 (100.00%) tests passed
  0 (0.00%) tests failed
======================================== types.db consistency ...
======================================== version tests ...
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' /tmp/chicken-5.4.0rc1/tests/../chicken 'version-tests.scm' -output-file 'a.c' '-verbose' '-include-path' '/tmp/chicken-5.4.0rc1/tests/..' '-consult-types-file' '../types.db' '-ignore-repository'
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' 'gcc' 'a.c' -o 'a.o' -c  '-fno-strict-aliasing' '-fwrapv' '-fno-common' '-DHAVE_CHICKEN_CONFIG_H' '-DC_ENABLE_PTABLES' '-Os' '-fomit-frame-pointer' '-I/tmp/chicken-5.4.0rc1/tests/..' '-I/tmp/chicken-5.4rc1/include/chicken'
rm a.c
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' 'gcc' 'a.o' -o 'a.out' '-L/tmp/chicken-5.4.0rc1/tests/..' '-L/tmp/chicken-5.4.0rc1/tests/..' -lchicken -lm
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' /usr/bin/install_name_tool -change libchicken.dylib '/tmp/chicken-5.4rc1/lib/libchicken.dylib' 'a.out'
rm a.o
Checking major and minor version numbers against chicken-version... ok
Checking the registered feature chicken-<major>.<minor>... Checking the registered feature chicken-<major>... ok
======================================== compiler tests ...
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' /tmp/chicken-5.4.0rc1/tests/../chicken 'compiler-tests.scm' -output-file 'a.c' '-verbose' '-include-path' '/tmp/chicken-5.4.0rc1/tests/..' '-consult-types-file' '../types.db' '-ignore-repository'

Warning: (compiler-tests.scm:218) - assignment to imported value binding `foo'

Warning: Wrong number of arguments
  In file `compiler-tests.scm:10',
  In procedure `foo',
  In procedure call:

    (bar 2)

  Procedure `bar' is called with 1 argument but 0 arguments are expected.

  Procedure `bar' has this type:

    (-> fixnum)

Note: Test is always true
  At the toplevel,
  In conditional expression:

    (if g2251 (##sys#make-c-string (##sys#foreign-string-argument g2251)) #f)

  Test condition has always true value of type:

    string

Note: Test is always false
  At the toplevel,
  In conditional expression:

    (if #f (##core#callunit repl) (##core#undefined))

  Test condition is always false.

Note: Test is always true
  At the toplevel,
  In conditional expression:

    (if #t (##core#callunit repl) (##core#undefined))

  Test condition has always true value of type:

    true
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' 'gcc' 'a.c' -o 'a.o' -c  '-fno-strict-aliasing' '-fwrapv' '-fno-common' '-DHAVE_CHICKEN_CONFIG_H' '-DC_ENABLE_PTABLES' '-Os' '-fomit-frame-pointer' '-I/tmp/chicken-5.4.0rc1/tests/..' '-I/tmp/chicken-5.4rc1/include/chicken'
rm a.c
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' 'gcc' 'a.o' -o 'a.out' '-L/tmp/chicken-5.4.0rc1/tests/..' '-L/tmp/chicken-5.4.0rc1/tests/..' -lchicken -lm
/usr/bin/env DYLD_LIBRARY_PATH='/tmp/chicken-5.4.0rc1/tests/..' /usr/bin/install_name_tool -change libchicken.dylib '/tmp/chicken-5.4rc1/lib/libchicken.dylib' 'a.out'
rm a.o
12
12
12
12
12
bar
1 2 3 
1 2 3 :1:2:3
1 2 3 
Good, unrepresentable C strings cause errors
Testing unsigned FFI type "unsigned-integer32" (32 bits):
Can hold maximum value 4294967295...
Cannot hold one more than maximum value, 4294967296...
Cannot hold -1 (any fixnum negative value)
Cannot hold -2^64 (any bignum negative value < smallest int64)
Testing signed FFI type "integer32" (32 bits):
Can hold maximum value 2147483647...
Can hold minimum value -2147483648...
Cannot hold one more than maximum value 2147483648...
Cannot hold one less than minimum value -2147483648...
Testing unsigned FFI type "unsigned-integer64" (64 bits):
Can hold maximum value 18446744073709551615...
Cannot hold one more than maximum value, 18446744073709551616...
Cannot hold -1 (any fixnum negative value)
Cannot hold -2^64 (any bignum negative value < smallest int64)
Testing signed FFI type "integer64" (64 bits):
Can hold maximum value 9223372036854775807...
Can hold minimum value -9223372036854775808...
Cannot hold one more than maximum value 9223372036854775808...
Cannot hold one less than minimum value -9223372036854775808...
Testing unsigned FFI type "unsigned-integer" (32 bits):
Can hold maximum value 4294967295...
Cannot hold one more than maximum value, 4294967296...
Cannot hold -1 (any fixnum negative value)
Cannot hold -2^64 (any bignum negative value < smallest int64)
Testing signed FFI type "integer" (32 bits):
Can hold maximum value 2147483647...
Can hold minimum value -2147483648...
Cannot hold one more than maximum value 2147483648...
Cannot hold one less than minimum value -2147483648...
Testing signed FFI type "(enum intlimits)" (32 bits):
Can hold maximum value 2147483647...
Can hold minimum value -2147483648...
Cannot hold one more than maximum value 2147483648...
Cannot hold one less than minimum value -2147483648...
Testing unsigned FFI type "unsigned-long" (64 bits):
Can hold maximum value 18446744073709551615...
Cannot hold one more than maximum value, 18446744073709551616...
Cannot hold -1 (any fixnum negative value)
Cannot hold -2^64 (any bignum negative value < smallest int64)
Testing signed FFI type "long" (64 bits):
Can hold maximum value 9223372036854775807...
Can hold minimum value -9223372036854775808...
Cannot hold one more than maximum value 9223372036854775808...
Cannot hold one less than minimum value -9223372036854775808...
Testing signed FFI type "ssize_t" (64 bits):
Can hold maximum value 9223372036854775807...
Can hold minimum value -9223372036854775808...
Cannot hold one more than maximum value 9223372036854775808...
Cannot hold one less than minimum value -9223372036854775808...
Testing unsigned FFI type "size_t" (64 bits):
Can hold maximum value 18446744073709551615...
Cannot hold one more than maximum value, 18446744073709551616...
Cannot hold -1 (any fixnum negative value)
Cannot hold -2^64 (any bignum negative value < smallest int64)
2
2
======================================== csc tests ...
/private/tmp/chicken-5.4.0rc1/chicken 'null.scm' -output-file 'null.c' '-verbose'

Error: segmentation violation

Error: shell command terminated with non-zero exit status 17920: /private/tmp/chicken-5.4.0rc1/chicken 'null.scm' -output-file 'null.c' '-verbose'

Error: shell invocation failed with non-zero return status
"/private/tmp/chicken-5.4.0rc1/csc -v -I.. -compiler /private/tmp/chicken-5.4.0rc1/chicken -libdir .. null.scm -t"
256

	Call history:

	csc-tests.scm:19	  [csc] (apply run csc-path "-v" "-I.." "-compiler" (realpath chicken-path) "-libdir" ".." args)
	csc-tests.scm:19	  [csc] (realpath chicken-path)
	csc-tests.scm:21	  (csc "null.scm" "-t")
	csc-tests.scm:21	  (csc "null.scm" "-t")
	csc-tests.scm:19	  [csc] (apply run csc-path "-v" "-I.." "-compiler" (realpath chicken-path) "-libdir" ".." args)
	csc-tests.scm:19	  [csc] (realpath chicken-path)
	csc-tests.scm:13	  [realpath] (normalize-pathname (make-pathname (current-directory) x))
	csc-tests.scm:13	  [realpath] (make-pathname (current-directory) x)
	csc-tests.scm:13	  [realpath] (current-directory)
	csc-tests.scm:16	  [run] (system* (string-intersperse (cons (realpath x) args)))
	csc-tests.scm:16	  [run] (string-intersperse (cons (realpath x) args))
	csc-tests.scm:16	  [run] (cons (realpath x) args)
	csc-tests.scm:16	  [run] (realpath x)
	csc-tests.scm:13	  [realpath] (normalize-pathname (make-pathname (current-directory) x))
	csc-tests.scm:13	  [realpath] (make-pathname (current-directory) x)
	csc-tests.scm:13	  [realpath] (current-directory)	<--
make: *** [check] Error 70
matrico.log (application/octet-stream, 1.3 KB)
fetching matrico
building matrico
   /tmp/chicken-5.4rc1/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /Users/ch/.cache/chicken-install/matrico -C -I/Users/ch/.cache/chicken-install/matrico -O3 -d0 -C -O2 matrico.scm -o /Users/ch/.cache/chicken-install/matrico/matrico.so

Error: (include) cannot open file: "f64vector.scm"

	Call history:

	<syntax>	  (##core#begin (include-relative "src/dense.scm"))
	<syntax>	  (include-relative "src/dense.scm")
	<syntax>	  (##core#include "src/dense.scm" "matrico.scm")
	<syntax>	  (##core#begin (include-relative "f64vector.scm") (include-relative "matrix.scm") (module dense = mat...
	<syntax>	  (include-relative "f64vector.scm")
	<syntax>	  (##core#include "f64vector.scm" "matrico.scm")	<--

Error: shell command terminated with non-zero exit status 17920: '/tmp/chicken-5.4rc1/bin/chicken' 'matrico.scm' -output-file '/Users/ch/.cache/chicken-install/matrico/matrico.c' '-dynamic' '-feature' 'chicken-compile-shared' '-feature' 'compiling-extension' '-emit-all-import-libraries' '-regenerate-import-libraries' '-setup-mode' '-include-path' '/Users/ch/.cache/chicken-install/matrico' '-optimize-level' '3' '-debug-level' '0'

Error: shell command terminated with nonzero exit code
256
"sh /Users/ch/.cache/chicken-install/matrico/matrico.build.sh"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.