Package: src:manuel
Version: 1.12.4-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/doctest.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/footnote.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/isolation.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/testcase.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/codeblock.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/tests.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/testing.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/ignore.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/capture.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel/myst
copying src/manuel/myst/codeblock.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel/myst
copying src/manuel/myst/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel/myst
running egg_info
creating src/manuel.egg-info
writing src/manuel.egg-info/PKG-INFO
writing dependency_links to src/manuel.egg-info/dependency_links.txt
writing requirements to src/manuel.egg-info/requires.txt
writing top-level names to src/manuel.egg-info/top_level.txt
writing manifest file 'src/manuel.egg-info/SOURCES.txt'
reading manifest file 'src/manuel.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'docs'
adding license file 'LICENSE.rst'
writing manifest file 'src/manuel.egg-info/SOURCES.txt'
copying src/manuel/README.txt -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/bugs.txt -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/capture.txt -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/doc1.ex -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/doc2.ex -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/doc3.ex -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/index.txt -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
copying src/manuel/table-example.txt -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build; 
python3.12 -m unittest discover -v
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build/manuel/testcase.py:9: 
SyntaxWarning: invalid escape sequence '\s'
  SECTION_UNDERLINE = re.compile('^[' + punctuation + ']+\s*$', re.MULTILINE)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3.12/unittest/__main__.py", line 18, in <module>
    main(module=None)
  File "/usr/lib/python3.12/unittest/main.py", line 104, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.12/unittest/main.py", line 130, in parseArgs
    self._do_discovery(argv[2:])
  File "/usr/lib/python3.12/unittest/main.py", line 253, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/usr/lib/python3.12/unittest/main.py", line 160, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 310, in discover
    tests = list(self._find_tests(start_dir, pattern))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 374, in _find_tests
    yield from self._find_tests(full_path, pattern)
  File "/usr/lib/python3.12/unittest/loader.py", line 366, in _find_tests
    tests, should_recurse = self._find_test_path(full_path, pattern)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 420, in _find_test_path
    return self.loadTestsFromModule(module, pattern=pattern), False
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 107, in 
loadTestsFromModule
    tests.append(self.loadTestsFromTestCase(obj))
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 94, in 
loadTestsFromTestCase
    loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/suite.py", line 24, in __init__
    self.addTests(tests)
  File "/usr/lib/python3.12/unittest/suite.py", line 57, in addTests
    for test in tests:
                ^^^^^
TypeError: TestCase.__init__() missing 2 required positional arguments: 
'regions' and 'globs'
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_manuel/build; python3.12 -m unittest 
discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to