From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WJZ1MjLWEmUicgEAauVa8A:P1 (envelope-from ) for ; Tue, 26 Sep 2023 15:01:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WJZ1MjLWEmUicgEAauVa8A (envelope-from ) for ; Tue, 26 Sep 2023 15:01:38 +0200 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 8CF2667171 for ; Tue, 26 Sep 2023 15:01:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Q6LXrIlX; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695733298; 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:dkim-signature; bh=NGcq2wl0CEQTUvmrljXyxYYWph6B2s32n47apr4bjB4=; b=H0njWFUgIIFvsg/jcUURBtm8oFtNQEuiNBHy/WPk/Ka2h8cZUo/C+EtG7gH0vJ4tja3okA 3bd3q3QEHKai0oo8W8qe3sTJRdk7KOhOtlopYz7oWhjrUXQHibfqi6AJsCwm+EfAJd79Vv ScHOak5N/rSRjApqKV03x6kzSH5gdze/lzB7z4Ac22t7x7wp7g5M4FbbewXa6n0E2FbN7m F9e9sCDfLiqd4DPI0/pKSY+iiuVFS7kORNv2ME7oseEkQQfCkDE3YYKJ1JPJeD88fpqAW/ GpKYG0Lrrgzf1OcZFXlzc0PRoCYJVyhIYgYLSq2riguRfWa14UPZVVJqyBNVFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695733298; a=rsa-sha256; cv=none; b=UPbUfxDjKxf0QrhuqJnz3cqJiAfSi4EIYQnJpADZbQMBpQNK00D8I8jVQYg2+1ot8/ChY+ eEGCunaByBsdSQzJSqQrU1JtIL9mURe6kgFkajNxj31D9qCwb3cK0U8HTDxnebmikpOyvW o6CDgb4Y4Bt7Uj76x6gnH2GqFRWIctZxj7bG0hrXfo6OUdrNNnw9xDTd4ESJBwjchx4cbs C9TXNwUBRixBMrU6cavNK4MRbDXlgFPWAWU+08yrrGRmKOyN8vaW4y02sV+3R6Y1q7JuqT JiG/7/pUv3LpgMzm1ekHJxuvCtFGiTiozXZS1ctnhE11B3x6Tr4zgQTdU7mfUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Q6LXrIlX; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ql7gi-0007ui-3Y; Tue, 26 Sep 2023 09:01:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ql7gH-0007ss-G2 for bug-guix@gnu.org; Tue, 26 Sep 2023 09:00:50 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ql7gH-0004qC-7A for bug-guix@gnu.org; Tue, 26 Sep 2023 09:00:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ql7gT-0003uT-Sj for bug-guix@gnu.org; Tue, 26 Sep 2023 09:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65979: incorrect =?UTF-8?Q?=E2=80=9Cguix_?= =?UTF-8?Q?hash=E2=80=9D?= for FastQC Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Sep 2023 13:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65979 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65979@debbugs.gnu.org Received: via spool by 65979-submit@debbugs.gnu.org id=B65979.169573325815011 (code B ref 65979); Tue, 26 Sep 2023 13:01:01 +0000 Received: (at 65979) by debbugs.gnu.org; 26 Sep 2023 13:00:58 +0000 Received: from localhost ([127.0.0.1]:47593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql7gQ-0003u2-37 for submit@debbugs.gnu.org; Tue, 26 Sep 2023 09:00:58 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:40993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql7gM-0003tl-Ki for 65979@debbugs.gnu.org; Tue, 26 Sep 2023 09:00:56 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-405e48d8e72so4893905e9.0 for <65979@debbugs.gnu.org>; Tue, 26 Sep 2023 06:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695733235; x=1696338035; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NGcq2wl0CEQTUvmrljXyxYYWph6B2s32n47apr4bjB4=; b=Q6LXrIlXAQAdH1YwgzTcikiLLM3iZ5WRMtAFyY4z2KzlUxnxzm1PgV+a6P4O66G1dz sVtgBWSgRfVQI2pC6V3XCEIAYlt7zSgL/QbgXkbM+5f03Ja7lm5jaUjvOip/Jbjy5HIn vhZMiWy4qRSxpdAMoQeU0sXNnWkRm7E86zGStEawGm55M0KS+WnDwX+MLCi5tYJKpvSn xivtN7TFRiecQry/GvEofNRTsperUML7xs28mcLDABI1bUL/vvhGjOuS9aSo1qy/4whR izcBAvdXqdpjLoh3ebR/9ZLKxcRX0+Rof+RberukEKysLCgdCdYGVokn6yEr4JifDxzK 6Lkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695733235; x=1696338035; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=NGcq2wl0CEQTUvmrljXyxYYWph6B2s32n47apr4bjB4=; b=xOYp5Z911QwnDIJzM3wcpq9T5ZbHCTVqiHCIMmsmFrRjJyqqDOyW96bV+zyJI278Oh m8CV2WNbNGL4G8L+k+l7/8tfD4KwcSP5KhbjKiX+IiOYjIrPPWDLUcET1dx5XIusCq5y jlIv0RoUxWHh+VilvugzHCKN08FhQ2P1OOWBbqV13s0fFfExcdDpTxkq5FExS7tYzGNg 2S96y0syv0M4I9Lqck0D0o5M8j0e+Afbe7IoNaHT8vjOJtLOBSgoBsdLh2i/K/vx1HM0 ExwbwJ9cT9dSgzGXUFbSxHdVF2sYJLR6TYiBMisPmJ2s096c/y6haxmlpkppq3/cJO7v q+Jw== X-Gm-Message-State: AOJu0Yxd9JYAAJCRvumMorinHiPtcFeOo2inhrEruXPbyC1lR5G79jc6 H0ogA+NE+SEUZonA0GMo3duy0X/+jFo= X-Google-Smtp-Source: AGHT+IEChKlJisXl0thkpi3bPs11nL/rMnmxGbdiux6O4TsA8/ZJ+CxB3s4yKnfhaSWLLmi3478mkQ== X-Received: by 2002:a05:600c:4d1f:b0:404:74bf:fb3e with SMTP id u31-20020a05600c4d1f00b0040474bffb3emr8706272wmp.2.1695733229184; Tue, 26 Sep 2023 06:00:29 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id r9-20020a5d4989000000b0031c5ce91ad6sm14609828wrq.97.2023.09.26.06.00.27 for <65979@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 06:00:28 -0700 (PDT) From: Simon Tournier References: <87v8ccd7oy.fsf@gmail.com> Date: Tue, 26 Sep 2023 15:00:25 +0200 In-Reply-To: <87v8ccd7oy.fsf@gmail.com> (Simon Tournier's message of "Thu, 14 Sep 2023 18:46:05 +0200") Message-ID: <87fs313x92.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.14 X-Spam-Score: -5.14 X-Migadu-Queue-Id: 8CF2667171 X-TUID: h1gXqQ1IvCpc Hi, On Thu, 14 Sep 2023 at 18:46, Simon Tournier wro= te: > $ guix hash -rx $(guix build /gnu/store/8gxx74w8pa0fx74lx1ka654rhyyr51cs-= fastqc-0.11.9-checkout.drv) > 0jyk90kg6s62w3dn6qjx9nrawjs12qx172lii0yxbvsfylhnx479 > > Oh, it is not the expected result! Instead, I have to omit the option > =E2=80=99-x=E2=80=99: > > $ guix hash -r $(guix build /gnu/store/8gxx74w8pa0fx74lx1ka654rhyyr51cs-f= astqc-0.11.9-checkout.drv) > 00y9drm0bkpxw8xfl8ysss18jmnhj8blgqgr6fpa58rkpfcbg8qk [...] > $ git clone https://github.com/s-andrews/FastQC > $ git -C FastQC checkout v0.11.9 > $ guix hash -rx FastQC > 0jyk90kg6s62w3dn6qjx9nrawjs12qx172lii0yxbvsfylhnx479 [...] > $ mv FastQC/.git bye-bye > $ guix hash -r FastQC > 00y9drm0bkpxw8xfl8ysss18jmnhj8blgqgr6fpa58rkpfcbg8qk [...] > Any idea? The issue is from .svn folders. --8<---------------cut here---------------start------------->8--- $ find $(guix build /gnu/store/8gxx74w8pa0fx74lx1ka654rhyyr51cs-fastqc-0.11= .9-checkout.drv) \ -type d -name ".svn" -print /gnu/store/5dyvjgylwiixhp8z9a08rnddh53h4cdx-fastqc-0.11.9-checkout/Help/1 I= ntroduction/.svn /gnu/store/5dyvjgylwiixhp8z9a08rnddh53h4cdx-fastqc-0.11.9-checkout/Help/3 A= nalysis Modules/.svn /gnu/store/5dyvjgylwiixhp8z9a08rnddh53h4cdx-fastqc-0.11.9-checkout/Help/2 B= asic Operations/.svn --8<---------------cut here---------------end--------------->8--- The option =E2=80=99-x=E2=80=99 excludes them; see vcs-file? from (guix has= h) module, and let confirm: $ git clone https://github.com/s-andrews/FastQC $ git -C FastQC checkout v0.11.9 $ guix hash -rx FastQC 0jyk90kg6s62w3dn6qjx9nrawjs12qx172lii0yxbvsfylhnx479 $ find FastQC -type d -name ".svn" -exec rm -r "{}" \; $ mv FastQC/.git bye-bye $ guix hash -r FastQC 0jyk90kg6s62w3dn6qjx9nrawjs12qx172lii0yxbvsfylhnx479 Therefore, we have a discrepancy between =E2=80=9Cguix hash=E2=80=9D comman= d-line and checksum verification from =E2=80=99source=E2=80=99 field. The package definition reads: (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/s-andrews/FastQC") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "00y9drm0bkpxw8xfl8ysss18jmnhj8blgqgr6fpa58rkpfcbg8qk")) when this hash contains .svn subfolders that are excluded by =E2=80=99-x=E2= =80=99 command-line option. What do we fix? The procedure vcs-file? or fixed-output computation? Cheers, simon