[RTEMS Project] #4547: dtc build failure on msys2 - all rtems6 target tools fail to build on Windows 10 (was: RSB can't build rtems-sparc target tools on Windows 10.)
RTEMS trac
trac at rtems.org
Fri Feb 4 20:05:29 UTC 2022
#4547: dtc build failure on msys2 - all rtems6 target tools fail to build on
Windows 10
------------------------------------------+---------------------
Reporter: kgardas | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: tool/rsb | Version:
Severity: normal | Resolution:
Keywords: SoC, ecosystem, small, msys2 | Blocked By:
Blocking: |
------------------------------------------+---------------------
Changes (by Joel Sherrill):
* keywords: SoC, ecosystem, small => SoC, ecosystem, small, msys2
Old description:
> I'm testing RSB git source updated 2021-11-10 and it fails on freshly
> installed msys2/windows 10 platform with:
> ```
> karel at DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
> $ ../source-builder/sb-check
> RTEMS Source Builder - Check, 6 (efa44e47a7d2 modified)
> Environment is ok
>
> karel at DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
> $ ../source-builder/sb-set-builder --prefix=/c/r/rr 6/rtems-sparc
> RTEMS Source Builder - Set Builder, 6 (efa44e47a7d2 modified)
> Build Set: 6/rtems-sparc
> config: devel/dtc-1.6.0-1.cfg
> package: dtc-1.6.0-x86_64-w64-mingw32-1
> building: dtc-1.6.0-x86_64-w64-mingw32-1
> error: building d1xwm1
> Build FAILED
> See error report: rsb-report-dtc-1.6.0-x86_64-w64-mingw32-1.txt
> error: building d1xwm1
> Build Set: Time 0:00:28.232196
> Build FAILED
>
> karel at DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
> $
> ```
> the problem report is attached.
New description:
I'm testing RSB git source updated 2021-11-10 and it fails on freshly
installed msys2/windows 10 platform with:
```
karel at DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
$ ../source-builder/sb-check
RTEMS Source Builder - Check, 6 (efa44e47a7d2 modified)
Environment is ok
karel at DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
$ ../source-builder/sb-set-builder --prefix=/c/r/rr 6/rtems-sparc
RTEMS Source Builder - Set Builder, 6 (efa44e47a7d2 modified)
Build Set: 6/rtems-sparc
config: devel/dtc-1.6.0-1.cfg
package: dtc-1.6.0-x86_64-w64-mingw32-1
building: dtc-1.6.0-x86_64-w64-mingw32-1
error: building d1xwm1
Build FAILED
See error report: rsb-report-dtc-1.6.0-x86_64-w64-mingw32-1.txt
error: building d1xwm1
Build Set: Time 0:00:28.232196
Build FAILED
karel at DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
$
```
the problem report is attached.
Joel adds: dtc does not build on msys2. It requires fnmatch.h which is not
present. Alternative fixes include finding an alternative for fnmatch on
msys2, providing an implementation to be used on msys2, or adding gnulib
which is a portability package to our RSB packages on msys2.
Also there may be other tickets for the same issue.
--
--
Ticket URL: <http://devel.rtems.org/ticket/4547#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list