RTEMS / Tools / RTEMS Source Builder

Go to Issues or Merge Requests


Issues

128 - GNU FTP URLs are broken after moving to ftpmirror.gnu.org

Id

128

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-10-01T00:27:13.340Z

Closed

2025-10-01T23:36:18.294Z

Updated

2025-10-01T23:36:18.343Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/128

Merges

0

The GNU Mirror pages says to use the generic names which means a number of our GNU FTP links are now broken.

Author: Chris Johns

2025-10-01T00:27:13.414Z

cloned from #127

Author: Chris Johns

2025-10-01T02:48:55.825Z

cloned to #129

Author: Chris Johns

2025-10-01T03:50:13.302Z

mentioned in merge request !185

Author: Chris Johns

2025-10-01T23:36:18.322Z

set status to Done

126 - Change ftp.gnu.org to ftpmirror.gnu.org

Id

126

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-09-27T23:05:09.765Z

Closed

2025-10-01T23:34:15.887Z

Updated

2025-10-01T23:34:15.936Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/126

Merges

0

Change any ftp.gnu.org URLs to ftpmirror.gnu.org to use GNU FTP Mirror support. This helps with loading on GNU’s machines and the mirrors are faster due to GNU FTP rate limiting repeat downloads from the same user.

Author: Chris Johns

2025-09-27T23:05:09.847Z

cloned from #125

Author: Chris Johns

2025-09-27T23:05:27.726Z

added rtems#10 as parent epic

Author: Chris Johns

2025-09-27T23:52:30.423Z

mentioned in merge request !182

Author: Chris Johns

2025-10-01T23:34:15.916Z

set status to Done

119 - DTC missing checksum after change to .xz

Id

119

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-09-15T22:00:59.039Z

Closed

2025-09-19T06:59:38.780Z

Updated

2025-09-19T06:59:38.836Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/119

Merges

0

The extension of the DTC tar `changed <https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/commit/69576a8d9e99ea5d9596858cd9aad37a2cfea88d>`_but the checksum file pattern did not.

Author: Chris Johns

2025-09-15T22:00:59.102Z

set status to To do

Author: Chris Johns

2025-09-15T22:00:59.186Z

assigned to @joel

Author: Joel Sherrill

2025-09-16T15:59:20.535Z

Merge requests are posted for fix on main and 6.

Author: Joel Sherrill

2025-09-16T17:49:06.630Z

mentioned in commit 5eefb2bf71eb839887fc49d38f0c7f3d348562a6

Author: Joel Sherrill

2025-09-16T19:10:07.358Z

mentioned in commit 6b09eae6d720ff6b0d36fe7e29ef4acb1c6e3da3

Author: Joel Sherrill

2025-09-16T19:14:43.734Z

mentioned in commit bea88efb634495e9f6b97429e0a0a136e82f2b8d

Author: Kinsey Moore

2025-09-16T19:16:10.315Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-09-16T19:35:41.198Z

assigned to @opticron

Author: Kinsey Moore

2025-09-16T19:42:45.377Z

The referenced commit is under main/7, not 6 branch. As far as I can tell, 6 still pulls the DTC tarball correctly for devel/qemu-couverture. What is the command used to trigger this error on 6 branch?

Author: Chris Johns

2025-09-18T01:27:42.737Z

The command that sees the error is getting the sources which has to get all sources in the buildsets and configurations. The change moved the extension to .xz in the base recipe however:

$ grep gz bare/config/devel/dtc*
bare/config/devel/dtc-1.2.0.cfg:%hash sha512 dtc-%{dtc_version}.tar.gz d7a8...
bare/config/devel/dtc-1.4.1-1.cfg:%hash sha256 dtc-%{dtc_version}.tar.gz 03e7...
bare/config/devel/dtc-1.6.0-1.cfg:%hash sha256 dtc-%{dtc_version}.tar.gz 9fbe0...
bare/config/devel/dtc-1.6.1-1.cfg:%hash sha256 dtc-%{dtc_version}.tar.gz 38a6...

shows there are older existing versions still on the .gz extension. The change should have added a macro that defines the extension and used that. An example is GDB with %{gdb_src_ext}.

Author: Chris Johns

2025-09-18T01:39:27.924Z

Once @amar adds the build cache this error will be detected and we can make an issue or whatever to get it sorted. The build cache uses the get source tool to build a catalog.

Author: Amar Takhar

2025-09-18T01:39:27.879Z

I finished the build cache the same day we talked about it. What we’re waiting on is an option to the RSB to dump all the upstream resources to a JSON file so we can continuously scan and load the cache. Though we’ll have to account for situations like this.

Then the RSB can be modified to use it.

Author: Chris Johns

2025-09-18T05:22:12.115Z

Yes this is understood. A checksum error has become a hard error because people did not set or get is right and each release there was a lot of work to clean it up. For example the gcc-head-newlib-head configuration has a bad checksum after the path was redirected to our gitlab.

Author: Chris Johns

2025-09-18T02:46:24.012Z

assigned to @chris and unassigned @opticron and @joel

Author: Chris Johns

2025-09-18T02:46:27.582Z

set status to In progress

Author: Chris Johns

2025-09-18T02:50:35.400Z

Fixing on main with https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/177

Author: Chris Johns

2025-09-19T06:59:38.813Z

set status to Done

30 - RSB build failure on the latest code

Id

30

State

closed

Type

ISSUE

Author

yang zhang

Closed by

Amar Takhar

Created

2024-08-22T01:08:16.641Z

Closed

2024-08-22T01:15:32.176Z

Updated

2025-09-19T01:48:03.426Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/30

Merges

0

rsb build failure on the latest code

