From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id GEvELcA0qmIKPQEAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 15 Jun 2022 21:36:32 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id 6AGTLcA0qmKScQAAauVa8A
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 15 Jun 2022 21:36:32 +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 4EC5FF2CF
	for <larch@yhetil.org>; Wed, 15 Jun 2022 21:36:32 +0200 (CEST)
Received: from localhost ([::1]:57758 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1o1YoZ-0007xH-7D
	for larch@yhetil.org; Wed, 15 Jun 2022 15:36:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41942)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1o1Yo6-0007vI-2T
 for guix-patches@gnu.org; Wed, 15 Jun 2022 15:36:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:45966)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1o1Yo5-0007DU-Qn
 for guix-patches@gnu.org; Wed, 15 Jun 2022 15:36:01 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1o1Yo5-0007b2-OT
 for guix-patches@gnu.org; Wed, 15 Jun 2022 15:36:01 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#55998] [PATCH] gnu: Add cctools.
Resent-From: Philip McGrath <philip@philipmcgrath.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Wed, 15 Jun 2022 19:36:01 +0000
Resent-Message-ID: <handler.55998.B55998.165532172929145@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 55998
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Maxime Devos <maximedevos@telenet.be>, 55998@debbugs.gnu.org
Received: via spool by 55998-submit@debbugs.gnu.org id=B55998.165532172929145
 (code B ref 55998); Wed, 15 Jun 2022 19:36:01 +0000
Received: (at 55998) by debbugs.gnu.org; 15 Jun 2022 19:35:29 +0000
Received: from localhost ([127.0.0.1]:39859 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1o1YnM-0007Ze-JD
 for submit@debbugs.gnu.org; Wed, 15 Jun 2022 15:35:29 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:45053)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philip@philipmcgrath.com>) id 1o1Yn6-0007YS-AX
 for 55998@debbugs.gnu.org; Wed, 15 Jun 2022 15:35:15 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id CA2E95C0275;
 Wed, 15 Jun 2022 15:34:54 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Wed, 15 Jun 2022 15:34:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 philipmcgrath.com; h=cc:content-transfer-encoding:content-type
 :date:date:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to;
 s=fm2; t=1655321694; x=1655408094; bh=24YAcTOr6TLdcGmytDxj8o7yg
 FLgL74/W0ck9hbYDJg=; b=nIeNbi8bJt8BkCKHvNxCULFCffThFpdYqdu1Xtii7
 UobIbATt962BRyRsD/3VHYudFvwhcLX6expzqErAsTSymZgtcQW7GzEbtAYBbyPa
 RKFKJJVRmTmCqxa+W9wLUL54sOvu4MCSnSgmbuNI9hNb1dQxPiaxPzAhhQrDsRXz
 ZTJ1oQhN1EG3tYMu7csk01CwzDEzXh+aQAntlZp2O5Pl3vb/KUBcdqFe2Ku+5fb6
 35LquDrs7AgSPGwMxoYvwMCgu2ekRlTqhExhjSO2PbmuIlKR+I4xaW09zc8dN1Ji
 1I513XxYApQKQc9rkUlwHQTiJYaoq24igNbD8TKhzjwPg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:date:feedback-id:feedback-id:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; t=1655321694; x=1655408094; bh=2
 4YAcTOr6TLdcGmytDxj8o7ygFLgL74/W0ck9hbYDJg=; b=JitYAowOeXQuqIc9p
 F4JantHPPUs3vGn7m0lMST/hwbUQVsKI5MxncBhjXgfVHWJAyEMlTnSvzXlnGnHZ
 8PGicSphZk6zm6y4fqoR/zan3hpfeP5p3o//19cUa/gXWvZBt0pwZXUnLHNG1nuF
 YOqT909H4STKoF79BjBvLyhMAQU6f2+mlFiDNBkGzDoe7ccDudHGbwHS3PvC3mHd
 lg6TcBAMNpxP563SR07Ktc5tkXCHy1OZwKYq5BIP4jlZ/5YE1UCmlIpt2mFQEzUi
 tqI9rolUsdJYuDJvD0YuG6D4XgvAr4bchQchPPYhpQNqHAZQBdTaQ9XXdYKzhxKR
 a9rJw==
X-ME-Sender: <xms:XjSqYm74Le1TjekqG6y0FjAlxhCNhYdJVbXxLxEVBNhrMEbexF2Y6A>
 <xme:XjSqYv62I_uIM6bRCmicaG9ZYNcwmdK9ErT_EcBIFZREnZRA4pMZoM88W9_D_cjMS
 5ksdg-p977XL_Ro7L0>
X-ME-Received: <xmr:XjSqYld2JfJ5-hhOa6WzO4AvklqvXpql49PwYwJcMtj5se5VBQUZq4NRlQ9DNIOtehRcS8I6A9jsTFXlTnl2t2dekKul_PZMPzfnXA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvuddgudefhecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpefrhhhi
 lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg
 homheqnecuggftrfgrthhtvghrnhepudduudfhjeejtdetkeejkeeihefhvedtieeihedu
 jeeileehgeekveetueeuheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe
 hmrghilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm
