X-Loop: help-debbugs@HIDDEN Subject: bug#67221: Package identity transformation produces different derivation Resent-From: Ulf Herrman <striness@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 16 Nov 2023 03:58:01 +0000 Resent-Message-ID: <handler.67221.B.170010703615961 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 67221 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67221 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170010703615961 (code B ref -1); Thu, 16 Nov 2023 03:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Nov 2023 03:57:16 +0000 Received: from localhost ([127.0.0.1]:54268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r3TVD-00049N-UT for submit <at> debbugs.gnu.org; Wed, 15 Nov 2023 22:57:16 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <striness@HIDDEN>) id 1r3TVB-000499-H6 for submit <at> debbugs.gnu.org; Wed, 15 Nov 2023 22:57:14 -0500 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 <striness@HIDDEN>) id 1r3TV4-0000Zo-SW for bug-guix@HIDDEN; Wed, 15 Nov 2023 22:57:07 -0500 Received: from tilde.club ([2607:5300:204:4340::114]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <striness@HIDDEN>) id 1r3TV2-0002GB-Ir for bug-guix@HIDDEN; Wed, 15 Nov 2023 22:57:05 -0500 Received: by tilde.club (Postfix, from userid 5378) id 6AD0F22136F7A; Thu, 16 Nov 2023 03:57:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 6AD0F22136F7A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1700107021; bh=Nfk/mauRL819g8G26+04XY6xBVPEq7tImxXA3SkwD3I=; h=From:To:Subject:Date:From; b=RZKMcobbRITBvgYkq1+FlR0N2EMnmKVlii4U1ONGHs08vpKim360PbCvlC8FR0Bk8 5IBilev3XO8OeJ7Y2LI8lykdYjUwP9MsxDdHpYlyuTpMNjX1upkvcaIn/Te2ukJ6CR /jpZ+IyHJJZofw2dgUIrEmGNIkT+rp4oBtOCkZAw= From: Ulf Herrman <striness@HIDDEN> Date: Wed, 15 Nov 2023 21:56:06 -0600 Message-ID: <87leaye4h5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:5300:204:4340::114; envelope-from=striness@HIDDEN; helo=tilde.club 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain $ guix build --no-grafts --derivations -e \ '(begin (use-modules (guix packages) (gnu packages gtk)) ((package-mapping identity) cairo-sans-poppler))' \ -e '(@ (gnu packages gtk) cairo-sans-poppler)' => /gnu/store/51hwf2mc2ig76a3nm86msv4z9az3s0j3-cairo-1.16.0.drv /gnu/store/q78ziqcg2dvi2lzj18hzdld85bcydzwk-cairo-1.16.0.drv Some interesting notes: 1. (package-mapping identity #:deep? #t) *does* produce the same derivation. 2. bag->derivation's `delete-duplicates' call uses `input=?', but its input objects in the second tuple position are all <gexp-input>s produced by `expand-input'. Consequently, `input=?' will fall back to using `equal?' instead of `derivation=?'. I don't know to what extent this has to do with the observed bug. - ulfvonbelow --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHIBAEBCAAyFiEEn6BUn0yca1D9JsMa1lV76sJM9mgFAmVVktgUHHN0cmluZXNz QHRpbGRlLmNsdWIACgkQ1lV76sJM9mjnzAv/XTMfeaSGNl7ocEp+ceie4QkCzYTk PlTFPGxU93XJZcyZeqLmhGQ/exlawCOB3/lsHCypqc0cNBUu6xKy8RSeA0KG5y8t Efb8IHIMpV1DSYZ7h5PWOAdiax5iIQj2yEgAhgukJIifkgR0q/PGs7MaNJm8Bhzh bpBphilKZcAoXn+TUf2t/GLJ8JiUMo3Mi41LDDQ8quZ16wANGiE96RBygfm6KmoI zZydT/6ua0RhxWWxIFkyTM6d/cMYcHP7BQNt1UcXh/w+rwWg1W8yH9UFHdRHXwmm m4MlkpEbHS3qsFWTNmqgYyHIm0BaVi2htPSC9CkjkzmzeLk656/x+Elxs2OOxRZF kGvpjk8EaQygkLMll/arDRI5WZafVgCdjxooUT6Z3pWzCT72TxJ+gjFadMRUi84T OfMTLudvHC07yTTna+ATFYukPconP2z65SOKS4DrS5OS6X+cbEwPmSmHQ8wAAZ7c 7S1YLHTK2V5vIKJCp6OXQLM5quAwahvsuJ2e =G53s -----END PGP SIGNATURE----- --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ulf Herrman <striness@HIDDEN> Subject: bug#67221: Acknowledgement (Package identity transformation produces different derivation) Message-ID: <handler.67221.B.170010703615961.ack <at> debbugs.gnu.org> References: <87leaye4h5.fsf@HIDDEN> X-Gnu-PR-Message: ack 67221 X-Gnu-PR-Package: guix Reply-To: 67221 <at> debbugs.gnu.org Date: Thu, 16 Nov 2023 03:58:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 67221 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 67221: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67221 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 27 Nov 2023 22:03:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 27 17:03:45 2023 Received: from localhost ([127.0.0.1]:45025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r7jhh-0004s7-7l for submit <at> debbugs.gnu.org; Mon, 27 Nov 2023 17:03:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1r7jhf-0004rt-MZ for control <at> debbugs.gnu.org; Mon, 27 Nov 2023 17:03:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1r7jhT-0004Ai-RF for control <at> debbugs.gnu.org; Mon, 27 Nov 2023 17:03:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=YAXih3H1rgAjx80GBxNOAUyfRiJS8NVD2uhEQIm4vvw=; b=pVa3QUl/1wH2cC bJC9+7Yo/zA0eyPRK79X6gj/ihOupX0Nvbwil5Q4IcUNLA6hkRnPPjPYEAGGwMazqnNa/73Q7LR4A 9YopUy3GjILxQuISPHqGolCWXefLV36IsOiQY4NaRh4E+lcyTI2MfWwt4OyyfbfZZmI93GmBqL4Kp GLImsTgw9UqVppUY1nYSJ6ZS6AA+ibXdLevFiknTPk9cG46zdkWCDgJP69ZthYaDlDVoIlSgVd6wO hKncapsrw5VGcGXYH+5jmoJwF39UBatCW5alkLQd+oVjpZRTHQX4hHtWhb2UbQwN+azo20U3zLMEp yStqLVWDAJ95FOV8dCPA==; Date: Mon, 27 Nov 2023 23:03:29 +0100 Message-Id: <87a5qyx39q.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #67221 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 67221 important quit
X-Loop: help-debbugs@HIDDEN Subject: bug#67221: Package identity transformation produces different derivation Resent-From: Simon Tournier <zimon.toutoune@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 12 Jan 2024 12:52:05 +0000 Resent-Message-ID: <handler.67221.B67221.170506389016149 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67221 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ulf Herrman <striness@HIDDEN>, 67221 <at> debbugs.gnu.org Received: via spool by 67221-submit <at> debbugs.gnu.org id=B67221.170506389016149 (code B ref 67221); Fri, 12 Jan 2024 12:52:05 +0000 Received: (at 67221) by debbugs.gnu.org; 12 Jan 2024 12:51:30 +0000 Received: from localhost ([127.0.0.1]:35160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOH0T-0004CJ-S0 for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 07:51:30 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:41026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1rOH0N-0004AX-FQ for 67221 <at> debbugs.gnu.org; Fri, 12 Jan 2024 07:51:24 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-33678b10a6eso688682f8f.0 for <67221 <at> debbugs.gnu.org>; Fri, 12 Jan 2024 04:51:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705063880; x=1705668680; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=K950DvJBFGUaBNeqiXZL9yNmG5wtN69cKFrMMLq6T8Q=; b=Mo39Q7p6CmBKT95WzwsLtGDY+co0uxNZTWYKqs4iuK9bwCmT8G9fDuvoLgYs6zA8I/ YqysDNema0mQKoVBg5B1Qb05g7ajaZPGWcfFupUn1wLAmJQ3G+YJsS0gLJ1mkodiXcCe 6g6Aew2P8dcb5Lnk0rANjB+w3LPEnJpi0KYmAHPmAQo6TSvLzZVurLx+hCYMG5fWB017 HMxDAz2G8sBpc5LfoY5bEM64Q6aBNIY1cgTnMbvLkxOrJzIRJmNMMJcbqODiolAoiMgq UDCpQft6XI8HK+3VKwEK+gIAGZi2fLje32Skc5i4iLlGs7m4cjzibVO6oL13eSsPtBXn jYlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705063880; x=1705668680; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=K950DvJBFGUaBNeqiXZL9yNmG5wtN69cKFrMMLq6T8Q=; b=rOCq8CuAkd4f/soadQnkDZAwuuRyd+xktSMlcDR4aQHSbW69yTsdHf+HRDtl2CRRBP gwPVYEDkcPYyMpPytkmsuolfF/NBWJgkoztuGNPcv1vQbnVB2nmQ4JaejgHvNgEypToz Kv/ujgTLFL6kXpoiFiFqYtqs4MP6jJ9/+B0mAgrGDEo+CHmsiRaWTWVWPXyJFkB7MCFC RsyAm80Aj7RqBHzTTsPnw+N4FKGkd4SH7hMTkt97eCVhitHKTfu83p5EggFn4jN0X6wv JJG4PTQ824HR6MVTRrUz5OnnfN1Fv6k3yOopJcPZId8tpV2MSkhaKb22bucV5XSXtJJS /9QQ== X-Gm-Message-State: AOJu0YzqLOmQrtyg2Pnru2xQsD72Yi5mIHpIcTlvZaHWFYEg4ZpVjqsF YJgvRxg61wtwC3Ow2GzfzkcwrZRo/pg= X-Google-Smtp-Source: AGHT+IFgJmC+rFEGTz3/niQlaowBG1oBjeoicujU7EGcz6h9AfB9rEakJn7taKgp90t2YXMIoRAvzw== X-Received: by 2002:adf:e345:0:b0:337:3904:9a2b with SMTP id n5-20020adfe345000000b0033739049a2bmr1097398wrj.0.1705063879738; Fri, 12 Jan 2024 04:51:19 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id o3-20020a5d4083000000b00333359b522dsm3807015wrp.77.2024.01.12.04.51.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 04:51:19 -0800 (PST) From: Simon Tournier <zimon.toutoune@HIDDEN> In-Reply-To: <87leaye4h5.fsf@HIDDEN> References: <87leaye4h5.fsf@HIDDEN> Date: Fri, 12 Jan 2024 11:50:23 +0100 Message-ID: <87wmsex1u8.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, On Wed, 15 Nov 2023 at 21:56, Ulf Herrman <striness@HIDDEN> wrote: > $ guix build --no-grafts --derivations -e \ > '(begin > (use-modules (guix packages) (gnu packages gtk)) > ((package-mapping identity) cairo-sans-poppler))' \ > -e '(@ (gnu packages gtk) cairo-sans-poppler)' > =3D> > /gnu/store/51hwf2mc2ig76a3nm86msv4z9az3s0j3-cairo-1.16.0.drv > /gnu/store/q78ziqcg2dvi2lzj18hzdld85bcydzwk-cairo-1.16.0.drv The only difference is from the builder: %build-inputs contains ("util-linux" . "/gnu/store/gwx2sf5wl9bsl21lwv35g5la63bwyy95-util-linux-= 2.37.4-lib") for the non-transformed =E2=80=99(@ (gnu packages gtk) cairo-sans-poppler)= =E2=80=99 package, only. Hum, is =E2=80=99package-mapping=E2=80=99 removing it? > 1. (package-mapping identity #:deep? #t) *does* produce the same > derivation. Well, it means that #:deep? #t adds =E2=80=9Cutil-linux=E2=80=9D in the bui= lder. Cheers, simon
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.