From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uXQvHV+rymPemQAAbAwnHQ (envelope-from ) for ; Fri, 20 Jan 2023 15:55:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EEP6G1+rymMGLgEAauVa8A (envelope-from ) for ; Fri, 20 Jan 2023 15:55:27 +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 24F9727510 for ; Fri, 20 Jan 2023 15:55:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIsnH-0001ye-EI; Fri, 20 Jan 2023 09:55: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 1pIsnG-0001yW-Ef for guix-devel@gnu.org; Fri, 20 Jan 2023 09:55:02 -0500 Received: from mail-vk1-xa34.google.com ([2607:f8b0:4864:20::a34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIsnE-0003Qd-C1; Fri, 20 Jan 2023 09:55:01 -0500 Received: by mail-vk1-xa34.google.com with SMTP id z190so2654518vka.4; Fri, 20 Jan 2023 06:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=u6RDuEkhxx4vsQoT2Pp95zpTyW2rHLwl9ZPXEMQP+Ss=; b=k1iE+tfqCeoa9N093bxL0x2iDljfydH5N37Fh3pB3lDeTzJJAAQFZnBoH2rl91pneq bFpMeVXQAnW5YNrJpBXW9/TZJVHnzotiuaE0nh/lM9tJfzJSxMArOXaai5MMOF+mPzRA FEcWyxRe4DAZoa58RvggALVhtXf1eQAE8dETbOiHZQE15Ymi8wdEwtLw4COwFIC96j/r 3/1t47XQCbToNP9JmA0ufCb+dBAmWAtOYPhHGh0r9NUcc1Gpe20FfV9YPOzeWOUwWDqL BJrSOdKmnTHqtb4d9KCOJj3AWxGJAZdPDX9QjYCvHNv1NDHx7SKmVA3776c20oa39lGK mfdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=u6RDuEkhxx4vsQoT2Pp95zpTyW2rHLwl9ZPXEMQP+Ss=; b=IC8suhSxeE3Hvhu6OUGUgPmAMvxfq6M52yucWCvnMJpb07lS9zX8wZLYpfFkY+E4zX kQQZxML0dEkR+4WTWtG86NKC08sMFD+1ApBTQJ4TFhZ3ma0en1n2GY2pITe1NQ/JNnPF nqkuxjH3C4jMdSLgxlgZ+Aa9ZVD0nyuI1v979tNYA0/5cPfLb3dzD9AVLG6JzzbumR6d D6NRMUUqOEI3p+gWXhYv44bMXEVc9Q6Xj/4UqysUB3P6UyzXE77CGMhHlknTMorC83go MTOGJ5aWR1p5lfTvdIuJU2LRqJGOVbJTExiUsdyf3KeVQoFC7qJQzrV7onIIeeXdgcse E1Iw== X-Gm-Message-State: AFqh2kp9E1eH0jiSJoCwMfgb/a/gZdMF3qJ9o3GgBsBhCKIrcjl3br2g b7Bpb7DNplYbGzbz/j6jblbLpkGuT/PmtA== X-Google-Smtp-Source: AMrXdXuy/VtHih6TGYchl3+f6hOJVsyDzOXCWlfBw7aWlcAtEvep6uZMifieGJqiVCLwyP6ISHIGqg== X-Received: by 2002:a05:6122:11bc:b0:3d5:c84f:765c with SMTP id y28-20020a05612211bc00b003d5c84f765cmr9280732vkn.4.1674226497897; Fri, 20 Jan 2023 06:54:57 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1001]) by smtp.gmail.com with ESMTPSA id w13-20020a05620a444d00b00709041c3206sm2488428qkp.103.2023.01.20.06.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 06:54:57 -0800 (PST) From: Maxim Cournoyer To: Simon Tournier Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , "pelzflorian (Florian Pelz)" , guix-devel@gnu.org Subject: Re: Packages grow, no longer fit on a =?utf-8?Q?=F0=9F=92=BE?= References: <87tu0s7otg.fsf@inria.fr> <87fscbravp.fsf@pelzflorian.de> <87a62hdt6c.fsf@gnu.org> <867cxk224j.fsf@gmail.com> <874jsmd31d.fsf@gnu.org> <87v8l1qy0j.fsf@gmail.com> Date: Fri, 20 Jan 2023 09:54:56 -0500 In-Reply-To: <87v8l1qy0j.fsf@gmail.com> (Simon Tournier's message of "Fri, 20 Jan 2023 11:51:56 +0100") Message-ID: <875yd1cl33.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::a34; envelope-from=maxim.cournoyer@gmail.com; helo=mail-vk1-xa34.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=1674226527; a=rsa-sha256; cv=none; b=cQi1Mu5V457HPB7s6BEwEt+INHtwTTKrOHGJ51FYQiw5R0NPZgQX95vHyjVuEfezeTBf4r DlucaMDqiCf6wMRt+hpbZs0fAGn9eAN7nOCfPr6pONJHHPa8S0JNcuQZehK6GujA7dRe/i bMBxfC6O9PpiV/4flSLv54oDGMcesp8U1G4GJc0ITN0OHlF6f+X9whnH4pta/W+q57vzEM lFKLzK9SjvR6x/lBKDVWw4P1Yku7IL/+sJZAsooBXiHjfrondoIYdt+d102yaWkAryeeWj tBsZogT93qANTR1HyqdRDLpgy3J4xQvu1vbmMvQRjkx68BHVbglH1vqETZVXcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k1iE+tfq; 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=1674226527; 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=u6RDuEkhxx4vsQoT2Pp95zpTyW2rHLwl9ZPXEMQP+Ss=; b=ECFhepXOMel/jv7xqnPd1m9eZeUDj0CbTLmDO/WCMf4mQhLjU2jbENtM6QiWQEMWcK7Lyq u1bumzD1sji0AxH1egStsmNblzXyHt94BgCo6Vm0UdRmclQgKVkoeI/r5EkH5CnYbtBToR O9gBJxSPvUl/9WixiY4nYS1ifMPK7b6NsD22ltzwDxOZmasp4e64cIPC6XtcwGFnx+d/a5 Ev/KuTVVfamoPadkIpQbgNY8LNbHQjKw0CYZKqfXJE0+5Np/ujb97rCzFjI4CX0cX8sQU9 Ztm7QZq8HR0rpZdm5mothCBjYJGoIfaV2H6OKeSXB2KvnIwMbw28rCaX9xlI7w== X-Spam-Score: -8.58 X-Migadu-Queue-Id: 24F9727510 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k1iE+tfq; 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: -8.58 X-TUID: SO78scUToyf5 Hi, Simon Tournier writes: [...] > Yeah for sure. :-) Although, from my point of view, the main issue is > about a policy for package inclusion; I mean there is no secret: light > images means images with less features. :-) > > My personal and biased opinion is that Guix should follow minimalist > packages as default packages and provides more variants. But the > maintenance cost is not free, IMHO. :-) My personal take on this would be to start with fixing *bugs* like #25235 (Wrapped python programs get native-inputs in PYTHONPATH) that surely contributes to larger graphs, pulling purely build time dependencies in the graph (there's a fix proposed in the same thread). This one is for Python, but the same must apply to other scripting languages that rely on wrap phases. The pulling of large debug outputs just to graft locally is also annoying, but that wouldn't end up in the image produced, right? I don't think deduplication is turned on for all the images produced by guix pack such as Docker, which would mean grafts have a heavy cost there. Other idea: move the static libraries detected to a static output automatically when a "static" output is declared, else remove them, in the gnu-build-system standard phases. While I agree we can do better, in general I don't think we can compete with Alpine, which appears to aim for minimalism at the expense of features. I don't think GNU Guix is about that kind of minimalism; it aims to empower its users through full-featured and well documented packages. I also think it's nice to ship at least the info/man pages documentation in the main output in general, even if it makes our packages slightly larger than on Alpine, and stripping include files in a different output seems a pain to deal with, from a user perspective. I guess what I'm saying is that there seems to be larger and lower hanging fruits to collect before we start micro-managing package outputs. -- Thanks, Maxim