Your message dated Sat, 13 Sep 2025 22:48:09 +0000
with message-id <[email protected]>
and subject line Bug#1115143: fixed in sphinxcontrib-jquery 4.1-6
has caused the Debian Bug report #1115143,
regarding sphinxcontrib-jquery: FTBFS: E                       
FileNotFoundError: [Errno 2] No such file or directory: 
'/usr/share/javascript/jquery/jquery.min.js'
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 [email protected]
immediately.)


-- 
1115143: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115143
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: sphinxcontrib-jquery
Source-Version: 4.1-6
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sphinxcontrib-jquery, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated sphinxcontrib-jquery 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 13 Sep 2025 19:17:59 +0200
Source: sphinxcontrib-jquery
Architecture: source
Version: 4.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1115143
Changes:
 sphinxcontrib-jquery (4.1-6) unstable; urgency=medium
 .
   * Team Upload
   * Add build-dep on libjs-jquery (Closes: #1115143)
   * Use dh-sequence-python3
   * Drop "Rules-Requires-Root: no"
   * Bump Standards-Version to 4.7.2
Checksums-Sha1:
 2d69b718bbc0dcc3d29f4138b9986a39ea2a9e15 2269 sphinxcontrib-jquery_4.1-6.dsc
 88d3606abc36e9b9d07c16e79430e0c556a8643f 4388 
sphinxcontrib-jquery_4.1-6.debian.tar.xz
 ca2f398379208bed5a671ec4cb5edf331fbc0d41 7667 
sphinxcontrib-jquery_4.1-6_source.buildinfo
Checksums-Sha256:
 61b56aaed9f3f14b7091a1a6ce87b86d2e61f4f196818d3facc2b12ffb61c2b4 2269 
sphinxcontrib-jquery_4.1-6.dsc
 51ed3a12e87dfb767e3c07fcc43dcdf83d6fca9228978740f18d8bbea44db688 4388 
sphinxcontrib-jquery_4.1-6.debian.tar.xz
 c6dc25c5f2c3d86f8541d5bcfd48475ef8c3ea922b4a3c28200115c523c358b9 7667 
sphinxcontrib-jquery_4.1-6_source.buildinfo
Files:
 8b14c436c1f2c272fe854437b6d2e913 2269 python optional 
sphinxcontrib-jquery_4.1-6.dsc
 aece2732c2b27e0a9dafdd741732d4b6 4388 python optional 
sphinxcontrib-jquery_4.1-6.debian.tar.xz
 38d1b90d91c061d0a99174085fb9cd6e 7667 python optional 
sphinxcontrib-jquery_4.1-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjFqjcRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpbpQ/8CkFxVdlN0e0W3SRyl7Vbv/uRRB0YWzio
cT/UlPLh58eQ9uWFQ8GBu7/8uPndW4mjNqURJveZQ8PHxcDx9gSzXb5HB/+VSK8j
6jvYXyfntcUVbGAgftJ6OdZ5br9OB5z6Rdacy6SgRDlohb9/BCywUctl9PW2r+hc
+hEJvborBUtjR4q8fP4J/6kqszU8U/gxtr1281+8A4OCUACRr4QcQ2z3F0A2WG0Y
EviWGg//T+Ux6EbdA32glUjNBNAmmcFCGCCocRPWOumADqgGjd+uwLPicNjxp4nN
82H9wdkza5PTBXSCTRfT74mDh7FMXwZ+y5cWGRw40vtX74e2FB/qi5/F94Uj6vdA
u4rPt6dlE0gNvAjKnWYpYI698y6O09sgXY8KAMWCTq6DduowoxkTwoezcTRedabe
18NTviW5ru6TFM/Hpmj97EuOWcbqMYnNPBYfX/1Dk8rS87tazcV/hEE5dTSX9Hf+
hn9jcgLiPFnXgLuu/CBT6g4M++eoauEspF7fehFJ54I9mi9cCRF6N+3cCrhuDkw0
7Ozw+iUAl3vGNKt3wAmWPTBDp/s2OFWDZ2xs+0B0fwJps50iyLdRCphFYeZPoz79
gSkABvaVJbL4qK3OLvTseeq05Tq9WxPIJlkNxvFoQoibNj5yoZXy29r7u4Fy1Tdr
LBxm77qNPv8=
=k70m
-----END PGP SIGNATURE-----

Attachment: pgpBmK40MDG4p.pgp
Description: PGP signature


--- End Message ---

Reply via email to