#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: |
------------------------------------------+---------------------
Description changed by Joel Sherrill:
Old description:
> I'm testing RSB git source updated 2021-11-10 and it fails on freshly
> installed msys2/windows 10 platform with:
> ```
> karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
> $ ../source-builder/sb-check
> RTEMS Source Builder - Check, 6 (efa44e47a7d2 modified)
> Environment is ok
>
> karel@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@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.
New description:
I'm testing RSB git source updated 2021-11-10 and it fails on freshly
installed msys2/windows 10 platform with:
```
karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
$ ../source-builder/sb-check
RTEMS Source Builder - Check, 6 (efa44e47a7d2 modified)
Environment is ok
karel@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@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.
Possible Mentors: Karel Gardas
Skills: C
Difficulty: Medium
--
--
Ticket URL: <http://devel.rtems.org/ticket/4547#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs