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.

Attachment: signature.asc
Description: PGP signature

Reply via email to