Package: src:hg-git
Version: 1.2.0-2
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/202512/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.13 setup.py clean 
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under 
it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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

[... snipped ...]

+    File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 182, in 
callcatch
+      return func()
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 458, in 
_runcatchfunc
+      return _dispatch(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1106, in 
_dispatch
+      return _dispatch_post_cwd(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1362, in 
_dispatch_post_cwd
+      return runcommand(
+          lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+      )
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 975, in 
runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1374, in 
_runcommand
+      return cmdfunc()
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1360, in 
<lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1979, in 
check
+      return func(*args, **kwargs)
+    File "/usr/lib/python3/dist-packages/mercurial/commands.py", line 5567, in 
push
+      pushop = exchange.push(
+          repo,
+      ...<6 lines>...
+          opargs=opargs,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/util.py", line 98, in inner
+      return f(*args, **kwargs)
+    File "/<<PKGBUILDDIR>>/hggit/gitrepo.py", line 232, in exchangepush
+      pushop.cgresult = repo.githandler.push(
+                        ~~~~~~~~~~~~~~~~~~~~^
+          remote.path, revs, bookmarks, force
+          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+      )
+      ^
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 520, in push
+      old_refs, new_refs = self.upload_pack(remote, revs, bookmarks, force)
+                           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 1513, in upload_pack
+      new_refs = self._call_client(
+          remote, 'send_pack', changed, genpack, progress=progressfunc
+      )
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 1680, in _call_client
+      ret = func(path, *args, **kwargs)
+    File "/usr/lib/python3/dist-packages/dulwich/client.py", line 1469, in 
send_pack
+      proto, _unused_can_read, stderr = self._connect(b"receive-pack", path)
+                                        ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/dulwich/client.py", line 3139, in 
_connect
+      con = self.ssh_vendor.run_command(
+          self.host,
+      ...<4 lines>...
+          **kwargs,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/_ssh.py", line 23, in run_command
+      assert isinstance(command, str)
+             ~~~~~~~~~~^^^^^^^^^^^^^^
+  AssertionError
+  [1]

ERROR: test-push.t output changed
!.....................s.......................
--- /<<PKGBUILDDIR>>/tests/test-git-clone.t
+++ /<<PKGBUILDDIR>>/tests/test-git-clone.t.err
@@ -53,10 +53,184 @@
   abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent'
   [255]
   $ hg clone -q 'git+ssh://fakehost|rm${IFS}nonexistent/path'
-  ssh: * fakehost%7?rm%24%7????%7?nonexistent* (glob)
-  abort: git remote error: The remote server unexpectedly closed the 
connection.
-  [255]
+  ** Unknown exception encountered with possibly-broken third-party extension 
"hggit" 1.2.0 (dulwich 0.24.10)
+  ** which supports versions 6.9 of Mercurial.
+  ** Please disable "hggit" and try your action again.
+  ** If that fixes the bug please report it to 
https://foss.heptapod.net/mercurial/hg-git/issues
+  ** Python 3.13.11 (main, Dec  8 2025, 11:43:54) [GCC 15.2.0]
+  ** Mercurial Distributed SCM (version 7.1.1)
+  ** Extensions loaded: hggit 1.2.0 (dulwich 0.24.10)
+  Traceback (most recent call last):
+    File "/usr/bin/hg", line 51, in <module>
+      dispatch.run()
+      ~~~~~~~~~~~~^^
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 144, in 
run
+      status = dispatch(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 233, in 
dispatch
+      status = _rundispatch(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 278, in 
_rundispatch
+      ret = _runcatch(req) or 0
+            ~~~~~~~~~^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 468, in 
_runcatch
+      return _callcatch(ui, _runcatchfunc)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 478, in 
_callcatch
+      return scmutil.callcatch(ui, func)
+             ~~~~~~~~~~~~~~~~~^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 182, in 
callcatch
+      return func()
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 458, in 
_runcatchfunc
+      return _dispatch(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1106, in 
_dispatch
+      return _dispatch_post_cwd(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1362, in 
_dispatch_post_cwd
+      return runcommand(
+          lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+      )
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 975, in 
runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1374, in 
_runcommand
+      return cmdfunc()
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1360, in 
<lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1979, in 
check
+      return func(*args, **kwargs)
+    File "/usr/lib/python3/dist-packages/mercurial/commands.py", line 2046, in 
clone
+      r = hg.clone(
+          ui,
+      ...<11 lines>...
+          depth=opts.get('depth') or None,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/schemes.py", line 116, in clone
+      srcpeer, destpeer = orig(*args, **opts)
+                          ~~~~^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/hg.py", line 1018, in clone
+      exchange.pull(
+      ~~~~~~~~~~~~~^
+          local,
+          ^^^^^^
+      ...<5 lines>...
+          depth=depth,
+          ^^^^^^^^^^^^
+      )
+      ^
+    File "/<<PKGBUILDDIR>>/hggit/util.py", line 98, in inner
+      return f(*args, **kwargs)
+    File "/<<PKGBUILDDIR>>/hggit/gitrepo.py", line 195, in exchangepull
+      pullop.cgresult = repo.githandler.fetch(remote, heads)
+                        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 391, in fetch
+      result = self.fetch_pack(remote.path, heads)
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 1644, in fetch_pack
+      ret = self._call_client(
+          remote,
+      ...<4 lines>...
+          progress.progress,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 1680, in _call_client
+      ret = func(path, *args, **kwargs)
+    File "/usr/lib/python3/dist-packages/dulwich/client.py", line 1599, in 
fetch_pack
+      proto, can_read, stderr = self._connect(b"upload-pack", path, 
protocol_version)
+                                
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/dulwich/client.py", line 3139, in 
_connect
+      con = self.ssh_vendor.run_command(
+          self.host,
+      ...<4 lines>...
+          **kwargs,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/_ssh.py", line 23, in run_command
+      assert isinstance(command, str)
+             ~~~~~~~~~~^^^^^^^^^^^^^^
+  AssertionError
+  [1]
   $ hg clone -q 'git+ssh://fakehost%7Crm${IFS}nonexistent/path'
-  ssh: * fakehost%7?rm%24%7????%7?nonexistent* (glob)
-  abort: git remote error: The remote server unexpectedly closed the 
connection.
-  [255]
+  ** Unknown exception encountered with possibly-broken third-party extension 
"hggit" 1.2.0 (dulwich 0.24.10)
+  ** which supports versions 6.9 of Mercurial.
+  ** Please disable "hggit" and try your action again.
+  ** If that fixes the bug please report it to 
https://foss.heptapod.net/mercurial/hg-git/issues
+  ** Python 3.13.11 (main, Dec  8 2025, 11:43:54) [GCC 15.2.0]
+  ** Mercurial Distributed SCM (version 7.1.1)
+  ** Extensions loaded: hggit 1.2.0 (dulwich 0.24.10)
+  Traceback (most recent call last):
+    File "/usr/bin/hg", line 51, in <module>
+      dispatch.run()
+      ~~~~~~~~~~~~^^
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 144, in 
run
+      status = dispatch(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 233, in 
dispatch
+      status = _rundispatch(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 278, in 
_rundispatch
+      ret = _runcatch(req) or 0
+            ~~~~~~~~~^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 468, in 
_runcatch
+      return _callcatch(ui, _runcatchfunc)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 478, in 
_callcatch
+      return scmutil.callcatch(ui, func)
+             ~~~~~~~~~~~~~~~~~^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/scmutil.py", line 182, in 
callcatch
+      return func()
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 458, in 
_runcatchfunc
+      return _dispatch(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1106, in 
_dispatch
+      return _dispatch_post_cwd(req)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1362, in 
_dispatch_post_cwd
+      return runcommand(
+          lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+      )
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 975, in 
runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1374, in 
_runcommand
+      return cmdfunc()
+    File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 1360, in 
<lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/util.py", line 1979, in 
check
+      return func(*args, **kwargs)
+    File "/usr/lib/python3/dist-packages/mercurial/commands.py", line 2046, in 
clone
+      r = hg.clone(
+          ui,
+      ...<11 lines>...
+          depth=opts.get('depth') or None,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/schemes.py", line 116, in clone
+      srcpeer, destpeer = orig(*args, **opts)
+                          ~~~~^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/mercurial/hg.py", line 1018, in clone
+      exchange.pull(
+      ~~~~~~~~~~~~~^
+          local,
+          ^^^^^^
+      ...<5 lines>...
+          depth=depth,
+          ^^^^^^^^^^^^
+      )
+      ^
+    File "/<<PKGBUILDDIR>>/hggit/util.py", line 98, in inner
+      return f(*args, **kwargs)
+    File "/<<PKGBUILDDIR>>/hggit/gitrepo.py", line 195, in exchangepull
+      pullop.cgresult = repo.githandler.fetch(remote, heads)
+                        ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 391, in fetch
+      result = self.fetch_pack(remote.path, heads)
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 1644, in fetch_pack
+      ret = self._call_client(
+          remote,
+      ...<4 lines>...
+          progress.progress,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/git_handler.py", line 1680, in _call_client
+      ret = func(path, *args, **kwargs)
+    File "/usr/lib/python3/dist-packages/dulwich/client.py", line 1599, in 
fetch_pack
+      proto, can_read, stderr = self._connect(b"upload-pack", path, 
protocol_version)
+                                
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/usr/lib/python3/dist-packages/dulwich/client.py", line 3139, in 
_connect
+      con = self.ssh_vendor.run_command(
+          self.host,
+      ...<4 lines>...
+          **kwargs,
+      )
+    File "/<<PKGBUILDDIR>>/hggit/_ssh.py", line 23, in run_command
+      assert isinstance(command, str)
+             ~~~~~~~~~~^^^^^^^^^^^^^^
+  AssertionError
+  [1]

ERROR: test-git-clone.t output changed
!..s.............s...
Skipped test-check-black.t: missing feature: the black formatter for python (>= 
22.3)
Skipped test-check-commit.t: missing feature: running tests from repository
Skipped test-check-pyflakes.t: missing feature: Pyflakes python linter
Skipped test-check-pylint.t: missing feature: Pylint python linter
Skipped test-encoding.t: blacklisted
Skipped test-git-gpg.t: missing feature: gpg client
Skipped test-gitignore-windows.t: missing feature: Windows
Skipped test-incoming.t: blacklisted
Skipped test-serve-ci.t: skipped
Skipped test-serve-dulwich.t: blacklisted
Failed test-git-clone.t: output changed
Failed test-pull.t#draft: output changed
Failed test-pull.t#secret: output changed
Failed test-push.t: output changed
# Ran 72 tests, 10 skipped, 4 failed.
python hash seed: 458114545
make[2]: *** [Makefile:15: tests] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to