From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2CXAGVtO4GEejwAAgWs5BA (envelope-from ) for ; Thu, 13 Jan 2022 17:07:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eCNYFltO4GHzTgAAauVa8A (envelope-from ) for ; Thu, 13 Jan 2022 17:07:55 +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 A3040139A4 for ; Thu, 13 Jan 2022 17:07:54 +0100 (CET) Received: from localhost ([::1]:58738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n82dl-0002R5-Iq for larch@yhetil.org; Thu, 13 Jan 2022 11:07:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n82Jb-0001No-4k for guix-patches@gnu.org; Thu, 13 Jan 2022 10:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n82Ja-00031t-PR for guix-patches@gnu.org; Thu, 13 Jan 2022 10:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n82Ja-0007Mb-Gs for guix-patches@gnu.org; Thu, 13 Jan 2022 10:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#28690] provide a lib output for boost Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jan 2022 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28690 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28690@debbugs.gnu.org Cc: rekado@elephly.net, post@thomasdanckaert.be, ludo@gnu.org, dave.love@manchester.ac.uk, roel@gnu.org Received: via spool by 28690-submit@debbugs.gnu.org id=B28690.164208878626533 (code B ref 28690); Thu, 13 Jan 2022 15:47:02 +0000 Received: (at 28690) by debbugs.gnu.org; 13 Jan 2022 15:46:26 +0000 Received: from localhost ([127.0.0.1]:34327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n82Iz-0006tO-QG for submit@debbugs.gnu.org; Thu, 13 Jan 2022 10:46:26 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:43000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n82Iv-0006lA-T9 for 28690@debbugs.gnu.org; Thu, 13 Jan 2022 10:46:24 -0500 Received: by mail-wr1-f46.google.com with SMTP id k30so10859882wrd.9 for <28690@debbugs.gnu.org>; Thu, 13 Jan 2022 07:46:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:cc:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=yWnbkzIwWz6QEzj6XmjsuaugX+khbmx5OYs+p3UORhI=; b=jeMcwO8XTjq0EGgNwzD4Wl31hBG662W9AeupV+nsXHNQPY7pJycjdZ5vHTctOTh//t zUmKp/bYMQqUNpQiEi1CgkrYQR0eLBLtrL3DhoRCu/LzJKMoTTxIIqAaB5Ceo7c3csqc 1eXLg88J3AEJASrr6AfEf0AjT82bl0D4y+3knWeV7CrefcOEswzReuyRA3T2kfbwhgdv GSkciAomdivFxQL15X3dlCetWmQ2YYXEeiYAg5po6oH26E1mpzUdFdgHcmb40j3tep5q fjFZo0V05hqkKBVZrroecBFRvY600mN5ZgS+VFPpNcdrJmqfJ57yVAZRzQ8AvKeuWBLa 06HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:cc:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=yWnbkzIwWz6QEzj6XmjsuaugX+khbmx5OYs+p3UORhI=; b=vWHqcHgd8PRDi3TrdsVcoVpfy89NqfCpFY5psLbZxC26qRZvB3k3OgUcQuRiQCunlB xypqEFO9o/1h4Zsst0sbj6fivADEM8VC4+WFLNtDFx7YRWC6p4W/5L5jQnTE7eqgKxPa Ieriul8HgqEUcr8dJ8UzkXTfITAo7Hhq5vvgXB3CDBOwoSxdWjXCN9MjRIA4cMUlpsu1 +fQ3GfJa9Ob4CGrtdybbY20tOB6EERVTUx9Yc37rwcBvBYQEeYw/bl7Sy9If6LllbIg3 4lmPqgDSjQllrTqKScgAhWbXXf1xUFfr5nv+YzNa2u8v+4/dSoecPqUlRRtAS1/YE+j4 kf0Q== X-Gm-Message-State: AOAM533l1/1NtIWN9+LTZKEcYIG3iBC3nMvW1ge8GDwEyGvyg5p6X6lT RjG7wkS5IH+qGCpO9ttVldw= X-Google-Smtp-Source: ABdhPJyezRkQknbsdmfDS1g8R4GL8Q0942uef/nSXMdLNwhh1Whi+iXNBjfQAW2dXof8HwA+9PQCFA== X-Received: by 2002:a5d:6b8e:: with SMTP id n14mr4549304wrx.537.1642088775841; Thu, 13 Jan 2022 07:46:15 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j11sm3990490wmq.23.2022.01.13.07.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 07:46:15 -0800 (PST) From: zimoun References: <87d164b36m.fsf@albion.it.manchester.ac.uk> Date: Thu, 13 Jan 2022 16:45:20 +0100 In-Reply-To: <87d164b36m.fsf@albion.it.manchester.ac.uk> (Dave Love's message of "Tue, 03 Oct 2017 17:34:41 +0100") Message-ID: <86sftriqr3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642090074; 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: 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=yWnbkzIwWz6QEzj6XmjsuaugX+khbmx5OYs+p3UORhI=; b=u/BEnHX8O3uh3KxkW0mQAP3VAARwSQHU00yH2Jq2k2ZzoDHeSqAu3vS98nsy5DhIug9DVc JEO9ycgaqUbsUVB8FCee96bA1oK1d6d9skbzeHNZdByBWLxBAnyUmnk67gNA4dS4Z7JmWV GT266ISJ1ye34W7h+L3hCK5s/DMh5g7x4PBT2icZ2u2R7HefPaaL3og3JaWaIM8+5jS1fI lvt/+ol6pzodjey6IbQS2S94NNzUcztzVGklK3jFqWEbv9vqDtlPw9mA3+FnwhrrdYwFmn Xu9ug92pHJBN2s7RI7rgMApqNg3zadVUQv2WBGwn8BgQycD3aHbVib9zlUYGzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642090074; a=rsa-sha256; cv=none; b=f7TdpzemltgyxYOaPDScTTg+oirgiKjQ8z2zdj9eL8qnQMCWI3s4IGqIw1/uhW3hRuZnSV KmWTI/cwTEc2+Cw35eyxEzgMVhx/1ATxjN8vulzMBROIe2Hxhv0C87yNev5a3YnYFrYjga 69Ysftu7fscfWlldGRtNguIkyP9xKf6J4I30eIxjJZ5PyFkFbEjxiqsBVmdLrdm50o2XCb i9ijf7lcC+25MKn4ZkRP/xuHaIrAgzu9aqORYt7jyAvUwLkrB/r24rKTx3YpXl053qS810 2I7aE33BAxcv6rLySRv2t2OBRIdxIeYn2Eagb3ukNO/wgihorAhhjXiG/w1CAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jeMcwO8X; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jeMcwO8X; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: A3040139A4 X-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: W+rRVRJOkSKA Hi, This patch #28690 [1] is about adding an output to boost. The aim is to reduce the closure size. The last message if from Dec. 2017 and indicates some issues. 1: On Tue, 03 Oct 2017 at 17:34, Dave Love wrote: > I mentioned elsewhere noticing the large size of boost in closures. > I've now realized what the problem was with making a lib output, and > done one, as below. However, presumably it should have a dependency of > out on lib for compatibility, and I don't know the right way to do that. > > The lib package is 17MiB, and the headers are 108MiB. Now, the size is: --8<---------------cut here---------------start------------->8--- $ guix size boost store item total self /gnu/store/rwv6khi7hg3hrhij9kimxh53mvg8ksd9-boost-1.77.0 262.0 = 149.7 57.1% /gnu/store/7sik9fp2ffvnr7l01s423x4r5pn75rf9-icu4c-69.1 110.7 = 38.0 14.5% /gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33 38.3 = 36.6 14.0% /gnu/store/90lbavffg0csrf208nw0ayj1bz5knl47-gcc-10.3.0-lib 71.7 = 33.4 12.7% /gnu/store/ggrih6fgnflxs6k87m8q2l9ky0za8y1z-bash-static-5.1.8 1.7 = 1.7 0.6% /gnu/store/72kpdqplq4nc87fm7ch47kxy3nlkzsyx-xz-5.2.5 73.7 = 1.1 0.4% /gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8 39.3 = 1.0 0.4% /gnu/store/w6zv2mz56wyxr471q38a3cmzm4iqimy8-bzip2-1.0.8 73.1 = 0.4 0.2% /gnu/store/2i0zpa5w320y8m4zbqk1va8vs6dbawv0-zlib-1.2.11 71.9 = 0.2 0.1% total: 262.0 MiB --8<---------------cut here---------------end--------------->8--- Note that that=E2=80=99s a core-updates change. --8<---------------cut here---------------start------------->8--- $ guix refresh -l boost | cut -f1 -d':' Building the following 4921 packages would ensure 7338 dependent packages a= re rebuilt --8<---------------cut here---------------end--------------->8--- On Mon, 04 Dec 2017 at 09:19, Thomas Danckaert wr= ote: >>> Meanwhile I'll try to build those 97 packages, stay tuned ;-) >> >> have you been able to build some of these packages to verify that this >> patch is fine? > > I tried to build them all, but only a few packages built successfully (th= ose). > Most packages probably just need boost:lib added to their inputs (I alrea= dy > fixed a few in my local tree), but sometimes the build fails for other > reasons, and verifying them all takes time (the list includes things like > vigra and libreoffice). > > I should have some time in the holiday period, but help is welcome :) > > The updated list and a few patches are on my other computer, I'll post th= em > when I get home. Therefore, if I understand correctly, some work remains. The question is: is it worth to complete such work about adding more outputs to boost? WDYT? Cheers, simon