[MacPorts] #70896: offlineimap build failure: ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple or list

MacPorts noreply at macports.org
Tue Sep 24 11:38:31 UTC 2024


#70896: offlineimap build failure: ERROR: Invalid value `None` in
intersphinx_mapping['http://docs.python.org/']. Expected a two-element
tuple or list
--------------------------+-------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  offlineimap
--------------------------+-------------------------
 {{{
 * Building wheel...
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning:
 Invalid dash-separated options
 !!

 ********************************************************************************
         Usage of dash-separated 'description-file' will not be supported
 in future
         versions. Please use the underscore name 'description_file'
 instead.

         By 2024-Sep-26, you need to update your project and remove
 deprecated calls
         or your builds will no longer be supported.

         See
 https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
 details.
 ********************************************************************************

 !!
   opt = self.warn_dash_deprecation(opt, section)
 [09/24/24 19:36:48] ERROR    listing git files failed - pretending
 git.py:26
                              there aren't any
 warning: no previously-included files matching '.git' found anywhere in
 distribution
 warning: no previously-included files matching '*.bak' found anywhere in
 distribution
 warning: no previously-included files matching '*.orig' found anywhere in
 distribution
 warning: no previously-included files matching '*.rej' found anywhere in
 distribution
 warning: no files found matching 'MAINTAINERS'
 Successfully built offlineimap-8.0.0-py3-none-any.whl
 fatal: not a git repository (or any of the parent directories): .git
 fatal: not a git repository (or any of the parent directories): .git
 a2x -v -d manpage -f manpage offlineimap.txt
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/asciidoc.conf
 asciidoc: reading:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.txt
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/docbook45.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/code/code-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/graphviz/graphviz-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/latex/latex-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/music/music-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/source/source-highlight-
 filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/lang-en.conf
 asciidoc: writing:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.xml
 asciidoc: include:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.known_issues.txt
 asciidoc: offlineimap.txt: line 339: reading:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.known_issues.txt
 a2x: args: ['-v', '-d', 'manpage', '-f', 'manpage', 'offlineimap.txt']
 a2x: resource files: []
 a2x: resource directories:
 ['/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/stylesheets']
 a2x: executing: asciidoc [('--doctype', 'manpage'), ('--verbose',), ('--
 backend', 'docbook'), ('-a', 'a2x-format=manpage'), ('--out-file',
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.xml')]
 a2x: executing: "xmllint" --nonet --noout --valid
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.xml"


 a2x: chdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs
 a2x: executing: "xsltproc"  --stringparam callout.graphics 0 --stringparam
 navig.graphics 0 --stringparam admon.textlabel 1 --stringparam
 admon.graphics 0
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/docbook-xsl/manpage.xsl"
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.xml"

 Warn: meta author : no refentry/info/author
 offlineimap
 Note: meta author : see http://www.docbook.org/tdg5/en/html/autho
 offlineimap
 Warn: meta author : no author data, so inserted a fixme
 offlineimap
 Note: Writing offlineimap.1

 a2x: chdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs
 a2x: deleting
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimap.xml
 a2x -v -d manpage -f manpage offlineimapui.txt
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/asciidoc.conf
 asciidoc: reading:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimapui.txt
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/docbook45.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/code/code-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/graphviz/graphviz-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/latex/latex-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/music/music-filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/filters/source/source-highlight-
 filter.conf
 asciidoc: reading:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/lang-en.conf
 asciidoc: writing:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimapui.xml
 a2x: args: ['-v', '-d', 'manpage', '-f', 'manpage', 'offlineimapui.txt']
 a2x: resource files: []
 a2x: resource directories:
 ['/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/stylesheets']
 a2x: executing: asciidoc [('--doctype', 'manpage'), ('--verbose',), ('--
 backend', 'docbook'), ('-a', 'a2x-format=manpage'), ('--out-file',
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimapui.xml')]
 a2x: executing: "xmllint" --nonet --noout --valid
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimapui.xml"


 a2x: chdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs
 a2x: executing: "xsltproc"  --stringparam callout.graphics 0 --stringparam
 navig.graphics 0 --stringparam admon.textlabel 1 --stringparam
 admon.graphics 0
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/asciidoc/resources/docbook-xsl/manpage.xsl"
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimapui.xml"

 Warn: meta author : no refentry/info/author
 offlineimapui
 Note: meta author : see http://www.docbook.org/tdg5/en/html/autho
 offlineimapui
 Warn: meta author : no author data, so inserted a fixme
 offlineimapui
 Note: Writing offlineimapui.7

 a2x: chdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs
 a2x: deleting
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_offlineimap/offlineimap/work/offlineimap3-d29a4dc459401f8a78e347cb0f8ae7670add0975/docs/offlineimapui.xml
 sphinx-build -b html -d html/doctrees doc-src html
 Running Sphinx v8.0.2
 loading translations [en]... done
 making output directory... done
 Converting `source_suffix = '.rst'` to `source_suffix = {'.rst':
 'restructuredtext'}`.
 ERROR: Invalid value `None` in
 intersphinx_mapping['http://docs.python.org/']. Expected a two-element
 tuple or list.

 Configuration error:
 Invalid `intersphinx_mapping` configuration (1 error).
 make[1]: *** [api] Error 2
 make: *** [docs] Error 2
 Command failed:
 PATH='/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
 make docs
 Exit code: 2
 Error: Failed to build offlineimap: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70896>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list