RTEMS Source Builder | Can not Build gdb-15.2-arm64-apple-darwin (#98)

Heinz Junkes (@junkes) gitlab at rtems.org
Sat May 3 18:45:22 UTC 2025




Heinz Junkes commented: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/98#note_122343


Just for the sake of completeness.
I have unfortunately encountered another problem. To solve it I had to do:

ln -s /opt/homebrew/Cellar/ncurses/6.5/include/ncursesw /usr/local/include/ncursesw

Unfortunately, I have not yet understood how I can use this fixed source builder to install version 6.1? (Does this refer to Joel's comment? 'upstream-projects'?)

```
RTEMS Tools Project - Source Builder Error Report
 Build: error: building arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1
 Command Line: ../source-builder/sb-set-builder --jobs=20 --prefix=/Volumes/Epics/RTEMS_BBB/rtems/7 7/rtems-arm
 Python: 3.13.1 (main, Feb  9 2025, 11:33:15) [Clang 16.0.0 (clang-1600.0.26.4)]
 https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git/origin/8084e3563ebc745f14c425fdd0d0b0deb8380995
 Darwin Mac.fritz.box 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:39 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6020 arm64
Tail of the build log:
checking for xsltproc... /usr/bin/xsltproc
configure: updating cache ./config.cache
configure: creating ./config.status
...

/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/Volumes/Epics/RTEMS_BBB/rsb/rtems/build/tmp/sb-501/tools/rtems-default-tools/Volumes/Epics/RTEMS_BBB/rtems/7/include -I/Volumes/Epics/RTEMS_BBB/rsb/rtems/build/tmp/sb-501-internal/include -x c++ -std=gnu++17   -I. -I../../gdb-16.2/gdb -I../../gdb-16.2/gdb/config -include ../../gdb-16.2/gdb/defs.h -DLOCALEDIR="\"/Volumes/Epics/RTEMS_BBB/rtems/7/share/locale\"" -DHAVE_CONFIG_H -I../../gdb-16.2/gdb/../include/opcode -I../bfd -I../../gdb-16.2/gdb/../bfd -I../../gdb-16.2/gdb/../include -I../../gdb-16.2/gdb/../readline/readline/.. -I../../gdb-16.2/gdb/../zlib  -I../libdecnumber -I../../gdb-16.2/gdb/../libdecnumber  -I../../gdb-16.2/gdb/../gnulib/import -I../gnulib/import -I../../gdb-16.2/gdb/.. -I.. -I../../gdb-16.2/gdb/../libbacktrace/ -I../libbacktrace/ -DTUI=1  -I/Volumes/Epics/RTEMS_BBB/rsb/rtems/build/tmp/sb-501-internal/include  -I/Users/junkes/.pyenv/versions/3.13.1/include/python3.13 -I/Users/junkes/.pyenv/versions/3.13.1/include/python3.13   -I../../gdb-16.2/gdb/.. -pthread    -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-mismatched-tags -Wno-error=deprecated-register -Wsuggest-override -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wvla -Wmissing-prototypes -Wformat -Wformat-nonliteral  -g -O2     -c -o record-btrace.o -MT record-btrace.o -MMD -MP -MF ./.deps/record-btrace.Tpo ../../gdb-16.2/gdb/recor
d-btrace.c
In file included from ../../gdb-16.2/gdb/python/py-tui.c:32:
../../gdb-16.2/gdb/gdb_curses.h:43:10: fatal error: 'ncursesw/ncurses.h' file not found
   43 | #include <ncursesw/ncurses.h> /* IWYU pragma: export */
      |          ^~~~~~~~~~~~~~~~~~~~
```
I have used the current version
```
commit 8084e3563ebc745f14c425fdd0d0b0deb8380995 (HEAD -> main, origin/main, origin/HEAD)
Author: Chris Johns <chrisj at rtems.org>
Date:   Sat May 3 20:24:59 2025 +1000

    rtems: Add paches to fix building on MacOS

    - The zlib packages in gdb, binutils and gcc are broken on a
      current MacOS. Patch around this until fixed upstream
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/98#note_122343
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250503/b2b3ba12/attachment.htm>


More information about the bugs mailing list