Subject: git: cloning a https repo gets stuck in an infinite loop

From: Kalle Sandström <[email-masked]>
Date: Fri, 12 Feb 2021 22:26:02 +0200

Package: git
Version: 1:2.30.0-1
Severity: important

Dear Maintainer,

Attempting

    git clone https://tildegit.org/solene/vger.git

... puts "git-remote-https" into a perpetual spin and never proceeds.

Cloning the repo on a different computer on the same network (amd64, running an
earlier version of git) works immediately.

Causing a coredump and reading the backtrace indicates that execution is stuck
in `_nettle_chacha_core' of libnettle.so.8, and upgrading the `libnettle8'
package to 3.7-2 does not solve the problem.

This problem has existed for more than a year now, i.e. from before the
pandemic.

Regards,
  -KS

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 1.0.0 (jessie)
Release:	1.0.0
Codename:	jessie
Architecture: i686

Kernel: Linux 5.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages git depends on:
ii  git-man          1:2.30.0-1
ii  libc6            2.31-9
ii  libcurl3-gnutls  7.74.0-1
ii  liberror-perl    0.17-1.1
ii  libexpat1        2.2.10-1
ii  libpcre2-8-0     10.32-5+b1
ii  perl             5.30.3-4
ii  zlib1g           1:1.2.11.dfsg-2

Versions of packages git recommends:
ii  ca-certificates              20210119
ii  less                         481-2.1
ii  openssh-client [ssh-client]  1:8.4p1-3
ii  patch                        2.7.6-6

Versions of packages git suggests:
ii  gettext-base                          0.19.3-2
pn  git-cvs                               <none>
pn  git-daemon-run | git-daemon-sysvinit  <none>
ii  git-doc                               1:2.23.0-1
pn  git-el                                <none>
pn  git-email                             <none>
pn  git-gui                               <none>
pn  git-mediawiki                         <none>
pn  git-svn                               <none>
ii  gitk                                  1:2.30.0-1
pn  gitweb                                <none>

-- no debconf information