RTEMS Source Builder | dtc build failure on msys2 - all rtems6 target tools fail to build on Windows 10 (#36)

Trac Migrate (@tracmigrate) gitlab at rtems.org
Thu Oct 3 02:38:56 UTC 2024



Trac Migrate created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/36

Assignee: Trac Migrate

Original author: kgardas

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.

Possible Mentors: Karel Gardas
Skills: C
Difficulty: Medium


* [rsb-report-dtc-1.6.0-x86_64-w64-mingw32-1.txt](/assets/tracmigration/ticket_attachments/rsb-report-dtc-1.6.0-x86_64-w64-mingw32-1.txt)

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/36
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/20241003/71a4d6ea/attachment.htm>


More information about the bugs mailing list