Package: src:sphinxcontrib-jquery Version: 4.1-5 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ About the archive rebuild: The build was made on virtual machines 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 add an affects on src:sphinxcontrib-jquery, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinxcontrib.jquery * Building wheel... Successfully built sphinxcontrib_jquery-4.1-py2.py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinxcontrib.jquery/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinxcontrib.jquery/build configfile: pyproject.toml collected 4 items tests/test_jquery_installed.py F.s. [100%] =================================== FAILURES =================================== __________________ test_jquery_installed_sphinx_ge_60_use_sri __________________ self = <sphinx.events.EventManager object at 0x7fc41825e270> name = 'config-inited', allowed_exceptions = () args = (Config(project='Project name not set', author='Author name not set', project_copyright='', copyright='', version='', ..., python_trailing_comma_in_multi_line_signatures=True, python_display_short_literal_types=False, jquery_use_sri=True),) repr_args = "(Config(project='Project name not set', author='Author name not set', project_copyright='', copyright='', version='',... python_trailing_comma_in_multi_line_signatures=True, python_display_short_literal_types=False, jquery_use_sri=True),)" results = [] def emit( self, name: str, *args: Any, allowed_exceptions: tuple[type[Exception], ...] = (), ) -> list[Any]: """Emit a Sphinx event.""" # not every object likes to be repr()'d (think # random stuff coming via autodoc) try: repr_args = repr(args) except Exception: pass else: logger.debug('[app] emitting event: %r%s', name, repr_args) results = [] listeners = sorted(self.listeners[name], key=attrgetter('priority')) for listener in listeners: try: > results.append(listener.handler(self.app, *args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/sphinx/events.py:404: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = <SphinxTestApp buildername='html'> config = Config(project='Project name not set', author='Author name not set', project_copyright='', copyright='', version='', r...ne, python_trailing_comma_in_multi_line_signatures=True, python_display_short_literal_types=False, jquery_use_sri=True) def add_js_files(app, config): jquery_installed = getattr(app, "_sphinxcontrib_jquery_installed", False) if sphinx.version_info[:2] >= (6, 0) and not jquery_installed: makedirs(path.join(app.outdir, '_static'), exist_ok=True) for (filename, integrity) in _FILES: # The default is not to enable subresource integrity checks, as it # does not trigger the hash check but instead blocks the request # when viewing documentation locally through the ``file://`` URIs. if config.jquery_use_sri: if filename == "jquery.js": > with open("/usr/share/javascript/jquery/jquery.min.js", > "rb") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/javascript/jquery/jquery.min.js' sphinxcontrib/jquery/__init__.py:35: FileNotFoundError The above exception was the direct cause of the following exception: blank_app = <function blank_app.<locals>.inner at 0x7fc4182916c0> @pytest.mark.skipif(sphinx.version_info[:2] < (6, 0), reason="Requires Sphinx 6.0 or greater") def test_jquery_installed_sphinx_ge_60_use_sri(blank_app): > out_dir = blank_app(confoverrides={"extensions": > ["sphinxcontrib.jquery"], "jquery_use_sri": True}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_jquery_installed.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_jquery_installed.py:30: in inner return run_blank_app(Path(tmpdir), **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_jquery_installed.py:20: in run_blank_app app = SphinxTestApp(**kwargs, srcdir=srcdir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/sphinx/testing/util.py:178: in __init__ super().__init__( /usr/lib/python3/dist-packages/sphinx/application.py:326: in __init__ self.events.emit('config-inited', self.config) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <sphinx.events.EventManager object at 0x7fc41825e270> name = 'config-inited', allowed_exceptions = () args = (Config(project='Project name not set', author='Author name not set', project_copyright='', copyright='', version='', ..., python_trailing_comma_in_multi_line_signatures=True, python_display_short_literal_types=False, jquery_use_sri=True),) repr_args = "(Config(project='Project name not set', author='Author name not set', project_copyright='', copyright='', version='',... python_trailing_comma_in_multi_line_signatures=True, python_display_short_literal_types=False, jquery_use_sri=True),)" results = [] def emit( self, name: str, *args: Any, allowed_exceptions: tuple[type[Exception], ...] = (), ) -> list[Any]: """Emit a Sphinx event.""" # not every object likes to be repr()'d (think # random stuff coming via autodoc) try: repr_args = repr(args) except Exception: pass else: logger.debug('[app] emitting event: %r%s', name, repr_args) results = [] listeners = sorted(self.listeners[name], key=attrgetter('priority')) for listener in listeners: try: results.append(listener.handler(self.app, *args)) except allowed_exceptions: # pass through the errors specified as *allowed_exceptions* raise except SphinxError: raise except Exception as exc: if self.app.pdb: # Just pass through the error, so that it can be debugged. raise modname = safe_getattr(listener.handler, '__module__', None) > raise ExtensionError( __('Handler %r for event %r threw an exception') % (listener.handler, name), exc, modname=modname, ) from exc E sphinx.errors.ExtensionError: Handler <function add_js_files at 0x7fc418290a40> for event 'config-inited' threw an exception (exception: [Errno 2] No such file or directory: '/usr/share/javascript/jquery/jquery.min.js') /usr/lib/python3/dist-packages/sphinx/events.py:415: ExtensionError =============================== warnings summary =============================== tests/test_jquery_installed.py:7 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinxcontrib.jquery/build/tests/test_jquery_installed.py:7: RemovedInSphinx90Warning: 'sphinx.testing.path' is deprecated. Use 'os.path' or 'pathlib' instead. from sphinx.testing.path import path -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_jquery_installed.py::test_jquery_installed_sphinx_ge_60_use_sri ============== 1 failed, 2 passed, 1 skipped, 1 warning in 0.40s =============== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinxcontrib.jquery/build; python3.13 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