rsb-log-20240821-104738.txt Log: copy: /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1-1000 => /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-default-tools reporting: tools/rtems-binutils-2.43.cfg -> aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1.txt making dir: /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1-1000/home/yangzhang/RTEMS/rtems/6/share/rtems/rsb reporting: tools/rtems-binutils-2.43.cfg -> aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1.xml making dir: /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1-1000/home/yangzhang/RTEMS/rtems/6/share/rtems/rsb config: tools/rtems-gcc-13.3-newlib-head.cfg error: shell macro failed: cat “/home/yangzhang/code/github/rtems-source-builder/rtems/config/stdcxx-template.py” | sed “s/@RSB_GCC_VERSION@//bin/sh: 1: /home/yangzhang/RTEMS/rtems/6/bin/aarch64-rtems6-gcc: not found/g” > “/home/yangzhang/RTEMS/rtems/6/share/gdb/python/rtems/stdcxx.py”: 2: /bin/sh: 1: cannot create /home/yangzhang/RTEMS/rtems/6/share/gdb/python/rtems/stdcxx.py: Directory nonexistent

Steps to reproduce

1. git clone https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git current commit is :632ccda714fdba59c39bb126cf417f2b101c8929 2. cd ~/rtems-source-builder/rtems ../source-builder/sb-set-builder –prefix=”PATH” 6/rtems-aarch64

Additional Information

First, i git clone https://github.com/RTEMS/rtems.git when build with config.ini([aarch64/xilinx_zynqmp_lp64_qemu]) i found fail Log: ../../../cpukit/libcsupport/src/getrusage.c: In function ‘getrusage’: ../../../cpukit/libcsupport/src/getrusage.c:113:8: error: ‘RUSAGE_THREAD’ undeclared (first use in this function); did you mean ‘SIGEV_THREAD’? 113 | case RUSAGE_THREAD: | ^~~~~~~~~~~~~ | SIGEV_THREAD ../../../cpukit/libcsupport/src/getrusage.c:113:8: note: each undeclared identifier is reported only once for each function it appears in ————————————- I found in the toolchain, only define RUSAGE_SELF and RUSAGE_SELF, no RUSAGE_THREAD, so i think i should update toolchain. Then i clone the newest rsb code, and then build, but rsb build failure as above.

Author: Amar Takhar

2024-08-22T01:13:38.418Z

Hello this has already been reported and there is a fix in issue https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/29

I am closing this as it seems to be a duplicate if it is not please re-open.

Author: Amar Takhar

2024-08-22T01:15:16.813Z

Re-opening to use duplicate command I forgot existed.

Author: Amar Takhar

2024-08-22T01:15:32.085Z

marked this issue as a duplicate of #29

Author: Amar Takhar

2024-08-22T01:15:32.341Z

marked this issue as related to #29

109 - Backport GDB TLS support patches to 6 branch

Id

109

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-06-30T20:45:24.067Z

Closed

2025-07-30T18:29:47.658Z

Updated

2025-09-16T17:49:05.011Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/109

Merges

0

The following discussion from !156 should be addressed:

  • [] @opticron started a discussion:

    A version of these patches will need to be backported to the 6 branch to support the TLS usage there.

Author: Kinsey Moore

2025-06-30T20:45:24.172Z

assigned to @opticron

Author: Kinsey Moore

2025-06-30T21:07:19.108Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-06-30T21:07:47.532Z

mentioned in merge request !157

Author: Kinsey Moore

2025-07-30T18:29:47.713Z

set status to Done

Author: Joel Sherrill

2025-09-16T17:49:04.818Z

mentioned in commit eb0378a4a21eeae511e967829314c06226f624fa

103 - Update git package regerences for 6

Id

103

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Kinsey Moore

Created

2025-05-23T02:42:39.665Z

Closed

2025-05-23T14:01:33.691Z

Updated

2025-09-16T17:49:04.604Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/103

Merges

1

Update the package references for git to allow testing.

Author: Chris Johns

2025-05-23T02:42:39.775Z

assigned to @chris

Author: Chris Johns

2025-05-23T02:45:38.168Z

mentioned in merge request !146

Author: Chris Johns

2025-05-23T02:47:10.863Z

mentioned in merge request !147

Author: Chris Johns

2025-09-16T17:49:04.112Z

mentioned in commit 3d76465c1d9e28e7ceef04ebb2c04f0c41528b73

104 - Backport QEMU version update to 6 branch

Id

104

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-05-28T18:11:50.502Z

Closed

2025-07-30T18:30:02.036Z

Updated

2025-09-16T17:49:04.582Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/104

Merges

0

Summary

This needs to be updated so that QEMU is buildable.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-05-28T18:11:50.669Z

assigned to @opticron

Author: Kinsey Moore

2025-05-28T18:11:51.060Z

Author: Kinsey Moore

2025-05-28T18:12:39.518Z

mentioned in merge request !150

Author: Kinsey Moore

2025-05-28T18:16:14.237Z

cloned to #105

Author: Kinsey Moore

2025-07-30T18:30:02.080Z

set status to Done

Author: Joel Sherrill

2025-09-16T17:49:04.089Z

mentioned in commit 005081ef48204fa8322e57b335aad4dc616b9c6f

98 - Can not Build gdb-15.2-arm64-apple-darwin

Id

98

State

closed

Type

ISSUE

Author

Heinz Junkes

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-04-10T10:43:48.170Z

Closed

2025-05-23T02:39:38.969Z

Updated

2025-09-16T17:49:04.154Z

Milestone

6.2

Labels

tool::gdb

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/98

Merges

1

Summary

Can not build gdb-15.2 on arm64-apple-darwin.

Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Steps to reproduce

I have tried it with RTEMS6.1 release and the current one (7-origin/main).

