Installation output for sqlite3pth [fail]

Installation time: 10s

'/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/chicken-install' -v 2>&1
checking sqlite3pth ...
checking platform for `sqlite3pth'
checking dependencies for `sqlite3pth'
 missing: pthreads, srfi-34, llrb-tree
pthreads not cached
resolving alias `kitten-technologies' to: http://chicken.kitten-technologies.co.uk/henrietta.cgi
resolving alias `call-cc' to: http://code.call-cc.org/cgi-bin/henrietta.cgi
trying server http://chicken.kitten-technologies.co.uk/henrietta.cgi ...
downloading pthreads: http://chicken.kitten-technologies.co.uk/henrietta.cgi
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=pthreads&release=5&mode=default&tests=yes" ...
reading response ...
HTTP/1.1 200 OK
Date: Sat, 25 May 2019 23:15:50 GMT
Server: Apache/2.2.31 (Unix) DAV/2 PHP/5.5.36 mod_fastcgi/2.4.6
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks .
reading files ...
  ./README.md
  ./pthreads.egg
  ./pthreads.meta
  ./pthreads.release-info
  ./pthreads.scm
  ./pthreads.setup
cp -r '/tmp/tempaf55.68515'/* '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads'
pthreads located at /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads
srfi-34 not cached
resolving alias `kitten-technologies' to: http://chicken.kitten-technologies.co.uk/henrietta.cgi
resolving alias `call-cc' to: http://code.call-cc.org/cgi-bin/henrietta.cgi
trying server http://chicken.kitten-technologies.co.uk/henrietta.cgi ...
downloading srfi-34: http://chicken.kitten-technologies.co.uk/henrietta.cgi
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=srfi-34&release=5&mode=default&tests=yes" ...
reading response ...
HTTP/1.1 200 OK
Date: Sat, 25 May 2019 23:15:50 GMT
Server: Apache/2.2.31 (Unix) DAV/2 PHP/5.5.36 mod_fastcgi/2.4.6
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks .
reading files ...
  ./LICENSE
  ./examples/
  ./examples/srfi-34-examples.scm
  ./srfi-34.egg
  ./srfi-34.meta
  ./srfi-34.orig.scm
  ./srfi-34.release-info
  ./srfi-34.scm
  ./srfi-34.setup
cp -r '/tmp/tempcd3e.68515'/* '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34'
srfi-34 located at /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34
llrb-tree located at /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree
checking llrb-tree ...
checking platform for `llrb-tree'
checking dependencies for `llrb-tree'
checking srfi-34 ...
checking platform for `srfi-34'
checking dependencies for `srfi-34'
checking pthreads ...
checking platform for `pthreads'
checking dependencies for `pthreads'
install order:
("pthreads" "srfi-34" "llrb-tree" "sqlite3pth")
building pthreads
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.build.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.build.sh"
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads -O3 -d2 -no-trace -no-lambda-info -emit-types-file '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.types' -L -pthread pthreads.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.so

Warning: Invalid argument
  In file `pthreads.scm:368',
  In a toplevel procedure,
  In procedure `doloop102',
  In procedure call:

    (srfi-18#thread-wait-for-i/o! fd '#:input)

  Argument #2 to procedure `thread-wait-for-i/o!' has an invalid type:

    keyword

  The expected type is:

    symbol

  This is the expression:

    '#:input

  Procedure `thread-wait-for-i/o!' from module `srfi-18' has this type:

    (fixnum #!optional symbol -> undefined)
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.c:255:6: warning: implicit declaration of function 'pthread_setschedprio' is invalid in C99 [-Wimplicit-function-declaration]
  if(pthread_setschedprio(pthread_self(), sched_get_priority_max(sched_getscheduler(0)))) {
     ^
1 warning generated.
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -regenerate-import-libraries -setup-mode -static -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads -emit-link-file /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.link -host -D compiling-extension -c -unit pthreads -D compiling-static-extension -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads -O3 -d2 -no-trace -no-lambda-info pthreads.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.static.o

Warning: Invalid argument
  In file `pthreads.scm:368',
  In a toplevel procedure,
  In procedure `doloop102',
  In procedure call:

    (srfi-18#thread-wait-for-i/o! fd '#:input)

  Argument #2 to procedure `thread-wait-for-i/o!' has an invalid type:

    keyword

  The expected type is:

    symbol

  This is the expression:

    '#:input

  Procedure `thread-wait-for-i/o!' from module `srfi-18' has this type:

    (fixnum #!optional symbol -> undefined)
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.static.c:256:6: warning: implicit declaration of function 'pthread_setschedprio' is invalid in C99 [-Wimplicit-function-declaration]
  if(pthread_setschedprio(pthread_self(), sched_get_priority_max(sched_getscheduler(0)))) {
     ^
1 warning generated.
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -setup-mode -s -host -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads -O3 -d2 -no-trace -no-lambda-info -L -pthread pthreads.import.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.import.so
  installing pthreads
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.install.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/pthreads/pthreads.install.sh"
building srfi-34
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.build.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.build.sh"
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34 -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34 -O2 -d1 srfi-34.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.so
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -regenerate-import-libraries -setup-mode -static -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34 -emit-link-file /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.link -host -D compiling-extension -c -unit srfi-34 -D compiling-static-extension -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34 -O2 -d1 srfi-34.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.static.o
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -setup-mode -s -host -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34 -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34 -O2 -d0 srfi-34.import.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.import.so
  installing srfi-34
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.install.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/srfi-34/srfi-34.install.sh"
building llrb-tree
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree/llrb-tree.build.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree/llrb-tree.build.sh"
   /usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree -O3 -lfa2 -d2 -clustering -no-trace -no-lambda-info -emit-types-file '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree/llrb-generic-tree.types' llrb-generic-tree.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree/llrb-generic-tree.so

Error: (map) bad argument type - not a list: #::type-test

	Call history:

	<eval>	  (##sys#cons n (##sys#cons (quote318 4) (quote318 ())))
	<eval>	  (##sys#cons (quote318 4) (quote318 ()))
	<syntax>	  (##sys#slot node 4)
	<syntax>	  (binding-node-value node)
	<eval>	  (##sys#cdr input339)
	<eval>	  (##sys#pair? temp350)
	<eval>	  (##sys#eq? (##sys#cdr temp350) (quote ()))
	<eval>	  (##sys#cdr temp350)
	<eval>	  (##sys#car tail349)
	<eval>	  (##sys#cons (rename348 (##core#syntax ##sys#slot)) (##sys#cons n (##sys#cons (quote347 5) (quote347 ...
	<eval>	  (rename348 (##core#syntax ##sys#slot))
	<eval>	  (##sys#cons n (##sys#cons (quote347 5) (quote347 ())))
	<eval>	  (##sys#cons (quote347 5) (quote347 ()))
	<syntax>	  (##sys#slot node 5)
	<syntax>	  (values #f #f)
	<syntax>	  (##core#provide llrb-generic-tree#)	<--

Error: shell command terminated with non-zero exit status 17920: '/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/chicken' 'llrb-generic-tree.scm' -output-file '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree/llrb-generic-tree.c' -dynamic -feature chicken-compile-shared -feature compiling-extension -emit-all-import-libraries -regenerate-import-libraries -setup-mode -include-path /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree -optimize-level 3 -lfa2 -debug-level 2 -clustering -no-trace -no-lambda-info -emit-types-file '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree/llrb-generic-tree.types'

Error: shell command terminated with nonzero exit code
256
"sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/llrb-tree/llrb-tree.build.sh"