GDB 14.2 fails to build on MacOS
From https://lists.rtems.org/pipermail/users/2024-June/068991.html
when trying to build the arm-tools with the Rtems Source Builder on osX and I get this error:
It starts with Python 3.12.3
RTEMS Tools Project - Source Builder Error Report
Build: error: building arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1
Command Line: ../source-builder/sb-set-builder --jobs=20 --prefix=/Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rtems/6 6/rtems-arm
Python: 3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]
https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git/origin/ac974f70ecdb9c9ee64ff0611b78960437efc8da
Darwin Zarquon.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64
Tail of the build log:
but at the end /usr/local/bin/python3
gets called … which exists, but older Version???
checking how to link with libexpat... /Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/tmp/sb-501-internal/lib/libexpat.a
checking for XML_StopParser... yes
checking whether to use python... /usr/local/bin/python3
checking for python... no
configure: error: no usable python found at /usr/local/bin/python3
make[1]: *** [configure-gdb] Error 1
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1/do-build
error: building arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1%
junkes at Zarquon RTEMS_ARM_libBsd_stack % /usr/local/bin/python3
Python 3.12.2 (v3.12.2:6abddd9f6a, Feb 6 2024, 17:02:06) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Even if I had previously actived a python environment ./py3.12/bin/activate
On Linux everything works … as usual ...