From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 19 08:52:57 2017 Received: (at 28690) by debbugs.gnu.org; 19 Oct 2017 12:52:57 +0000 Received: from localhost ([127.0.0.1]:49261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5AJl-0006AF-C7 for submit@debbugs.gnu.org; Thu, 19 Oct 2017 08:52:57 -0400 Received: from s02-out3.spamexperts.axc.nl ([185.175.203.26]:43291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5AJi-00069s-VG for 28690@debbugs.gnu.org; Thu, 19 Oct 2017 08:52:55 -0400 Received: from vserver42.axc.nl ([185.182.56.92]) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1e5AJV-0002oC-9M; Thu, 19 Oct 2017 14:52:46 +0200 Received: from mail.axc.nl ([185.182.56.42]:40448) by vserver42.axc.nl with esmtp (Exim 4.89) (envelope-from ) id 1e5AJT-000607-7r; Thu, 19 Oct 2017 14:52:39 +0200 From: Thomas Danckaert To: Dave Love Subject: Re: [bug#28690] provide a lib output for boost References: <87d164b36m.fsf@albion.it.manchester.ac.uk> Date: Thu, 19 Oct 2017 14:52:32 +0200 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: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain PrimaryMX: Accepted email from trusted host. Hint: This skips spam scanning so make sure other host is not vulnerable X-Relay-Host: 185.182.56.42 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "vserver42.axc.nl", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dave Love writes: > 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. [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- SpamTally: Final spam score: 0 X-Originating-IP: 185.182.56.92 X-SpamExperts-Domain: vserver42.axc.nl X-SpamExperts-Username: 185.182.56.92 Authentication-Results: spamexperts.axc.nl; auth=pass smtp.auth=185.182.56.92@vserver42.axc.nl X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.13) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5vAfJolROo1iTF97RWvhwObj1g3/PwYZaTCzSym8uE9HX65d0HWNLQcR hei+jKcYv/vwQUANT5WBlHADR5TgJLugTXW90yNs9qxPYBhUV1po01cqk0LDYVs6OUAO0+XYe5ec Pv1Z0fKRTqrMxqUAyXGfI3EVhqxj8Nu1voFLyLyTVa/Hj/lpqf8vwAdisrIBg2SZpLH6rkZD/4nw f58taLnYGJw7/ZB6jad5ebEjVpNiw+pJdu/U5y6mAHsHsNznwGNYhEhifhAWrDKpmZJBan8aw69H CSaTr/i05IQx+g16gWkCIn3WhszKF3IF5zl37EQMF99VlWOZVo1sbhkkbsXU80I38LicFyrhoZ5F zE9rwiqXoS5u4jmlgqd1I0v5ZJThS7fF+kg1CS5uvLKKFgo474cUcvHPp35TgSvWp0fKdBYhrLVo a04pP9MN8xrPhm6Wr5gJzUl/0jVvYBlgStyqJ3qs2PW9B5CPVHtVmoQFqVveNJS/JAHDeOP4fhCk GGbG+O9cyu321vIUlTKKqaWnBkTkJv/jGjR/eM0G+0bJIQEvvjy3e91TzLlQkIzU+slLQVocgn1l lxGkoWUIRL8zhcQA62EgQIWZvXnWOo3JKxLsiZafXMNMiVEhmjvGpZAEb7tv38ldytCDadwsnSZW 620sNJOKACn6ipO+Gn8kRuXeAkmhs+xoqsd79coQovcZSk+eO1qu68Dl+AWvVlI/8+NTILs8kdZ6 J9j24HbWIbtf63VNbf0lrvssY+k7ABDc+9GSCmpvAHZFsvi55WcqBgzT3Bhg6df8wt8wprfeMzap 43qLs90DXa1KDjlxLpQEAIF5CCawC2xnqNGajQ7TuKxgf3BHnrND8D8mPgXuBZ6++DfkTVlBWsR5 QGkluTAn+tN80IldjpNqXrMAvslVgF8SOEIDZB68HL1JNyj2q2n2GR5UZvw65snynjtfGg== X-Report-Abuse-To: spam@s01.spamexperts.axc.nl X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28690 Cc: 28690@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Dave Love writes: > 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. Yes, I've also noticed that, and also think it's worth to split the package. I don't think it's possible to have one output of a package depend on another, though. We could just add boost:lib to the inputs for every package which relies on boost (except for packages which only rely on header-only parts of boost)? Another solution might be to turn the 2 outputs into 2 separate guix packages, "boost" and "boost-libs", where "boost" only contains the headers, and has "boost-libs" as a propagated-input. I'm not sure if this will do the right thing (i.e. make boost-libs available in the build environment when boost is a regular input, but not propagate it further), someone should try it out ;). Thomas