From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wOG6B83RiWBf7gAAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 23:21:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kF6BA83RiWCaGwAA1q6Kng (envelope-from ) for ; Wed, 28 Apr 2021 21:21:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B5DDFCF6 for ; Wed, 28 Apr 2021 23:21:16 +0200 (CEST) Received: from localhost ([::1]:42930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbrcR-0003HD-Mw for larch@yhetil.org; Wed, 28 Apr 2021 17:21:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbrcE-0003Gf-85 for bug-guix@gnu.org; Wed, 28 Apr 2021 17:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbrcE-0007BJ-0W for bug-guix@gnu.org; Wed, 28 Apr 2021 17:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbrcD-00037f-Ra for bug-guix@gnu.org; Wed, 28 Apr 2021 17:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48045: guix challenge error Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 28 Apr 2021 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48045 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bone Baboon Received: via spool by 48045-submit@debbugs.gnu.org id=B48045.161964481211930 (code B ref 48045); Wed, 28 Apr 2021 21:21:01 +0000 Received: (at 48045) by debbugs.gnu.org; 28 Apr 2021 21:20:12 +0000 Received: from localhost ([127.0.0.1]:54230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbrbP-00036M-Qu for submit@debbugs.gnu.org; Wed, 28 Apr 2021 17:20:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbrbN-000364-TR for 48045@debbugs.gnu.org; Wed, 28 Apr 2021 17:20:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52757) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbrbI-0006WB-Ld; Wed, 28 Apr 2021 17:20:04 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60606 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lbrbI-0006TM-7T; Wed, 28 Apr 2021 17:20:04 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmygc2jm.fsf@disroot.org> Date: Wed, 28 Apr 2021 23:20:02 +0200 In-Reply-To: <87pmygc2jm.fsf@disroot.org> (Bone Baboon's message of "Mon, 26 Apr 2021 14:40:29 -0400") Message-ID: <87bl9yqf7h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48045@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619644876; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=pBjtBW/G3djvx8VKLPDHRzQlwUZ9SDeqp0X1NKIXq4k=; b=EhSaGXmBTeqr2yaM4gRIoU5mb8q7BrUO4hCZRXjQCguMj42vq6K5K5nmF4ExHPeAQJnYpt EcAPO/6cI5jgLi1uyHzmf38Wxr2/F2vqXoJ+7mgrpa7pvUc8dneGVNqGpxQ2lm4D7EZyfG ihZ4OhFqEVENPfk5Sn4NunjIz1vd8ko/2b87RNx+b1CD4lWc7IodtS+cv/G4jf1rQr14HI VWPRVNLf4CDZnMIlxDOR/dnuBu9qXEtdwMCXAsk8E7/21mn+1n8aO9hlGVQDCReRafra2T /dsG32buSPZ0fcc96VZyyo3BjZLn5P+FCd65n+7d3J0qHMLFnqAo9nXw0jMMHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619644876; a=rsa-sha256; cv=none; b=elAlf5Q/Kxj8I0m9eXV49yedN0w0zNHR/YFUpx4X2gvEwWgM2gVn2nw/oFSBTqFw6cj0Bk CaN1Im/VaKb8snctAfE3YWrovceWkPJqGTfGid/tOxzr2V69rbd5D2+bOKtws2SGvWGQoC Be8hkPWlBVX6iQbeDS0pyjYTNe4l9vO3W0un1gzjenXKLNlOxx5I7KITABDOlspdsZhn2E coAxQ47T85QS+OspjCTj1IQwwgHKD5dvrHRhx0jNZxhBeRvUDESyr3vv9r6gcYnhLE/sT1 1ueC8Ff/bRZAjpEe67nKYwGqUQjSyndq+XKJ3R8q9cgHM4ZrrVCMmMqSPN+ijg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 7B5DDFCF6 X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: xncmpl/jnTFl --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Bone Baboon skribis: > On an x86_64 computer when I run `guix challenge` I get this error: > > ``` > ... > /gnu/store/5ds5bli4p6gja2yzmzzc0sik1kzrasp9-guix-extra contents differ: > local hash: 0aacxb6n0vrki8lb7f02r3m756cpc650hbihj9dpklkpvlgasqad > https://ci.guix.gnu.org/nar/lzip/5ds5bli4p6gja2yzmzzc0sik1kzrasp9-guix-= extra: 0anncy58048fvbbi40wbfrd1dc6wk3zshx63p6jn2f03ljwakbkj > ci.guix.gnu.org 2.2MiB 416KiB/s 00:06 [##################] 101.3% > Backtrace:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > In srfi/srfi-1.scm: > 634:9 19 (for-each # =E2=80=A6) > In guix/scripts/challenge.scm: > 299:2 18 (report-differing-files _) > 279:2 17 (differing-files #< item: "/gnu/stor=E2= =80=A6>) > In srfi/srfi-1.scm: > 586:17 16 (map1 (#< path: "/gnu/store/5ds5bli4p6gja2yzm=E2=80= =A6>)) > In guix/scripts/challenge.scm: > 262:4 15 (call-with-nar _ _) > In guix/utils.scm: > 253:8 14 (call-with-decompressed-port _ _ _) > In guix/serialization.scm: > 424:4 13 (fold-archive _ _ _ _) > 468:33 12 (read "" _) > 468:33 11 (read "/guix" _) > 442:24 10 (read "/guix/self.go" _) > In guix/scripts/challenge.scm: > 200:4 9 (_ "/guix/self.go" regular _ (("/guix/scripts.go" # =E2=80= =A6) =E2=80=A6)) > In guix/serialization.scm: > 247:20 8 (dump # # =E2=80=A6) > In unknown file: > 7 (get-bytevector-n! # # 0 #) > In lzlib.scm: > 501:4 6 (lzread! # # =E2=80=A6) > In unknown file: > 5 (get-bytevector-n # 65538) > In guix/progress.scm: > 362:23 4 (read! _ _ _) > 178:12 3 (display-download-progress _ _ #:tty? _ #:start-time _ # =E2= =80=A6) > In unknown file: > 2 (make-string -1 #\space) The bug comes from the fact that it=E2=80=99s gone beyond 100%. We could s= olve it by programming more defensively, but it=E2=80=99d be great to see where = the problem comes from. Can you reproduce it with: ./pre-inst-env guix challenge /gnu/store/5ds5bli4p6gja2yzmzzc0sik1kzrasp9= -guix-extra ? If so, could you apply the patch below and send the output of this command? We can discuss it on IRC if anything=E2=80=99s unclear. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/guix/scripts/challenge.scm b/guix/scripts/challenge.scm index 4ec3be99ca..3cafc478a0 100644 --- a/guix/scripts/challenge.scm +++ b/guix/scripts/challenge.scm @@ -252,11 +252,12 @@ taken since we do not import the archives." "Call PROC with an input port from which it can read the nar pointed to by NARINFO." (let*-values (((uri compression size) - (narinfo-best-uri narinfo)) - ((port response) + (narinfo-best-uri narinfo #:fast-decompression? #t)) + ((port actual-size) (http-fetch uri))) (define reporter - (progress-reporter/file (narinfo-path narinfo) size + (progress-reporter/file (narinfo-path narinfo) + (max (pk 's size) (pk 'rs actual-size)) #:abbreviation (const (uri-host uri)))) (define result --=-=-=--