Public bug reported:

  Package: python3-rocm-docs
  Version: 1.31.1-3
  Affects: stonking (Ubuntu 26.10) / Python 3.14

  == Summary ==

  The rocm_docs.doxygen Sphinx extension crashes at build time when used with
  Python 3.14. This causes all ROCm documentation packages (e.g. librocfft-doc)
  to produce empty HTML directories, resulting in lintian errors and missing
  documentation in the published debs.

  == Error ==

  When running `rocm-docs-build` (triggered via debian/rules
  execute_after_dh_auto_build-indep), Sphinx fails with:

    sphinx.errors.ExtensionError: Handler <function _run_doxygen at ...>
    for event 'config-inited' threw an exception
    (exception: '_Opt' object is not subscriptable)

  Full traceback observed in the Launchpad PPA build log for
  rocfft 7.2.4-0ubuntu1~ppa3~26.10:
  
https://launchpad.net/~igorluppi/+archive/ubuntu/rocfft-7.2.3/+build/32925021/+files/buildlog_ubuntu-stonking-amd64.rocfft_7.2.4-0ubuntu1~ppa3~26.10_BUILDING.txt.gz

  (search for "Extension error (rocm_docs.doxygen)")

  == Impact ==

  - rocm-docs-build exits without generating HTML
  - dh_sphinxdoc reports "Sphinx documentation not found"
  - The resulting -doc package ships an empty html/ directory
  - lintian reports E: doc-base-file-references-missing-file on the published 
deb
  - Affects all ROCm packages that use rocm-docs-build for documentation

  == Platform ==

  - Ubuntu stonking (26.10), Python 3.14.5
  - Does NOT affect resolute (26.04), which uses Python 3.12 — docs build fine 
there

  == Steps to reproduce ==

  Build any ROCm source package that uses rocm-docs-build (e.g. rocfft, hipfft)
  on stonking. The libXXX-doc deb will be ~6 KiB instead of the expected 
~several MB.

** Affects: rocm-docs-core (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155282

Title:
  python3-rocm-docs: rocm_docs.doxygen crashes with Python 3.14 ('_Opt'
  object is not subscriptable)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocm-docs-core/+bug/2155282/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to