...
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... yes
checking for style of include used by /Applications/Xcode.app/Contents/Developer/usr/bin/make... GNU
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... yes
checking dependency style of /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Volumes/Epics/rtems-bbb/tools/rtems-source-builder/rtems/build/tmp/sb-501/tools/rtems-default-tools/Volumes/Epics/rtems-bbb/install/rtems/7/include -I/Volumes/Epics/rtems-bbb/tools/rtems-source-builder/rtems/build/tmp/sb-501-internal/include... gcc3
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... (cached) yes
checking whether ln -s works... yes
checking for arm64-apple-darwin24.4.0-ranlib... ranlib
checking for arm64-apple-darwin24.4.0-ar... (cached) ar
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile.gnulib.inc
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
make[1]: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /Volumes/Epics/rtems-bbb/tools/rtems-source-builder/rtems/build/arm-rtems7-gdb-15.2-arm64-apple-darwin24.4.0-1/do-build
error: building arm-rtems7-gdb-15.2-arm64-apple-darwin24.4.0-1

Problems with zlib?

...
checking whether mbrtowc and mbstate_t are properly declared... (cached) yes
checking for iswlower... (cached) yes
In file included from ../../gdb-15.2/zlib/zutil.c:8:
../../gdb-15.2/zlib/zutil.h:170:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
170 | #  define OS_CODE 19
|           ^
../../gdb-15.2/zlib/zutil.h:141:11: note: previous definition is here
141 | #  define OS_CODE  7
|           ^
In file included from ../../gdb-15.2/zlib/zutil.c:10:
In file included from ../../gdb-15.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                ^
In file included from ../../gdb-15.2/zlib/zutil.c:10:
In file included from ../../gdb-15.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen(checking whether basename is declared... ) */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
(cached)    26 | #define NULL (no
(void*)0)
|                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|               ^
In file included from ../../gdb-15.2/zlib/zutil.c:10:
In file included from ../../gdb-15.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|              ^
../../gdb-15.2/zlib/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
133 | const char * ZEXPORT zError(err)
|                      ^
../../gdb-15.2/zlib/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
305 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
|                      ^
../../gdb-15.2/zlib/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
315 | void ZLIB_INTERNAL zcfree (opaque, ptr)
|                    ^
4 warnings and 3 errors generated.
make[2]: *** [libz_a-zutil.o] Error 1
make[1]: *** [all-zlib] Error 2
make[1]: *** Waiting for unfinished jobs....
checking for gawk... (cached) awk
Pre-set options

Author: Heinz Junkes

2025-04-10T10:44:37.539Z

changed the description

Author: Chris Johns

2025-04-18T22:34:03.205Z

assigned to @chris

Author: Chris Johns

2025-04-18T22:39:28.023Z

I wonder if we need to upgrade GDB to 16 like we have on RTEMS 7? I think some testing is needed.

Author: Heinz Junkes

2025-05-23T02:39:28.956Z

Unfortunately, it looks to me like a problem with the Apple OSx. Everything works perfectly with Sequoia 15.0. I got the problems after upgrading to 15.4. The main problem I see is that XCode is usually also updated during an upgrade of the OS and then problems like this occur. Unfortunately I can’t select an older XCode on a new Apple OS? Apple simply changes too much at their own discretion :-(

Author: Amar Takhar

2025-05-23T02:39:28.956Z

There’s no option to use homebrew / macports or just install the CLI tools without XCode? XCode is always a moving target and very hard to do longterm development for anything non-GUI. If you’re doing GUI work then you need to accept that Apple does this if you want your software to work.

Author: Heinz Junkes

2025-04-22T09:40:33.211Z

It would be really nice if we had a builder-config that would work with the homebrew - installation only.

Author: Heinz Junkes

2025-04-22T14:48:25.853Z

Same error with rtems7 and gdb16:

checking whether ln -s works... yes
checking for arm64-apple-darwin24.4.0-ranlib... ranlib
checking for arm64-apple-darwin24.4.0-ar... (cached) ar
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile.gnulib.inc
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /Volumes/Epics/RTEMS_BBB/rsb/rtems/build/arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1/do-build
error: building arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1
In file included from ../../gdb-16.2/zlib/zutil.c:8:
../../gdb-16.2/zlib/zutil.h:170:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
170 | #  define OS_CODE 19
|           ^
../../gdb-16.2/zlib/zutil.h:141:11: note: previous definition is here
141 | #  define OS_CODE  7
|           ^
checking whether snprintf is declared... (cached) In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
yes
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                ^
In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|               ^
In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* Nchecking whether <netinet/in.h> is self-contained... o fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|              ^
(cached) yes
checking whether open recognizes a trailing slash... (cached) no
../../gdb-16.2/zlib/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
133 | const char * ZEXPORT zError(err)
|                      ^
../../gdb-16.2/zlib/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
305 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
|                      ^
../../gdb-16.2/zlib/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
315 | void ZLIB_INTERNAL zcfree (opaque, ptr)
|                    ^
4 warnings and 3 errors generated.
make[2]: *** [libz_a-zutil.o] Error 1
checking for opendir... (cached) yes
make[1]: *** [all-zlib] Error 2
make[1]: *** Waiting for unfinished jobs....

Author: Heinz Junkes

2025-04-22T15:11:35.960Z

I found this at the Homebrew Docu: “Homebrew depends on having an up-to-date version of Xcode because it comes with specific versions of build tools, e.g. clang.”

Author: Chris Johns

2025-05-03T00:30:32.343Z

The issue is related to the version of zlib in GDB. GDB needs a newer version as https://github.com/madler/zlib/blob/develop/zutil.h has the MACOS section removed.

Author: Chris Johns

2025-05-03T18:24:46.060Z

I was checking 16.2 which is our GDB for RTEMS 7. I checked gdb’s git repo and the ``ziib `` header is still broken. I have raised a bug on gdb: https://sourceware.org/bugzilla/show_bug.cgi?id=32933

Author: Chris Johns

2025-05-03T02:31:07.808Z

It seems binutils-2.44 has the same issue.

Author: Chris Johns

2025-05-03T09:29:22.052Z

GCC also suffers from the same issue.

Author: Chris Johns

2025-05-03T10:12:38.678Z

These patches let aarch64 tools build on Sequoia and the latest Xcode.

gcc-13.3.0-zlib-macos-fix.diff

binutils-2.44-zlib-macos-fix.diff

gdb-16.2-zlib-macos-fix.diff

Author: Chris Johns

2025-05-03T10:13:47.560Z

cloned to #100

Author: Joel Sherrill

2025-05-05T01:58:40.938Z

@chris Did you submit these patches to the upstream projects?

Author: Chris Johns

2025-05-05T01:58:40.903Z

No. Upstream needs to pick up a newer zlib but there is shared complexity across a range of projects that share this. I have raised issues or there is a known issue.

Author: Chris Johns

2025-05-05T02:34:29.090Z

We need these changes to avoid changing the release. I have no idea if a gcc-13.x will ever see an updated zlib .

Author: Heinz Junkes

2025-05-05T01:57:29.301Z

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@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

Author: Chris Johns

2025-05-05T01:57:29.260Z

That looks like a homebew issue. It is why I build without it as it helps us isolate what are problems we have and what are Homebrew related.

Author: Chris Johns

2025-05-04T00:50:35.434Z

The 6 branch patches:

gdb-15.2-zlib-macos-fix.diff

binutils-2.43-zlib-macos-fix.diff

Author: Chris Johns

2025-05-04T01:24:18.010Z

mentioned in merge request !143

Author: Joel Sherrill

2025-05-23T02:39:22.978Z

See GCC issue 105404 for where they are tracking issues with zlib like this. Looks like GCC 16 is the first version that might address MacOS and update to pick up CVEs.

We need to carry the patch on 7 for at least GCC 13-15.

Author: Joel Sherrill

2025-05-23T02:39:22.978Z

A response from the gcc issue:

note that the issue on macOS starts with Xcode16.3 on recent OS versions which have an up to date installed zlib (so the –with-system-zlib is a reasonable work-around).

Author: Chris Johns

2025-05-23T02:39:22.978Z

It is a work around unfortunately we have no history of adding this option to previous MacOS builds and what works and does not work. I also do not know how we could key option against MacOS version and Xocde versions.

Author: Chris Johns

2025-09-16T17:49:03.705Z

mentioned in commit 86fb2d4645ee6197198fb4755fbe8db1967c454c

101 - Backport UTF-8 fix to 6 branch

Id

101

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Chris Johns

Created

2025-05-08T13:30:05.384Z

Closed

2025-05-23T02:38:34.114Z

Updated

2025-09-16T17:49:03.772Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/101

Merges

1

Summary

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-05-08T13:30:05.614Z

assigned to @opticron

Author: Kinsey Moore

2025-05-08T13:30:06.809Z

Author: Kinsey Moore

2025-05-08T13:31:36.971Z

mentioned in merge request !145

Author: Joel Sherrill

2025-09-16T17:49:03.215Z

mentioned in commit 15e5be5a328d099369dcba795ccc6ff33b82d055

86 - Add build support for LibBSD FreeBSD 14

Id

86

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Gedare Bloom

Created

2025-02-03T06:15:06.670Z

Closed

2025-04-23T21:50:41.896Z

Updated

2025-09-16T17:49:03.080Z

Milestone

6.2

Labels

libbsd::freebsd-14, tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/86

Merges

1

Add support to build LibBSD branch 6-freebsd-14.

Author: Chris Johns

2025-02-03T06:15:06.910Z

cloned from #83

Author: Chris Johns

2025-02-03T06:15:06.730Z

assigned to @chris

Author: Chris Johns

2025-02-03T06:15:11.226Z

Author: Chris Johns

2025-02-03T06:16:08.450Z

changed the description

Author: Chris Johns

2025-04-18T22:47:41.035Z

The config naming should only reference the version of FreeBSD being built. This simplifies the external user interface between versions of RTEMS. For example 7/rtems-libbsd.bset becomes 7/rtems-libbsd-fb-14.bset and we add 6/rtems-libbsd-fb-14.bset to the 6 branch.

I have found the error codes returned by OpenSSL on FreeBSD 12 are different to the codes returned by FreeBSD 14. It is an example of why we need to remove the default branch from libbsd support and support active FreeBSD branches on an RTEMS release.

Author: Chris Johns

2025-04-19T05:32:54.777Z

marked this issue as blocking rtems-deployment#6

Author: Chris Johns

2025-04-19T05:35:14.607Z

mentioned in merge request !139

Author: Gedare Bloom

2025-04-23T21:47:46.417Z

Author: Chris Johns

2025-09-16T17:49:01.625Z

mentioned in commit 435961510b8e363936b091914f9ca53512f8a218

112 - Backport glib download isolation to 6 branch

Id

112

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-07-07T20:06:03.248Z

Closed

2025-08-02T17:33:47.456Z

Updated

2025-08-02T17:33:47.569Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/112

Merges

0

The following discussion from !161 should be addressed:

  • [] @opticron started a discussion:

    This should be checked and resolved on the 6 branch if present. It is likely that at least the glib-2.80.2 issue exists.

Author: Kinsey Moore

2025-07-07T20:06:03.387Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-07-07T20:07:59.287Z

mentioned in merge request !162

Author: Kinsey Moore

2025-07-31T01:42:57.916Z

assigned to @opticron

Author: Chris Johns

2025-07-31T22:40:28.301Z

mentioned in commit 718d6a06f1fa1dcb8b1fb807b94e764bf3103954

Author: Chris Johns

2025-07-31T22:40:28.315Z

mentioned in commit eb651502437f9b8cf7f825e1d90b4e376f390362

Author: Kinsey Moore

2025-08-02T17:33:47.528Z

set status to Done

113 - Backport mirror name change patch to 6 branch

Id

113

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-07-17T22:04:34.656Z

Closed

2025-07-31T01:42:48.458Z

Updated

2025-07-31T01:42:48.471Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/113

Merges

0

The following discussion from !166 should be addressed:

  • [] @opticron started a discussion:

    This needs to be backported to 6 branch.

Author: Kinsey Moore

2025-07-17T22:05:42.021Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-07-17T22:05:59.643Z

mentioned in merge request !167

Author: Amar Takhar

2025-07-19T15:14:25.315Z

mentioned in commit af7f6f3e6034fb80dd4b926d09f778a3b0f81a5d

Author: Kinsey Moore

2025-07-31T01:42:45.200Z

assigned to @opticron

Author: Kinsey Moore

2025-07-31T01:42:48.505Z

set status to Done

110 - Backport mirror updates to 6 branch for future releases

Id

110

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-07-04T20:03:14.668Z

Closed

2025-07-30T18:31:31.469Z

Updated

2025-07-30T18:31:31.536Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/110

Merges

0

The following discussion from !158 should be addressed:

  • [] @opticron started a discussion:

    This needs to be backported to 6 for future releases.

Author: Kinsey Moore

2025-07-04T20:03:14.814Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-07-04T20:03:14.919Z

assigned to @opticron

Author: Kinsey Moore

2025-07-04T20:04:15.510Z

mentioned in merge request !159

Author: Gedare Bloom

2025-07-15T22:33:20.153Z

mentioned in commit 905403bea3ec7d07a190ffa95188775927ab3077

Author: Kinsey Moore

2025-07-30T18:31:31.515Z

set status to Done

95 - RTEMS tester fails to run correctly under python 3.13

Id

95

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-02-28T22:39:31.754Z

Closed

2025-03-02T02:21:56.001Z

Updated

2025-03-02T02:21:56.073Z

Milestone

6.2

Labels

tool::test

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/95

Merges

0

Summary

When attempting to run the RTEMS tester with Python 3.13, these error messages are produced:

.../rtems-tools/tester/rt/test.py:76: SyntaxWarning: invalid escape sequence '\\['
status_regx = re.compile('^\\[\\s*\\d+/\\s*\\d+\\] p:.+')
.../rtems-tools/tester/rt/test.py:188: SyntaxWarning: invalid escape sequence '\\.'
norun = re.compile('.*\\.norun.*')
Incorrect RTEMS Tools installation

This was tested on the 6.1 branch, but there appear to be no changes to main that would have fixed this.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-02-28T22:39:31.957Z

assigned to @opticron

Author: Kinsey Moore

2025-02-28T22:39:32.416Z

Author: Kinsey Moore

2025-03-02T02:13:13.434Z

On further investigation, this is 2 separate issues. The escapes need to be fixed to resolve the warnings and the actual exit is caused by missing telnetlib since it was deprecated in 3.11 and removed in 3.13.

Author: Kinsey Moore

2025-03-02T02:13:13.403Z

On debian systems, there is currently a workaround for the actual exit issue by installing python3-zombie-telnetlib.

Author: Kinsey Moore

2025-03-02T02:21:56.118Z

moved to rtems-tools#22

87 - Unable to build the BSP with Python 3.12 (opened)

Id

87

State

opened

Type

ISSUE

Author

Giles Knap

Created

2025-02-04T09:00:46.456Z

Updated

2025-10-02T22:30:24.253Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/87

Merges

0

Summary

On Ubuntu 24.04 (container) using python 3.12 I see the following error when doing waf configure

  #23 [developer 18/18] RUN ./waf configure --prefix=/rtems6-beatnik-legacy/rtems/6.1 --rtems-bsps=powerpc/beatnik &&     ./waf &&     ./waf install
  #23 0.196 /rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/pkgconfig.py:73: SyntaxWarning: invalid escape sequence '\\$'
  #23 0.196   mre = re.compile('\\$\\{[^\\}]+\\}')
  #23 0.240 Setting top to                           : /rtems6-beatnik-legacy/rtems-net-legacy-6.1
  #23 0.241 Setting out to                           : /rtems6-beatnik-legacy/rtems-net-legacy-6.1/build
  #23 0.241 RTEMS Version                            : 6
  #23 0.241 Architectures                            : powerpc-rtems6
  #23 0.241 Board Support Package (BSP)              : powerpc-rtems6-beatnik
  #23 0.241 Show commands                            : no
  #23 0.241 Long commands                            : no
  #23 0.241 Checking for program 'powerpc-rtems6-gcc' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.242 Checking for program 'powerpc-rtems6-g++' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-g++
  #23 0.242 Checking for program 'powerpc-rtems6-gcc' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.242 Checking for program 'powerpc-rtems6-ld'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ld
  #23 0.243 Checking for program 'powerpc-rtems6-ar'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.243 Checking for program 'powerpc-rtems6-nm'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-nm
  #23 0.243 Checking for program 'powerpc-rtems6-objdump' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-objdump
  #23 0.244 Checking for program 'powerpc-rtems6-objcopy' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-objcopy
  #23 0.245 Checking for program 'powerpc-rtems6-readelf' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-readelf
  #23 0.245 Checking for program 'powerpc-rtems6-strip'   : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-strip
  #23 0.245 Checking for program 'powerpc-rtems6-ranlib'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ranlib
  #23 0.246 Checking for program 'rtems-ld'               : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-ld
  #23 0.246 Checking for program 'rtems-tld'              : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-tld
  #23 0.247 Checking for program 'rtems-syms'             : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-syms
  #23 0.247 Checking for program 'rtems-bin2c'            : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-bin2c
  #23 0.248 Checking for program 'tar'                    : /usr/bin/tar
  #23 0.250 Checking for program 'gcc, cc'                : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.272 Checking for program 'ar'                     : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.277 Checking for program 'g++, c++'               : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-g++
  #23 0.294 Checking for program 'ar'                     : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.298 Checking for program 'gas, gcc'               : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.300 Checking for program 'ar'                     : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.301 Checking for c flags '-MMD'                   : yes
  #23 0.316 Checking for cxx flags '-MMD'                 : yes
  #23 0.333 Compiler version (powerpc-rtems6-gcc)         : 13.3.0 20240521 (RTEMS 6, RSB no-repo, Newlib 1b3dcfd)
  #23 0.334 Checking for a valid RTEMS BSP installation   : yes
  #23 0.475 Checking for RTEMS_DEBUG                      : no
  #23 0.528 Checking for RTEMS_MULTIPROCESSING            : no
  #23 0.581 Checking for RTEMS_NEWLIB                     : yes
  #23 0.720 Checking for RTEMS_POSIX_API                  : yes
  #23 0.861 Checking for RTEMS_SMP                        : no
  #23 0.912 Checking for RTEMS_NETWORKING                 : no
  #23 0.963 Configure variant:                            : powerpc-rtems6-beatnik
  #23 0.964 Checking version                              : Traceback (most recent call last):
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 122, in waf_entry_point
  #23 0.965     run_commands()
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 185, in run_commands
  #23 0.965     ctx=run_command(cmd_name)
  #23 0.965         ^^^^^^^^^^^^^^^^^^^^^
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 176, in run_command
  #23 0.965     ctx.execute()
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Configure.py", line 86, in execute
  #23 0.965     super(ConfigurationContext,self).execute()
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Context.py", line 92, in execute
  #23 0.965     self.recurse([os.path.dirname(g_module.root_path)])
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Context.py", line 133, in recurse
  #23 0.965     user_function(self)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/wscript", line 69, in configure
  #23 0.965     rtems.configure(conf, bsp_configure)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/rtems.py", line 304, in configure
  #23 0.965     bsp_configure(conf, ab)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/wscript", line 62, in bsp_configure
  #23 0.965     netlegacy.bsp_configure(conf, arch_bsp)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/netlegacy.py", line 81, in bsp_configure
  #23 0.965     conf.env.RTEMS_NET_LEGACY_VERSION = version.string(conf)
  #23 0.965                                         ^^^^^^^^^^^^^^^^^^^^
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 258, in string
  #23 0.965     _load_released_version(ctx)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 142, in _load_released_version
  #23 0.965     vc, v = _load_released_version_config(ctx)
  #23 0.965             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 117, in _load_released_version_config
  #23 0.965     v = configparser.SafeConfigParser()
  #23 0.965         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  #23 0.965 AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
  #23 ERROR: process "/bin/sh -c ./waf configure --prefix=${RTEMS_PREFIX} --rtems-bsps=${RTEMS_ARCH}/${RTEMS_BSP} &&     ./waf &&     ./waf install" did not complete successfully: exit code: 2
  ------


    [developer 18/18] RUN ./waf configure --prefix=/rtems6-beatnik-legacy/rtems/6.1 --rtems-bsps=powerpc/beatnik &&     ./waf &&     ./waf install:
    0.965                                         ^^^^^^^^^^^^^^^^^^^^
    0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 258, in string
    0.965     _load_released_version(ctx)
    0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 142, in _load_released_version
    0.965     vc, v = _load_released_version_config(ctx)
    0.965             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 117, in _load_released_version_config
    0.965     v = configparser.SafeConfigParser()
    0.965         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    0.965 AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?



Steps to reproduce
..................


The whole github actions log can be seen here:
https://github.com/epics-containers/rtems-bsp/actions/runs/13130540022/job/36634604325


Pre-set options
~~~~~~~~~~~~~~~

Author: Giles Knap

2025-02-05T15:47:24.120Z

I believe that the versioning function could be replaced by setuptools_scm e.g. as used here https://github.com/DiamondLightSource/python-copier-template/blob/9c6f34d60a138f72fe01aed8f9639773d1ce635d/pyproject.toml#L1-L3

This should be backward compatible to python3.8.

I would be interested in submitting a PR this if it is likely to be of use.

Author: Chris Johns

2025-09-25T23:20:24.844Z

changed Version to

6

Author: Chris Johns

2025-10-02T22:30:24.225Z

added rtems#10 as parent epic

Merge Requests

182 - rtems: Change ftp.gnu.org to ftpmirror.gnu.org

Id

182

State

merged

Merged by

Chris Johns

Merged at

2025-09-28T00:10:39.970Z

Assignee(s)

Chris Johns

Created

2025-09-27T23:52:25.820Z

Updated

2025-09-28T00:10:39.909Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/182

Commit

50ec06298cd0da2ae90047de4582278349a196d3

rtems: Change ftp.gnu.org to ftpmirror.gnu.org

Use the GNU FTP mirror support.

Closes #126

Author: Chris Johns

2025-09-27T23:52:25.932Z

assigned to @chris

Author: Chris Johns

2025-09-27T23:52:52.575Z

enabled an automatic merge when all merge checks for 50ec06298cd0da2ae90047de4582278349a196d3 pass

Author: Amar Takhar

2025-09-28T00:10:35.094Z

approved this merge request

162 - Backport download isolation fixes to 6 branch

Id

162

State

merged

Merged by

Chris Johns

Merged at

2025-07-31T22:40:27.279Z

Assignee(s)

Kinsey Moore

Created

2025-07-07T20:07:54.420Z

Updated

2025-07-31T22:40:29.240Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/162

Commit

718d6a06f1fa1dcb8b1fb807b94e764bf3103954

Summary

Updates #112

Author: Kinsey Moore

2025-07-07T20:07:54.557Z

assigned to @opticron

Author: Kinsey Moore

2025-07-25T21:54:49.800Z

added 4 commits

  • dd8ba890…af7f6f3e - 2 commits from branch rtems/tools:6

  • 4639cf2b - source-builder/sb/build: Provide a copy action

  • e836280d - source-builder/glib: Provide download dependencies

Compare with previous version

Author: Chris Johns

2025-07-28T13:58:47.428Z

Please set to None and make the test is not None in source().

Author: Kinsey Moore

2025-07-28T13:48:57.798Z

changed this line in version 3 of the diff

Author: Kinsey Moore

2025-07-28T13:58:47.428Z

This has been addressed.

Author: Chris Johns

2025-07-28T02:44:14.987Z

requested changes

Author: Kinsey Moore

2025-07-28T13:48:58.530Z

added 2 commits

  • eb651502 - source-builder/sb/build: Provide a copy action

  • 718d6a06 - source-builder/glib: Provide download dependencies

Compare with previous version

Author: Kinsey Moore

2025-07-28T13:58:47.450Z

resolved all threads

Author: Chris Johns

2025-07-31T22:40:22.022Z

approved this merge request

167 - config: Update to new mirror names

Id

167

State

merged

Merged by

Amar Takhar

Merged at

2025-07-19T15:14:23.953Z

Assignee(s)

Kinsey Moore

Created

2025-07-17T22:05:55.244Z

Updated

2025-07-19T15:14:23.938Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/167

Commit

af7f6f3e6034fb80dd4b926d09f778a3b0f81a5d

Summary

config: Update to new mirror names

The mirrors are now named such that they do not appear to be official mirrors as the github mirrors were. This should avoid our servers getting scraped by bots so often.

Closes #113

Author: Kinsey Moore

2025-07-17T22:06:32.141Z

This needs to be backported to 5 branch.

Author: Kinsey Moore

2025-07-17T22:06:32.276Z

created #114 to continue this discussion

Author: Kinsey Moore

2025-07-17T22:06:32.160Z

resolved all threads

Author: Kinsey Moore

2025-07-17T22:06:32.690Z

mentioned in issue #114

Author: Kinsey Moore

2025-07-18T12:52:28.127Z

assigned to @opticron

Author: Amar Takhar

2025-07-19T15:12:56.305Z

enabled an automatic merge when all merge checks for af7f6f3e6034fb80dd4b926d09f778a3b0f81a5d pass

Author: Amar Takhar

2025-07-19T15:12:57.339Z

approved this merge request

157 - rtems/config/tools/gdb: Add TLS support patch

Id

157

State

merged

Merged by

Amar Takhar

Merged at

2025-07-01T14:22:47.309Z

Assignee(s)

Kinsey Moore

Created

2025-06-30T21:07:42.745Z

Updated

2025-07-01T14:22:48.620Z

Milestone

6.2

Labels

cpukit::debugger, tool::gdb

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/157

Commit

eb0378a4a21eeae511e967829314c06226f624fa

Summary

rtems/config/tools/gdb: Add TLS support patch

This adds the preliminary patches for GDB 15.2 to support retrieval of TLS addresses from the remote GDB server.

Closes #109

Author: Kinsey Moore

2025-06-30T21:07:42.858Z

assigned to @opticron

Author: Joel Sherrill

2025-07-01T13:42:10.272Z

approved this merge request

150 - devel/qemu-5.2.0: Update to the non-RC version

Id

150

State

merged

Merged by

Chris Johns

Merged at

2025-05-28T22:20:01.865Z

Assignee(s)

Kinsey Moore

Created

2025-05-28T18:09:49.036Z

Updated

2025-05-28T22:20:02.876Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/150

Commit

005081ef48204fa8322e57b335aad4dc616b9c6f

Summary

devel/qemu-5.2.0: Update to the non-RC version

The release candidate 1 tarball has been removed from the QEMU website. This moves RSB to the 5.2.0 release which is still available.

Closes #104

Author: Kinsey Moore

2025-05-28T18:09:49.268Z

assigned to @opticron

Author: Kinsey Moore

2025-05-28T18:11:02.512Z

marked this merge request as draft

Author: Kinsey Moore

2025-05-28T18:12:21.317Z

added 1 commit

  • 005081ef - devel/qemu-5.2.0: Update to the non-RC version

Compare with previous version

Author: Kinsey Moore

2025-05-28T18:12:39.449Z

changed the description

Author: Kinsey Moore

2025-05-28T18:12:45.945Z

marked this merge request as ready

Author: Chris Johns

2025-05-28T22:19:13.805Z

approved this merge request

147 - rtems: Update package git references

Id

147

State

merged

Merged by

Kinsey Moore

Merged at

2025-05-23T14:01:25.937Z

Assignee(s)

Chris Johns

Created

2025-05-23T02:47:03.843Z

Updated

2025-05-23T14:01:27.707Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/147

Commit

3d76465c1d9e28e7ceef04ebb2c04f0c41528b73

rtems: Update package git references

Closes #103

Author: Chris Johns

2025-05-23T02:47:04.357Z

assigned to @chris

Author: Kinsey Moore

2025-05-23T14:01:17.943Z

approved this merge request

88 - gmp: Use ftp.gnu.org mirror

Id

88

State

merged

Merged by

Joel Sherrill

Merged at

2024-12-16T19:07:29.329Z

Created

2024-12-12T23:05:00.408Z

Updated

2025-05-09T00:14:44.978Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/88

Commit

e139977d351305775c4effa3c0b4a52531e38083

Summary

gmplib.org blocks IPs associated with Microsoft/GitHub for performance reasons. This poses a problem for GitHub CI/CD configurations that build the toolchains using rtems-source-builder, although it’s easy to fix with a quick patch.

Nonetheless, it might be a good idea to reduce traffic to gmplib.org, since their infrastructure doesn’t seem particularly beefy.

Email thread: https://gmplib.org/list-archives/gmp-devel/2023-June/006162.html

Author: Joel Sherrill

2024-12-16T19:06:18.708Z

added 3 commits

  • af5dee32…7d8bc0af - 2 commits from branch rtems/tools:6

  • e139977d - gmp: Use ftp.gnu.org mirror

Compare with previous version

Author: Joel Sherrill

2024-12-16T19:07:03.680Z

approved this merge request

Author: Joel Sherrill

2024-12-16T19:07:25.931Z

Is this also addressed on the main branch?

143 - rtems: Fix building on recent MacOS

Id

143

State

merged

Merged by

Kinsey Moore

Merged at

2025-05-08T22:54:09.608Z

Assignee(s)

Chris Johns

Created

2025-05-04T01:24:11.091Z

Updated

2025-05-08T22:54:09.594Z

Milestone

6.2

Labels

tool::gdb

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/143

Commit

86fb2d4645ee6197198fb4755fbe8db1967c454c

Fix building on recent MacOS

Closes #98

Author: Chris Johns

2025-05-04T01:24:11.530Z

assigned to @chris

Author: Kinsey Moore

2025-05-08T22:53:40.685Z

approved this merge request

Author: Joel Sherrill

2025-05-08T22:53:46.921Z

approved this merge request

Author: Kinsey Moore

2025-05-08T22:53:51.172Z

added 2 commits

  • 15e5be5a - 1 commit from branch rtems/tools:6

  • 86fb2d46 - rtems: Fix building on recent MacOS

Compare with previous version

Author: Kinsey Moore

2025-05-08T22:54:04.580Z

enabled an automatic merge when the pipeline for 86fb2d4645ee6197198fb4755fbe8db1967c454c succeeds

145 - source-builder/sb/path.py: Avoid discarding utf-8

Id

145

State

merged

Merged by

Chris Johns

Merged at

2025-05-08T22:13:29.634Z

Assignee(s)

Kinsey Moore

Created

2025-05-08T12:55:26.646Z

Updated

2025-05-08T22:13:31.286Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/145

Commit

15e5be5a328d099369dcba795ccc6ff33b82d055

Summary

source-builder/sb/path.py: Avoid discarding utf-8

On MSYS2 on Windows 10, non-ASCII utf-8 characters should not be discarded since filesystems on this platform can support them. This fixes a build issue in GCC where a Go test file includes a non-ASCII character.

Closes #101

Author: Kinsey Moore

2025-05-08T12:55:27.133Z

assigned to @opticron

Author: Kinsey Moore

2025-05-08T12:55:45.664Z

mentioned in merge request !144

Author: Kinsey Moore

2025-05-08T13:31:04.102Z

added 1 commit

  • 15e5be5a - source-builder/sb/path.py: Avoid discarding utf-8

Compare with previous version

Author: Kinsey Moore

2025-05-08T13:31:36.905Z

changed the description

Author: Chris Johns

2025-05-08T22:13:25.113Z

approved this merge request

139 - Add support for the 6-freebsd-14 branch to RTEMS 6

Id

139

State

merged

Merged by

Gedare Bloom

Merged at

2025-04-23T21:48:02.616Z

Assignee(s)

Chris Johns

Created

2025-04-19T05:35:06.449Z

Updated

2025-04-23T21:50:42.296Z

Milestone

6.2

Labels

libbsd::freebsd-14, tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/139

Commit

435961510b8e363936b091914f9ca53512f8a218

Add support for the 6-freebsd-14 branch to RTEMS 6

  • Fix sb-rtems-pkg configuration for LwIP

  • Fix the LwIP build set and configuration file

Closes #86

Author: Chris Johns

2025-04-19T05:35:07.207Z

assigned to @chris

Author: Gedare Bloom

2025-04-23T21:44:05.828Z

added 2 commits

  • edc391f7 - 1 commit from branch rtems/tools:6

  • 43596151 - rtems/libbsd: Add support for the 6-freebsd-14 branch to RTEMS 6

Compare with previous version

Author: Gedare Bloom

2025-04-23T21:47:58.361Z

approved this merge request

Author: Gedare Bloom

2025-04-23T21:50:42.085Z

mentioned in issue #86

175 - config/devel/dtc-1.6.1-1.cfg: Update checksum (closed)

Id

175

State

closed

Assignee(s)

Joel Sherrill

Reviewer(s)

Chris Johns

Closed by

Joel Sherrill

Created

2025-09-16T15:58:38.565Z

Closed

2025-09-18T23:30:07.188Z

Updated

2025-09-18T23:30:07.169Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/175

Commit

bea88efb634495e9f6b97429e0a0a136e82f2b8d

Summary

config/devel/dtc-1.6.1-1.cfg: Update checksum

The file extension was wrong, checksum was incorrect, and the checksum needed to be sha512.

Author: Joel Sherrill

2025-09-16T15:58:38.665Z

requested review from @chris

Author: Joel Sherrill

2025-09-16T17:48:36.153Z

assigned to @joel

Author: Joel Sherrill

2025-09-16T17:48:56.054Z

restored source branch 6-update-dtc-hash

Author: Kinsey Moore

2025-09-16T17:52:52.497Z

changed the description

Author: Kinsey Moore

2025-09-16T19:15:43.221Z

This needs a backport issue and this should really be 1 commit.

Author: Joel Sherrill

2025-09-16T19:15:43.221Z

Chris’ original issue was for 6 and I pulled the fix forward. Isn’t that the same?

Author: Joel Sherrill

2025-09-16T19:10:09.540Z

added 1 commit

  • 6b09eae6 - config/devel/dtc-1.6.1-1.cfg: Update hash

Compare with previous version

Author: Joel Sherrill

2025-09-16T19:14:45.286Z

added 1 commit

  • bea88efb - config/devel/dtc-1.6.1-1.cfg: Update checksum

Compare with previous version

Author: Kinsey Moore

2025-09-16T19:15:43.239Z

resolved all threads

Author: Kinsey Moore

2025-09-16T19:47:04.352Z

As far as I can tell, this is only an update of the hash from 256 to 512 and there is no error to resolve on 6 branch.

Author: Joel Sherrill

2025-09-18T23:30:06.563Z

OBE

146 - Update package git references to allow testing (closed)

Id

146

State

closed

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-05-23T02:45:27.261Z

Closed

2025-05-23T02:45:53.376Z

Updated

2025-05-23T02:45:53.364Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/146

Commit

3d76465c1d9e28e7ceef04ebb2c04f0c41528b73

Update package git references to allow testing.

Closes #103

Author: Chris Johns

2025-05-23T02:45:27.477Z

assigned to @chris

Author: Chris Johns

2025-05-23T02:46:11.774Z

Forgot to select the right branch