RTEMS Source Builder | Canadian build fails on mpfr (#99)
Alice Mao (@pupupu)
gitlab at rtems.org
Wed Apr 23 21:45:18 UTC 2025
Alice Mao created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/99
## Summary
I use Ubuntu WSL2 (Linux localhost 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux) on Windows PC (21H2 22000.2538) for perform Cross Canadian Build RSB for Windows.
But i stuck an error and i can't fix it.
## Steps to reproduce
build command:
```bash
./source-builder/sb-set-builder \
--prefix=$HOME/rtems \
--host=i686-w64-mingw32 \
--log=log_arm_mingw.txt \
7/rtems-arm
```
### Logs
Internal log:
```
builder at localhost:~/rsb$ tail -n 10 rsb-report-mpfr-4.2.1-i686-w64-mingw32-1.txt
checking if compiler knows _Decimal64... yes
checking decimal float format... cannot test
checking bit-field ordering for _Decimal128... cannot test
checking if _Float128 with hex constants is supported... yes
checking for Static Assertion support... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking for gmp.h... no
configure: error: gmp.h can't be found, or is unusable.
shell cmd failed: /bin/sh -ex /home/builder/rsb/build/mpfr-4.2.1-i686-w64-mingw32-1/do-build
error: building mpfr-4.2.1-i686-w64-mingw32-1
```
Build log:
```
RTEMS Source Builder - Set Builder, 7 (ca24f0e1f80d)
warning: environment PATH suspicious path: [Errno 13] Permission denied: '/mnt/c/Program Files/WindowsApps'
Build Set: 7/rtems-arm
Build Set: tools/rtems-default-tools.bset
config: devel/dtc-1.7.2-1.cfg
package: dtc-1.7.2-i686-w64-mingw32-1
building: dtc-1.7.2-i686-w64-mingw32-1
sizes: dtc-1.7.2-i686-w64-mingw32-1: 4.768MB (installed: 1.258MB)
cleaning: dtc-1.7.2-i686-w64-mingw32-1
reporting: devel/dtc-1.7.2-1.cfg -> dtc-1.7.2-i686-w64-mingw32-1.txt
reporting: devel/dtc-1.7.2-1.cfg -> dtc-1.7.2-i686-w64-mingw32-1.xml
Build Set: devel/expat-internal.bset
config: devel/expat-2.5.0-1.cfg
package: expat-2.5.0-i686-w64-mingw32-1
building: expat-2.5.0-i686-w64-mingw32-1
sizes: expat-2.5.0-i686-w64-mingw32-1: 8.728MB (installed: 0.000B)
cleaning: expat-2.5.0-i686-w64-mingw32-1
cleaning: expat-2.5.0-i686-w64-mingw32-1
Build Set: Time 0:00:08.581632
Build Set: devel/gmp-internal.bset
config: devel/gmp-6.3.0.cfg
package: gmp-6.3.0-i686-w64-mingw32-1
building: gmp-6.3.0-i686-w64-mingw32-1
sizes: gmp-6.3.0-i686-w64-mingw32-1: 30.304MB (installed: 0.000B)
cleaning: gmp-6.3.0-i686-w64-mingw32-1
cleaning: gmp-6.3.0-i686-w64-mingw32-1
Build Set: Time 0:00:33.259222
Build Set: devel/mpfr-internal.bset
config: devel/mpfr-4.2.1.cfg
package: mpfr-4.2.1-i686-w64-mingw32-1
building: mpfr-4.2.1-i686-w64-mingw32-1
error: building mpfr-4.2.1-i686-w64-mingw32-1
Build FAILED
See error report: rsb-report-mpfr-4.2.1-i686-w64-mingw32-1.txt
Note: In some cases the error appears only in
the complete build log (see --log option)
error: building mpfr-4.2.1-i686-w64-mingw32-1
Build Set: Time 0:00:05.233240
error: building mpfr-4.2.1-i686-w64-mingw32-1
Build Set: Time 0:00:52.841946
error: building mpfr-4.2.1-i686-w64-mingw32-1
Build Set: Time 0:00:52.844738
Build FAILED
```
### Additional information
.h and .a builded succesfully:
```bash
builder at localhost:~/rsb$ ls /home/builder/rsb/build/tmp/sb-1000-internal/include/gmp.h
/home/builder/rsb/build/tmp/sb-1000-internal/include/gmp.h
builder at localhost:~/rsb$ ls /home/builder/rsb/build/tmp/sb-1000-internal/lib/libgmp.a
/home/builder/rsb/build/tmp/sb-1000-internal/lib/libgmp.a
builder at localhost:~/rsb$
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/99
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/20250423/7e08a650/attachment-0001.htm>
More information about the bugs
mailing list