Received: (at 67221) by debbugs.gnu.org; 12 Jan 2024 12:51:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 07:51:30 2024 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> To: Ulf Herrman <striness@HIDDEN>, 67221 <at> debbugs.gnu.org Subject: Re: bug#67221: Package identity transformation produces different derivation 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-Debbugs-Envelope-To: 67221 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
bug-guix@HIDDEN
:bug#67221
; Package guix
.
Full text available.Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 16 Nov 2023 03:57:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 15 22:57:16 2023 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> To: bug-guix@HIDDEN Subject: Package identity transformation produces different derivation 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-Debbugs-Envelope-To: submit 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----- --=-=-=--
Ulf Herrman <striness@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#67221
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.