From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KC4qEXUg72QSbAAAauVa8A:P1 (envelope-from ) for ; Wed, 30 Aug 2023 12:56:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KC4qEXUg72QSbAAAauVa8A (envelope-from ) for ; Wed, 30 Aug 2023 12:56:53 +0200 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 257DF40CA0 for ; Wed, 30 Aug 2023 12:56:48 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=EXoUsEQJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693393008; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=cfl97LlQzP0D0TigVHSpFtzdnQTB3IuobxLxeRvkBZE=; b=nxa6dVBQxcwIV0PjdKDnQOYUIwMj7vH3MoLrj2Ooh340ms1ugk4ldl5l5pYaGPWAEJwlhY FP5yIBgNGvB25yi4kwU07OWnUimfp1k9wJpMmj9CmBXWIvTVDuVpId9vQYZe6TzZ9NqcwQ dvTvHhvsFmqjfs51/HlSEduXkcNhNeiooG27CRxWPGRlnjHidp2JAcGhqpoCvL4FGG8AXo /2A3MJGt79hj9NpFx2yQv6G3knXPXfP+z68noyj6bo85S2D35JO2vDPanQ+RPEpcmV+058 /oEpPvvE35Kb03SEq1WW3AA9ZDHLsX5KXxOGG70bFVjHFDGK4qMzFAg2X2CNVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=EXoUsEQJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693393008; a=rsa-sha256; cv=none; b=PA9Ttr+dACzeDRILE727xZIwGtGOhQw/PbO0Q8KN6YMPG3U6+rgAOF15K6UyJ98bb6TI5q FTxYfAOyaBU4/2PTmgRULt9Hr+Mw8Gd+TXPXo5Mx4hZLrbevBDplPR6Gn2Z0AgGvuF5cZF 4wZ85teBZYCjqczTWEz88g8wV9Mx6gQxs+27NaFGZw2JAWLgY1nypPqRlUPfy2CjSeMaUi oIWq1aoNHBDvbPSuu2sJb9GQHXRBELLkYYbeBzUjIejR+UEk1su5w/inVFEAMGQOF9IxQ2 y79+glXPH68SAQYuh1AawdqnoHLY5qZYvM+RiIQPZvOTE+8BHReUUejD2Hg4AQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbIrd-0000BJ-Ht; Wed, 30 Aug 2023 06:55:57 -0400 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 1qbIrb-0008WL-E4 for guix-patches@gnu.org; Wed, 30 Aug 2023 06:55:55 -0400 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 1qbIrb-0008Sh-5R for guix-patches@gnu.org; Wed, 30 Aug 2023 06:55:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbIri-00046W-Bk for guix-patches@gnu.org; Wed, 30 Aug 2023 06:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65550] [PATCH] profiles: Don't propagate inputs for non-development packages. Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Aug 2023 10:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65550 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 65550@debbugs.gnu.org, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 65550-submit@debbugs.gnu.org id=B65550.169339291615713 (code B ref 65550); Wed, 30 Aug 2023 10:56:02 +0000 Received: (at 65550) by debbugs.gnu.org; 30 Aug 2023 10:55:16 +0000 Received: from localhost ([127.0.0.1]:52207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbIqx-00045N-VB for submit@debbugs.gnu.org; Wed, 30 Aug 2023 06:55:16 -0400 Received: from mail.envs.net ([5.199.136.28]:58644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbIqs-000455-DU for 65550@debbugs.gnu.org; Wed, 30 Aug 2023 06:55:14 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 88BBE38A0143; Wed, 30 Aug 2023 10:55:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693392900; bh=cfl97LlQzP0D0TigVHSpFtzdnQTB3IuobxLxeRvkBZE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EXoUsEQJGF4xwpxrZDCgUALrLZzNnqplTXk1389+2pHx4417oYG9iemPjIiZ2IuR6 Dzk0nmN4XNRquSZ8N4mrWKGLJ6tzymh+N8x0/ai0C1mqnmtTst/ta33c6hPSbK507f 683VzU4QzXN3VOTlLvd2r2khGYjQGASiub3/XWEKha4YXb3POKxjyK/YgJWoKF6QgC 8oGk/V6Qs2l0h2wbFNPEmZoR/hjfHANacmMx0E7L37YzefNPp2/+mwEjiNwugmE6x9 eJ/K0EIZzfExkj1wx8lL+PNPyQrk9qQGu6VgjIUlwWgFOLbPcQ+M2JxvNNmuTxO62y dgbrpoB4iYcxmayccNvlAyx6EvgIsPE8rYP7PGxjJaJ0u2T1ArRAmAqUodV3bLUA96 TqBgh9utHTklp6ZCtjU1DW0/ClfI2Jj7VWCn98iRFlTKLcqO41dsts3eYvIbxyFXeG LBvtQD8X3gb0u2G4b/zLwPIMvOmKkTJ7FmznAbe11Osh2++dnS/5MBdGLxZAy4/wKD +0UoqRy9H4sYZV60/lNgCep9jC3BFeFJ/IUr+6wvbqBJqhzstIAfD24AguGlwhNvk1 wmuXAcJ4EahSOIF7uzbfPC+M5XVxnP/Iy3QuiAgt8jkIvFOujw/tRHrgLAPbX0yXtr RhsuPL6s0/sTIVyWPHw41zHE= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NV4Z7p7zn2Im; Wed, 30 Aug 2023 10:54:55 +0000 (UTC) Received: from localhost (unknown [36.170.58.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Wed, 30 Aug 2023 10:54:55 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f40e8eac; Wed, 30 Aug 2023 10:55:20 +0000 (UTC) References: <1f7f85189b17ebddb6d0e26afd7c5fad88c997e9.1693057951.git.iyzsong@member.fsf.org> <851f008ab9e989badb8bcb10f4b7eee5bc5616c0.camel@gmail.com> <87edjpaqo2.fsf@envs.net> <81f39ef4b6e0ec4de7b55446c755fb0dec621c49.camel@gmail.com> <877cpedu3k.fsf@envs.net> Date: Wed, 30 Aug 2023 18:55:20 +0800 In-Reply-To: (Liliana Marie Prikler's message of "Tue, 29 Aug 2023 19:01:44 +0200") Message-ID: <87a5u8vlyf.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-ACL-Warn: , =?utf-8?b?5a6L5paH5q2mIHZpYSBHdWl4LXBhdGNoZXM=?= From: =?utf-8?b?5a6L5paH5q2mIHZpYSBHdWl4LXBhdGNoZXM=?= via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.72 X-Spam-Score: -6.72 X-Migadu-Queue-Id: 257DF40CA0 X-TUID: LYKx9HVlogN+ Liliana Marie Prikler writes: > Am Dienstag, dem 29.08.2023 um 18:24 +0800 schrieb =E5=AE=8B=E6=96=87=E6= =AD=A6: >> [...] >> If put headers and other development files into a "dev" output, then >> those 300MiB can be saved (won't need to be substituted if >> substitutes available).=C2=A0 Note that use a "include" output won't help >> here if you leave pkg-config files in "lib", since pkg-config files >> need reference its include and binaries need reference its libraries. >>=20 >> So it seems to me a "dev" output is unavoidable, also both Debian and >> Alpine Linux use '-dev' packages for the same reason, it should be >> familiar to learn.. > There is little point in a dev package when you blow up its size by > propagating inputs=E2=80=A6 Well propagated-inputs won't increase size of a package, they bring some of its inputs when build other one to remove the need to list those some inputs as inputs of the other one. Consider gtk+ and mousepad: gtk+ propagated cairo, freetype, pango, etc. =20=20 so I don't need add those inputs to mousepad, and if gtk+ doesn't propagated them then I must add them to mousepad because those are actually needed (because pkg-config check them and need link flags from those dependencies of gtk+). But for runtime, when substitute of mousepad is available, if we split thoes packages with "dev" outputs, guix size mousepad would still be something like: ... /gnu/store/xxxx-mesa-23.1.4 /gnu/store/xxxx-freetype-2.13.0 /gnu/store/xxxx-gtk+-3.24.37 ... It won't include any "dev" output of its dependencies packages, since development files are not referenced by mousepad's binary, so the size of headers and development files is saved (won't be substituted). Only when substitute of mousepad is not available, you'll start by download mesa-23.1.4-dev, gtk+3.24.37-dev, etc. And after build, those "dev" outputs can be GCed immediately. Hope it's clear now!