Package: src:datalad-next
Version: 1.4.1-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 --with python3 --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
Failed to load config from /<<PKGBUILDDIR>>/pyproject.toml: 'versioneer'
Try to load it from setup.cfg
running config
I: pybuild base:311: python3.12 setup.py config
Failed to load config from /<<PKGBUILDDIR>>/pyproject.toml: 'versioneer'
Try to load it from setup.cfg
running config
dh_auto_build -O--buildsystem=pybuild
[... snipped ...]
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/url_operations/tests/test_ssh.py::test_ssh_url_upload
SKIPPED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/url_operations/tests/test_ssh.py::test_ssh_url_upload_from_stdin
SKIPPED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/url_operations/tests/test_ssh.py::test_ssh_url_upload_timeout
PASSED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/url_operations/tests/test_ssh.py::test_check_return_code
PASSED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/utils/tests/test_deprecated.py::test_deprecated
PASSED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/utils/tests/test_multihash.py::test_multihash
PASSED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/utils/tests/test_multihash.py::test_noophash
PASSED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/utils/tests/test_paramdictator.py::test_paramdictator
PASSED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/utils/tests/test_parse_www_authenticate.py::test_parse_www_authenticate
PASSED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/utils/tests/test_patch.py::test_patched_env
PASSEDVersions: annexremote=1.6.4 boto3=1.34.46 cmd:7z=24.08
cmd:annex=10.20241031 cmd:bundled-git=UNKNOWN cmd:git=2.45.2 cmd:ssh=9.9p1
cmd:system-git=2.45.2 cmd:system-ssh=9.9p1 datalad=1.1.4 humanize=4.11.0
iso8601=2.1.0 keyring=25.4.1 keyrings.alt=5.0.2 msgpack=1.0.3
platformdirs=4.3.6 requests=2.32.3
Obscure filename: str=b' |;&%b5{}\'"<> .datc ' repr=' |;&%b5{}\'"<> .datc '
Encodings: default='utf-8' filesystem='utf-8' locale.prefered='UTF-8'
Environment: LC_CTYPE='C.UTF-8' LC_COLLATE='C.UTF-8'
PATH='/<<PKGBUILDDIR>>/debian/install-for-tests/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
LANG='C.UTF-8'
PYTHONPATH='/<<PKGBUILDDIR>>/debian/install-for-tests/usr/lib/python3.13/dist-packages:'
GIT_CONFIG_PARAMETERS="'init.defaultBranch=dl-test-branch' 'clone.defaultRemoteName=dl-test-remote'"
PYTHON_KEYRING_BACKEND='keyrings.alt.file.PlaintextKeyring'
GIT_CONFIG_GLOBAL='/tmp/datalad_temp_ko1tnpi3/.gitconfig' GIT_ASKPASS='true'
GIT_CONFIG_KEY_0='datalad.tests.nonetwork' GIT_CONFIG_VALUE_0='1' GIT_CONFIG_KEY_1='datalad.datasets.topurl'
GIT_CONFIG_VALUE_1='https://datasets-tests.datalad.org/' GIT_CONFIG_KEY_2='bogusdataladtestsec.subsec'
GIT_CONFIG_VALUE_2='unique' GIT_CONFIG_COUNT='3'
=================================== FAILURES ===================================
________ TestTreeFilesystemIssues.test_tree_with_broken_symlinks[True] _________
self = <datalad_next.commands.tests.test_tree.TestTreeFilesystemIssues object at
0x7f596eabefd0>
tmp_path =
PosixPath('/tmp/pytest-of-buildd/pytest-0/test_tree_with_broken_symlinks0')
include_files = True
@skip_wo_symlink_capability
@pytest.mark.parametrize("include_files", (True, False))
def test_tree_with_broken_symlinks(self, tmp_path, include_files):
"""Test that broken symlinks are reported as such"""
# prep
dir1 = tmp_path / 'real' / 'dir1'
file1 = tmp_path / 'real' / 'dir1' / 'file1'
dir1.mkdir(parents=True)
file1.touch()
(tmp_path / 'links').mkdir()
# create symlinks
# 1. broken symlink pointing to non-existent target
link_to_nonexistent = tmp_path / 'links' / '1_link_to_nonexistent'
link_to_nonexistent.symlink_to(tmp_path / 'nonexistent')
ok_broken_symlink(link_to_nonexistent)
# 2. broken symlink pointing to itself
link_to_self = tmp_path / 'links' / '2_link_to_self'
link_to_self.symlink_to(link_to_self)
with assert_raises((RuntimeError, OSError)): # OSError on Windows
E Failed: DID NOT RAISE (<class 'RuntimeError'>, <class 'OSError'>)
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/commands/tests/test_tree.py:787:
Failed
________ TestTreeFilesystemIssues.test_tree_with_broken_symlinks[False] ________
self = <datalad_next.commands.tests.test_tree.TestTreeFilesystemIssues object at
0x7f596eabf100>
tmp_path =
PosixPath('/tmp/pytest-of-buildd/pytest-0/test_tree_with_broken_symlinks1')
include_files = False
@skip_wo_symlink_capability
@pytest.mark.parametrize("include_files", (True, False))
def test_tree_with_broken_symlinks(self, tmp_path, include_files):
"""Test that broken symlinks are reported as such"""
# prep
dir1 = tmp_path / 'real' / 'dir1'
file1 = tmp_path / 'real' / 'dir1' / 'file1'
dir1.mkdir(parents=True)
file1.touch()
(tmp_path / 'links').mkdir()
# create symlinks
# 1. broken symlink pointing to non-existent target
link_to_nonexistent = tmp_path / 'links' / '1_link_to_nonexistent'
link_to_nonexistent.symlink_to(tmp_path / 'nonexistent')
ok_broken_symlink(link_to_nonexistent)
# 2. broken symlink pointing to itself
link_to_self = tmp_path / 'links' / '2_link_to_self'
link_to_self.symlink_to(link_to_self)
with assert_raises((RuntimeError, OSError)): # OSError on Windows
E Failed: DID NOT RAISE (<class 'RuntimeError'>, <class 'OSError'>)
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/commands/tests/test_tree.py:787:
Failed
=========================== short test summary info ============================
FAILED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/commands/tests/test_tree.py::TestTreeFilesystemIssues::test_tree_with_broken_symlinks[True]
FAILED
debian/install-for-tests/usr/lib/python3.13/dist-packages/datalad_next/commands/tests/test_tree.py::TestTreeFilesystemIssues::test_tree_with_broken_symlinks[False]
============ 2 failed, 379 passed, 59 skipped in 248.43s (0:04:08) =============
make[1]: *** [debian/rules:40: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:22: binary] Error 2
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/202411/
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.