From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aLvQFbN2y1+TAgAA0tVLHw (envelope-from ) for ; Sat, 05 Dec 2020 12:01:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gK+WEbN2y1/9JgAA1q6Kng (envelope-from ) for ; Sat, 05 Dec 2020 12:01:55 +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 BE0F2940501 for ; Sat, 5 Dec 2020 12:01:54 +0000 (UTC) Received: from localhost ([::1]:51712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klWG9-000621-KX for larch@yhetil.org; Sat, 05 Dec 2020 07:01:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klOgw-0000np-80 for bug-guix@gnu.org; Fri, 04 Dec 2020 22:57:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klOgv-0006H1-W7 for bug-guix@gnu.org; Fri, 04 Dec 2020 22:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klOgv-0006Ej-Tk for bug-guix@gnu.org; Fri, 04 Dec 2020 22:57:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 03:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44924 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 44924-submit@debbugs.gnu.org id=B44924.160714061023954 (code B ref 44924); Sat, 05 Dec 2020 03:57:01 +0000 Received: (at 44924) by debbugs.gnu.org; 5 Dec 2020 03:56:50 +0000 Received: from localhost ([127.0.0.1]:46322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klOgj-0006EI-Dp for submit@debbugs.gnu.org; Fri, 04 Dec 2020 22:56:50 -0500 Received: from mail-oln040092253076.outbound.protection.outlook.com ([40.92.253.76]:41952 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klOZx-00063j-Rd for 44924@debbugs.gnu.org; Fri, 04 Dec 2020 22:49:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GjwvA15RvR+ACRp/k5SaVR/JG3rAohiae7tQgwUMSmKR5epFT1WUNy21rJ7WwufwqqA81mY74FB2tufBN/bPdqcSgCFVbhdT4Ifxx+nS0Amen9FO1enf20AM3eUYEEuQaYc9gw4Xxhju5/HUggdOSvNxVVB18o8PCO9bhDCK+acKxyJ6u1fPdhEK02zYPFTSG/EEIxa034fRAwm477gnOy27irFoR9Y9LahD2y92eIsfsadplBQup8Zglqy338MLMx0e9fSDJ8hCsHG33Isd58bM2uUT0j8zwzG+dcE5vGNQ74CGlo3oXMAUg7uKvQzDsuY4stnnDwb2IhFvpmkgmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FR0YOqxGv5ZUUh82T122jXja6R04+8Yat0G16YLnnm4=; b=Dy1jJqtRxtqlgBHmS3fQJEZivdK3nm1d8PlIXd2+8Qsd13O96N2PgX3XUnx8HZX5J2s3hrstipJg0hjyJT4WJenDIrSjPvjfd1f5ooio5b1Gifb5vuN2A/pFRKH+Da7sxCxK+rZr90r0UY3tP8OkXvmzhJZAa7ahPE33AfTtJfWTLa3pWHxm/Tfyg6UTBiz76xXvZ/bxLvNt6WnKLylf27K0G5tEXjljIoH2v7FpIJPuyiv0z1abvA+i0mf3vI5ooSuWDWjDDdCFdF0fYZyJeHtf6Jjl9etW4NMHM7HgrjSpnBKcMk+o9rTI5VwMrFaG0EIR9gW9FMxxhnx+xHi7ug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FR0YOqxGv5ZUUh82T122jXja6R04+8Yat0G16YLnnm4=; b=NTFynuGgv2C/kiAKioIG394LAGybu3m0w6MZILSx0+HC//yPaPHMK1P69IiJj9bzbngf1n7TyBaccMFcJmEKRVUJbvwq6t2MELkzSusgu31d8NBALcb0Df6U2Mo+TRsBslpEOQG0gB+jCHLibtPNAn8BGWLN4kk6l7/UukWexyQr+N9NbYybnhL5LdzInyZL4HjElUpV5cMTLYfqDMJ70yVD5p2RyEv+ihHPccm27yT+36sVhFzxeQDY5+VBdIk1qZfYe73UBerpU+UNOgid3wniZd/tB6Ib6H7US9ywTKpsdW2mf6IxAEALlf+0EDtAla1Mu/9ZDHzlJpkGZSPDMA== Received: from PU1APC01FT057.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebe::51) by PU1APC01HT172.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebe::427) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Sat, 5 Dec 2020 03:49:37 +0000 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (10.152.252.57) by PU1APC01FT057.mail.protection.outlook.com (10.152.253.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Sat, 5 Dec 2020 03:49:37 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:56FCE68BC8FEFDD5A966F5751D18DD4BFC23CFCD466E2B01A32614C6679975EC; UpperCasedChecksum:FE79186E0A5B3C13CF99FEB1A267C42840450612613DF0903B6220FF23D070C3; SizeAsReceived:8828; Count:46 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM ([fe80::d802:80c9:f6bd:1fbb]) by TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM ([fe80::d802:80c9:f6bd:1fbb%8]) with mapi id 15.20.3632.017; Sat, 5 Dec 2020 03:49:37 +0000 From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= References: <87mtyuddyc.fsf@gnu.org> Date: Sat, 05 Dec 2020 11:50:01 +0800 In-Reply-To: <87mtyuddyc.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 03 Dec 2020 17:58:03 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [hyMIaSdl3MToW/t4IbKUnRawbVdIN4Ndw34o9ZYBRkM+r4VKv1p+CJzSY4Mb/kkQ] X-ClientProxiedBy: SJ0PR13CA0174.namprd13.prod.outlook.com (2603:10b6:a03:2c7::29) To TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8038::14) X-Microsoft-Original-Message-ID: <87r1o46hee.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:37c:2f0:2f1:f5ff:fe18:6bb) by SJ0PR13CA0174.namprd13.prod.outlook.com (2603:10b6:a03:2c7::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.5 via Frontend Transport; Sat, 5 Dec 2020 03:49:35 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d5f15e8b-8f76-4203-397e-08d898d0c8d4 X-MS-TrafficTypeDiagnostic: PU1APC01HT172: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MjI5TLVSLo3ESAfD1V8/v70je9gLYJyGCQq3MOOavxWBzN9QlJAhWph5+QsVszP6iy4J4QDhqTKIVNFRJLQyeb/SnIjjGMJNblGRo1TrkJ7uKVOOk1fs5Oup2o3Amn3EcWwGUDhZUZ+mjwyo00tCnm0lRacRbP7V0OcybehBl8iLMIXdNuahfFxtfixuocDcaqwbuNiHX7sSAWlG4eRinnGrkr+ETdfM6lY//86x33LQcmZ80TepmLXDLf4PIG8d X-MS-Exchange-AntiSpam-MessageData: SkYb2mtsKdEIDMvZgDrDFE1YtUv4LOdXI6/uzscYqcqWuW/SuMlkdMYvp14FAILGav0QQTSwmAJjUUUIup2KNktblzp9Q172z2a5L+fylVokeLlM7sI/laGMRkaxkqa8XBvNpWyF2yGtLrHQzaLywYoix+GMuKta+9QUvmnkQoapNWbzlbdTS9RHMe6ba4Z5GCgkgxtH1zNoSO2gtUVSLw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5f15e8b-8f76-4203-397e-08d898d0c8d4 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2020 03:49:37.1528 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: PU1APC01FT057.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT172 X-Mailman-Approved-At: Fri, 04 Dec 2020 22:56:48 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 05 Dec 2020 07:01:37 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44924@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.81 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=outlook.com header.s=selector1 header.b=NTFynuGg; arc=reject (signature check failed: fail, {[1] = sig:microsoft.com:reject}); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: BE0F2940501 X-Spam-Score: 0.81 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: fdncS37CNSDe --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > >> Running: >> guix build u-boot-pinebook \ >> --with-git-url=3Du-boot-pinebook=3Dhttps://github.com/u-boot/u-boot >> >> Would fail with "fatal error: asm/string.h: No such file or directory". >> >> And it's caused by the first entry in C_INCLUDE_PATH, which is >> "/gnu/store/xxx-u-boot-xxx/include". > > Why don=E2=80=99t we have that problem when omitting =E2=80=98--with-git-= url=E2=80=99? When not use git, source is a tarball, not a directory, so it's ignored by "set-paths". > >> I think we should filter out "source" in `set-paths` of the >> `gnu-build-system`. > > Yes, sounds like a good idea. We can do it in =E2=80=98core-updates=E2= =80=99. Here is patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-build-system-gnu-Remove-the-source-directory-from-se.patch >From 77283132c6eeeb75900afad5782b989ceee1506a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sat, 5 Dec 2020 11:35:37 +0800 Subject: [PATCH] build-system/gnu: Remove the source directory from search paths. Fixes . * guix/build/gnu-build-system.scm (set-paths): Delete 'source' from 'input-directories'. --- guix/build/gnu-build-system.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index 5f08b9d6ac..f9e6f5013d 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -72,7 +72,9 @@ See https://reproducible-builds.org/specs/source-date-epoch/." (search-paths '()) (native-search-paths '()) #:allow-other-keys) (define input-directories - (match inputs + ;; The "source" input can be a directory, but we don't want it for search + ;; paths. See . + (match (alist-delete "source" inputs) (((_ . dir) ...) dir))) -- 2.29.1 --=-=-= Content-Type: text/plain Thanks! --=-=-=--