From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uNaGJh6dVWWjNAEA9RJhRA:P1 (envelope-from ) for ; Thu, 16 Nov 2023 05:39:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uNaGJh6dVWWjNAEA9RJhRA (envelope-from ) for ; Thu, 16 Nov 2023 05:39:58 +0100 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 DD16543106 for ; Thu, 16 Nov 2023 05:39:57 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tilde.club header.s=mail header.b=RZKMcobb; 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=tilde.club (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700109598; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=YsgzdqGHnFAwymllpAMncfvvhQXR3GdKQYmjDwt62wg=; b=k7dBIRBINsEgzVEJmN2AmkqDUxFSjJ41mTBbO2hw9jFaTpDsBTMj0Lfv7Qujymtj9kIPI+ BxYmrGuz2VE5amkumXKGvZs1zd6qosP9RTX4zCqfUYqUb4wDYwAnXs+xyR3sPrtLILH2MX 21BFdF2BCk0DEY9j1js7aurpA9/u1Vbl1ZUA3cgb4oUNfD62uW+MhzCHsz72z5JSHWCzT1 EVYzPtO+4cdsLMP1d8l3BJHdMYyQ+Eh1b+leoLYF3oJixrkhNr90QjveKAsRKl9p6z1txX hTXB6ltedbh56dlyskI5JgEaj8gjZZtorXr0xcUWpnPat8/RADeQ8KP2xax7Qg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tilde.club header.s=mail header.b=RZKMcobb; 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=tilde.club (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700109598; a=rsa-sha256; cv=none; b=iHQOsAzDSPrNUiz6ybUqjV2Eu/cVC2nRnnRn3/t5LfVKSXsQtcLlsfDfZ0SjUvkp8vYg1q v2etgRNJnS2AyRYx0IFAPgBurok9wxH9WRwpfeuf9kBACilfxJOL2uUHgKWk5YkeAqPVOJ wgFvg1C3n8Ro3VWE+U6XqNYb/a+s3UsbFB23yujvmzxhPND073huNS2w870WUKa3XzkceU YM+hCGnnQ5WsjYOepu7y473hJizIb6h9i/wsYFryRtEXQsHtwUlYKGF66dnXfsp/TbVYIl MuUlm5k7tClSR01f2Tu4qgBoEZ9h72T3NrpNhrtCpqx1z9AtQh9UJSU5Q9MLvQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3TW1-0000jR-85; Wed, 15 Nov 2023 22:58:05 -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 ) id 1r3TVz-0000j5-3C for bug-guix@gnu.org; Wed, 15 Nov 2023 22:58:03 -0500 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 1r3TVy-0002Ld-Qu for bug-guix@gnu.org; Wed, 15 Nov 2023 22:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3TVx-0004AR-SO for bug-guix@gnu.org; Wed, 15 Nov 2023 22:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67221: Package identity transformation produces different derivation Resent-From: Ulf Herrman Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Nov 2023 03:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67221 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67221@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@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 ) id 1r3TVD-00049N-UT for submit@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 ) id 1r3TVB-000499-H6 for submit@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 ) id 1r3TV4-0000Zo-SW for bug-guix@gnu.org; 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 ) id 1r3TV2-0002GB-Ir for bug-guix@gnu.org; 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 Date: Wed, 15 Nov 2023 21:56:06 -0600 Message-ID: <87leaye4h5.fsf@tilde.club> 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@tilde.club; 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-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: 0.81 X-Spam-Score: 0.81 X-Migadu-Queue-Id: DD16543106 X-Migadu-Scanner: mx13.migadu.com X-TUID: MTrW+6TA649J --=-=-= 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 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----- --=-=-=--