Source: subversion
Version: 1.14.5-3
Severity: normal
Tags: ftbfs upstream
Forwarded: 
https://github.com/apache/subversion/commit/91748f254bd2710f9df04b765d11276ab7c10ce4
User: [email protected]
Usertags: python3.14

Python 3.14 is upon us, and we would like to enable it as a supported version 
in Debian.

This package fails to build with Python 3.14 as an available version. Graham 
Inggs did a test rebuild in Ubuntu and found this build failure. These can be 
reproduced in Debian by installing python3-all from experimental (but you may 
need to rebuild some dependencies by hand, first).

I think it has been fixed in a new upstream version, but that needs to 
be checked. I found an upstream commit that looks relevant, the git mirror of 
it is 
https://github.com/apache/subversion/commit/91748f254bd2710f9df04b765d11276ab7c10ce4

Build log:
https://launchpadlibrarian.net/820399013/buildlog_ubuntu-questing-amd64.subversion_1.14.5-3build1_BUILDING.txt.gz

Error:

  python3.14 
/<<PKGBUILDDIR>>/BUILD/../subversion/bindings/swig/python/tests/run_all.py
..................F.........................s........................................................................F...........................................
======================================================================
FAIL: test_mergeinfo_leakage__incorrect_range_t_refcounts 
(mergeinfo.SubversionMergeinfoTestCase.test_mergeinfo_leakage__incorrect_range_t_refcounts)
Ensure that the ref counts on svn_merge_range_t objects returned by
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/subversion/bindings/swig/python/tests/mergeinfo.py", 
line 147, in test_mergeinfo_leakage__incorrect_range_t_refcounts
    self.assertEqual(refcount, expected, (
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
      "Memory leak!  Expected a ref count of %d for svn_merge_range_t "
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      "object, but got %d instead (path: %s, index: %d).  Probable "
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      "cause: incorrect Py_INCREF/Py_DECREF usage in libsvn_swig_py/"
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      "swigutil_py.c." % (expected, refcount, path, i)))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 3 != 4 : Memory leak!  Expected a ref count of 4 for 
svn_merge_range_t object, but got 3 instead (path: b'/trunk', index: 0).  
Probable cause: incorrect Py_INCREF/Py_DECREF usage in 
libsvn_swig_py/swigutil_py.c.

======================================================================
FAIL: test_replay_batons_refcounts 
(repository.SubversionRepositoryTestCase.test_replay_batons_refcounts)
Issue SVN-4917: check ref-count of batons created and used in callbacks
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/subversion/bindings/swig/python/tests/repository.py", 
line 438, in test_replay_batons_refcounts
    self.assertEqual(sys.getrefcount(e_ptr), 2,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
                     "leak on editor baton after replay without errors")
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 1 != 2 : leak on editor baton after replay without errors

----------------------------------------------------------------------
Ran 161 tests in 13.199s

FAILED (failures=2, skipped=1)

Reply via email to