Installation output for allegro [fail]

Installation time: 12s

'/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/bin/chicken-install' -v 2>&1
checking allegro ...
checking platform for `allegro'
checking dependencies for `allegro'
install order:
("allegro")
building allegro
running script /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.build.sh
executing: "sh /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.build.sh"
   /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/build -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro -C -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro -O2 -d1 allegro.scm -o /usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.so
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:2435:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
C_r=C_int_to_num(&C_a,al_utf8_encode(t0,t1));
                                     ^~
/usr/local/include/allegro5/utf8.h:135:39: note: passing argument to parameter 's' here
AL_FUNC(size_t, al_utf8_encode, (char s[], int32_t c));
                                      ^
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:2969:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
al_ustr_to_buffer(t0,t1,t2);
                     ^~
/usr/local/include/allegro5/utf8.h:33:65: note: passing argument to parameter 'buffer' here
AL_FUNC(void, al_ustr_to_buffer, (const ALLEGRO_USTR *us, char *buffer, int size));
                                                                ^
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:2991:61: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
C_r=C_mpointer_or_false(&C_a,(void*)al_ustr_new_from_buffer(t0,t1));
                                                            ^~
/usr/local/include/allegro5/utf8.h:29:63: note: passing argument to parameter 's' here
AL_FUNC(ALLEGRO_USTR *, al_ustr_new_from_buffer, (const char *s, size_t size));
                                                              ^
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:4877:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
C_r=C_mpointer(&C_a,(void*)al_fgets(t0,t1,t2));
                                       ^~
/usr/local/include/allegro5/file.h:74:57: note: passing argument to parameter 'p' here
AL_FUNC(char*, al_fgets, (ALLEGRO_FILE *f, char * const p, size_t max));
                                                        ^
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:6492:46: warning: incompatible function pointer types passing 'ALLEGRO_BITMAP *(*)(ALLEGRO_FILE *, int)' (aka 'struct ALLEGRO_BITMAP *(*)(struct ALLEGRO_FILE *, int)') to parameter of type 'ALLEGRO_IIO_FS_LOADER_FUNCTION' (aka 'struct ALLEGRO_BITMAP *(*)(struct ALLEGRO_FILE *)') [-Wincompatible-function-pointer-types]
C_r=C_mk_bool(al_register_bitmap_loader_f(t0,t1));
                                             ^~
/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/include/chicken/chicken.h:1037:38: note: expanded from macro 'C_mk_bool'
#define C_mk_bool(x)               ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE)
                                     ^
/usr/local/include/allegro5/bitmap_io.h:18:93: note: passing argument to parameter 'fs_loader' here
AL_FUNC(bool, al_register_bitmap_loader_f, (const char *ext, ALLEGRO_IIO_FS_LOADER_FUNCTION fs_loader));
                                                                                            ^
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:6500:44: warning: incompatible function pointer types passing 'ALLEGRO_BITMAP *(*)(const char *, int)' (aka 'struct ALLEGRO_BITMAP *(*)(const char *, int)') to parameter of type 'ALLEGRO_IIO_LOADER_FUNCTION' (aka 'struct ALLEGRO_BITMAP *(*)(const char *)') [-Wincompatible-function-pointer-types]
C_r=C_mk_bool(al_register_bitmap_loader(t0,t1));
                                           ^~
/usr/home/chicken/salmonella/build/salmonella-run-publish/chicken/include/chicken/chicken.h:1037:38: note: expanded from macro 'C_mk_bool'
#define C_mk_bool(x)               ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE)
                                     ^
/usr/local/include/allegro5/bitmap_io.h:16:88: note: passing argument to parameter 'loader' here
AL_FUNC(bool, al_register_bitmap_loader, (const char *ext, ALLEGRO_IIO_LOADER_FUNCTION loader));
                                                                                       ^
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:16892:18: error: use of undeclared identifier 'ALLEGRO_KEEP_INDEX'
t8=C_fix((C_word)ALLEGRO_KEEP_INDEX);
                 ^
/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c:16997:19: error: use of undeclared identifier 'ALLEGRO_KEEP_INDEX'
t16=C_fix((C_word)ALLEGRO_KEEP_INDEX);
                  ^
6 warnings and 2 errors generated.

Error: shell command terminated with non-zero exit status 256: 'clang' '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.c' -o '/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro/allegro.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -fPIC -DPIC -DC_SHARED -I/usr/local/include/db6 -I/usr/local/include -O3 -I/usr/local/include -I/usr/home/chicken/salmonella/build/salmonella-run-publish/salmonella-repo/repo/cache/allegro -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/allegro/allegro.build.sh"