-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
gdb version too old - needs python2.7 #1353
Comments
I have nowhere an issue not using python v2.7 with GDB |
Same problem in Ubuntu 24.04. |
I would really appreciate if this could be fixed soon. This ancient version of python2 - support for Python 2 ended Jan. 1, 2020 see announcement on python.org - may be a security risk. |
What is the exact issue? What command is not working without Python2? |
gdb is linked dynamically against V2 of libpython. Several distros do no longer offer V2 - so you have either to install it manuallly - as I did longer ago (and forgot that fact until today 😉) - or you get an error message due to the missing lib. I saw in the meantime that @valeros has upgraded the python version in CI to 3.9 - so I am little bit optimistic |
Ahh, you are using the old version |
Not voluntary 😆 |
I am using the latest PlatformIO (6.1.15) and have the same issue. The Python 2 library that is no longer available in Ubuntu 24.04. |
It's even worse - xtensa-esp32s3-elf-gdb shows unsurprisingly the same behaviour
But if I install the missed library manually (and nothing else from python2.7) the linkage error disappears but instead a - at a first glance - strange python error occurs ` Warn : Transport "jtag" was already selected Info : Listening on port 6666 for tcl connections ` This is IMHO due to missing support of python2.7 on my system. I was able to reproduce this behavior under 3 different distributions/installations
|
For those who are waiting like me for a solution of this issue - in the meantime I've found a workaround described here - nevertheless it would be REALLY fine, if the support for PYTHON3 would be pushed forward ... |
Debian Bookworm is in the same club... |
Will the updated esp32s3 gdb libraries added to platformio in the foreseeable future or is using the files from the esp-idf toolchain the only option for now? |
I can't run esp32 gdb because python2.7 is too old for my OS.
Installing the latest version direct from espressif works.
I've seen other people encountering this problem on platformio forums too.
The text was updated successfully, but these errors were encountered: