Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip3 install yowsup with macOS #3250

Open
arshiya-singh opened this issue Dec 2, 2023 · 0 comments
Open

pip3 install yowsup with macOS #3250

arshiya-singh opened this issue Dec 2, 2023 · 0 comments
Assignees

Comments

@arshiya-singh
Copy link

arshiya-singh commented Dec 2, 2023

Describe the bug

Still not able to install yowsup because of readline package, but unsure of how to continue after these two lines:

clang: error: no such file or directory: 'readline/libreadline.a'
clang: error: no such file or directory: 'readline/libhistory.a'

Debug output
command: pip3 install --verbose yowsup

  rm -f readline.o
  gcc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -arch i386 -arch x86_64 readline.c
  readline.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_set_prompt (prompt)
  ^
  readline.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  readline (prompt)
  ^
  readline.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  readline_internal_teardown (eof)
  ^
  readline.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_keyseq_cxt_dispose (cxt)
  ^
  readline.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_subseq_getchar (key)
  ^
  readline.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_dispatch_callback (cxt)
  ^
  readline.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_dispatch (key, map)
  ^
  readline.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_dispatch_subseq (key, map, got_subseq)
  ^
  readline.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_subseq_result (r, map, key, got_subseq)
  ^
  readline.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  bind_arrow_keys_internal (map)
  ^
  readline.c:1192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_save_state (sp)
  ^
  readline.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_restore_state (sp)
  ^
  12 warnings generated.
  readline.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_set_prompt (prompt)
  ^
  readline.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  readline (prompt)
  ^
  readline.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  readline_internal_teardown (eof)
  ^
  readline.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_keyseq_cxt_dispose (cxt)
  ^
  readline.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_subseq_getchar (key)
  ^
  readline.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_dispatch_callback (cxt)
  ^
  readline.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_dispatch (key, map)
  ^
  readline.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_dispatch_subseq (key, map, got_subseq)
  ^
  readline.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_subseq_result (r, map, key, got_subseq)
  ^
  readline.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  bind_arrow_keys_internal (map)
  ^
  readline.c:1192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_save_state (sp)
  ^
  readline.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_restore_state (sp)
  ^
  12 warnings generated.
  rm -f vi_mode.o
  gcc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -arch i386 -arch x86_64 vi_mode.c
  vi_mode.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_set_last (key, repeat, sign)
  ^
  vi_mode.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_start_inserting (key, repeat, sign)
  ^
  vi_mode.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_textmod_command (c)
  ^
  vi_mode.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_stuff_insert (count)
  ^
  vi_mode.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_redo (count, c)
  ^
  vi_mode.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_undo (count, key)
  ^
  vi_mode.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_yank_arg (count, key)
  ^
  vi_mode.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_fetch_history (count, c)
  ^
  vi_mode.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_search_again (count, key)
  ^
  vi_mode.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_search (count, key)
  ^
  vi_mode.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_complete (ignore, key)
  ^
  vi_mode.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_tilde_expand (ignore, key)
  ^
  vi_mode.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_prev_word (count, key)
  ^
  vi_mode.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_next_word (count, key)
  ^
  vi_mode.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_end_word (count, key)
  ^
  vi_mode.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_fWord (count, ignore)
  ^
  vi_mode.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_bWord (count, ignore)
  ^
  vi_mode.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_eWord (count, ignore)
  ^
  vi_mode.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_fword (count, ignore)
  ^
  vi_mode.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_bword (count, ignore)
  ^
  vi_mode.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_eword (count, ignore)
  ^
  vi_mode.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_insert_beg (count, key)
  ^
  vi_mode.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_append_forward (key)
  ^
  vi_mode.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_append_mode (count, key)
  ^
  vi_mode.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_append_eol (count, key)
  ^
  vi_mode.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_eof_maybe (count, c)
  ^
  vi_mode.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_insertion_mode (count, key)
  ^
  vi_mode.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_insert_mode (count, key)
  ^
  vi_mode.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_save_insert (up)
  ^
  vi_mode.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_movement_mode (count, key)
  ^
  vi_mode.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_arg_digit (count, c)
  ^
  vi_mode.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_change_case (count, ignore)
  ^
  vi_mode.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_put (count, key)
  ^
  vi_mode.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_column (count, key)
  ^
  vi_mode.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_arg_dispatch (c)
  ^
  vi_mode.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_mvcxt_init (m, op, key)
  ^
  vi_mode.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_mvcxt_alloc (op, key)
  ^
  vi_mode.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_mvcxt_dispose (m)
  ^
  vi_mode.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_domove_motion_callback (m)
  ^
  vi_mode.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_domove_read_callback (m)
  ^
  vi_mode.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_domove_getchar (m)
  ^
  vi_mode.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_domove_callback (m)
  ^
  vi_mode.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_domove (x, ignore)
  ^
  vi_mode.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vi_delete_dispatch (m)
  ^
  vi_mode.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_delete_to (count, key)
  ^
  vi_mode.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vi_change_dispatch (m)
  ^
  vi_mode.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_change_to (count, key)
  ^
  vi_mode.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vi_yank_dispatch (m)
  ^
  vi_mode.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_yank_to (count, key)
  ^
  vi_mode.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vidomove_dispatch (m)
  ^
  vi_mode.c:1459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_rubout (count, key)
  ^
  vi_mode.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_delete (count, key)
  ^
  vi_mode.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_back_to_indent (count, key)
  ^
  vi_mode.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_first_print (count, key)
  ^
  vi_mode.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_char_search (data)
  ^
  vi_mode.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_char_search (count, key)
  ^
  vi_mode.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_match (ignore, key)
  ^
  vi_mode.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_bracktype (c)
  ^
  vi_mode.c:1770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_change_char (count, c, mb)
  ^
  vi_mode.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_getchar (mb, mlen)
  ^
  vi_mode.c:1826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_change_char (data)
  ^
  vi_mode.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_change_char (count, key)
  ^
  vi_mode.c:1855:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
        mb[1] = '\0';
        ^  ~
  vi_mode.c:1849:3: note: array 'mb' declared here
    char mb[MB_LEN_MAX];
    ^
  vi_mode.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_subst (count, key)
  ^
  vi_mode.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_overstrike (count, key)
  ^
  vi_mode.c:1905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_overstrike_delete (count, key)
  ^
  vi_mode.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_replace (count, key)
  ^
  vi_mode.c:2017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_set_mark (data)
  ^
  vi_mode.c:2028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_set_mark (count, key)
  ^
  vi_mode.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_goto_mark (data)
  ^
  vi_mode.c:2086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_goto_mark (count, key)
  ^
  71 warnings generated.
  vi_mode.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_set_last (key, repeat, sign)
  ^
  vi_mode.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_start_inserting (key, repeat, sign)
  ^
  vi_mode.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_textmod_command (c)
  ^
  vi_mode.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_stuff_insert (count)
  ^
  vi_mode.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_redo (count, c)
  ^
  vi_mode.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_undo (count, key)
  ^
  vi_mode.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_yank_arg (count, key)
  ^
  vi_mode.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_fetch_history (count, c)
  ^
  vi_mode.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_search_again (count, key)
  ^
  vi_mode.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_search (count, key)
  ^
  vi_mode.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_complete (ignore, key)
  ^
  vi_mode.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_tilde_expand (ignore, key)
  ^
  vi_mode.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_prev_word (count, key)
  ^
  vi_mode.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_next_word (count, key)
  ^
  vi_mode.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_end_word (count, key)
  ^
  vi_mode.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_fWord (count, ignore)
  ^
  vi_mode.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_bWord (count, ignore)
  ^
  vi_mode.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_eWord (count, ignore)
  ^
  vi_mode.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_fword (count, ignore)
  ^
  vi_mode.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_bword (count, ignore)
  ^
  vi_mode.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_eword (count, ignore)
  ^
  vi_mode.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_insert_beg (count, key)
  ^
  vi_mode.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_append_forward (key)
  ^
  vi_mode.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_append_mode (count, key)
  ^
  vi_mode.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_append_eol (count, key)
  ^
  vi_mode.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_eof_maybe (count, c)
  ^
  vi_mode.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_insertion_mode (count, key)
  ^
  vi_mode.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_insert_mode (count, key)
  ^
  vi_mode.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_save_insert (up)
  ^
  vi_mode.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_movement_mode (count, key)
  ^
  vi_mode.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_arg_digit (count, c)
  ^
  vi_mode.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_change_case (count, ignore)
  ^
  vi_mode.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_put (count, key)
  ^
  vi_mode.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_column (count, key)
  ^
  vi_mode.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_arg_dispatch (c)
  ^
  vi_mode.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_mvcxt_init (m, op, key)
  ^
  vi_mode.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_mvcxt_alloc (op, key)
  ^
  vi_mode.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_mvcxt_dispose (m)
  ^
  vi_mode.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_domove_motion_callback (m)
  ^
  vi_mode.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_domove_read_callback (m)
  ^
  vi_mode.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_domove_getchar (m)
  ^
  vi_mode.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_domove_callback (m)
  ^
  vi_mode.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_domove (x, ignore)
  ^
  vi_mode.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vi_delete_dispatch (m)
  ^
  vi_mode.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_delete_to (count, key)
  ^
  vi_mode.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vi_change_dispatch (m)
  ^
  vi_mode.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_change_to (count, key)
  ^
  vi_mode.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vi_yank_dispatch (m)
  ^
  vi_mode.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_yank_to (count, key)
  ^
  vi_mode.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  vidomove_dispatch (m)
  ^
  vi_mode.c:1459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_rubout (count, key)
  ^
  vi_mode.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_delete (count, key)
  ^
  vi_mode.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_back_to_indent (count, key)
  ^
  vi_mode.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_first_print (count, key)
  ^
  vi_mode.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_char_search (data)
  ^
  vi_mode.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_char_search (count, key)
  ^
  vi_mode.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_match (ignore, key)
  ^
  vi_mode.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_bracktype (c)
  ^
  vi_mode.c:1770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_change_char (count, c, mb)
  ^
  vi_mode.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_getchar (mb, mlen)
  ^
  vi_mode.c:1826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_change_char (data)
  ^
  vi_mode.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_change_char (count, key)
  ^
  vi_mode.c:1855:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
        mb[1] = '\0';
        ^  ~
  vi_mode.c:1849:3: note: array 'mb' declared here
    char mb[MB_LEN_MAX];
    ^
  vi_mode.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_subst (count, key)
  ^
  vi_mode.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_overstrike (count, key)
  ^
  vi_mode.c:1905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_overstrike_delete (count, key)
  ^
  vi_mode.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_replace (count, key)
  ^
  vi_mode.c:2017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_set_mark (data)
  ^
  vi_mode.c:2028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_set_mark (count, key)
  ^
  vi_mode.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_vi_callback_goto_mark (data)
  ^
  vi_mode.c:2086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_vi_goto_mark (count, key)
  ^
  71 warnings generated.
  rm -f funmap.o
  gcc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -arch i386 -arch x86_64 funmap.c
  funmap.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_add_funmap_entry (name, function)
  ^
  1 warning generated.
  funmap.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_add_funmap_entry (name, function)
  ^
  1 warning generated.
  rm -f keymaps.o
  gcc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -arch i386 -arch x86_64 keymaps.c
  keymaps.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_copy_keymap (map)
  ^
  keymaps.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_discard_keymap (map)
  ^
  keymaps.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_free_keymap (map)
  ^
  3 warnings generated.
  keymaps.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_copy_keymap (map)
  ^
  keymaps.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_discard_keymap (map)
  ^
  keymaps.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_free_keymap (map)
  ^
  3 warnings generated.
  rm -f parens.o
  gcc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -arch i386 -arch x86_64 parens.c
  parens.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_enable_paren_matching (on_or_off)
  ^
  parens.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_set_paren_blink_timeout (u)
  ^
  parens.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_insert_close (count, invoking_key)
  ^
  parens.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  find_matching_open (string, from, closer)
  ^
  4 warnings generated.
  parens.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_enable_paren_matching (on_or_off)
  ^
  parens.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_set_paren_blink_timeout (u)
  ^
  parens.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_insert_close (count, invoking_key)
  ^
  parens.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  find_matching_open (string, from, closer)
  ^
  4 warnings generated.
  rm -f search.o
  gcc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -arch i386 -arch x86_64 search.c
  search.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  make_history_line_current (entry)
  ^
  search.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  noninc_search_from_pos (string, pos, dir)
  ^
  search.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  noninc_dosearch (string, dir)
  ^
  search.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_init (dir, pchar)
  ^
  search.c:213:24: warning: data argument not used by format string [-Wformat-extra-args]
    rl_message ("%s", p, 0);
                ~~~~     ^
  search.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_cleanup (cxt, r)
  ^
  search.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_abort (cxt)
  ^
  search.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_dispatch (cxt, c)
  ^
  search.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_dosearch (cxt)
  ^
  search.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  noninc_search (dir, pchar)
  ^
  search.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_forward_search (count, key)
  ^
  search.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_reverse_search (count, key)
  ^
  search.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_forward_search_again (count, key)
  ^
  search.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_reverse_search_again (count, key)
  ^
  search.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_callback (cxt)
  ^
  search.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_history_search_internal (count, dir)
  ^
  search.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_history_search_forward (count, ignore)
  ^
  search.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_history_search_backward (count, ignore)
  ^
  18 warnings generated.
  search.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  make_history_line_current (entry)
  ^
  search.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  noninc_search_from_pos (string, pos, dir)
  ^
  search.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  noninc_dosearch (string, dir)
  ^
  search.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_init (dir, pchar)
  ^
  search.c:213:24: warning: data argument not used by format string [-Wformat-extra-args]
    rl_message ("%s", p, 0);
                ~~~~     ^
  search.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_cleanup (cxt, r)
  ^
  search.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_abort (cxt)
  ^
  search.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_dispatch (cxt, c)
  ^
  search.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_dosearch (cxt)
  ^
  search.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  noninc_search (dir, pchar)
  ^
  search.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_forward_search (count, key)
  ^
  search.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_reverse_search (count, key)
  ^
  search.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_forward_search_again (count, key)
  ^
  search.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_noninc_reverse_search_again (count, key)
  ^
  search.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_nsearch_callback (cxt)
  ^
  search.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_history_search_internal (count, dir)
  ^
  search.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_history_search_forward (count, ignore)
  ^
  search.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_history_search_backward (count, ignore)
  ^
  18 warnings generated.
  rm -f rltty.o
  gcc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -arch i386 -arch x86_64 rltty.c
  rltty.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  set_winsize (tty)
  ^
  rltty.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  save_tty_chars (tiop)
  ^
  rltty.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  get_tty_settings (tty, tiop)
  ^
  rltty.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  set_tty_settings (tty, tiop)
  ^
  rltty.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  prepare_terminal_settings (meta_flag, oldtio, tiop)
  ^
  rltty.c:241:43: error: use of undeclared identifier 'ECHOCTL'
    _rl_echoctl = (oldtio.sgttyb.sg_flags & ECHOCTL);
                                            ^
  rltty.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_prep_terminal (meta_flag)
  ^
  rltty.c:645:2: error: call to undeclared function '_rl_bind_tty_special_chars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          _rl_bind_tty_special_chars (vi_insertion_keymap, tio);
          ^
  rltty.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_restart_output (count, key)
  ^
  rltty.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_stop_output (count, key)
  ^
  rltty.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  set_special_char (kmap, tiop, sc, func)
  ^
  rltty.c:810:1: error: static declaration of '_rl_bind_tty_special_chars' follows non-static declaration
  _rl_bind_tty_special_chars (kmap, ttybuff)
  ^
  rltty.c:645:2: note: previous implicit declaration is here
          _rl_bind_tty_special_chars (vi_insertion_keymap, tio);
          ^
  rltty.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_bind_tty_special_chars (kmap, ttybuff)
  ^
  rltty.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rltty_set_default_bindings (kmap)
  ^
  rltty.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_tty_set_default_bindings (kmap)
  ^
  rltty.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rl_tty_unset_default_bindings (kmap)
  ^
  rltty.c:906:3: warning: result of comparison of constant -1 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare]
    RESET_SPECIAL (_rl_tty_chars.t_erase);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  rltty.c:806:9: note: expanded from macro 'RESET_SPECIAL'
    if (c != -1 && kmap[(unsigned char)c].type == ISFUNC) \
        ~ ^  ~~
  rltty.c:907:3: warning: result of comparison of constant -1 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare]
    RESET_SPECIAL (_rl_tty_chars.t_kill);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  rltty.c:806:9: note: expanded from macro 'RESET_SPECIAL'
    if (c != -1 && kmap[(unsigned char)c].type == ISFUNC) \
        ~ ^  ~~
  15 warnings and 3 errors generated.
  make: *** [rltty.o] Error 1

  ============ Building the readline extension module ============

  /opt/homebrew/lib/python3.11/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2024-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running bdist_wheel
  running build
  running build_ext
  building 'readline' extension
  creating build
  creating build/temp.macosx-14-arm64-cpython-311
  creating build/temp.macosx-14-arm64-cpython-311/Modules
  creating build/temp.macosx-14-arm64-cpython-311/Modules/3.x
  clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c Modules/3.x/readline.c -o build/temp.macosx-14-arm64-cpython-311/Modules/3.x/readline.o -Wno-strict-prototypes -arch i386 -arch x86_64
  Modules/3.x/readline.c:842:19: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              char *s = _PyUnicode_AsString(r);
                    ^   ~~~~~~~~~~~~~~~~~~~~~~
  Modules/3.x/readline.c:1179:34: warning: incompatible function pointer types assigning to 'char *(*)(FILE *, FILE *, const char *)' (aka 'char *(*)(struct __sFILE *, struct __sFILE *, const char *)') from 'char *(FILE *, FILE *, char *)' (aka 'char *(struct __sFILE *, struct __sFILE *, char *)') [-Wincompatible-function-pointer-types]
      PyOS_ReadlineFunctionPointer = call_readline;
                                   ^ ~~~~~~~~~~~~~
  2 warnings generated.
  Modules/3.x/readline.c:842:19: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              char *s = _PyUnicode_AsString(r);
                    ^   ~~~~~~~~~~~~~~~~~~~~~~
  Modules/3.x/readline.c:1179:34: warning: incompatible function pointer types assigning to 'char *(*)(FILE *, FILE *, const char *)' (aka 'char *(*)(struct __sFILE *, struct __sFILE *, const char *)') from 'char *(FILE *, FILE *, char *)' (aka 'char *(struct __sFILE *, struct __sFILE *, char *)') [-Wincompatible-function-pointer-types]
      PyOS_ReadlineFunctionPointer = call_readline;
                                   ^ ~~~~~~~~~~~~~
  2 warnings generated.
  creating build/lib.macosx-14-arm64-cpython-311
  clang -bundle -undefined dynamic_lookup build/temp.macosx-14-arm64-cpython-311/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.macosx-14-arm64-cpython-311/readline.cpython-311-darwin.so -arch i386 -arch x86_64
  **clang: error: no such file or directory: 'readline/libreadline.a'
  clang: error: no such file or directory: 'readline/libhistory.a'**
  error: command '/usr/bin/clang' failed with exit code 1
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/opt/python@3.11/bin/python3.11 -u -c '
  exec(compile('"'"''"'"''"'"'
  # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
  #
  # - It imports setuptools before invoking setup.py, to enable projects that directly
  #   import from `distutils.core` to work with newer packaging standards.
  # - It provides a clear error message when setuptools is not installed.
  # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
  #   setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
  #     manifest_maker: standard file '"'"'-c'"'"' not found".
  # - It generates a shim setup.py, for handling setup.cfg-only projects.
  import os, sys, tokenize
  
  try:
      import setuptools
  except ImportError as error:
      print(
          "ERROR: Can not execute `setup.py` since setuptools is not available in "
          "the build environment.",
          file=sys.stderr,
      )
      sys.exit(1)
  
  __file__ = %r
  sys.argv[0] = __file__
  
  if os.path.exists(__file__):
      filename = __file__
      with tokenize.open(__file__) as f:
          setup_py_code = f.read()
  else:
      filename = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"
  
  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'/private/var/folders/md/r9l_lqvs61g__wr2c2_n1tjm0000gn/T/pip-install-ll5vggcw/readline_c1e5916730fa4aa2958fef4bac30bba2/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /private/var/folders/md/r9l_lqvs61g__wr2c2_n1tjm0000gn/T/pip-wheel-6vjm56wc
  cwd: /private/var/folders/md/r9l_lqvs61g__wr2c2_n1tjm0000gn/T/pip-install-ll5vggcw/readline_c1e5916730fa4aa2958fef4bac30bba2/
  Building wheel for readline (setup.py) ... error
  ERROR: Failed building wheel for readline
  Running setup.py clean for readline
  Running command python setup.py clean
  /opt/homebrew/lib/python3.11/site-packages/setuptools/dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!

          ********************************************************************************
          Usage of dash-separated 'multi-version' will not be supported in future
          versions. Please use the underscore name 'multi_version' instead.

          By 2024-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  running clean
  removing 'build/temp.macosx-14-arm64-cpython-311' (and everything under it)
  removing 'build/lib.macosx-14-arm64-cpython-311' (and everything under it)
  'build/bdist.macosx-14-arm64' does not exist -- can't clean it
  'build/scripts-3.11' does not exist -- can't clean it
  removing 'build'
Failed to build readline
ERROR: Could not build wheels for readline, which is required to install pyproject.toml-based projects

Versions

python: from homebrew, python@3.11: stable 3.11.6 (bottled)

To Reproduce

pip3 install --verbose yowsup

Expected behavior
The package should be installed and ready to use

OS (please complete the following information):
macOS Sonoma 14.1.12

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants