Offline download of sources fails

Michael Davidsaver mdavidsaver at
Wed Mar 10 21:23:53 UTC 2021

On 3/10/21 10:55 AM, Chris Johns wrote:
> ...
> Also have a look at the command sb-get-sources. It will fetch the source and
> patches for all hosts and architectures.

Neat.  I've been wishing for something like this as I'd like to archive full
source along with toolchain builds.  Would it handle something like an
arch/bsp specific patches to rtems-kernel or rtems-libbsd?  (assuming there
can be such things)

> $ ../source-builder/sb-get-sources --tar 5/rtems-powerpc 5/rtems-i386 5/rtems-arm 5/rtems-kernel 5/rtems-libbsd
> RTEMS Source Builder - Get Sources, 5 (803d42cda7b3)
> ...
> Build Set: 5/rtems-i386 for win32
> error: 5/rtems-i386:5: %patch duplicate add:
> Build Set: Time 0:00:00.000236
> Build FAILED

I guess the recent march patch breaks this somehow?

> $ git log -n1 HEAD
> commit 803d42cda7b3360128126bc2748b5d2b452a8973 (origin/5)
> Author: Joel Sherrill <joel at>
> Date:   Tue Dec 8 16:57:53 2020 -0600
>     Add patch to newlib for devctl.h to compile with C++
>     Closes #4174.

More information about the users mailing list