Installation output for nanomsg [fail]

Installation time: 3s

'/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/chicken-install' -v 2>&1
checking nanomsg ...
checking platform for `nanomsg'
checking dependencies for `nanomsg'
install order:
("nanomsg")
building nanomsg
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/nanomsg/nanomsg.build.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/nanomsg/nanomsg.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/nanomsg -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/nanomsg -O2 -d1 -L -lnanomsg nanomsg-module.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/nanomsg/nanomsg.so

Warning: Invalid argument
  In file `nanomsg.scm:310',
  In module `nanomsg',
  In procedure `nn-send',
  In procedure `loop',
  In procedure call:

    (srfi-18#thread-wait-for-i/o! (nanomsg#nn-socket-sndfd socket) '#: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)

Warning: Invalid argument
  In file `nanomsg.scm:342',
  In module `nanomsg',
  In procedure `nn-recv',
  In procedure `loop',
  In procedure call:

    (srfi-18#thread-wait-for-i/o! (nanomsg#nn-socket-rcvfd socket) '#: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/nanomsg/nanomsg.c:11:10: fatal error: 'nanomsg/nn.h' file not found
#include <nanomsg/nn.h>
         ^~~~~~~~~~~~~~
1 error generated.

Error: shell command terminated with non-zero exit status 256: 'clang' '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/nanomsg/nanomsg.c' -o '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/nanomsg/nanomsg.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/usr/local/include/db6 -I/usr/local/include -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/nanomsg -I/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/include/chicken -I'/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/include/chicken'

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