Package: src:python-plac
Version: 1.4.5-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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:python-plac, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************


[... snipped ...]

    inter.submit('rungen %d' % (i + 1)).run()
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:557: in run
    self.proc.start()
/usr/lib/python3.14/multiprocessing/process.py:121: in start
    self._popen = self._Popen(self)
                  ^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:224: in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:300: in _Popen
    return Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__
    super().__init__(process_obj)
/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__
    self._launch(process_obj)
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch
    reduction.dump(process_obj, buf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

obj = <Process name='Process-2' parent=106 initial>
file = <_io.BytesIO object at 0x7f1618932700>, protocol = None

    def dump(obj, file, protocol=None):
        '''Replacement for pickle.dump() using ForkingPickler.'''
>       ForkingPickler(file, protocol).dump(obj)
E       TypeError: cannot pickle 'generator' object
E       when serializing dict item '_genobj'
E       when serializing plac_ext.MPTask state
E       when serializing plac_ext.MPTask object
E       when serializing tuple item 0
E       when serializing method reconstructor arguments
E       when serializing method object
E       when serializing dict item '_target'
E       when serializing multiprocessing.context.Process state
E       when serializing multiprocessing.context.Process object

/usr/lib/python3.14/multiprocessing/reduction.py:60: TypeError
____________________________________ test2 _____________________________________

    def test2():
>       result, error = plac.runp([gen(3), err()])
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/doc/test_runp.py:20: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:1197: in runp
    with Interpreter(launcher) as inter:
         ^^^^^^^^^^^^^^^^^^^^^
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:937: in __exit__
    self.close(exctype, exc, tb)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:975: in close
    self._interpreter.throw(exctype, exc, tb)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:987: in 
_make_interpreter
    arglist = yield task
              ^^^^^^^^^^
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:1199: in runp
    inter.submit('rungen %d' % (i + 1)).run()
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:557: in run
    self.proc.start()
/usr/lib/python3.14/multiprocessing/process.py:121: in start
    self._popen = self._Popen(self)
                  ^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:224: in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:300: in _Popen
    return Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__
    super().__init__(process_obj)
/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__
    self._launch(process_obj)
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch
    reduction.dump(process_obj, buf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

obj = <Process name='Process-4' parent=106 initial>
file = <_io.BytesIO object at 0x7f161739d030>, protocol = None

    def dump(obj, file, protocol=None):
        '''Replacement for pickle.dump() using ForkingPickler.'''
>       ForkingPickler(file, protocol).dump(obj)
E       TypeError: cannot pickle 'generator' object
E       when serializing dict item '_genobj'
E       when serializing plac_ext.MPTask state
E       when serializing plac_ext.MPTask object
E       when serializing tuple item 0
E       when serializing method reconstructor arguments
E       when serializing method object
E       when serializing dict item '_target'
E       when serializing multiprocessing.context.Process state
E       when serializing multiprocessing.context.Process object

/usr/lib/python3.14/multiprocessing/reduction.py:60: TypeError
_____________________________________ test _____________________________________

    def test():
        port = random.choice(range(2000, 20000))
        server = multiprocessing.Process(target=i.start_server, args=(port,))
>       server.start()

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/doc/test_server.py:30: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.14/multiprocessing/process.py:121: in start
    self._popen = self._Popen(self)
                  ^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:224: in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/context.py:300: in _Popen
    return Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:35: in __init__
    super().__init__(process_obj)
/usr/lib/python3.14/multiprocessing/popen_fork.py:20: in __init__
    self._launch(process_obj)
/usr/lib/python3.14/multiprocessing/popen_forkserver.py:47: in _launch
    reduction.dump(process_obj, buf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

obj = <Process name='Process-5' parent=106 initial>
file = <_io.BytesIO object at 0x7f161739fa10>, protocol = None

    def dump(obj, file, protocol=None):
        '''Replacement for pickle.dump() using ForkingPickler.'''
>       ForkingPickler(file, protocol).dump(obj)
E       _pickle.PicklingError: Can't pickle local object <function 
ArgumentParser.__init__.<locals>.identity at 0x7f1618977950>
E       when serializing dict item None
E       when serializing dict item 'type'
E       when serializing dict item '_registries'
E       when serializing plac_core.ArgumentParser state
E       when serializing plac_core.ArgumentParser object
E       when serializing dict item 'parser'
E       when serializing plac_ext.TaskManager state
E       when serializing plac_ext.TaskManager object
E       when serializing dict item 'tm'
E       when serializing plac_ext.Interpreter state
E       when serializing plac_ext.Interpreter object
E       when serializing tuple item 0
E       when serializing method reconstructor arguments
E       when serializing method object
E       when serializing dict item '_target'
E       when serializing multiprocessing.context.Process state
E       when serializing multiprocessing.context.Process object

/usr/lib/python3.14/multiprocessing/reduction.py:60: PicklingError
=============================== warnings summary ===============================
.pybuild/cpython3_3.14_plac/build/doc/test_runp.py::test1
.pybuild/cpython3_3.14_plac/build/doc/test_runp.py::test2
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build/plac_ext.py:975: 
DeprecationWarning: the (type, exc, tb) signature of throw() is deprecated, use 
the single-arg signature instead.
    self._interpreter.throw(exctype, exc, tb)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED doc/test_plac.py::test_expected_help - AssertionError: --- 
  
  +++ 
  
  @@ -1,4 +1,4 @@
  
  -usage: example7_.py [-h] dsn [scripts ...]
  +usage: python3.14 -m pytest [-h] dsn [scripts ...]
   
   Run the given scripts on the database
   
assert 'usage: python3.14 -m pytest [-h] dsn [scripts ...]\n\nRun the given 
scripts on the database\n\npositional arguments:\n  dsn         Database dsn\n  
scripts     SQL scripts\n\noptions:\n  -h, --help  show this help message and 
exit' == 'usage: example7_.py [-h] dsn [scripts ...]\n\nRun the given scripts 
on the database\n\npositional arguments:\n  dsn         Database dsn\n  scripts 
    SQL scripts\n\noptions:\n  -h, --help  show this help message and exit'
  
  - usage: example7_.py [-h] dsn [scripts ...]
  + usage: python3.14 -m pytest [-h] dsn [scripts ...]
    
    Run the given scripts on the database
    
    positional arguments:
      dsn         Database dsn
      scripts     SQL scripts
    
    options:
      -h, --help  show this help message and exit
FAILED doc/test_plac.py::test_metavar_no_defaults - AssertionError: usage: 
python3.14 -m pytest [-h] METAVAR
  
assert 'usage: python3.14 -m pytest [-h] METAVAR\n' == 'usage: test_plac.py 
[-h] METAVAR\n'
  
  - usage: test_plac.py [-h] METAVAR
  + usage: python3.14 -m pytest [-h] METAVAR
FAILED doc/test_plac.py::test_metavar_with_defaults - AssertionError: usage: 
python3.14 -m pytest [-h] [METAVAR]
  
assert 'usage: python3.14 -m pytest [-h] [METAVAR]\n' == 'usage: test_plac.py 
[-h] [METAVAR]\n'
  
  - usage: test_plac.py [-h] [METAVAR]
  + usage: python3.14 -m pytest [-h] [METAVAR]
FAILED doc/test_plac.py::test_metavar_empty_string - AssertionError: usage: 
python3.14 -m pytest [-h] ['']
  
assert "usage: python3.14 -m pytest [-h] ['']\n" == "usage: test_plac.py [-h] 
['']\n"
  
  - usage: test_plac.py [-h] ['']
  + usage: python3.14 -m pytest [-h] ['']
FAILED doc/test_runp.py::test1 - TypeError: cannot pickle 'generator' object
when serializing dict item '_genobj'
when serializing plac_ext.MPTask state
when serializing plac_ext.MPTask object
when serializing tuple item 0
when serializing method reconstructor arguments
when serializing method object
when serializing dict item '_target'
when serializing multiprocessing.context.Process state
when serializing multiprocessing.context.Process object
FAILED doc/test_runp.py::test2 - TypeError: cannot pickle 'generator' object
when serializing dict item '_genobj'
when serializing plac_ext.MPTask state
when serializing plac_ext.MPTask object
when serializing tuple item 0
when serializing method reconstructor arguments
when serializing method object
when serializing dict item '_target'
when serializing multiprocessing.context.Process state
when serializing multiprocessing.context.Process object
FAILED doc/test_server.py::test - _pickle.PicklingError: Can't pickle local 
object <function ArgumentParser.__init__.<locals>.identity at 0x7f1618977950>
when serializing dict item None
when serializing dict item 'type'
when serializing dict item '_registries'
when serializing plac_core.ArgumentParser state
when serializing plac_core.ArgumentParser object
when serializing dict item 'parser'
when serializing plac_ext.TaskManager state
when serializing plac_ext.TaskManager object
when serializing dict item 'tm'
when serializing plac_ext.Interpreter state
when serializing plac_ext.Interpreter object
when serializing tuple item 0
when serializing method reconstructor arguments
when serializing method object
when serializing dict item '_target'
when serializing multiprocessing.context.Process state
when serializing multiprocessing.context.Process object
=================== 7 failed, 21 passed, 2 warnings in 0.35s ===================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_plac/build; python3.14 -m pytest -vv
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_plac/build; 
python3.13 -m pytest -vv
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collecting ... collected 28 items

doc/test_ishelve.py::test PASSED                                         [  3%]
doc/test_ishelve_more.py::test PASSED                                    [  7%]
doc/test_pi.py::test PASSED                                              [ 10%]
doc/test_plac.py::test_expected_help PASSED                              [ 14%]
doc/test_plac.py::test_p1 PASSED                                         [ 17%]
doc/test_plac.py::test_p2 PASSED                                         [ 21%]
doc/test_plac.py::test_p3 PASSED                                         [ 25%]
doc/test_plac.py::test_p4 PASSED                                         [ 28%]
doc/test_plac.py::test_p5 PASSED                                         [ 32%]
doc/test_plac.py::test_global PASSED                                     [ 35%]
doc/test_plac.py::test_flag_with_default PASSED                          [ 39%]
doc/test_plac.py::test_metavar_no_defaults PASSED                        [ 42%]
doc/test_plac.py::test_metavar_with_defaults PASSED                      [ 46%]
doc/test_plac.py::test_metavar_empty_string PASSED                       [ 50%]
doc/test_plac.py::test_kwargs PASSED                                     [ 53%]
doc/test_plac.py::test_kwargs2 PASSED                                    [ 57%]
doc/test_plac.py::test_kwargs3 PASSED                                    [ 60%]
doc/test_plac.py::test_date_default PASSED                               [ 64%]
doc/test_plac.py::test_int_default PASSED                                [ 67%]
doc/test_plac.py::test_none_default PASSED                               [ 71%]
doc/test_plac.py::test_cmds PASSED                                       [ 75%]
doc/test_plac.py::test_cmd_abbrevs PASSED                                [ 78%]
doc/test_plac.py::test_sub_help PASSED                                   [ 82%]
doc/test_plac.py::test_yield PASSED                                      [ 85%]
doc/test_plac.py::test_doctest PASSED                                    [ 89%]
doc/test_runp.py::test1 PASSED                                           [ 92%]
doc/test_runp.py::test2 PASSED                                           [ 96%]
doc/test_server.py::test PASSED                                          [100%]

============================== 28 passed in 1.70s ==============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to