From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EP/KAgdfyGPRswAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 22:05:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EILKAgdfyGOSJAEA9RJhRA (envelope-from ) for ; Wed, 18 Jan 2023 22:05:11 +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 AA9FBFC8 for ; Wed, 18 Jan 2023 22:05:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIFbg-0002NZ-FB; Wed, 18 Jan 2023 16:04:28 -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 1pIFbe-0002N7-HP for guix-devel@gnu.org; Wed, 18 Jan 2023 16:04:26 -0500 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIFbc-0004ZU-Ow; Wed, 18 Jan 2023 16:04:26 -0500 Received: by mail-ed1-x542.google.com with SMTP id 18so399262edw.7; Wed, 18 Jan 2023 13:04:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:message-id:from:to:cc:subject:date:message-id:reply-to; bh=aiREXryj+IP59rcn3wFoqtZL6TQ63Mdwp4o0LoaWAL0=; b=S30BRXak2w7cmVIWE3vKNLHvw8CLThAxnyg844dXDY/+6F4VTLVQ/2x86S3oxINsfJ hDkR16g8o9jpOnynSJ1FvGnElu0Z4mcQu6ZYpzY45JNQBk7g73TuxUOily4pEegIl+Oz sLof97FN8cf9XwZ+st6NbGqQgRRt8Cs/5Jl8SA5IrHQeH8sln3tYNwSsg6ndgR5OXuEc +HRuN0lIdX36Io6O0qtMe1eve14yHb1fztp/qOvXP/46WQBxQwvuUkjI8CoFUERTBQ/n keSjfMJNuRLUx0WpTVtok+beCRjeWVDI61NqxrdnQqvOYItdN6r7QPIe86i7kwHgRGUe EeNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aiREXryj+IP59rcn3wFoqtZL6TQ63Mdwp4o0LoaWAL0=; b=i16Z6xH5DpFoEbrtTeYba2FI6XBdcmmeAzqKDaksULCBjk8JuEnU4R24P4HJaLs2CV CINKSC93KsBUjpL3O6h/5bsEnnSmQvW1OZkmtlKYfmSIVV75y6Lu1Lakv4gXDnRIfQTi AbJn/YgpVzqdbbH6W/GLn67u+92o/DhnKtx1cyI+uxPqSgF2ewxtQprzyYuxaAGHWcSH 4/vGv3aGmCR2qulLvacli+VwjprMHgC9EuX+IlHQFZ8pUCG0LadF40eJj/s23tyeUaG3 gMKs6ypF0A+vqo6fr90hrX+h/sQRcGgjqP+pEX9l9oei1VzDnhxmWeIJbsDcfD9/N+i4 Acuw== X-Gm-Message-State: AFqh2kraBhuxPi2/ptGni/XExSnRyYbUnTSANblBUFczHMYj+B51/VzF UtKQtRyfjt5sbxBr0He5ao4= X-Google-Smtp-Source: AMrXdXvNoYnB6CMQXhYiIjO7hIEn7WAO0HbXVBWfuAVTO9LLmCtrjQMLY2sNzJipxz81/aKv24EPvA== X-Received: by 2002:a05:6402:10c9:b0:49d:a87f:ba78 with SMTP id p9-20020a05640210c900b0049da87fba78mr8389604edu.35.1674075861474; Wed, 18 Jan 2023 13:04:21 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id ss17-20020a170907039100b0084debc3fdadsm11867161ejb.188.2023.01.18.13.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 13:04:20 -0800 (PST) Message-ID: Subject: Grandfathering store paths considered harmful (was: Packages grow, no longer fit on a =?UTF-8?Q?=F0=9F=92=BE=29?= From: Liliana Marie Prikler To: zimoun , Ludovic =?ISO-8859-1?Q?Court=E8s?= , "pelzflorian (Florian Pelz)" Cc: guix-devel@gnu.org Date: Wed, 18 Jan 2023 22:04:14 +0100 In-Reply-To: <861qns202s.fsf@gmail.com> References: <87tu0s7otg.fsf@inria.fr> <87fscbravp.fsf@pelzflorian.de> <87a62hdt6c.fsf@gnu.org> <867cxk224j.fsf@gmail.com> <861qns202s.fsf@gmail.com> Content-Type: multipart/mixed; boundary="=-etzgYfRnvwXhS3Dy2zA8" User-Agent: Evolution 3.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::542; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x542.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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-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=1674075910; a=rsa-sha256; cv=none; b=Aw1RtWsYlCuKdxNOdbfmj3VPmSZkdseS9RVo3vaqAoU1EupzUc6vWxf7j/epsqoW+Eivo4 wgM9w7F3L5AS46fWKUz+BU8QU/8ogtqK/jft82nZGVAJlQBJaKZfpcXG3no+fwzCSJk9KC jylfW7ZAGhWdl097Xianqu8DpFFCckGR/6zkc5LKYIc/h0Qd3oA0kJgZZ1K/OX0fRnR2Md O+sVspRYhlx9pFNt+uRMl0kTYVfrhtCxtW1pbbKLTpK1pd9R/aOYdM9yS2u0AHRy9qWK5Q mgtyc6dCKQkvNHJ8G0ChT7M2fN87XdJfR7IsxnRe0v1TlMcI/vkYxGU6dFsrQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S30BRXak; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674075910; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aiREXryj+IP59rcn3wFoqtZL6TQ63Mdwp4o0LoaWAL0=; b=HMvgf05ngIg6w27zwrlMHsAGP/TW85r2eP/Y4/n3SfBeBzMdg3RmPwV3dx7nVCi1Iw9JK6 zEadO4mJNmcgjokgaUATS/CwuEF4ntAjrYqAe9wp5tP15VUdroTATfg/STQGZ03gE/7P4B +TT6yEUmUahPu24tF0XP/fOXY+I6431v3hlmqMtzDt6FV0OcQPdj2EABqTKpRsRpXu1FIr y8/A/vzObnVeaqps4REoJhU4K3R+GV54X75g9CisYs9qbHv882MUAW87/obtu4PcYkATEw 6E/j4fmX7YgUpFMwJQKgSinhKKxp3y5XTXXlpm5Y+hgG+QeGnZ9RpvCgu259ww== X-Spam-Score: -5.49 X-Migadu-Queue-Id: AA9FBFC8 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S30BRXak; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -5.49 X-TUID: QUWF34+r0lwd --=-etzgYfRnvwXhS3Dy2zA8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Mittwoch, dem 18.01.2023 um 00:49 +0100 schrieb zimoun: >=20 > On Wed, 18 Jan 2023 at 00:05, zimoun > wrote: >=20 > > For emacs-minimal, if considered to only bytecompile (.elc) and not > > native compile, this libgccgit seems unexpected, indeed.=C2=A0 Well, is > > native compilation disabled for emacs-minimal?=C2=A0 I guess not. :-) >=20 > The package emacs-minimal is only for bytecompiling and configured > without native compilation, IIUC.=C2=A0 Thus the reference to libgccgit > appears unexpected, then tackled by Josselin and fixed by Liliana in > #60831 [1]. For context, emacs uses a hash digest to more or less uniquely fingerprint the version (much like guix does), so natively compiling things with emacs-minimal won't speed up your packages when using emacs or emacs-next and is thus next to pointless. I witnessed the same type of bug in wpewebkit, which pulls in the much larger webkitgtk, probably because the former uses #$output rather than (assoc-ref outputs "out") in one of its phases =E2=80=93 see the attached p= atch for my proposed fix. Note, I'm saying probably, because the build still runs, but the fact that it started without first running the webkitgtk build gives me hope that my assumption is correct. Still takes ages and huge amounts of RAM tho. If my hunch is correct, this has some further reaching implications.=20 It means, that uses of #$output and #$(this-package-input) =E2=80=93 which = we want to promote instead of labels =E2=80=93 draw in additional inputs when combined with inheritance, which in the context of this thread I hope we can all agree is not good. So, any ideas on how to tackle this? :) --=-etzgYfRnvwXhS3Dy2zA8 Content-Disposition: attachment; filename="0001-gnu-webkitgtk-Resolve-outputs-at-build-time.patch" Content-Type: text/x-patch; name="0001-gnu-webkitgtk-Resolve-outputs-at-build-time.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSA3Y2E1NDI0NGMyNDM3YmFmODEwMTZlYWNjYjJmMTc1YWQ5YWE0YTNiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMaWxpYW5hIE1hcmllIFByaWtsZXIgPGxpbGlhbmEucHJpa2xl ckBnbWFpbC5jb20+CkRhdGU6IFdlZCwgMTggSmFuIDIwMjMgMTg6NTE6MTggKzAxMDAKU3ViamVj dDogW1BBVENIXSBnbnU6IHdlYmtpdGd0azogUmVzb2x2ZSBvdXRwdXRzIGF0IGJ1aWxkIHRpbWUu Ck1JTUUtVmVyc2lvbjogMS4wCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD1VVEYt OApDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiA4Yml0CgoqIGdudS9wYWNrYWdlcy93ZWJraXQu c2NtICh3ZWJraXRndGspWyM6cGhhc2VzXTxtb3ZlLWRvYy1maWxlcz46IFVzZSBvdXRwdXRz4oCZ Cmluc3RlYWQgb2YgdW5nZXhwaW5nIG91dHB1dC4KLS0tCiBnbnUvcGFja2FnZXMvd2Via2l0LnNj bSB8IDUgKysrLS0KIDEgZmlsZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25z KC0pCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL3dlYmtpdC5zY20gYi9nbnUvcGFja2FnZXMv d2Via2l0LnNjbQppbmRleCAzNWZiNTkyNmEzLi45MThmZGZiMWFiIDEwMDY0NAotLS0gYS9nbnUv cGFja2FnZXMvd2Via2l0LnNjbQorKysgYi9nbnUvcGFja2FnZXMvd2Via2l0LnNjbQpAQCAtMjA5 LDkgKzIwOSwxMCBAQCAoZGVmaW5lLXB1YmxpYyB3ZWJraXRndGsKICAgICAgICAgICAgICAgICAg ICAgICAgICAgIkZBTFNFIikpKSkpKQogICAgICAgICAgIChhZGQtYWZ0ZXIgJ2luc3RhbGwgJ21v dmUtZG9jLWZpbGVzCiAgICAgICAgICAgICAobGFtYmRhKiAoIzprZXkgb3V0cHV0cyAjOmFsbG93 LW90aGVyLWtleXMpCi0gICAgICAgICAgICAgIChsZXQgKChkb2MgKGFzc29jLXJlZiBvdXRwdXRz ICJkb2MiKSkpCisgICAgICAgICAgICAgIChsZXQgKChvdXQgKGFzc29jLXJlZiBvdXRwdXRzICJv dXQiKSkKKyAgICAgICAgICAgICAgICAgICAgKGRvYyAoYXNzb2MtcmVmIG91dHB1dHMgImRvYyIp KSkKICAgICAgICAgICAgICAgICAobWtkaXItcCAoc3RyaW5nLWFwcGVuZCBkb2MgIi9zaGFyZSIp KQotICAgICAgICAgICAgICAgIChyZW5hbWUtZmlsZSAoc3RyaW5nLWFwcGVuZCAjJG91dHB1dCAi L3NoYXJlL2d0ay1kb2MiKQorICAgICAgICAgICAgICAgIChyZW5hbWUtZmlsZSAoc3RyaW5nLWFw cGVuZCBvdXQgIi9zaGFyZS9ndGstZG9jIikKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg KHN0cmluZy1hcHBlbmQgZG9jICIvc2hhcmUvZ3RrLWRvYyIpKSkpKSkpKQogICAgIChuYXRpdmUt aW5wdXRzCiAgICAgIChsaXN0IGJpc29uCi0tIAoyLjM4LjEKCg== --=-etzgYfRnvwXhS3Dy2zA8--