--- Begin Message ---
Source: xphyle
Version: 4.4.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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
> install -d /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home
> pybuild --configure -i python{version} -p "3.10 3.9"
> I: pybuild base:237: python3.10 setup.py config
> /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of
> dash-separated 'description-file' will not be supported in future versions.
> Please use the underscore name 'description_file' instead
> warnings.warn(
> running config
> I: pybuild base:237: python3.9 setup.py config
> /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of
> dash-separated 'description-file' will not be supported in future versions.
> Please use the underscore name 'description_file' instead
> warnings.warn(
> running config
> dh_auto_build -O--buildsystem=pybuild
> pybuild --build -i python{version} -p "3.10 3.9"
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of
> dash-separated 'description-file' will not be supported in future versions.
> Please use the underscore name 'description_file' instead
> warnings.warn(
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> copying xphyle/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> copying xphyle/urls.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> copying xphyle/progress.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> copying xphyle/formats.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> copying xphyle/paths.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> copying xphyle/types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> copying xphyle/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/xphyle
> I: pybuild base:237: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of
> dash-separated 'description-file' will not be supported in future versions.
> Please use the underscore name 'description_file' instead
> warnings.warn(
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> copying xphyle/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> copying xphyle/urls.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> copying xphyle/progress.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> copying xphyle/formats.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> copying xphyle/paths.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> copying xphyle/types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> copying xphyle/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle
> dh_auto_test -O--buildsystem=pybuild
> pybuild --test --test-pytest -i python{version} -p "3.10 3.9"
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build;
> python3.10 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 102 items / 3 errors / 99 selected
>
> ==================================== ERRORS
> ====================================
> _ ERROR collecting
> .pybuild/cpython3_3.10_xphyle/build/tests/test_performance.py _
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_performance.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_performance.py:8: in <module>
> from xphyle.utils import read_lines
> xphyle/utils.py:8: in <module>
> from collections import OrderedDict, Sized
> E ImportError: cannot import name 'Sized' from 'collections'
> (/usr/lib/python3.10/collections/__init__.py)
> _ ERROR collecting .pybuild/cpython3_3.10_xphyle/build/tests/test_progress.py
> __
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_progress.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_progress.py:6: in <module>
> from xphyle.utils import *
> xphyle/utils.py:8: in <module>
> from collections import OrderedDict, Sized
> E ImportError: cannot import name 'Sized' from 'collections'
> (/usr/lib/python3.10/collections/__init__.py)
> ___ ERROR collecting .pybuild/cpython3_3.10_xphyle/build/tests/test_utils.py
> ___
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_utils.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_utils.py:8: in <module>
> from xphyle.utils import *
> xphyle/utils.py:8: in <module>
> from collections import OrderedDict, Sized
> E ImportError: cannot import name 'Sized' from 'collections'
> (/usr/lib/python3.10/collections/__init__.py)
> =============================== warnings summary
> ===============================
> tests/test_paths.py:326
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_paths.py:326:
> DeprecationWarning: invalid escape sequence '\.'
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:423
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_paths.py:423:
> DeprecationWarning: invalid escape sequence '\.'
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:470
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_paths.py:470:
> DeprecationWarning: invalid escape sequence '\.'
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:496
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_paths.py:496:
> DeprecationWarning: invalid escape sequence '\.'
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:524
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build/tests/test_paths.py:524:
> DeprecationWarning: invalid escape sequence '\.'
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> <unknown>:326
> <unknown>:326
> <unknown>:326: DeprecationWarning: invalid escape sequence '\.'
>
> <unknown>:423
> <unknown>:423
> <unknown>:423: DeprecationWarning: invalid escape sequence '\.'
>
> <unknown>:470
> <unknown>:470
> <unknown>:470: DeprecationWarning: invalid escape sequence '\.'
>
> <unknown>:496
> <unknown>:496
> <unknown>:496: DeprecationWarning: invalid escape sequence '\.'
>
> <unknown>:524
> <unknown>:524
> <unknown>:524: DeprecationWarning: invalid escape sequence '\.'
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> ERROR tests/test_performance.py
> ERROR tests/test_progress.py
> ERROR tests/test_utils.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection
> !!!!!!!!!!!!!!!!!!!!
> ======================== 15 warnings, 3 errors in 0.43s
> ========================
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=2: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_xphyle/build; python3.10 -m pytest
> tests
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build;
> python3.9 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 145 items
>
> tests/test_formats.py .s.....s....sss..........s....... [
> 22%]
> tests/test_paths.py .................................... [
> 47%]
> tests/test_performance.py s. [
> 48%]
> tests/test_progress.py ... [
> 51%]
> tests/test_types.py ..... [
> 54%]
> tests/test_urls.py .... [
> 57%]
> tests/test_utils.py ...................................... [
> 83%]
> tests/test_xphyle.py .......................s
> [100%]
>
> =============================== warnings summary
> ===============================
> tests/test_paths.py:326
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_paths.py:326:
> DeprecationWarning: invalid escape sequence \.
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:423
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_paths.py:423:
> DeprecationWarning: invalid escape sequence \.
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:470
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_paths.py:470:
> DeprecationWarning: invalid escape sequence \.
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:496
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_paths.py:496:
> DeprecationWarning: invalid escape sequence \.
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> tests/test_paths.py:524
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_paths.py:524:
> DeprecationWarning: invalid escape sequence \.
> StrPathVar('ext', pattern='[^\.]+', valid=('txt', 'exe')),
>
> <unknown>:326
> <unknown>:326
> <unknown>:326: DeprecationWarning: invalid escape sequence \.
>
> <unknown>:423
> <unknown>:423
> <unknown>:423: DeprecationWarning: invalid escape sequence \.
>
> <unknown>:470
> <unknown>:470
> <unknown>:470: DeprecationWarning: invalid escape sequence \.
>
> <unknown>:496
> <unknown>:496
> <unknown>:496: DeprecationWarning: invalid escape sequence \.
>
> <unknown>:524
> <unknown>:524
> <unknown>:524: DeprecationWarning: invalid escape sequence \.
>
> xphyle/utils.py:8
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/xphyle/utils.py:8:
> DeprecationWarning: Using or importing the ABCs from 'collections' instead of
> from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will
> stop working
> from collections import OrderedDict, Sized
>
> tests/test_performance.py:84
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_performance.py:84:
> PytestUnknownMarkWarning: Unknown pytest.mark.perf - is this a typo? You
> can register custom marks to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/mark.html
> @pytest.mark.perf
>
> tests/test_performance.py:91
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_performance.py:91:
> PytestUnknownMarkWarning: Unknown pytest.mark.perf - is this a typo? You
> can register custom marks to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/mark.html
> @pytest.mark.perf
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:69:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(fm1, fm2)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:70:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(fm1, fm3)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:71:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(id(fm1), id(fm2))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:72:
> DeprecationWarning: Please use assertNotEqual instead.
> self.assertNotEquals(id(fm1), id(fm3))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:77:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(perm1, perm2)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:78:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(perm1, perm3)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:79:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(id(perm1), id(perm2))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_cache
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:80:
> DeprecationWarning: Please use assertNotEqual instead.
> self.assertNotEquals(id(perm1), id(perm3))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py: 10 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:32:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals('rt', f.value)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py: 10 warnings
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:33:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals('rt', str(f))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:52:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(7, a.os_flags)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:53:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(448, a.stat_flags)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:54:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals('rwx', ''.join(f.value for f in a))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:55:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals('rwx', str(a))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permission_set
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:63:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals('rw', str(a))
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permissions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:38:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(os.R_OK, Permission.READ.os_flag)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permissions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:39:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(os.W_OK, Permission.WRITE.os_flag)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permissions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:40:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(os.X_OK, Permission.EXECUTE.os_flag)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permissions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:41:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(stat.S_IREAD, Permission.READ.stat_flag)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permissions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:42:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(stat.S_IWRITE, Permission.WRITE.stat_flag)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_types.py::TypeTests::test_permissions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_types.py:43:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(stat.S_IEXEC, Permission.EXECUTE.stat_flag)
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_utils.py::UtilsTests::test_write_lines
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_utils.py:53:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(
>
> .pybuild/cpython3_3.9_xphyle/build/tests/test_utils.py::UtilsTests::test_write_lines
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_xphyle/build/tests/test_utils.py:60:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========== 137 passed, 8 skipped, 75 warnings in 177.79s (0:02:57)
> ============
> rm -fr -- /tmp/dh-xdg-rundir-R3XCYJ61
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10
> 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/xphyle_4.4.1-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---