Frank Kuehndel created an issue:
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5524
## Summary
`./waf install` fails for an RISC-V target with this error
```
source not found: 'contrib/bsps/sbi/sbi.h' in bld(source=[], target='',
meths=['process_install_task', 'process_rule', 'process_source'],
features=['install_task'], path=/home/ferris/rtems, idx=18, tg_idx_count=18,
install_to='${BSP_INCLUDEDIR}/machine',
install_from=['contrib/bsps/sbi/sbi.h'], dest='${BSP_INCLUDEDIR}/machine',
type='install_files', posted=True, install_task=
{task 140571735945776: inst -> }) in /home/ferris/rtems
```
The file `~/rtems/contrib/bsps/sbi/sbi.h` is actually missing. It is here:
`~/rtems/contrib/bsps/riscv/include/machine/sbi.h` instead.
I assume, this bug is related to
* #3337
* https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1092
* https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1086
## Steps to reproduce
Follow RTEMS User Manual section [Bare Metal Rust with
RTEMS](https://docs.rtems.org/docs/main/user/rust/bare-metal.html#bare-metal-rust-with-rtems).
You need to add the package `install-info` to be installed in the container in
the `Dockerfile` to work around another bug
(https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/161).
The error appears during the install step in
```
cd rtems
cat >config.ini <<"EOF"
[sparc/leon3]
RTEMS_SMP = True
[riscv/rv64imafdc]
EOF
./waf configure --prefix=/opt/rtems/7
./waf
./waf install
```
* RTEMS head is `70adad45f7e6d5262f7d248b6462706ab8b5b9e0`
* rtems-source-builder head is `751299446e8f7d41023ef7b5236cc378a52291c6`
* The bug was not present in a CI build 5th of March 2026 with these dates:
| | Version/Commit |
| ------ | ------ |
|Date: |2026-03-05T21:23:13+01:00 |
|rtems-docs: |f0dce6cba0e54c395b49b2853599764ee3e7ba9a |
|rtems-source-builder: |b16c4ff6fbf3e9fc0a77eec8d628720d52fe1731 |
|rtems: |8166a413c92f954f0624014262b91fb36b0859a5 |
|cargo: |1.94.0 (85eff7c80 2026-01-15) |
|rustc: |1.94.0 (4a4ef493e 2026-03-02) |
|rustc-nightly: |1.96.0-nightly (b90dc1e59 2026-03-04) |
|OS: |Ubuntu 24.04.4 LTS |
<!-- Pre-set options
- milestone
-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5524
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs