% chicken-install breadline building breadline /Users/willh/.cache/chicken-install/breadline/build-breadline -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /Users/willh/.cache/chicken-install/breadline -C -I/Users/willh/.cache/chicken-install/breadline -O2 -d1 breadline-module.scm -o /Users/willh/.cache/chicken-install/breadline/breadline.so Package readline was not found in the pkg-config search path. Perhaps you should add the directory containing `readline.pc' to the PKG_CONFIG_PATH environment variable No package 'readline' found Package readline was not found in the pkg-config search path. Perhaps you should add the directory containing `readline.pc' to the PKG_CONFIG_PATH environment variable No package 'readline' found Package readline was not found in the pkg-config search path. Perhaps you should add the directory containing `readline.pc' to the PKG_CONFIG_PATH environment variable No package 'readline' found Package readline was not found in the pkg-config search path. Perhaps you should add the directory containing `readline.pc' to the PKG_CONFIG_PATH environment variable No package 'readline' found '/usr/local/Cellar/chicken/5.3.0_1/bin/csc' -C '' -L '-lreadline -lncurses' '-host' '-D' 'compiling-extension' '-J' '-s' '-regenerate-import-libraries' '-setup-mode' '-I' '/Users/willh/.cache/chicken-install/breadline' '-C' '-I/Users/willh/.cache/chicken-install/breadline' '-O2' '-d1' 'breadline-module.scm' '-o' '/Users/willh/.cache/chicken-install/breadline/breadline.so' /Users/willh/.cache/chicken-install/breadline/breadline.c:53:30: warning: incompatible function pointer types assigning to 'Function *' (aka 'int (*)(const char *, int)') from 'char *(*)(const char *, int)' [-Wincompatible-function-pointer-types] rl_completion_entry_function = &readline_completer; ^ ~~~~~~~~~~~~~~~~~~~ /Users/willh/.cache/chicken-install/breadline/breadline.c:204:1: error: call to undeclared function 'rl_callback_sigcleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rl_callback_sigcleanup(); ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:263:38: error: expected expression rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook; ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:263:22: error: use of undeclared identifier 'rl_hook_func_t' rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook; ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:273:1: error: use of undeclared identifier 'rl_event_hook' rl_event_hook = NULL; ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:284:1: error: use of undeclared identifier 'rl_event_hook' rl_event_hook = (rl_hook_func_t *)readline_event_hook; ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:284:34: error: expected expression rl_event_hook = (rl_hook_func_t *)readline_event_hook; ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:284:18: error: use of undeclared identifier 'rl_hook_func_t' rl_event_hook = (rl_hook_func_t *)readline_event_hook; ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:327:5: error: used type 'void' where arithmetic or pointer type is required C_r=C_mk_bool(rl_reset_terminal(t0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/chicken/5.3.0_1/include/chicken/chicken.h:1049:41: note: expanded from macro 'C_mk_bool' #define C_mk_bool(x) ((x) ? C_SCHEME_TRUE : C_SCHEME_FALSE) ~~~ ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:333:1: error: call to undeclared function 'rl_reset_after_signal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rl_reset_after_signal(); ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:333:1: note: did you mean 'rl_reset_terminal'? /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/readline/readline.h:181:8: note: 'rl_reset_terminal' declared here void rl_reset_terminal(const char *); ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:352:19: error: operand of type 'void' where arithmetic or pointer type is required C_r=C_fix((C_word)rl_stuff_char(t0)); ^~~~~~~~~~~~~~~~~ /usr/local/Cellar/chicken/5.3.0_1/include/chicken/chicken.h:1037:56: note: expanded from macro 'C_fix' #define C_fix(n) ((C_word)((C_uword)(n) << C_FIXNUM_SHIFT) | C_FIXNUM_BIT) ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:360:19: error: call to undeclared function 'rl_delete_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] C_r=C_fix((C_word)rl_delete_text(t0,t1)); ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:374:19: error: call to undeclared function 'rl_set_paren_blink_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] C_r=C_fix((C_word)rl_set_paren_blink_timeout(t0)); ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:382:12: error: use of undeclared identifier 'rl_basic_quote_characters' if (chars) rl_basic_quote_characters = chars; ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:392:28: error: call to undeclared function 'rl_variable_value'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] C_r=C_mpointer(&C_a,(void*)rl_variable_value(t0)); ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:392:28: note: did you mean 'rl_variable_bind'? /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/readline/readline.h:193:7: note: 'rl_variable_bind' declared here int rl_variable_bind(const char *, const char *); ^ /Users/willh/.cache/chicken-install/breadline/breadline.c:392:21: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] C_r=C_mpointer(&C_a,(void*)rl_variable_value(t0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/willh/.cache/chicken-install/breadline/breadline.c:3304:29: error: use of undeclared identifier 'rl_display_prompt' av2[2]=C_mpointer(&a,(void*)rl_display_prompt); ^ 2 warnings and 15 errors generated. Error: shell command terminated with non-zero exit status 256: 'clang' '/Users/willh/.cache/chicken-install/breadline/breadline.c' -o '/Users/willh/.cache/chicken-install/breadline/breadline.o' -c -fno-strict-aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/Users/willh/.cache/chicken-install/breadline -I/usr/local/Cellar/chicken/5.3.0_1/include/chicken Error: shell invocation failed with non-zero return status "'/usr/local/Cellar/chicken/5.3.0_1/bin/csc' -C '' -L '-lreadline -lncurses' '-host' '-D' 'compiling-extension' '-J' '-s' '-regenerate-import-libraries' '-setup-mode' '-I' '/Users/willh/.cache/chicken-install/breadline' '-C' '-I/Users/willh/.cache/chicken-install/breadline' '-O2' '-d1' 'breadline-module.scm' '-o' '/Users/willh/.cache/chicken-install/breadline/breadline.so'" 256 Call history: (string-append (apply format "~a -C ~a -L ~a " (map qs args)) (string-intersperse (map qs (command-l... (apply format "~a -C ~a -L ~a " (map qs args)) (map qs args) (string-intersperse (map qs (command-line-arguments)) " ") (map qs (command-line-arguments)) (command-line-arguments) (string-append (apply format "~a -C ~a -L ~a " (map qs args)) (string-intersperse (map qs (command-l... (apply format "~a -C ~a -L ~a " (map qs args)) (map qs args) (string-intersperse (map qs (command-line-arguments)) " ") (map qs (command-line-arguments)) (command-line-arguments) (print cmdline) (print cmdline) (system* cmdline) (system* cmdline) <-- Error: shell command terminated with nonzero exit code 17920 "sh /Users/willh/.cache/chicken-install/breadline/breadline.build.sh"