Release | rc6 Broken Process of the VERSION file (#8)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Dec 18 16:34:17 UTC 2024



Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems-release/-/issues/8

Assignee: Kinsey Moore

## Summary
Every invocation of waf from the rtems source tree out of the rc6 tarball fails. @opticron says the VERSION file is using the wrong section names and key names.

This will have to be fixed on main as well.

```
[joel at gitlab rtems-6.1-rc6]$ ./waf distclean
Traceback (most recent call last):
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/.waf3-2.1.3-9bb4ce978ce08636ef790135d3c297a6/waflib/Scripting.py", line 122, in waf_entry_point
    run_commands()
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/.waf3-2.1.3-9bb4ce978ce08636ef790135d3c297a6/waflib/Scripting.py", line 181, in run_commands
    parse_options()
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/.waf3-2.1.3-9bb4ce978ce08636ef790135d3c297a6/waflib/Scripting.py", line 161, in parse_options
    ctx.execute()
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/.waf3-2.1.3-9bb4ce978ce08636ef790135d3c297a6/waflib/Options.py", line 202, in execute
    super(OptionsContext,self).execute()
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/.waf3-2.1.3-9bb4ce978ce08636ef790135d3c297a6/waflib/Context.py", line 92, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/.waf3-2.1.3-9bb4ce978ce08636ef790135d3c297a6/waflib/Context.py", line 133, in recurse
    user_function(self)
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/wscript", line 1310, in options
    load_version(ctx)
  File "/home/joel/rtems-cron-6.1-rc6/rtems-6.1-rc6/wscript", line 1397, in load_version
    value = cp.get("version", "revision")
  File "/usr/lib64/python3.9/configparser.py", line 781, in get
    d = self._unify_values(section, vars)
  File "/usr/lib64/python3.9/configparser.py", line 1152, in _unify_values
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'version'
```



## Steps to reproduce


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems-release/-/issues/8
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/20241218/1082ff08/attachment.htm>


More information about the bugs mailing list