Build master fails
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
05 Dec 2024 17:58 #316032
by looping
Build master fails was created by looping
Hello
I have not been working on linuxcnc for a while now (2.10.0-pre0-3309-gfd6a133f8b), but this week, after a git pull, I can't build anymore :
I'm on Debian 10.13 .
sudo apt update and sudo apt upgrade done.
dpkg-checkbuilddeps return si empty.
Any ideas ?
I have not been working on linuxcnc for a while now (2.10.0-pre0-3309-gfd6a133f8b), but this week, after a git pull, I can't build anymore :
....
Done reading realtime dependencies
Compiling hal/components/panelui.c
hal/components/panelui.c: In function ‘main’:
hal/components/panelui.c:210:5: error: unknown type name ‘PyConfig’; did you mean ‘PyContext’?
PyConfig config;
^~~~~~~~
PyContext
hal/components/panelui.c:211:5: error: implicit declaration of function ‘PyConfig_InitPythonConfig’ [-Werror=implicit-function-declaration]
PyConfig_InitPythonConfig(&config);
^~~~~~~~~~~~~~~~~~~~~~~~~
hal/components/panelui.c:214:5: error: implicit declaration of function ‘PyConfig_SetString’; did you mean ‘PyErr_SetString’? [-Werror=implicit-function-declaration]
PyConfig_SetString(&config, &config.program_name, wname);
^~~~~~~~~~~~~~~~~~
PyErr_SetString
hal/components/panelui.c:214:40: error: request for member ‘program_name’ in something not a structure or union
PyConfig_SetString(&config, &config.program_name, wname);
^
cc1: some warnings being treated as errors
make: *** [Makefile:279: objects/hal/components/panelui.o] Error 1
I'm on Debian 10.13 .
sudo apt update and sudo apt upgrade done.
dpkg-checkbuilddeps return si empty.
Any ideas ?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19419
- Thank you received: 6512
05 Dec 2024 18:05 #316035
by tommylight
Replied by tommylight on topic Build master fails
Probably due to different Python requirements it wont worn on Debian 10, but should work on Debian 12.
Try compiling the 2.9 branch, that should still work on Debian 10.
Try compiling the 2.9 branch, that should still work on Debian 10.
Please Log in or Create an account to join the conversation.
- Grotius
- Away
- Platinum Member
Less
More
- Posts: 2239
- Thank you received: 1956
05 Dec 2024 21:34 - 05 Dec 2024 21:34 #316049
by Grotius
Replied by Grotius on topic Build master fails
Hi Tommy,
Yes, python related.
PyConfig_InitPythonConfig and PyConfig_SetString, are part of Python's new initialization APIs introduced in Python 3.8.
Try:
sudo apt-get update
sudo apt-get install python3 python3-dev python3-pip python3-venv
Yes, python related.
PyConfig_InitPythonConfig and PyConfig_SetString, are part of Python's new initialization APIs introduced in Python 3.8.
Try:
sudo apt-get update
sudo apt-get install python3 python3-dev python3-pip python3-venv
Last edit: 05 Dec 2024 21:34 by Grotius.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10747
- Thank you received: 3543
05 Dec 2024 21:39 #316050
by rodw
Replied by rodw on topic Build master fails
I think it will be difficult to meet all dependencies on Debian 10. Upgrade to Debian 12 Bookworm
Please Log in or Create an account to join the conversation.
- looping
- Offline
- Premium Member
Less
More
- Posts: 87
- Thank you received: 8
06 Dec 2024 07:00 #316078
by looping
Replied by looping on topic Build master fails
OK thanks, I will go for Debian 12.
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds