From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#33100: [libssh] fatal: dumb http transport does not support shallow capabilities Date: Wed, 24 Oct 2018 23:33:03 +0200 Message-ID: <87h8hbyqr4.fsf@gnu.org> References: <87zhv94as1.fsf@gmail.com> <87in1w90iu.fsf@gnu.org> <87va5w3rtj.fsf@gmail.com> <875zxupapd.fsf@gnu.org> <87o9bj33e4.fsf@gmail.com> <20181024141523.GB5988@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFQn2-0005Jp-Jk for bug-guix@gnu.org; Wed, 24 Oct 2018 17:34:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFQmx-0003yL-Ks for bug-guix@gnu.org; Wed, 24 Oct 2018 17:34:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFQmx-0003yD-Go for bug-guix@gnu.org; Wed, 24 Oct 2018 17:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFQmx-0000ZO-DP for bug-guix@gnu.org; Wed, 24 Oct 2018 17:34:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20181024141523.GB5988@jasmine.lan> (Leo Famulari's message of "Wed, 24 Oct 2018 10:15:23 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 33100-done@debbugs.gnu.org, Maxim Cournoyer Leo Famulari skribis: > On Wed, Oct 24, 2018 at 09:01:07AM -0400, Maxim Cournoyer wrote: >> From 06ba66d1949ba59573518f471ad3cbacefea6ea2 Mon Sep 17 00:00:00 2001 >> From: Maxim Cournoyer >> Date: Wed, 24 Oct 2018 08:49:50 -0400 >> Subject: [PATCH] build: git-fetch: Print message when falling back to a = full >> checkout. >>=20 >> Otherwise the user might believe that git-fetch stalled, observing the l= ack of >> output following a 'fatal' git error message (see: >> https://debbugs.gnu.org/33100). >>=20 >> * guix/build/git.scm (git-fetch): Print message when falling back to a f= ull >> checkout. > > I like it, but it doesn't seem to actually print anything for me when I > trigger the failing case, for example by fetching the libssh source over > HTTP. If might be that current-output-port is fully buffered. What if you add: (setvbuf (current-output-port) 'line) before the =E2=80=98format=E2=80=99 call? Thanks, Ludo=E2=80=99, who is found guilty of not actually running the code.