Package: src:xandikos
Version: 0.2.12-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/202602/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:384: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py:72: 
_ExperimentalConfiguration: `[tool.distutils]` in `pyproject.toml` is still 
*experimental* and likely to change in future releases.
  config = read_configuration(filepath, True, ignore_option_errors, dist)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.


[... snipped ...]

    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_import_only_once 
(xandikos.tests.test_store.TreeGitStoreTest.test_import_only_once)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_store.py", 
line 388, in test_import_only_once
    (name1, etag1) = gc.import_one("foo.ics", "text/calendar", 
[EXAMPLE_VCALENDAR1])
                     
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_iter_with_etag 
(xandikos.tests.test_store.TreeGitStoreTest.test_iter_with_etag)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_store.py", 
line 343, in test_iter_with_etag
    bid = self.add_blob(gc, "foo.ics", EXAMPLE_VCALENDAR1)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_store.py", 
line 460, in add_blob
    gc.repo.stage(name.encode("utf-8"))
    ^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'stage'

======================================================================
ERROR: test_iter_with_etag_missing_uid 
(xandikos.tests.test_store.TreeGitStoreTest.test_iter_with_etag_missing_uid)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_store.py", 
line 336, in test_iter_with_etag_missing_uid
    bid = self.add_blob(gc, "foo.ics", EXAMPLE_VCALENDAR_NO_UID)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_store.py", 
line 460, in add_blob
    gc.repo.stage(name.encode("utf-8"))
    ^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'stage'

======================================================================
ERROR: test_with_filter 
(xandikos.tests.test_store.TreeGitStoreTest.test_with_filter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_store.py", 
line 129, in test_with_filter
    (name1, etag1) = gc.import_one("foo.ics", "text/calendar", 
[EXAMPLE_VCALENDAR1])
                     
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_calendar_query_vtodo_by_uid 
(xandikos.tests.test_web.CalendarCollectionTests.test_calendar_query_vtodo_by_uid)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 101, in test_calendar_query_vtodo_by_uid
    self.store.import_one("foo.ics", "text/calendar", [EXAMPLE_VCALENDAR1])
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_calendar_query_vtodos 
(xandikos.tests.test_web.CalendarCollectionTests.test_calendar_query_vtodos)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 82, in test_calendar_query_vtodos
    self.store.import_one("foo.ics", "text/calendar", [EXAMPLE_VCALENDAR1])
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_color (xandikos.tests.test_web.CalendarCollectionTests.test_color)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 66, in test_color
    self.cal.set_calendar_color("#aabbcc")
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/web.py", line 
576, in set_calendar_color
    self.store.set_color(color)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 476, in set_color
    self.config.set_color(color)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/config.py", line 
109, in set_color
    self._save("Set color.")
    ~~~~~~~~~~^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/config.py", line 
74, in _save
    self._save_cb(self._configparser, message)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 256, in save_config
    self._import_one(
    ~~~~~~~~~~~~~~~~^
        CONFIG_FILENAME, [f.getvalue().encode("utf-8")], message
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_delete_member 
(xandikos.tests.test_web.CalendarCollectionTests.test_delete_member)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 141, in test_delete_member
    self.store.import_one("foo.ics", "text/calendar", [EXAMPLE_VCALENDAR1])
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_description 
(xandikos.tests.test_web.CalendarCollectionTests.test_description)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 61, in test_description
    self.store.set_description("foo")
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 444, in set_description
    self.config.set_description(description)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/config.py", line 
123, in set_description
    self._save("Set description.")
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/config.py", line 
74, in _save
    self._save_cb(self._configparser, message)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 256, in save_config
    self._import_one(
    ~~~~~~~~~~~~~~~~^
        CONFIG_FILENAME, [f.getvalue().encode("utf-8")], message
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_get_member 
(xandikos.tests.test_web.CalendarCollectionTests.test_get_member)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 133, in test_get_member
    self.store.import_one("foo.ics", "text/calendar", [EXAMPLE_VCALENDAR1])
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_git_refs 
(xandikos.tests.test_web.CalendarCollectionTests.test_git_refs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 156, in test_git_refs
    self.store.import_one("foo.ics", "text/calendar", [EXAMPLE_VCALENDAR1])
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

======================================================================
ERROR: test_members 
(xandikos.tests.test_web.CalendarCollectionTests.test_members)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/tests/test_web.py", 
line 123, in test_members
    self.store.import_one("foo.ics", "text/calendar", [EXAMPLE_VCALENDAR1])
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 332, in import_one
    etag = self._import_one(name, fi.normalized(), message, author=author)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 734, in _import_one
    self._commit_tree(
    ~~~~~~~~~~~~~~~~~^
        index, message.encode(DEFAULT_ENCODING), author=author
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xandikos/store/git.py", 
line 705, in _commit_tree
    return self.repo.do_commit(message=message, author=author, tree=tree)
           ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Repo' object has no attribute 'do_commit'

----------------------------------------------------------------------
Ran 146 tests in 0.665s

FAILED (errors=22)
E: pybuild pybuild:483: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover 
-v 
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned 
exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to