Package: src:pristine-lfs
Version: 20241001.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --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.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running config
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/errors.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/main.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/gitwrap.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/log.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/util.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
running egg_info
creating pristine_lfs.egg-info
writing pristine_lfs.egg-info/PKG-INFO
writing dependency_links to pristine_lfs.egg-info/dependency_links.txt
writing entry points to pristine_lfs.egg-info/entry_points.txt
writing requirements to pristine_lfs.egg-info/requires.txt
writing top-level names to pristine_lfs.egg-info/top_level.txt
writing manifest file 'pristine_lfs.egg-info/SOURCES.txt'
reading manifest file 'pristine_lfs.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '*/stubs/*'
warning: no previously-included files found matching '.git*'
adding license file 'COPYING'
writing manifest file 'pristine_lfs.egg-info/SOURCES.txt'
copying pristine_lfs/gitwrap.pyi ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
generating a manpage from pristine-lfs.rst to pristine-lfs.1
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/errors.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/main.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/gitwrap.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/log.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/util.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
running egg_info
writing pristine_lfs.egg-info/PKG-INFO
writing dependency_links to pristine_lfs.egg-info/dependency_links.txt
writing entry points to pristine_lfs.egg-info/entry_points.txt
writing requirements to pristine_lfs.egg-info/requires.txt
writing top-level names to pristine_lfs.egg-info/top_level.txt
reading manifest file 'pristine_lfs.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '*/stubs/*'
warning: no previously-included files found matching '.git*'
adding license file 'COPYING'
writing manifest file 'pristine_lfs.egg-info/SOURCES.txt'
copying pristine_lfs/gitwrap.pyi ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
generating a manpage from pristine-lfs.rst to pristine-lfs.1
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build;
python3.13 -m pytest --junit-xml=/dev/null
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1
collected 14 items
pristine_lfs/util.py .... [ 28%]
tests/test_git_works.py E [ 35%]
tests/test_checkout.py EE [ 50%]
tests/test_commit.py .... [ 78%]
tests/test_import_dsc.py . [ 85%]
tests/test_list.py E [ 92%]
tests/test_verify.py . [100%]
==================================== ERRORS ====================================
_________________ ERROR at setup of test_git_works[/bin/true] __________________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_git_works__bin_true_0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5e68478f83101246388ff8167e755a5346df33b441df34887aa52cd3a80c8535')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
________ ERROR at setup of test_pristine_lfs_simple_checkout[/bin/true] ________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_pristine_lfs_simple_check0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5e68478f83101246388ff8167e755a5346df33b441df34887aa52cd3a80c8535')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
_________ ERROR at setup of test_pristine_lfs_auto_checkout[/bin/true] _________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_pristine_lfs_auto_checkou0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5e68478f83101246388ff8167e755a5346df33b441df34887aa52cd3a80c8535')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
_____________ ERROR at setup of test_pristine_lfs_list[/bin/true] ______________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_pristine_lfs_list__bin_tr0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5d91c2344deaccab9b5f887cf5698283a648b2f1598f0ff56bedec380a5395c1')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
=============================== warnings summary ===============================
.pybuild/cpython3_3.13/build/tests/test_commit.py: 28 warnings
.pybuild/cpython3_3.13/build/tests/test_import_dsc.py: 5 warnings
.pybuild/cpython3_3.13/build/tests/test_verify.py: 12 warnings
/usr/lib/python3/dist-packages/sh.py:1980: DeprecationWarning: This process
(pid=108958) is multi-threaded, use of fork() may lead to deadlocks in the
child.
self.pid = os.fork()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------ generated xml file: /dev/null -------------------------
=========================== short test summary info ============================
ERROR tests/test_git_works.py::test_git_works[/bin/true] - TypeError: 'PosixP...
ERROR tests/test_checkout.py::test_pristine_lfs_simple_checkout[/bin/true] - ...
ERROR tests/test_checkout.py::test_pristine_lfs_auto_checkout[/bin/true] - Ty...
ERROR tests/test_list.py::test_pristine_lfs_list[/bin/true] - TypeError: 'Pos...
================== 10 passed, 45 warnings, 4 errors in 1.58s ===================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest
--junit-xml=/dev/null
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
python3.12 -m pytest --junit-xml=/dev/null
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1
collected 14 items
pristine_lfs/util.py .... [ 28%]
tests/test_git_works.py . [ 35%]
tests/test_checkout.py .. [ 50%]
tests/test_commit.py .... [ 78%]
tests/test_import_dsc.py . [ 85%]
tests/test_list.py . [ 92%]
tests/test_verify.py . [100%]
=============================== warnings summary ===============================
.pybuild/cpython3_3.12/build/tests/test_git_works.py::test_git_works[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_checkout.py::test_pristine_lfs_simple_checkout[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_checkout.py::test_pristine_lfs_auto_checkout[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_list.py::test_pristine_lfs_list[/bin/true]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/conftest.py:68:
DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for
removal in Python 3.13; Path objects as a context manager is a no-op
with Path('.gitattributes') as f:
.pybuild/cpython3_3.12/build/tests/test_checkout.py::test_pristine_lfs_auto_checkout[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_list.py::test_pristine_lfs_list[/bin/true]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/conftest.py:96:
DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for
removal in Python 3.13; Path objects as a context manager is a no-op
with Path('debian/changelog') as changelog:
.pybuild/cpython3_3.12/build/tests/test_commit.py: 22 warnings
.pybuild/cpython3_3.12/build/tests/test_import_dsc.py: 2 warnings
.pybuild/cpython3_3.12/build/tests/test_list.py: 3 warnings
.pybuild/cpython3_3.12/build/tests/test_verify.py: 6 warnings
/usr/lib/python3/dist-packages/sh.py:1980: DeprecationWarning: This process
(pid=110652) is multi-threaded, use of fork() may lead to deadlocks in the
child.
self.pid = os.fork()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------ generated xml file: /dev/null -------------------------
======================= 14 passed, 39 warnings in 2.61s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:8: 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/202412/
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 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.