Re: [vim/vim] Unable to use Python3 for Vim (Discussion #19409)

0 views
Skip to first unread message

Christian Brabandt

unread,
4:43 AM (3 hours ago) 4:43 AM
to vim/vim, Subscribed

Looks like an issue with Python 3.15. I wasn't even aware that was already released and I don't remember anybody yet reporting this as an issue, but it seems the new release broke something. Would help if you could provide better logs. Please try python 3.14 in the meantime. Also you may try to use the stable API, I would be hoping that this still works.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/19409/comments/15810226@github.com>

BADLI

unread,
7:21 AM (24 minutes ago) 7:21 AM
to vim/vim, Subscribed

hi,

@chrisbra, i try with Python 3.14 it still got error. Below is the error message and attach is the config.log. i open an issue but it got move to a discussion.
config.log

clang-21 -c -I. -Iproto -DHAVE_CONFIG_H   -I/data/data/com.termux/files/usr/include  -g -O2  -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/channel.o channel.c
if_python3.c:1087:5: error:
      call to undeclared function
      '_PyObject_DebugFree'; ISO C99
      and later do not support
      implicit function declarations
      [-Wimplicit-function-declaration]
 1087 |     _PyObject_DebugFree(p);
      |     ^
if_python3.c:1087:5: note:
      did you mean 'PyObject_Free'?
/data/data/com.termux/files/home/w/p314/include/python3.14d/objimpl.h:98:18: note:
      'PyObject_Free' declared here
   98 | PyAPI_FUNC(void) PyObject_Free...
      |                  ^
if_ruby.c:1223:5: warning:
      braces around scalar initializer
      [-Wbraced-scalar-init]
 1223 |         0, {0}
      |            ^~~
if_ruby.c:1518:5: warning:
      braces around scalar initializer
      [-Wbraced-scalar-init]
 1518 |         0, {0}
      |            ^~~
2 warnings generated.
clang-21 -c -I. -Iproto -DHAVE_CONFIG_H   -I/data/data/com.termux/files/usr/include  -g -O2  -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/xdiffi.o xdiff/xdiffi.c
1 error generated.
clang-21 -c -I. -Iproto -DHAVE_CONFIG_H   -I/data/data/com.termux/files/usr/include  -g -O2  -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/xemit.o xdiff/xemit.c
make[1]: *** [Makefile:3405: objects/if_python3.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/data/data/com.termux/files/home/source1/vim.git/src'
make: *** [Makefile:29: first] Error 2


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/repo-discussions/19409/comments/15811392@github.com>

Reply all
Reply to author
Forward
0 new messages