Your message dated Sun, 01 Nov 2026 12:49:42 +0000
with message-id <[email protected]>
and subject line Bug#1123396: fixed in hg-git 1.2.0-3
has caused the Debian Bug report #1123396,
regarding hg-git: FTBFS: -  abort: git remote error: The remote server 
unexpectedly closed the connection.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1123396: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123396
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: hg-git
Source-Version: 1.2.0-3
Done: Maximiliano Curia <[email protected]>

We believe that the bug you reported is fixed in the latest version of
hg-git, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maximiliano Curia <[email protected]> (supplier of updated hg-git package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Sep 2026 18:54:44 +0200
Source: hg-git
Architecture: source
Version: 1.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Maximiliano Curia <[email protected]>
Closes: 1123396 1140463
Changes:
 hg-git (1.2.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Backport upstream fixes for Dulwich 1.2 and Mercurial 7.2 compatibility.
     (Closes: #1140463, #1123396)
   * Add patch dulwich-checksum-mismatch:
     fix gverify --fsck with Dulwich >= 1.2.7.
   * Drop from dulwich-compat the changes replaced by upstream backports.
Checksums-Sha1:
 39dd3a7ed047230784c3cb7ec0d55f75beb57b64 2143 hg-git_1.2.0-3.dsc
 8b06561c2de98c01c09551ff5ab19c54aa902b19 17664 hg-git_1.2.0-3.debian.tar.xz
 3a40016d636bb320d836905f82c71d7b70dfe03c 8031 hg-git_1.2.0-3_source.buildinfo
Checksums-Sha256:
 f2af9fddceffb6450ab2ed4b0d6b403b9184022d490dbf4e69e84bfe109f5e11 2143 
hg-git_1.2.0-3.dsc
 7cee8a1c207aab27df599a5c13c2e43c9e87b3e6cb85cf6dd78f93ed06618e5c 17664 
hg-git_1.2.0-3.debian.tar.xz
 106bb0dde3ee65ec9accefc34d0e420f03570625114f7f0c0f278e188a8a9022 8031 
hg-git_1.2.0-3_source.buildinfo
Files:
 51bae1e18c5a47606be04429b2d81abb 2143 vcs optional hg-git_1.2.0-3.dsc
 1cb0a4c07d3e5c84e5b224a5c4d074a5 17664 vcs optional 
hg-git_1.2.0-3.debian.tar.xz
 d068e1ac280215fa2c634d02e69bad76 8031 vcs optional 
hg-git_1.2.0-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrnMWYACgkQMfMURUSh
dBpXCBAAmqo6zYH3TRUSMz2nxiPQG+zWrR6gnk6/gskfmdKYUdkZOC6qyiD7byG5
CwvHqLQNsYWeJDADR+ob/r8yiCD4BE+OmPQ2Vlu2+Xj2R/2btOjZkg6hDnq26IHy
hFxIeo7PCG54v62xojwwLK6IG63dtNlcD0qFy1FAIExfS75adrK/9hbCy5mlbr7f
TE2Im9Y/u8HW5so5JTpIaF0xFvCkNIrKCFZ3diS5plnQk1oZW8W5W3kWaFet9q24
axIjfYHgasNeYMgEoQbD0fVSfqjhYQ91JuJxDsEcYEnfl/bAHCM/pGBj3QNh0VvS
FRD8HUEkXkOi5QtqzclESsn3Ozg0kp/KKbAIZF+jADgwCSgvvmURwxANt1P+xmZ0
aszyJKtQ05ynEAYe2YbqYOiX+aHTZZbba+9JTpNOJWizdJOp7JMHEUTKLrNqfgxn
Rb5pqNP0VhlqrvkiI6TTb58AD4HjuP/fbZifYybb1nqDWXXo3tmMMhMVPtsm1P+z
N1Eju+oc2+jNpn20K2i+2vkc0Z21o7UYkcP1v9oF+HobTCrj8TDXchbhekWlK2j2
L3FSZzSJKDE/GRx9ZMzJ5A3+X8ye9/tqKSRC4m5XZ2JKP1ahdKMnLm+LjNQXlwbk
UipZr7PZ9QSMJWwPLAd2HY/sHc3htvrzE1Kzc98WZUzzCDi21YQ=
=Gn4n
-----END PGP SIGNATURE-----

Attachment: pgpePb548YaY1.pgp
Description: PGP signature


--- End Message ---

Reply via email to