Bug#1135827: developers-reference: cannot update translations

Holger Levsen <[email protected]> Wed, 6 May 2026 09:54:05 +0000
Newsgroups gmane.linux.debian.devel.policy
Message-ID <afsPveA__KP0m21b__41650.4726790421$1778061450$gmane$org@layer-acht.org>
package: developers-reference
version: 14.6
severity: important

hi,

this used to work:

$ git reset --hard && git clean -idx && schroot make update-po && git diff | diffstat ;
HEAD is now at c2e6626 Start 14.8 development.
# Let's keep POT files next to PO files
sphinx-build -b gettext -d build/en source source/locales
Running Sphinx v9.1.0
/home/user/Projects/developers-reference/developers-reference/source/conf.py:104: SyntaxWarning: invalid escape sequence '\ '
  }
WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English).
loading translations [en]... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
building [gettext]: targets for 1 template files
reading templates... [100%] /home/user/Projects/developers-reference/developers-reference/source/_templates/layout.html
building [gettext]: targets for 10 source files that are out of date
updating environment: [new config] 10 added, 0 changed, 0 removed
reading sources... [100%] tools
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying assets: done
writing output... [100%] tools
writing message catalogs... [100%] tools
build succeeded, 1 warning.

The message catalogs are in source/locales.
+ LC_ALL=C.UTF-8 LANG=C.UTF-8 sphinx-intl update -d source/locales -p source/locales -l de
conf.py:104: SyntaxWarning: invalid escape sequence '\ '
  }
Traceback (most recent call last):
  File "/usr/bin/sphinx-intl", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/sphinx_intl/commands.py", line 315, in update
    basic.update(
    ~~~~~~~~~~~~^
        locale_dir,
        ^^^^^^^^^^^
    ...<4 lines>...
        jobs=jobs,
        ^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/sphinx_intl/basic.py", line 113, in update
    with mp.Pool(processes=jobs or None) as pool:
         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/multiprocessing/context.py", line 119, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild,
                context=self.get_context())
  File "/usr/lib/python3.13/multiprocessing/pool.py", line 191, in __init__
    self._setup_queues()
    ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/multiprocessing/pool.py", line 346, in _setup_queues
    self._inqueue = self._ctx.SimpleQueue()
                    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/multiprocessing/context.py", line 113, in SimpleQueue
    return SimpleQueue(ctx=self.get_context())
  File "/usr/lib/python3.13/multiprocessing/queues.py", line 361, in __init__
    self._rlock = ctx.Lock()
                  ~~~~~~~~^^
  File "/usr/lib/python3.13/multiprocessing/context.py", line 68, in Lock
    return Lock(ctx=self.get_context())
  File "/usr/lib/python3.13/multiprocessing/synchronize.py", line 169, in __init__
    SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/multiprocessing/synchronize.py", line 57, in __init__
    sl = self._semlock = _multiprocessing.SemLock(
                         ~~~~~~~~~~~~~~~~~~~~~~~~^
        kind, value, maxvalue, self._make_name(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        unlink_now)
        ^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:196: update-po] Error 1


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

Everything so stupid but I have faith it can get stupider.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmn7D70ACgkQCRq4Vgaa
qhwoiw//cUIz969B6IvVScArEYkfzF31rzzZnnkW1KMB9WyIuh5ifbAg/JZ3uUQb
g57cmJKtN2XVIIJUHyvnMaAsSsS8QBZ1U8H/g8qH0sZTmdz9dNHzXZilKSkiAMp/
2zexV5MgFB00j6aJzYu4lfiICT3iNJZt8wXxdMmslQ/qe1/Mh443D/d789rBM/lr
o5RgM2WRJrIZx9pbK6/E0ru5QSnki+vPeWzAJD1CWFMS8tlx7ItFEwJDQF8+UpAh
9pkiugS75SZItONYa7NClfZi5ufGs1XSGBesuE0LFG+u9T6vAc51c8bez7vEyTtU
OpVpXQ8VSUDsvlEqPm1JBs/ut55fwLx3oFKsY3dq4PzZKaOLvcqqldAwitP2fH74
19FI85KWnWqrOKRC/cIsdjGeStlcp/Z9zDNFIl734L3YmyWV5zRy47SzifNot/bj
UNIaaTHkt25hikgFlu76YW3U8b1gD26m+N+PCvITWByb3Qj2d+jpbBcBqFFWS3EJ
cpgOPAwGz7VjlQtuS9mHr8/+2lS9cstSHyqYajUA5n+DXtb7ik0hBXtHNM6cqDX4
h6QvmFezyaZ5K98BpZcl7JVawiQI5nMUVSiwzYSrw8QkSsEM7a+l+kkQ1pv1WLJF
0rXd5hLXNgsGdFqcG2fRZ1ENgo9WpzwnauYel+c/UZKhe39b7jU=
=1fs0
-----END PGP SIGNATURE-----