Prashant Rahul created an issue: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/119



## Summary
Build fails with the following error on python 3.11, 3.12 and 3.13:
```sh
Waf: Entering directory `/home/prashant/Proj/rtems/docs/build'
Build: 7.d3cc883 (11th December 2025)
[ 1/57] Processing catalogue.xml: wscript common/waf.py user/conf.py 
c-user/conf.py bsp-howto/conf.py posix-users/conf.py posix-compliance/conf.py 
eng/conf.py filesystem/conf.py shell/conf.py cpu-supplement/conf.py 
develenv/conf.py -> build/catalogue.xml
Waf: Leaving directory `/home/prashant/Proj/rtems/docs/build'
Build failed
Traceback (most recent call last):
  File 
"/home/prashant/Proj/rtems/docs/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Task.py",
 line 179, in process
    ret=self.run()
  File "/home/prashant/Proj/rtems/docs/wscript", line 51, in catalogue
    docs_waf.xml_catalogue(ctx, building)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/home/prashant/Proj/rtems/docs/common/waf.py", line 663, in 
xml_catalogue
    mf = importlib.util.spec_from_file_location('conf', p)
         ^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'util'
```


## Steps to reproduce

```sh
❯ python --version
Python 3.13.9

❯ ./waf configure --disable-extra-fonts
Setting top to                           : /home/prashant/Proj/rtems/docs
Setting out to                           : /home/prashant/Proj/rtems/docs/build
Checking for program 'git'               : /home/prashant/.nix-profile/bin/git
Checking for python version >= 3.9       : 3.13.9
Checking for program 'python'            : python3
Checking for program 'sphinx-build'      : 
/nix/store/f57103z3b3fmyglga0qrjzpxl90xz4bk-python3-3.13.9-env/bin/sphinx-build
Checking for program 'aspell'            : 
/nix/store/pmhv6ni0hr1a99f7wfis4jsv84852fq3-aspell-0.60.8.1/bin/aspell
Checking if Sphinx is at least 1.3       : yes (8.2)
Checking Sphinx Options                  : none
Checking Sphinx Nit-Pick mode            : no
Checking for python module 'sphinx_book_theme' : 1.1.4
Checking for python module 'sphinx_copybutton' : 0.5.2
Checking for python module 'linkify_it'        : 2.0.3
Checking for python module 'myst_parser'       : 4.0.1
Checking for python module 'sphinx_design'     : 0.6.1
Checking for python module 'sphinx_tippy'      : 0.4.3
Checking for python module 'sphinx_togglebutton' : 0.3.2
Checking for python module 'sphinxext.opengraph' : 0.13.0
Checking for 'sphinx.ext.coverage'               : found
Checking for 'sphinx.ext.doctest'                : found
Checking for 'sphinx.ext.graphviz'               : found
Checking for 'sphinx.ext.intersphinx'            : found
Checking for 'sphinx.ext.mathjax'                : found
Checking for 'sphinxcontrib.bibtex'              : found
Checking for 'sphinx_copybutton'                 : found
Checking for 'sphinxcontrib.jquery'              : found
Checking for 'myst_parser'                       : found
Checking for 'sphinx_design'                     : found
Checking for 'sphinx_tippy'                      : found
Checking for 'sphinx_togglebutton'               : found
Checking for 'sphinxext.opengraph'               : found
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
Checking for python version >= 3.9               : 3.13.9
Checking for program 'python'                    : python3
'configure' finished successfully (11.095s)

❯ ./waf
Waf: Entering directory `/home/prashant/Proj/rtems/docs/build'
Build: 7.d3cc883 (11th December 2025)
[ 1/57] Processing catalogue.xml: wscript common/waf.py user/conf.py 
c-user/conf.py bsp-howto/conf.py posix-users/conf.py posix-compliance/conf.py 
eng/conf.py filesystem/conf.py shell/conf.py cpu-supplement/conf.py 
develenv/conf.py -> build/catalogue.xml
Waf: Leaving directory `/home/prashant/Proj/rtems/docs/build'
Build failed
Traceback (most recent call last):
  File 
"/home/prashant/Proj/rtems/docs/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Task.py",
 line 179, in process
    ret=self.run()
  File "/home/prashant/Proj/rtems/docs/wscript", line 51, in catalogue
    docs_waf.xml_catalogue(ctx, building)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/home/prashant/Proj/rtems/docs/common/waf.py", line 663, in 
xml_catalogue
    mf = importlib.util.spec_from_file_location('conf', p)
         ^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'util'
```


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/119
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

Reply via email to