X-ME-Proxy: <xmx:XjSqYjL5XJEpB6kgMUV8HO4Kn0K82PUplZJIDBZH8jDY32KzMTrDig>
 <xmx:XjSqYqLK1L4BV4WIFkYxUxUGiW4Btcbr9PHpFS8uGB5MJgWb6ZjBBA>
 <xmx:XjSqYkxv5ji40Ug9fEczWIm9fa778o6gahNNaV1I7ED6rBsgzJcOhw>
 <xmx:XjSqYvHFXIxQLvUrQ2bnOJwfQCzHvn0JIiz6rvfg5g47BSw5GVXr6w>
Feedback-ID: i2b1146f3:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 15 Jun 2022 15:34:54 -0400 (EDT)
Message-ID: <9d532cc8-a87b-1ccd-a90b-5c14eca19254@philipmcgrath.com>
Date: Wed, 15 Jun 2022 15:34:53 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.9.1
Content-Language: en-US
References: <25870e3b599bef45e57c972d019cbee3228e9e35.1655311589.git.philip@philipmcgrath.com>
 <6213c4a5a183b3ed1428937d576fed8f2fa1ce9f.camel@telenet.be>
From: Philip McGrath <philip@philipmcgrath.com>
In-Reply-To: <6213c4a5a183b3ed1428937d576fed8f2fa1ce9f.camel@telenet.be>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1655321792;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to: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=24YAcTOr6TLdcGmytDxj8o7ygFLgL74/W0ck9hbYDJg=;
	b=lB5VpBy+vLd6BK/R1U+8rbt6e4l7edIXh250fcWQnUPojyVpSG1LVH5zABJXlPGCaSF9Kc
	hHFvHcx7N+GTCfNo09QLOgE3jI4vXAHe3XfbuBqP/X1YVRMOpnxc1qjEHLxhY+iUvTSG4k
	VZdUpDO5RjvMCPSXKq1Mqw+jfNsbb3lZQWPn9HOGqPO+smFJ7s2QaTM5q2kfagOlJ5fU79
	Qh7VRdzEMhHtAUVT/kVYrbpx1wDS9Vvz0GoF3hWGxg3oPrqDGSfY5nmczh776mpYBXACO6
	8TnJIuhAENqUC6jKy+cfJ7H+lkETPt1KKkRyUV+5YSi56QN4eoOC00sGDMVVcA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655321792; a=rsa-sha256; cv=none;
	b=bDjVFBVF5A8JxK0xOhx2fn8Buvfhb8GQKqlI04XNNJHxTajhxjPgvBAO2F1zQBDv4USQAa
	UQJZ6P1mXc/j7JiMy3OoKMG0rw3wsdPa52J8JTW0JO8d7uXERTZmlk0llgLTdCiP0IUEqd
	H6F8sruOxIotEYBPGILhFms2HGia39XOfxSwvhsAk1OF5cLjakvVDeOVrsE11qvpwQIl2F
	Q39z5i2Cvmxla6iy5kMy6MyYB+wR3pkXbTM6Tf6AlwqdDZCzmIjluIsg7xeoIenb5ltzjC
	1jMXX6sgqKoHFti0gM36TWp07aJQ2LRXuNyUDIKOUQtsI3aKNQazlDzeDiuszg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=nIeNbi8b;
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=JitYAowO;
	dmarc=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: 0.91
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=nIeNbi8b;
	dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=JitYAowO;
	dmarc=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: 4EC5FF2CF
X-Spam-Score: 0.91
X-Migadu-Scanner: scn0.migadu.com
X-TUID: DXapcZxCTOKg

On 6/15/22 14:55, Maxime Devos wrote:
> Philip McGrath schreef op wo 15-06-2022 om 13:15 [-0400]:
>> +                ;; FIXME: This is a very ugly way to make
>> +                ;;     #include <linux/limits.h>
>> +                ;; work---what is a better way?
> 
> 
> Searching for <linux/limit.h> in the guix git checkout, I found:
> 
>     ;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
>     ;; users should automatically pull Linux headers as well.  On GNU/Hurd,
>     ;; libc provides <hurd.h>, which includes a bunch of Hurd and Mach headers,
>     ;; so both should be propagated.
>     (propagated-inputs
>      (if (hurd-target?)
>          `(("hurd-core-headers" ,hurd-core-headers))
>          `(("kernel-headers" ,linux-libre-headers))))
> 
> (The hurd bit is not relevant here, and in this case I'd assume that no
> propagation is required.)
> 

I saw that, too, and I don't understand why <linux/limits.h> (it's 
plural) isn't found automatically, especially when the neighboring 
<limits.h> is found: with both clang-toolchain and gcc-toolchain, 
include/linux is a symlink into linux-libre-headers.

-Philip