From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iFxcANrZw14pBgAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 13:06:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id REHHN9nZw16bFgAAB5/wlQ (envelope-from ) for ; Tue, 19 May 2020 13:06:33 +0000 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 63D6E9404E0 for ; Tue, 19 May 2020 13:06:33 +0000 (UTC) Received: from localhost ([::1]:47380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb1x0-0005Oo-V2 for larch@yhetil.org; Tue, 19 May 2020 09:06:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb1we-0004wo-Bt for help-guix@gnu.org; Tue, 19 May 2020 09:06:08 -0400 Received: from lepiller.eu ([89.234.186.109]:50436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb1wb-0003hH-52; Tue, 19 May 2020 09:06:07 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 7afed0d0; Tue, 19 May 2020 13:05:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=X80lTJAbMhr35F2xgYqMhf56AkllLnN51uNy4gwfq4Q=; b=itsVAPu /rY/OAILmVctQQqjp13gV/imHvi50JZe7S34WBPYGOb613BSDuMNLbOJvh+9aWuG gPhNWGLhlNYJRJzRvPj3GHdx2OtUV2jHX0RYwpMDPqIXZbJM69a8mBiW9+RPbaQf +LGQz9TFzM59JA62O49gY4UiKvAcnesfnbt06shzzvjktyoum5vV4TPc2lX0HMPS 0WYhR/v1dNJ/ypydA5T3YLa4glwO9TZrCRk6h9+YUXtOmtOwWjp7n/9kq2E5jV71 zzMQcasY1Aa2BlRbXILw9G2uIJ3/DtPQD0D/iVVNiSKe+AY2rUktzuBiACl7ONQk 6hmalf8CCKofyBw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f77f2350 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 19 May 2020 13:05:58 +0000 (UTC) Date: Tue, 19 May 2020 09:05:33 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <87wo58gkbk.fsf@ambrevar.xyz> References: <871rngjvjn.fsf@ambrevar.xyz> <87a724s206.fsf@devup.no> <87imgsi6xd.fsf@ambrevar.xyz> <87wo58gkbk.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Guix closure size of a system? To: Pierre Neidhardt , help-guix@gnu.org, Marius Bakke From: Julien Lepiller Message-ID: Received-SPF: none client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 08:21:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=itsVAPu ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 2.59 X-TUID: GYShiO3Y+2T5 Le 19 mai 2020 08:50:39 GMT-04:00, Pierre Neidhardt a= =C3=A9crit : >Julien Lepiller writes: > >>>Moving the llvm libs to a "lib" output could reduce the closure size >of >>>many packages I believe=2E >>> >>>Thoughts? >> >> Llvm doesn't support that afaik=2E > >Does not support what? >Arch Linux has a separate llvm-libs package, I suppose we can do >something similar=2E > >> I've recently found that we have a 30MB static library in mozjs (a >gdm dependency) that is described as unused by other packages in FS, >and they suggest to remove it=2E >> >> Another easy win is the 30MB gnome-backgrounds which useless on my >system, as I don't use gnome=2E Not sure why it's in the closure of gdm= =2E >> >> We could gain 50MB in the closure of many software (but not the >system) by placing gnutls guile bindings in their own output (for >instance, icecat depends on ffmpeg which depends on gnutls which in >turn depends on guile)=2E This might still be useful to reduce the size >of separate profiles=2E >> >> I'll probably send a some patches in the next few days :) > >Fantastic, and thankgs for your insights! A separate /lib=2E Archlinux can do this because the package installs at t= he expected /lib=2E I remember trying to set a libdir, but that failed beca= use the libdir and the rest of llvm didn't share the same prefix=2E Of cour= se you can still try, I'll be happy if you can find a way to split the pack= age properly :)