RTEMS Source Builder | Version's _top() call does not find the top (#67)
Chris Johns (@chris)
gitlab at rtems.org
Wed Dec 25 01:34:25 UTC 2024
Chris Johns created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/67
Assignee: Chris Johns
## Summary
The `version.py` function does not find the top of the RSB when calling an RSB command because the commands are in `source-builder`. This means a released RSB does not find the released `VERSION` file. It has worked with the release because invoking `../source-builder/sb-set-builder` from the `rtems` directory caused `_top()` to return `..` which happened to work. Calling the RSB externally like `rtems-deployment` does breaks this.
## Steps to reproduce
1. Run a released `rtems-deployment` and then grep the log with `grep '^download:' out/out/amd/amd-kria-k26.txt` and check the download paths.
Running deployment on a release do
```
wget https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc8/sources/rtems-source-builder-6.1-rc8.tar.xz
wget https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc8/sources/rtems-deployment-6.1-rc8.tar.xz
tar jxf rtems-source-builder-6.1-rc8.tar.xz
tar jxf rtems-deployment-6.1-rc8.tar.xz
cd rtems-deployment-6.1-rc8
./waf configure --rsb ../rtems-source-builder-6.1-rc8
./waf --targets=amd/amd-kria-k26,amd/avnet-microzed
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/67
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/20241225/8e883282/attachment.htm>
More information about the bugs
mailing list