Bug#1066837: marked as done (mpi4py: FTBFS: Unable to generate documentation)
Your message dated Wed, 08 May 2024 13:49:10 + with message-id and subject line Bug#1066837: fixed in mpi4py 3.1.5-7 has caused the Debian Bug report #1066837, regarding mpi4py: FTBFS: Unable to generate documentation to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1066837: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066837 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: mpi4py Severity: serious Tags: patch User: zixing@canonical.com Usertags: origin-ubuntu noble ubuntu-patch Dear Maintainer, mpi4py failed to build from source after Python 3.12 and Sphinx upgrade. Please find the patch attached that fixes the Sphinx documentation generation issue and also a partial fix to the InterSphinx online requirements. Due to a packaging issue in numpy, the InterSphinx of numpy isn't included in the package, so linking the documentation from numpy is not possible at the moment. * Un-break Sphinx documentation generation by removing PYTHONPATH overrides. * Add a patch to make Intersphinx read the cross-documentation index from local filesystem. (LP: #2057848) Thanks for considering the patch. -- System Information: Debian Release: bookworm/sid Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.5.0-25-generic (SMP w/10 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled diff -Nru mpi4py-3.1.5/debian/control mpi4py-3.1.5/debian/control --- mpi4py-3.1.5/debian/control 2024-03-13 12:30:07.0 -0600 +++ mpi4py-3.1.5/debian/control 2024-03-13 15:33:29.0 -0600 @@ -17,7 +16,8 @@ python3-setuptools Build-Depends-Indep: texinfo, texlive, latexmk, tex-gyre, - texlive-latex-extra + texlive-latex-extra, + python3-doc Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/science-team/mpi4py Vcs-Git: https://salsa.debian.org/science-team/mpi4py.git diff -Nru mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch --- mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch 1969-12-31 17:00:00.0 -0700 +++ mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch 2024-03-13 15:33:29.0 -0600 @@ -0,0 +1,18 @@ +Description: Use local InterSphinx inventory data +Author: Zixing Liu +Forwarded: not-needed +Last-Update: 2024-03-13 + +Index: mpi4py/docs/source/usrman/conf.py +=== +--- mpi4py.orig/docs/source/usrman/conf.py mpi4py/docs/source/usrman/conf.py +@@ -90,7 +90,7 @@ autosummary_context = { + } + + intersphinx_mapping = { +-'python': ('https://docs.python.org/3/', None), ++'python': ('https://docs.python.org/3/', ('/usr/share/doc/python3/html/objects.inv', None)), + 'numpy': ('https://numpy.org/doc/stable/', None), + } + diff -Nru mpi4py-3.1.5/debian/patches/series mpi4py-3.1.5/debian/patches/series --- mpi4py-3.1.5/debian/patches/series 2024-02-20 03:49:49.0 -0700 +++ mpi4py-3.1.5/debian/patches/series 2024-03-13 15:29:22.0 -0600 @@ -7,3 +7,4 @@ docs_privacy.patch io_long_double_i386_2d868d7.patch skip_testPackUnpackExternal_sparc64.patch +intersphinx_use_local_inventory.patch diff -Nru mpi4py-3.1.5/debian/rules mpi4py-3.1.5/debian/rules --- mpi4py-3.1.5/debian/rules 2024-02-20 03:49:49.0 -0700 +++ mpi4py-3.1.5/debian/rules 2024-03-13 15:28:23.0 -0600 @@ -64,8 +64,7 @@ --build-args "--mpicc=/usr/bin/mpicc$(MPI) --mpicxx=/usr/bin/mpicxx$(MPI)" override_dh_auto_build-indep: override_dh_auto_build-arch - PYTHONPATH=`pybuild --print "{build_dir}"` \ -make -C docs/source/usrman/ html man info latexpdf SPHINXOPTS="-D today=\"$(BUILD_DATE)\"" + make -C docs/source/usrman/ html man info latexpdf SPHINXOPTS="-D today=\"$(BUILD_DATE)\"" override_dh_auto_install: dh_auto_install --- End Message --- --- Begin Message --- Source: mpi4py Source-Version: 3.1.5-7 Done: Graham Inggs We believe that the bug you reported is fixed in the latest version of mpi4py, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to
Bug#1066837: marked as done (mpi4py: FTBFS: Unable to generate documentation)
Your message dated Mon, 06 May 2024 22:49:46 + with message-id and subject line Bug#1066837: fixed in mpi4py 3.1.5-6 has caused the Debian Bug report #1066837, regarding mpi4py: FTBFS: Unable to generate documentation to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1066837: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066837 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: mpi4py Severity: serious Tags: patch User: zixing@canonical.com Usertags: origin-ubuntu noble ubuntu-patch Dear Maintainer, mpi4py failed to build from source after Python 3.12 and Sphinx upgrade. Please find the patch attached that fixes the Sphinx documentation generation issue and also a partial fix to the InterSphinx online requirements. Due to a packaging issue in numpy, the InterSphinx of numpy isn't included in the package, so linking the documentation from numpy is not possible at the moment. * Un-break Sphinx documentation generation by removing PYTHONPATH overrides. * Add a patch to make Intersphinx read the cross-documentation index from local filesystem. (LP: #2057848) Thanks for considering the patch. -- System Information: Debian Release: bookworm/sid Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.5.0-25-generic (SMP w/10 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled diff -Nru mpi4py-3.1.5/debian/control mpi4py-3.1.5/debian/control --- mpi4py-3.1.5/debian/control 2024-03-13 12:30:07.0 -0600 +++ mpi4py-3.1.5/debian/control 2024-03-13 15:33:29.0 -0600 @@ -17,7 +16,8 @@ python3-setuptools Build-Depends-Indep: texinfo, texlive, latexmk, tex-gyre, - texlive-latex-extra + texlive-latex-extra, + python3-doc Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/science-team/mpi4py Vcs-Git: https://salsa.debian.org/science-team/mpi4py.git diff -Nru mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch --- mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch 1969-12-31 17:00:00.0 -0700 +++ mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch 2024-03-13 15:33:29.0 -0600 @@ -0,0 +1,18 @@ +Description: Use local InterSphinx inventory data +Author: Zixing Liu +Forwarded: not-needed +Last-Update: 2024-03-13 + +Index: mpi4py/docs/source/usrman/conf.py +=== +--- mpi4py.orig/docs/source/usrman/conf.py mpi4py/docs/source/usrman/conf.py +@@ -90,7 +90,7 @@ autosummary_context = { + } + + intersphinx_mapping = { +-'python': ('https://docs.python.org/3/', None), ++'python': ('https://docs.python.org/3/', ('/usr/share/doc/python3/html/objects.inv', None)), + 'numpy': ('https://numpy.org/doc/stable/', None), + } + diff -Nru mpi4py-3.1.5/debian/patches/series mpi4py-3.1.5/debian/patches/series --- mpi4py-3.1.5/debian/patches/series 2024-02-20 03:49:49.0 -0700 +++ mpi4py-3.1.5/debian/patches/series 2024-03-13 15:29:22.0 -0600 @@ -7,3 +7,4 @@ docs_privacy.patch io_long_double_i386_2d868d7.patch skip_testPackUnpackExternal_sparc64.patch +intersphinx_use_local_inventory.patch diff -Nru mpi4py-3.1.5/debian/rules mpi4py-3.1.5/debian/rules --- mpi4py-3.1.5/debian/rules 2024-02-20 03:49:49.0 -0700 +++ mpi4py-3.1.5/debian/rules 2024-03-13 15:28:23.0 -0600 @@ -64,8 +64,7 @@ --build-args "--mpicc=/usr/bin/mpicc$(MPI) --mpicxx=/usr/bin/mpicxx$(MPI)" override_dh_auto_build-indep: override_dh_auto_build-arch - PYTHONPATH=`pybuild --print "{build_dir}"` \ -make -C docs/source/usrman/ html man info latexpdf SPHINXOPTS="-D today=\"$(BUILD_DATE)\"" + make -C docs/source/usrman/ html man info latexpdf SPHINXOPTS="-D today=\"$(BUILD_DATE)\"" override_dh_auto_install: dh_auto_install --- End Message --- --- Begin Message --- Source: mpi4py Source-Version: 3.1.5-6 Done: Drew Parsons We believe that the bug you reported is fixed in the latest version of mpi4py, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to