From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +PtiF5ShV2DqJAAA0tVLHw (envelope-from ) for ; Sun, 21 Mar 2021 19:42:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sL0zE5ShV2B7IQAAbx9fmQ (envelope-from ) for ; Sun, 21 Mar 2021 19:42:12 +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 884011F366 for ; Sun, 21 Mar 2021 20:42:11 +0100 (CET) Received: from localhost ([::1]:58634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lO3xh-0006kZ-HY for larch@yhetil.org; Sun, 21 Mar 2021 15:42:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO3xa-0006kR-Hm for bug-guix@gnu.org; Sun, 21 Mar 2021 15:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lO3xa-0000Cm-AY for bug-guix@gnu.org; Sun, 21 Mar 2021 15:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lO3xa-00085J-7b for bug-guix@gnu.org; Sun, 21 Mar 2021 15:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47293: Failure of =?UTF-8?Q?=E2=80=9Cguix?= lint -c archival =?UTF-8?Q?icecat=E2=80=9D?= Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Mar 2021 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47293 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , 47293@debbugs.gnu.org Received: via spool by 47293-submit@debbugs.gnu.org id=B47293.161635566231009 (code B ref 47293); Sun, 21 Mar 2021 19:42:02 +0000 Received: (at 47293) by debbugs.gnu.org; 21 Mar 2021 19:41:02 +0000 Received: from localhost ([127.0.0.1]:55515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO3wc-000844-GD for submit@debbugs.gnu.org; Sun, 21 Mar 2021 15:41:02 -0400 Received: from world.peace.net ([64.112.178.59]:35146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO3wX-00083T-B4 for 47293@debbugs.gnu.org; Sun, 21 Mar 2021 15:41:00 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO3wQ-00015A-JV; Sun, 21 Mar 2021 15:40:50 -0400 From: Mark H Weaver In-Reply-To: <868s6gvb49.fsf@gmail.com> References: <86sg4puzra.fsf@gmail.com> <868s6gvb49.fsf@gmail.com> Date: Sun, 21 Mar 2021 15:39:11 -0400 Message-ID: <878s6gl2it.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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=1616355732; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=jYQgr/0kH5mPuX8dnJ8EGHy8pubJUedyd3s4jKN7Ieo=; b=NgWCser85Vl6B9MRYxK1+pBQRXYJjATUyooOi7uQTtOltGNEMijPw/cEEtraj8VdZKMpwC nAA96BfMtNY3q9kHrMDcXnKyG297/7VZN8RjFnqwOSAjGX73CnGeINQ5lKg57Eqwug+E2v u5KBlRCiMqX1vpxQzYfkwXBi4nGWQnZLNlz3RN7V5bBaj/8GonX6i5XqOvqOu4Ksffxubv CRmLLmeYORk6cgPtL0lzDBy7uym1i7wjYBJx/+Qk2++5ZMisJ30MCX2ktJKMUzjvgJEtpE KyavkgvR3U9u3VGJqy6n5zKb1aXxNptVlyPhGfBq0FykmiYF5fEXPzhuq+Eung== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616355732; a=rsa-sha256; cv=none; b=L7bszbgHtmay/r5Z6V/H79qdWvRXDOJCPnOrO2rycPU7jI2lt9WZDPYUIAfa3aKWxtg20z 2XR9MGj7m4ozTVwxL62Xamyh7ANE1tlqAkiWbj/Xxb6fGrHjqlcGPR/UT2Nvl0x5ym+iwv AMz5diqxlb4RsN0g29mdrfORNWoB4cVE+b4zDbKaN7R9TTM/YhYA1P9ECB8Z2YzAuU/mnu 3QixGRurn3SfH8pglC/Qz9jscFF/QMae8ZwRAejXQrrJlwcKEcTZVbIQgv6e69r1eq/qfB RQaFMesCPvtKySVPURb7yWSMo8/REQZ7hibpNCDbNlOxX22dXcsxc04KtPXfIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -0.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 884011F366 X-Spam-Score: -0.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: ao2uiTFAPCeP zimoun writes: > Indeed, there is a bug. Because the source of =E2=80=99icecat=E2=80=99 r= aises a case > that is not handled by =E2=80=99check-archival=E2=80=99 in (guix lint). > > Basically in the snippet: > > --8<---------------cut here---------------start------------->8--- > (match (lookup-content (content-hash-value hash) > (symbol->string > (content-hash-algorithm hash))) > --8<---------------cut here---------------end--------------->8--- > > =E2=80=99lookup-content=E2=80=99 expect a bytevector for =E2=80=99content= -hash=E2=80=99 and in the case > of =E2=80=99icecat=E2=80=99, it returns #f. Then raises the backtrace. Icecat uses an unusual thing called a "computed origin", which means that its source is itself built from other sources. The only two places in Guix where this is currently done is 'icecat' and 'linux-libre'. See 'computed-origin-method' and 'icecat-source' in gnu/packages/gnuzilla.scm, and 'computed-origin-method' and 'make-linux-libre-source' in gnu/packages/linux.scm. Mark