RTEMS Source Builder | Follow-up from "sb/simhost: Fix bset parsing in simhost and improve error handling" (#65)

Chris Johns (@chris) gitlab at rtems.org
Thu Dec 19 00:12:43 UTC 2024




Chris Johns commented on a discussion: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/65#note_117050


I do not believe there is an issue here and the `_clean_and_pack()` code handles line continuation over multiple lines cleanly. This can see in this [waf configure](https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/blob/main/rtems/config/tools/rtems-lwip.cfg?ref_type=heads#L74) line:

```
  ./waf distclean configure \
    --prefix=%{_prefix} \
    %{rtems_waf_tools} \
    %{rtems_waf_rtems} \
    --rtems-bsp=%{rtems_bsp_arch_bsp} 
```

If you run in the RSB `rtems` directory:

```
../source-builder/sb-track --log=lwip.txt --trace 6/rtems-lwip
```

then examine `lwip.txt` searching for `distclean` you will see a single line of:

```
config: rtems/config/tools/rtems-lwip.cfg:  78:>./waf distclean configure  --prefix=%{_prefix}  %{rtems_waf_tools}  %{rtems_waf_rtems}  --rtems-bsp=%{rtems_bsp_arch_bsp} [True]
```

The parser has joined all the continuation lines. The code in question is the same code used in `config` and `setbuilder`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/65#note_117050
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/20241219/c8802922/attachment.htm>


More information about the bugs mailing list