From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +JzIGkw5A2XLNgEA9RJhRA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 18:48:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +JzIGkw5A2XLNgEA9RJhRA (envelope-from ) for ; Thu, 14 Sep 2023 18:48:12 +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 1F76045264 for ; Thu, 14 Sep 2023 18:48:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=ls+zlBbn; 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-Seal: i=1; s=key1; d=yhetil.org; t=1694710092; a=rsa-sha256; cv=none; b=PJeLBRo7+Cr3A0JlzXzu3qkGnCjNxNJN/wbyHbGkOZypk1nZ7OWrHNFZFd3xUsTIkjo3Ts TxUxQDUXlTNcN9KAWmErP2nbMSHFMOtPmL1WcQc1PcMLMuwJb0IlJAd4A2sqCUEmHPJ+Ae 9blLH8ZrLRzeVQxZxALE2XpTvVceOCaRVhiNW7dpt+qpHmNSg7SS/jlIfc/XcOLxc/rrJL dmwVAXERy0X92ZuWTbn3ZfBNFF5HsC9SYU3HsLnoX54gCuRB3yOq9uxr4YCTCk8keg5lCT Fysnl1VbILap7oYKN2OnXCPFB9dobZyrrhLSAlXXcPcfBJgRZmP3PSvLt6m5Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694710092; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tFK28Hxl8lXkN4TqNm3gMvimG/Yz4WPx+X/3hEZLbOA=; b=MTloqhTOJa3mNI6UOkY1dxbAkfVG0CS9lPL/EnyRqxG/u7U1QYAhG7MXvtrEoQz81sjIkB TYNwjZbe8Mncx7lbeRRVnTbo0fdhTbGa6DPgmKzuoti8cT8Pfo21YgomdgKjVCtiDMbfvQ /zh8ILXCIAjokW0X62v1KKpNk2cOKW0aZ2Rmsi8elD8jln/SNutHkeSjezDmc4MZcfhoPd u/gycIkTDa7uqIIJyjXrI9hBnTWFW1vs5AcLK2DpFHmj53AxFacioDA+igqWjtgvA6S/zx OyS+PF/uLjHQBsu/tFMkxfl52Y/QNEw5dozOUhnz1DvqjGH/3SwES1DRouxT3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=ls+zlBbn; 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 1qgpVW-0002Sb-W0; Thu, 14 Sep 2023 12:47:59 -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 1qgpVU-0002RL-Jv for bug-guix@gnu.org; Thu, 14 Sep 2023 12:47:56 -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 1qgpVU-0003KV-Bq for bug-guix@gnu.org; Thu, 14 Sep 2023 12:47:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgpVa-0000GO-0R for bug-guix@gnu.org; Thu, 14 Sep 2023 12:48:02 -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: Thu, 14 Sep 2023 16:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65979 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65979@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1694710069925 (code B ref -1); Thu, 14 Sep 2023 16:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2023 16:47:49 +0000 Received: from localhost ([127.0.0.1]:40987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgpVM-0000Em-OA for submit@debbugs.gnu.org; Thu, 14 Sep 2023 12:47:49 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgpVL-0000Du-KG for submit@debbugs.gnu.org; Thu, 14 Sep 2023 12:47:48 -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 1qgpV6-0002KP-0j for bug-guix@gnu.org; Thu, 14 Sep 2023 12:47:34 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgpV4-0003DF-90 for bug-guix@gnu.org; Thu, 14 Sep 2023 12:47:31 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-404724ec0dcso2101875e9.1 for ; Thu, 14 Sep 2023 09:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694710048; x=1695314848; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=tFK28Hxl8lXkN4TqNm3gMvimG/Yz4WPx+X/3hEZLbOA=; b=ls+zlBbnJ3nxYk233hSFp3pCBC2zse9eDxTxivxCI4I8uduGRl0tTJIJY5CggErvWy a6tgRx7/IMi4kenDSY3qJpCZeK0kbYlnRR7mo8pz4wp+rHx1ThP1QFPli+9Kh1QycfQx d+zxDaNBodTkOEe0uHzYv8tjeU3rkpeqdJKvVoIdHTDUQ9MvgHCPDlmyZgGQlRTKiIdY l7zkEferka28Wtdq0eVghaxL+MDnW39c4FIm2tWlVMcaSk/VuhBgueTiyqgYvXdY4Ig6 9doiEbqjitgCE6K20xtpCYpykfJPBIGvMS20Eis8/ESbdYJfMO2R8FPIlRnvVnc1DtC+ qiiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694710048; x=1695314848; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tFK28Hxl8lXkN4TqNm3gMvimG/Yz4WPx+X/3hEZLbOA=; b=WvHFy7pd/Gvy1VLkh30LWhFKGAWOeOvuShZR/4K4B9OzXFX8prfuwsoi7cJdzutPJP MfIkQ1M36WpQa6G7J6970T+gBBsNNUjQ8pup+CKdriITlBqOCXDBvxNgRCHkhqh7dgT/ iSSFXNP4OJmAGDbOJ5pcTQhS3GdsPsV7qtjXcyV3wCwaW42eIiP54vpNTGpVTBjFMf8m GV+8goCNB/9x/LH1Fa/zynzQPvvfVAjgpHrs3leRbC4uEvUsPzx4v9RaT/pom7vsxRpD ytOEaW+Sj/O4ntjRxFFrWBx8OcaknOmtUtqAoYi1WexU2nSAzHR+3ruZ8e8Tlu5c7ajv texw== X-Gm-Message-State: AOJu0Yz3CZBCEZ6fxoAi7J0oK3Asma50rLvSIeibgNFoq5Q2JCZRCpJo BLu21MQi5GtlMLSKz0O2KGQve81urUI= X-Google-Smtp-Source: AGHT+IHoTPgiQI2wCaSi6fmb7jGfsaUtPdPmvN8pPVJwcY1QFOnEw5HqokMZoPp3aIsYRRPwf/4kSQ== X-Received: by 2002:a05:600c:792:b0:401:db82:3eda with SMTP id z18-20020a05600c079200b00401db823edamr5078240wmo.1.1694710047594; Thu, 14 Sep 2023 09:47:27 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n4-20020a1c7204000000b00402f713c56esm2425275wmc.2.2023.09.14.09.47.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 09:47:27 -0700 (PDT) From: Simon Tournier Date: Thu, 14 Sep 2023 18:46:05 +0200 Message-ID: <87v8ccd7oy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam-Score: -5.12 X-Spam-Score: -5.12 X-Migadu-Queue-Id: 1F76045264 X-Migadu-Scanner: mx2.migadu.com X-TUID: b4l/E4Ub3DOm Hi, Currently Guix stores in its source the hash 00y9drm0bkpxw8xfl8ysss18jmnhj8blgqgr6fpa58rkpfcbg8qk and this has not changed since February (Guix revision b6a4fbb488f1f539ae45ed7924c9af8905fa0d8b). Well, because the origin contains a snippet, =E2=80=9Cguix build -S=E2=80= =9D does not return the result of the fixed derivation. Instead, it is one or the other: --8<---------------cut here---------------start------------->8--- $ guix gc -R $(guix build -S fastqc -d) | grep checkout.drv /gnu/store/8gxx74w8pa0fx74lx1ka654rhyyr51cs-fastqc-0.11.9-checkout.drv /gnu/store/7rdcyl7iq00xfdwh6azgmc3i7mr2769b-fastqc-0.11.9-checkout.drv --8<---------------cut here---------------end--------------->8--- Let pick the correct one and I get: --8<---------------cut here---------------start------------->8--- $ guix hash -rx $(guix build /gnu/store/8gxx74w8pa0fx74lx1ka654rhyyr51cs-fa= stqc-0.11.9-checkout.drv) 0jyk90kg6s62w3dn6qjx9nrawjs12qx172lii0yxbvsfylhnx479 --8<---------------cut here---------------end--------------->8--- Oh, it is not the expected result! Instead, I have to omit the option =E2=80=99-x=E2=80=99: --8<---------------cut here---------------start------------->8--- $ guix hash -r $(guix build /gnu/store/8gxx74w8pa0fx74lx1ka654rhyyr51cs-fas= tqc-0.11.9-checkout.drv) 00y9drm0bkpxw8xfl8ysss18jmnhj8blgqgr6fpa58rkpfcbg8qk --8<---------------cut here---------------end--------------->8--- Hum, I am missing something=E2=80=A6 Let clone from upstream. --8<---------------cut here---------------start------------->8--- $ git clone https://github.com/s-andrews/FastQC $ git -C FastQC checkout v0.11.9 $ guix hash -rx FastQC 0jyk90kg6s62w3dn6qjx9nrawjs12qx172lii0yxbvsfylhnx479 --8<---------------cut here---------------end--------------->8--- Ah=E2=80=A6 incorrect but consistent with previously. The question is why = is this following, --8<---------------cut here---------------start------------->8--- $ mv FastQC/.git bye-bye $ guix hash -r FastQC 00y9drm0bkpxw8xfl8ysss18jmnhj8blgqgr6fpa58rkpfcbg8qk --8<---------------cut here---------------end--------------->8--- is correct? And obviously without .git we get the same hash just as above, --8<---------------cut here---------------start------------->8--- $ guix hash -rx FastQC 0jyk90kg6s62w3dn6qjx9nrawjs12qx172lii0yxbvsfylhnx479 --8<---------------cut here---------------end--------------->8--- Any idea? Cheers, simon