Package: src:mpl-sphinx-theme
Version: 3.5.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
   debian/rules override_dh_auto_build-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -i
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
copying mpl_sphinx_theme/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
copying mpl_sphinx_theme/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
running egg_info
creating mpl_sphinx_theme.egg-info
writing mpl_sphinx_theme.egg-info/PKG-INFO
writing dependency_links to mpl_sphinx_theme.egg-info/dependency_links.txt
writing entry points to mpl_sphinx_theme.egg-info/entry_points.txt
writing requirements to mpl_sphinx_theme.egg-info/requires.txt
writing top-level names to mpl_sphinx_theme.egg-info/top_level.txt
writing manifest file 'mpl_sphinx_theme.egg-info/SOURCES.txt'
reading manifest file 'mpl_sphinx_theme.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.png' under directory 'mpl_sphinx_theme'
adding license file 'LICENSE.txt'
writing manifest file 'mpl_sphinx_theme.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:215: _Warning: 
Package 'mpl_sphinx_theme.static.css' is absent from the `packages` 
configuration.
!!

        
********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'mpl_sphinx_theme.static.css' as an importable 
package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'mpl_sphinx_theme.static.css' is 
explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'mpl_sphinx_theme.static.css' to be distributed and 
are
        already explicitly excluding 'mpl_sphinx_theme.static.css' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:215: _Warning: 
Package 'mpl_sphinx_theme.static.images' is absent from the `packages` 
configuration.
!!

        
********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'mpl_sphinx_theme.static.images' as an importable 
package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'mpl_sphinx_theme.static.images' is 
explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'mpl_sphinx_theme.static.images' to be distributed 
and are
        already explicitly excluding 'mpl_sphinx_theme.static.images' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
copying mpl_sphinx_theme/donate_sidebar.html -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
copying mpl_sphinx_theme/mpl_icon_links.html -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
copying mpl_sphinx_theme/mpl_nav_bar.html -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
copying mpl_sphinx_theme/mpl_navbar_logo.html -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
copying mpl_sphinx_theme/search.html -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
copying mpl_sphinx_theme/theme.conf -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/css
copying mpl_sphinx_theme/static/css/style.css -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/css
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/images
copying mpl_sphinx_theme/static/images/favicon.ico -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/images
copying mpl_sphinx_theme/static/images/logo2.svg -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/images
cd docs && \
PYTHONPATH=/<<PKGBUILDDIR>> http_proxy='http://127.0.0.1:9/' 
https_proxy='https://127.0.0.1:9/' \
sphinx-build -N -E -T -b html . /<<PKGBUILDDIR>>/.pybuild/docs/html/
Running Sphinx v7.3.7
making output directory... done
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
writing output... [100%] index

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in ../.pybuild/docs/html.
rm -rf /<<PKGBUILDDIR>>/.pybuild/docs/html/.doctrees
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build; python3.12 -m 
unittest discover -v

----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   dh_auto_install -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py install --root 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme
running install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        
********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
for details.
        
********************************************************************************

!!
  self.initialize_options()
running build
running build_py
running egg_info
writing mpl_sphinx_theme.egg-info/PKG-INFO
writing dependency_links to mpl_sphinx_theme.egg-info/dependency_links.txt
writing entry points to mpl_sphinx_theme.egg-info/entry_points.txt
writing requirements to mpl_sphinx_theme.egg-info/requires.txt
writing top-level names to mpl_sphinx_theme.egg-info/top_level.txt
reading manifest file 'mpl_sphinx_theme.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.png' under directory 'mpl_sphinx_theme'
adding license file 'LICENSE.txt'
writing manifest file 'mpl_sphinx_theme.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:215: _Warning: 
Package 'mpl_sphinx_theme.static.css' is absent from the `packages` 
configuration.
!!

        
********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'mpl_sphinx_theme.static.css' as an importable 
package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'mpl_sphinx_theme.static.css' is 
explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'mpl_sphinx_theme.static.css' to be distributed and 
are
        already explicitly excluding 'mpl_sphinx_theme.static.css' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:215: _Warning: 
Package 'mpl_sphinx_theme.static.images' is absent from the `packages` 
configuration.
!!

        
********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'mpl_sphinx_theme.static.images' as an importable 
package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'mpl_sphinx_theme.static.images' is 
explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'mpl_sphinx_theme.static.images' to be distributed 
and are
        already explicitly excluding 'mpl_sphinx_theme.static.images' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
running install_lib
creating /<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme
creating /<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr
creating /<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib
creating /<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12
creating 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages
creating 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/mpl_icon_links.html
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/search.html 
-> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
creating 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/static
creating 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/static/css
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/css/style.css
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/static/css
creating 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/static/images
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/images/logo2.svg
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/static/images
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/static/images/favicon.ico
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/static/images
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/donate_sidebar.html
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/_version.py 
-> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/__init__.py 
-> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/theme.conf 
-> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
creating 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/__pycache__
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/__pycache__/__init__.cpython-312.pyc
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/__pycache__
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/__pycache__/_version.cpython-312.pyc
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/__pycache__
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/mpl_navbar_logo.html
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpl-sphinx-theme/build/mpl_sphinx_theme/mpl_nav_bar.html
 -> 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/_version.py
 to _version.cpython-312.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme/__init__.py
 to __init__.cpython-312.pyc
running install_egg_info
Copying mpl_sphinx_theme.egg-info to 
/<<PKGBUILDDIR>>/debian/python3-mpl-sphinx-theme/usr/lib/python3.12/dist-packages/mpl_sphinx_theme-3.5.0.egg-info
Skipping SOURCES.txt
running install_scripts
   dh_installdocs -O--buildsystem=pybuild
dh_installdocs: warning: Cannot auto-detect main package for 
python-mpl-sphinx-theme-doc.  If the default is wrong, please use 
--doc-main-package
   dh_sphinxdoc -O--buildsystem=pybuild
dh_sphinxdoc: error: 
debian/python-mpl-sphinx-theme-doc/usr/share/doc/python-mpl-sphinx-theme-doc/html/search.html
 does not load searchindex.js
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202407/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to