Unfortunately, I still can't use rsb on a Mac (M2).

Heinz Junkes junkes at fhi-berlin.mpg.de
Mon Jun 10 21:00:48 UTC 2024


Hi.

That seems to be the root cause of the problem:


configure:21663: checking whether to use python
configure:21665: result: /usr/local/bin/python3.12
configure:21869: checking for python
configure:21892: /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/tmp/sb-501/tools/rtems-default-tools/Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rtems/6/include -I/Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/tmp/sb-501-internal/include -o conftest -g -O2     -I/Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/tmp/sb-501-internal/include -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12  -L/Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/tmp/sb-501-internal/lib conftest.c -L/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/config-3.12-darwin -lpython3.12 -ldl -framework CoreFoundation -Wl,-stack_size,1000000 -framework CoreFoundation Python.framework/Versions/3.12/Python -lncurses -lm  >&5
clang: error: no such file or directory: 'Python.framework/Versions/3.12/Python'
configure:21892: $? = 1
configure: failed program was:



------------------------------------------------------------------------------
Fritz-Haber-Institut    | Phone:         (+49 30) 8413-4270
Heinz Junkes             | Fax (G3+G4):   (+49 30) 8413-5900
Faradayweg 4-6        | VC: https://zoom.fhi.berlin/junkes
D - 14195 Berlin        | E-Mail:        junkes at fhi-berlin.mpg.de
------------------------------------------------------------------------------

> On 10. Jun 2024, at 20:58, Heinz Junkes <junkes at fhi-berlin.mpg.de> wrote:
> 
> Hi,
> 
> 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 ...
> 
> Danke, Heinz
> 
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2942 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20240610/f5805e4c/attachment.bin>


More information about the users mailing list