From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mIlJAz6g2mMh3AAAbAwnHQ (envelope-from ) for ; Wed, 01 Feb 2023 18:24:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QPMeAz6g2mO3KAAA9RJhRA (envelope-from ) for ; Wed, 01 Feb 2023 18:24:14 +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 C1F87132A1 for ; Wed, 1 Feb 2023 18:24:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNGq3-0003wA-LU; Wed, 01 Feb 2023 12:24:03 -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 1pNGq2-0003w1-34 for bug-guix@gnu.org; Wed, 01 Feb 2023 12:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNGq1-00071Z-RY for bug-guix@gnu.org; Wed, 01 Feb 2023 12:24:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNGq1-0004oI-NS for bug-guix@gnu.org; Wed, 01 Feb 2023 12:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61161: package-input-rewriting causes different ordering of grafts Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Feb 2023 17:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Akira Kyle , 61161@debbugs.gnu.org Received: via spool by 61161-submit@debbugs.gnu.org id=B61161.167527220718442 (code B ref 61161); Wed, 01 Feb 2023 17:24:01 +0000 Received: (at 61161) by debbugs.gnu.org; 1 Feb 2023 17:23:27 +0000 Received: from localhost ([127.0.0.1]:59755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNGpT-0004nN-3V for submit@debbugs.gnu.org; Wed, 01 Feb 2023 12:23:27 -0500 Received: from jpoiret.xyz ([206.189.101.64]:58894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNGpP-0004nD-N2 for 61161@debbugs.gnu.org; Wed, 01 Feb 2023 12:23:25 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id B9024184F0F; Wed, 1 Feb 2023 17:23:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1675272201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nPuTuEs2c3lvIPd63oKTwOEKpzc1y7Ywbpdrbr0jG+s=; b=jyuI+U4VvlDhR172o7pHB6pP45kxu5XhOTlCw8N40yZ3rYWE4l3FA4oILkjqdk+6mZAv5O IqhBqluphZEauWRXVpfeqRz2TCoFwC5qjMOdyt9RzLXTr9R6l6fZCKJBVa9AmRShMy8wsS BuV8YCXo9UPRCSAWPo7mSG9wPrf8f3NK+Qh2/1Pl0qTHjZHbFSIOF5+AlPf7dQvXpR4RWR /hD5I6u8AxKZzb0PvQFNhDwTJMVnROgh3pzHfjUnDaNelGnQPFPZ/IpIGiXYGsl0nImGHC WxEq90O7kllXcJqKibgbnCJJNxcBVyhh4EKL4EzmYFyNgTR/aBZD0+qcHruieA== In-Reply-To: <875ycox1l8.fsf@akirakyle.com> References: <875ycox1l8.fsf@akirakyle.com> Date: Wed, 01 Feb 2023 18:23:21 +0100 Message-ID: <87a61xb8qe.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / 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: , Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675272253; a=rsa-sha256; cv=none; b=mVw6i2GlhoBjVrcJpDRhKEZR+F0yoAzL4bJL+xVON1K1nLrTtm4Sg0XFlFRsN74aRa4lOA 5+fujt3dt9tAidaR6NVBIk7/dJbaSe51iab+x1YEhS2D7YstjsG+Wu/9R28FuZ5wbxb1Rq B2Cn6RQECiRB/X+10jmlr2eGAvt+GGvyhHEad9Rf6q5SsptM3CMR/GQFx2GWByJ4TAY4rP H6Vt5Q0fZXSlb12W6rVCq8UkAv7Cd0iCRg2XhozdyxQu1HzFVVsfJjAGZgvU2U3YPjsLJb QG0lF2uzHJVBJ40ezVxF1jUrPP1iDpwXMh+0lpDmC+FM0aJVWYLDPfW/r25+MQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=jyuI+U4V; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675272253; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=nPuTuEs2c3lvIPd63oKTwOEKpzc1y7Ywbpdrbr0jG+s=; b=Km8Azv0Px/KdNxn/6wHXxQhUek2s1yzOaJvkJnIv/YymQlGUjoiRbHf720l9UYLQTnH/52 fK9iY1rWN4rk3fMCs/ecAcG6tW4bCwpdrBp9E2LszJB7jSGorVZEN5qxPjns20iMjKB6VW LYEqF/kNpv/HVbK/pf6qefsG+0PscxuKt7hPJW2Uex3TzNutV5t04KV0qJ7QquAidaLpdG Teo3fy4uuQlmYp+bAw0vSPijjdM3paS4FUqUWfpNzYDL3CZC1cBcLakP1gRn4L2MUbyoSt EvlZaW+q5fYVfoXKK1f/rqCIiv9SnVWe/vYzp8JHUTRInb4/lgwgr7/snpvAJw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=jyuI+U4V; 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=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.08 X-Spam-Score: -2.08 X-Migadu-Queue-Id: C1F87132A1 X-TUID: gwEtcVKguKUC Hi Akira, Akira Kyle writes: > Inspecting these derivations, the difference between them seems to > be that in the former has zlib first in the `mapping` field of the > graft while in the latter zlib is last. My guess is this is due to > the fact that the emacs-compat override adds lzip to its > native-inputs and causes a different traversal order for grafting > zlib. But this is my first time attempting to look at the grafting > machinery in detail, so hopefully the experts can figure out if > this really is a bug and how to fix it! > > I don't have a concrete example where this causes issues in > practice, since here the two packages would conflict anyways due > to different compat versions, but it seems like that's mostly a > consequence of emacs-packages having propagated dependencies. At > the very least it would seem to cause unnecessary duplication in > the store. This makes me think of [1], which was supposedly fixed, although from what I remember we didn't actually find out what was causing this. [1] https://issues.guix.gnu.org/58419 Best, -- Josselin Poiret