-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Hi! I'm trying to install gnureadline (that is the fallback prompt engine for xonsh shell when prompt-toolkit is not working) on mac:
rustpython -m pip install gnureadlineResult:
Details
Defaulting to user installation because normal site-packages is not writeable
Collecting gnureadline
Using cached gnureadline-8.2.13.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: gnureadline
Building wheel for gnureadline (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for gnureadline (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [728 lines of output]
Using compiler cc on OS X
Guessing actual compiler: Apple clang version 17.0.0 (clang-1700.6.3.2)
Compiler supports architectures: x86_64 arm64
x readline-8.2/
x readline-8.2/nls.c
x readline-8.2/CHANGES
x readline-8.2/histsearch.c
x readline-8.2/readline.pc.in
x readline-8.2/text.c
x readline-8.2/chardefs.h
x readline-8.2/histlib.h
x readline-8.2/rlmbutil.h
x readline-8.2/tilde.c
x readline-8.2/colors.h
x readline-8.2/vi_keymap.c
x readline-8.2/keymaps.h
x readline-8.2/histfile.c
x readline-8.2/posixtime.h
x readline-8.2/support/
x readline-8.2/config.h.in
x readline-8.2/util.c
x readline-8.2/colors.c
x readline-8.2/rltty.c
x readline-8.2/posixjmp.h
x readline-8.2/patchlevel
x readline-8.2/rlwinsize.h
x readline-8.2/misc.c
x readline-8.2/funmap.c
x readline-8.2/parse-colors.c
x readline-8.2/signals.c
x readline-8.2/configure
x readline-8.2/INSTALL
x readline-8.2/complete.c
x readline-8.2/callback.c
x readline-8.2/posixdir.h
x readline-8.2/ansi_stdlib.h
x readline-8.2/configure.ac
x readline-8.2/xfree.c
x readline-8.2/xmalloc.c
x readline-8.2/undo.c
x readline-8.2/rlconf.h
x readline-8.2/shell.c
x readline-8.2/CHANGELOG
x readline-8.2/keymaps.c
x readline-8.2/doc/
x readline-8.2/readline.c
x readline-8.2/mbutil.c
x readline-8.2/COPYING
x readline-8.2/display.c
x readline-8.2/terminal.c
x readline-8.2/parens.c
x readline-8.2/README
x readline-8.2/rlstdc.h
x readline-8.2/posixselect.h
x readline-8.2/history.c
x readline-8.2/rltypedefs.h
x readline-8.2/history.pc.in
x readline-8.2/USAGE
x readline-8.2/Makefile.in
x readline-8.2/rlprivate.h
x readline-8.2/aclocal.m4
x readline-8.2/rlshell.h
x readline-8.2/examples/
x readline-8.2/shlib/
x readline-8.2/histexpand.c
x readline-8.2/compat.c
x readline-8.2/readline.h
x readline-8.2/tcap.h
x readline-8.2/search.c
x readline-8.2/macro.c
x readline-8.2/rldefs.h
x readline-8.2/MANIFEST
x readline-8.2/tilde.h
x readline-8.2/parse-colors.h
x readline-8.2/vi_mode.c
x readline-8.2/emacs_keymap.c
x readline-8.2/isearch.c
x readline-8.2/kill.c
x readline-8.2/input.c
x readline-8.2/NEWS
x readline-8.2/m4/
x readline-8.2/rltty.h
x readline-8.2/bind.c
x readline-8.2/posixstat.h
x readline-8.2/history.h
x readline-8.2/savestring.c
x readline-8.2/xmalloc.h
x readline-8.2/m4/codeset.m4
x readline-8.2/shlib/Makefile.in
x readline-8.2/examples/rlcat.c
x readline-8.2/examples/excallback.c
x readline-8.2/examples/rlwrap-0.30.tar.gz
x readline-8.2/examples/rl-fgets.c
x readline-8.2/examples/rlptytest.c
x readline-8.2/examples/rlkeymaps.c
x readline-8.2/examples/rl-callbacktest.c
x readline-8.2/examples/rlbasic.c
x readline-8.2/examples/readlinebuf.h
x readline-8.2/examples/Inputrc
x readline-8.2/examples/hist_erasedups.c
x readline-8.2/examples/rl-timeout.c
x readline-8.2/examples/Makefile.in
x readline-8.2/examples/rltest.c
x readline-8.2/examples/autoconf/
x readline-8.2/examples/rl-test-timeout
x readline-8.2/examples/manexamp.c
x readline-8.2/examples/rlfe/
x readline-8.2/examples/rlversion.c
x readline-8.2/examples/rl.c
x readline-8.2/examples/hist_purgecmd.c
x readline-8.2/examples/rlevent.c
x readline-8.2/examples/fileman.c
x readline-8.2/examples/histexamp.c
x readline-8.2/examples/rlfe/config.h.in
x readline-8.2/examples/rlfe/configure
x readline-8.2/examples/rlfe/pty.c
x readline-8.2/examples/rlfe/rlfe.c
x readline-8.2/examples/rlfe/ChangeLog
x readline-8.2/examples/rlfe/README
x readline-8.2/examples/rlfe/Makefile.in
x readline-8.2/examples/rlfe/os.h
x readline-8.2/examples/rlfe/extern.h
x readline-8.2/examples/rlfe/screen.h
x readline-8.2/examples/rlfe/configure.in
x readline-8.2/examples/autoconf/wi_LIB_READLINE
x readline-8.2/examples/autoconf/RL_LIB_READLINE_VERSION
x readline-8.2/examples/autoconf/BASH_CHECK_LIB_TERMCAP
x readline-8.2/doc/rluserman.pdf
x readline-8.2/doc/texinfo.tex
x readline-8.2/doc/readline.0
x readline-8.2/doc/rluser.texi
x readline-8.2/doc/readline.dvi
x readline-8.2/doc/fdl.texi
x readline-8.2/doc/hsuser.texi
x readline-8.2/doc/rluserman.info
x readline-8.2/doc/rltech.texi
x readline-8.2/doc/rluserman.dvi
x readline-8.2/doc/history.ps
x readline-8.2/doc/readline_3.ps
x readline-8.2/doc/rlman.texi
x readline-8.2/doc/texi2html
x readline-8.2/doc/readline.ps
x readline-8.2/doc/history_3.ps
x readline-8.2/doc/readline.info
x readline-8.2/doc/readline.pdf
x readline-8.2/doc/Makefile.in
x readline-8.2/doc/readline.html
x readline-8.2/doc/history.pdf
x readline-8.2/doc/version.texi
x readline-8.2/doc/history.3
x readline-8.2/doc/history.texi
x readline-8.2/doc/texi2dvi
x readline-8.2/doc/hstech.texi
x readline-8.2/doc/rluserman.texi
x readline-8.2/doc/history.0
x readline-8.2/doc/history.info
x readline-8.2/doc/history.html
x readline-8.2/doc/readline.3
x readline-8.2/doc/history.dvi
x readline-8.2/doc/rluserman.ps
x readline-8.2/doc/rluserman.html
x readline-8.2/support/config.sub
x readline-8.2/support/mkinstalldirs
x readline-8.2/support/shlib-install
x readline-8.2/support/mkdist
x readline-8.2/support/mkdirs
x readline-8.2/support/install.sh
x readline-8.2/support/config.rpath
x readline-8.2/support/shobj-conf
x readline-8.2/support/config.guess
x readline-8.2/support/wcwidth.c
patching file nls.c
patching file patchlevel
patching file display.c
patching file patchlevel
patching file colors.c
patching file patchlevel
patching file input.c
patching file patchlevel
patching file callback.c
patching file patchlevel
patching file input.c
patching file patchlevel
patching file display.c
patching file patchlevel
patching file text.c
patching file bind.c
patching file rltty.c
patching file patchlevel
patching file complete.c
patching file patchlevel
patching file complete.c
patching file patchlevel
patching file bind.c
patching file patchlevel
patching file readline.c
patching file isearch.c
patching file patchlevel
patching file text.c
patching file patchlevel
checking build system type... aarch64-apple-darwin25.2.0
checking host system type... aarch64-apple-darwin25.2.0
Beginning configuration for readline-8.2 for aarch64-apple-darwin25.2.0
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /opt/homebrew/bin/ggrep
checking for egrep... /opt/homebrew/bin/ggrep -E
checking whether cc needs -traditional... no
checking for a BSD-compatible install... /opt/homebrew/bin/ginstall -c
checking for ar... ar
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether char is unsigned... no
checking for working volatile... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for fcntl... yes
checking for gettimeofday... yes
checking for kill... yes
checking for lstat... yes
checking for pselect... yes
checking for readlink... yes
checking for select... yes
checking for setitimer... yes
checking for fnmatch... yes
checking for memmove... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strpbrk... yes
checking for sysconf... yes
checking for tcgetattr... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for isxdigit... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for uid_t in sys/types.h... yes
checking for working chown... yes
checking for working strcoll... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for varargs.h... no
checking for stdarg.h... yes
checking for stdbool.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for limits.h... yes
checking for locale.h... yes
checking for pwd.h... yes
checking for memory.h... yes
checking for termcap.h... yes
checking for termios.h... yes
checking for termio.h... no
checking for sys/ioctl.h... yes
checking for sys/pte.h... no
checking for sys/stream.h... no
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/file.h... yes
checking for sys/ptem.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for type of signal functions... posix
checking if signal handlers must be reinstalled when invoked... no
checking for presence of POSIX-style sigsetjmp/siglongjmp... present
checking for lstat... yes
checking whether or not strcoll and strcmp differ... no
checking whether getpw functions are declared in pwd.h... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for inttypes.h... (cached) yes
checking for sig_atomic_t in signal.h... yes
checking for TIOCSTAT in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
checking for struct dirent.d_ino... checking for struct dirent.d_ino... yes
yes
checking for struct dirent.d_fileno... checking for struct dirent.d_fileno... yes
yes
checking for struct timeval in sys/time.h and time.h... yes
checking for libaudit.h... no
checking for cc options needed to detect all undeclared functions... none needed
checking whether AUDIT_USER_TTY is declared... no
checking for tgetent... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking for nl_langinfo and CODESET... yes
checking for wctype.h... yes
checking for wchar.h... (cached) yes
checking for langinfo.h... yes
checking for mbstr.h... no
checking for mbrlen... yes
checking for mbscasecmp... no
checking for mbscmp... no
checking for mbsnrtowcs... yes
checking for mbsrtowcs... yes
checking for mbschr... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... yes
checking for wcwidth... yes
checking for wctype... yes
checking for wcswidth... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for iswctype... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking for wcwidth broken with unicode combining characters... no
checking size of wchar_t... 4
checking configuration for building shared libraries... supported
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating shlib/Makefile
config.status: creating readline.pc
config.status: creating history.pc
config.status: creating config.h
config.status: executing stamp-h commands
rm -f readline.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 readline.c
rm -f vi_mode.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 vi_mode.c
rm -f funmap.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 funmap.c
rm -f keymaps.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 keymaps.c
rm -f parens.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 parens.c
rm -f search.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 search.c
rm -f rltty.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 rltty.c
rm -f complete.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 complete.c
complete.c:1151:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:1151:23: note: place parentheses around the assignment to silence this warning
1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ^
| ( )
complete.c:1151:23: note: use '==' to turn this assignment into an equality comparison
1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ^
| ==
complete.c:2235:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2235 | while (string = (*entry_function) (text, matches))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:2235:17: note: place parentheses around the assignment to silence this warning
2235 | while (string = (*entry_function) (text, matches))
| ^
| ( )
complete.c:2235:17: note: use '==' to turn this assignment into an equality comparison
2235 | while (string = (*entry_function) (text, matches))
| ^
| ==
complete.c:2307:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2307 | while (entry = getpwent ())
| ~~~~~~^~~~~~~~~~~~~
complete.c:2307:16: note: place parentheses around the assignment to silence this warning
2307 | while (entry = getpwent ())
| ^
| ( )
complete.c:2307:16: note: use '==' to turn this assignment into an equality comparison
2307 | while (entry = getpwent ())
| ^
| ==
3 warnings generated.
complete.c:1151:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:1151:23: note: place parentheses around the assignment to silence this warning
1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ^
| ( )
complete.c:1151:23: note: use '==' to turn this assignment into an equality comparison
1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ^
| ==
complete.c:2235:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2235 | while (string = (*entry_function) (text, matches))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:2235:17: note: place parentheses around the assignment to silence this warning
2235 | while (string = (*entry_function) (text, matches))
| ^
| ( )
complete.c:2235:17: note: use '==' to turn this assignment into an equality comparison
2235 | while (string = (*entry_function) (text, matches))
| ^
| ==
complete.c:2307:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2307 | while (entry = getpwent ())
| ~~~~~~^~~~~~~~~~~~~
complete.c:2307:16: note: place parentheses around the assignment to silence this warning
2307 | while (entry = getpwent ())
| ^
| ( )
complete.c:2307:16: note: use '==' to turn this assignment into an equality comparison
2307 | while (entry = getpwent ())
| ^
| ==
3 warnings generated.
rm -f bind.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 bind.c
bind.c:1591:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1591 | for (i = start,passc = 0; c = string[i]; i++)
| ~~^~~~~~~~~~~
bind.c:1591:31: note: place parentheses around the assignment to silence this warning
1591 | for (i = start,passc = 0; c = string[i]; i++)
| ^
| ( )
bind.c:1591:31: note: use '==' to turn this assignment into an equality comparison
1591 | for (i = start,passc = 0; c = string[i]; i++)
| ^
| ==
bind.c:2815:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2815 | for (i = 0; name = names[i]; i++)
| ~~~~~^~~~~~~~~~
bind.c:2815:20: note: place parentheses around the assignment to silence this warning
2815 | for (i = 0; name = names[i]; i++)
| ^
| ( )
bind.c:2815:20: note: use '==' to turn this assignment into an equality comparison
2815 | for (i = 0; name = names[i]; i++)
| ^
| ==
2 warnings generated.
bind.c:1591:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1591 | for (i = start,passc = 0; c = string[i]; i++)
| ~~^~~~~~~~~~~
bind.c:1591:31: note: place parentheses around the assignment to silence this warning
1591 | for (i = start,passc = 0; c = string[i]; i++)
| ^
| ( )
bind.c:1591:31: note: use '==' to turn this assignment into an equality comparison
1591 | for (i = start,passc = 0; c = string[i]; i++)
| ^
| ==
bind.c:2815:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2815 | for (i = 0; name = names[i]; i++)
| ~~~~~^~~~~~~~~~
bind.c:2815:20: note: place parentheses around the assignment to silence this warning
2815 | for (i = 0; name = names[i]; i++)
| ^
| ( )
bind.c:2815:20: note: use '==' to turn this assignment into an equality comparison
2815 | for (i = 0; name = names[i]; i++)
| ^
| ==
2 warnings generated.
rm -f isearch.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 isearch.c
rm -f display.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 display.c
rm -f signals.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 signals.c
rm -f util.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 util.c
rm -f kill.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 kill.c
rm -f undo.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 undo.c
rm -f macro.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 macro.c
rm -f input.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 input.c
input.c:766:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
766 | if (c = _rl_next_macro_key ())
| ~~^~~~~~~~~~~~~~~~~~~~~~~
input.c:766:13: note: place parentheses around the assignment to silence this warning
766 | if (c = _rl_next_macro_key ())
| ^
| ( )
input.c:766:13: note: use '==' to turn this assignment into an equality comparison
766 | if (c = _rl_next_macro_key ())
| ^
| ==
1 warning generated.
input.c:766:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
766 | if (c = _rl_next_macro_key ())
| ~~^~~~~~~~~~~~~~~~~~~~~~~
input.c:766:13: note: place parentheses around the assignment to silence this warning
766 | if (c = _rl_next_macro_key ())
| ^
| ( )
input.c:766:13: note: use '==' to turn this assignment into an equality comparison
766 | if (c = _rl_next_macro_key ())
| ^
| ==
1 warning generated.
rm -f callback.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 callback.c
rm -f terminal.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 terminal.c
rm -f text.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 text.c
rm -f nls.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 nls.c
rm -f misc.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 misc.c
misc.c:460:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
460 | if (ul = (UNDO_LIST *)entry->data)
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:460:14: note: place parentheses around the assignment to silence this warning
460 | if (ul = (UNDO_LIST *)entry->data)
| ^
| ( )
misc.c:460:14: note: use '==' to turn this assignment into an equality comparison
460 | if (ul = (UNDO_LIST *)entry->data)
| ^
| ==
misc.c:520:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
520 | if (ul = (UNDO_LIST *)hent->data)
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:520:14: note: place parentheses around the assignment to silence this warning
520 | if (ul = (UNDO_LIST *)hent->data)
| ^
| ( )
misc.c:520:14: note: use '==' to turn this assignment into an equality comparison
520 | if (ul = (UNDO_LIST *)hent->data)
| ^
| ==
2 warnings generated.
misc.c:460:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
460 | if (ul = (UNDO_LIST *)entry->data)
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:460:14: note: place parentheses around the assignment to silence this warning
460 | if (ul = (UNDO_LIST *)entry->data)
| ^
| ( )
misc.c:460:14: note: use '==' to turn this assignment into an equality comparison
460 | if (ul = (UNDO_LIST *)entry->data)
| ^
| ==
misc.c:520:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
520 | if (ul = (UNDO_LIST *)hent->data)
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:520:14: note: place parentheses around the assignment to silence this warning
520 | if (ul = (UNDO_LIST *)hent->data)
| ^
| ( )
misc.c:520:14: note: use '==' to turn this assignment into an equality comparison
520 | if (ul = (UNDO_LIST *)hent->data)
| ^
| ==
2 warnings generated.
rm -f history.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 history.c
rm -f histexpand.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 histexpand.c
histexpand.c:213:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
213 | for (local_index = i; c = string[i]; i++)
| ~~^~~~~~~~~~~
histexpand.c:213:27: note: place parentheses around the assignment to silence this warning
213 | for (local_index = i; c = string[i]; i++)
| ^
| ( )
histexpand.c:213:27: note: use '==' to turn this assignment into an equality comparison
213 | for (local_index = i; c = string[i]; i++)
| ^
| ==
1 warning generated.
histexpand.c:213:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
213 | for (local_index = i; c = string[i]; i++)
| ~~^~~~~~~~~~~
histexpand.c:213:27: note: place parentheses around the assignment to silence this warning
213 | for (local_index = i; c = string[i]; i++)
| ^
| ( )
histexpand.c:213:27: note: use '==' to turn this assignment into an equality comparison
213 | for (local_index = i; c = string[i]; i++)
| ^
| ==
1 warning generated.
rm -f histfile.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 histfile.c
rm -f histsearch.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 histsearch.c
histsearch.c:212:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
histsearch.c:212:27: note: place parentheses around the assignment to silence this warning
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ^
| ( )
histsearch.c:212:27: note: use '==' to turn this assignment into an equality comparison
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ^
| ==
1 warning generated.
histsearch.c:212:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
histsearch.c:212:27: note: place parentheses around the assignment to silence this warning
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ^
| ( )
histsearch.c:212:27: note: use '==' to turn this assignment into an equality comparison
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ^
| ==
1 warning generated.
rm -f shell.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 shell.c
rm -f mbutil.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 mbutil.c
rm -f tilde.o
cc -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 -DREADLINE_LIBRARY -c ./tilde.c
./tilde.c:195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
195 | if (result = strchr (string, '~'))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./tilde.c:195:14: note: place parentheses around the assignment to silence this warning
195 | if (result = strchr (string, '~'))
| ^
| ( )
./tilde.c:195:14: note: use '==' to turn this assignment into an equality comparison
195 | if (result = strchr (string, '~'))
| ^
| ==
1 warning generated.
./tilde.c:195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
195 | if (result = strchr (string, '~'))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./tilde.c:195:14: note: place parentheses around the assignment to silence this warning
195 | if (result = strchr (string, '~'))
| ^
| ( )
./tilde.c:195:14: note: use '==' to turn this assignment into an equality comparison
195 | if (result = strchr (string, '~'))
| ^
| ==
1 warning generated.
rm -f colors.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 colors.c
rm -f parse-colors.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 parse-colors.c
rm -f xmalloc.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 xmalloc.c
rm -f xfree.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 xfree.c
rm -f compat.o
cc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -arch x86_64 -arch arm64 compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a
/private/var/folders/x_/7rb805s54v7bc_sp34jpw9gc0000gn/T/pip-build-env-9uzd2q85/overlay/lib/rustpython3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
============ Building the readline library ============
============ Building the readline extension module ============
running bdist_wheel
running build
running build_py
creating build/lib.macosx-26.2-arm64-rustpython-313
copying readline.py -> build/lib.macosx-26.2-arm64-rustpython-313
copying override_readline.py -> build/lib.macosx-26.2-arm64-rustpython-313
running egg_info
writing gnureadline.egg-info/PKG-INFO
writing dependency_links to gnureadline.egg-info/dependency_links.txt
writing top-level names to gnureadline.egg-info/top_level.txt
reading manifest file 'gnureadline.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'gnureadline.egg-info/SOURCES.txt'
running build_ext
building 'gnureadline' extension
creating build/temp.macosx-26.2-arm64-rustpython-313/Modules/3.x
cc -DHAVE_RL_APPEND_HISTORY -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPDISP_FUNC_T -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 -DHAVE_RL_RESIZE_TERMINAL -DREADLINE_LIBRARY -I/usr/local/include/python3.13 -c Modules/3.x/readline.c -o build/temp.macosx-26.2-arm64-rustpython-313/Modules/3.x/readline.o
Modules/3.x/readline.c:12:10: fatal error: 'Python.h' file not found
12 | #include "Python.h"
| ^~~~~~~~~~
1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for gnureadline
Failed to build gnureadline
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> gnureadlineyouknowonecoderabbitai
Metadata
Metadata
Assignees
Labels
No labels