From unknown Sat Sep 20 00:36:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44924 <44924@debbugs.gnu.org> To: bug#44924 <44924@debbugs.gnu.org> Subject: Status: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH Reply-To: bug#44924 <44924@debbugs.gnu.org> Date: Sat, 20 Sep 2025 07:36:48 +0000 retitle 44924 guix build u-boot-pinebook --with-git-url failed due to "sour= ce" in C_INCLUDE_PATH reassign 44924 guix submitter 44924 =E5=AE=8B=E6=96=87=E6=AD=A6 severity 44924 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 28 11:52:28 2020 Received: (at submit) by debbugs.gnu.org; 28 Nov 2020 16:52:28 +0000 Received: from localhost ([127.0.0.1]:48949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj3ST-00043R-DZ for submit@debbugs.gnu.org; Sat, 28 Nov 2020 11:52:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:33968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj1v3-0001fO-LZ for submit@debbugs.gnu.org; Sat, 28 Nov 2020 10:13:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj1v3-0000Th-GD for bug-guix@gnu.org; Sat, 28 Nov 2020 10:13:49 -0500 Received: from mail-oln040092255055.outbound.protection.outlook.com ([40.92.255.55]:6244 helo=APC01-HK2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj1v0-000342-Tq for bug-guix@gnu.org; Sat, 28 Nov 2020 10:13:49 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I8b0eMYTTc0hYP1UxnCf1r6Ca+k3dyTw2JYfwuZgvohrN6bhlR2MFCIxZ5+Jwf72Yz1sErJm4CRic1PwN1XJ7zxb1P+jg4Y6kiDX1NkGTwv+WARrGLnz2RWF7dk4ZgVBLofnEI+uKLLzAMAO7SDvHt3BSgaVPtg8Tpzsf/EgQyXxx8Ku6NDmiACzeYijMKaPqXscr3iaTqZOEMdIXsib9Cq7MJedKtMM8BJTOPljnVQBVaUG0Lk5p+t3nACQE4EWMTulTH84dQk+jewKqwnujW/0+EmfGPgPzjC34HocRBFhPbdQhgQ/9sM5fCJduxBmwYZF/dbPBWHoTEOK2k7mjA== 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=vvRaZvFK8bMdNlQ90P31Z8QfTyZtUm+zjVnxV80uAMU=; b=TrAFxlKfiGZ+uMxfXdAcxQbcFC4OdHPPa1wfcE+0qwxtCydzeEjaGm49ybMEJgyQFR457UZMZM5pMQqn+QlO/wFZ0L52VZRmDkga7gV2bE2kfewcOfVDW2jI/IWPqDvvnfzvIYFH/JKVonZukhHxfQsaNCPkIoZrCXoI08RIzQDg9bEyF/UsYeGD0CvFFtwW5+FVJ7NhZrrMmE25vJJixXAbRnIZ9UyrI43auy1xVxxyK+V6UXeG4oKANOI4rJGCY5eLh+ATXfGeWt3saty7HS1uCMK/jQEM7F9waao8EYCqwRYX7hmhIM89xLl9mzuNezKZVEBkHb+/1Oukrrai+Q== 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=vvRaZvFK8bMdNlQ90P31Z8QfTyZtUm+zjVnxV80uAMU=; b=dSLJj2ROzJfIdu9A3HPQXVa+zU74iegTt67JAiJBno6yahKj4Xc4o9mqz4Fb13Ajw8c4S+igV4JhPJbiAA49MV9IitrMjt+3RQurfGie3uVpEH3xHrWLyqR/Ga4GCUn3vXq1w7RDPodM4Om9RYfGwtZULILUS5yMGRJFR+cdR8Ojwg1c3Pis79kBWpQvAJJg+A16g5LCAY2y0oRLd8o9ERs9bpn751yzEvddG4MIoXY1hDKb5riLuDvdV9NjA6sBhCGewef9Es4JtoIzaISVszd/htmVK+/Xv8SfOG1waeu3Jty8VM7IRDCf9PJFLc0OCRI9T/Y13/AU7NKn6V2QzQ== Received: from HK2APC01FT052.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebc::4d) by HK2APC01HT153.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebc::468) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23; Sat, 28 Nov 2020 14:58:34 +0000 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (10.152.248.51) by HK2APC01FT052.mail.protection.outlook.com (10.152.248.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23 via Frontend Transport; Sat, 28 Nov 2020 14:58:33 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:DB8563191680B5D7E1F7FE31B7F52CC3A4CF40BF418E9FF482A6C4CE5D3FC914; UpperCasedChecksum:077907F939FD947DC3B7EC9097F029B4A7363212EC01A20873CA47228D5449C4; SizeAsReceived:7306; Count:43 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.3611.025; Sat, 28 Nov 2020 14:58:33 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: bug-guix@gnu.org Subject: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH Date: Sat, 28 Nov 2020 22:58:49 +0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [sq5IGOSeYPo76nFtgqczPV2BaBz/2CDyrsmnaxfug2bOKFAfPTs9Wxv9o5pKqJFB] X-ClientProxiedBy: AM3PR07CA0132.eurprd07.prod.outlook.com (2603:10a6:207:8::18) To TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8038::14) X-Microsoft-Original-Message-ID: <87mtz1mst2.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:37c:2f0:2f1:f5ff:fe18:6bb) by AM3PR07CA0132.eurprd07.prod.outlook.com (2603:10a6:207:8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.6 via Frontend Transport; Sat, 28 Nov 2020 14:58:31 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 43 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1638bdbd-3bbd-4e54-4860-08d893ae1354 X-MS-TrafficTypeDiagnostic: HK2APC01HT153: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FcK2ww5dYCyZLMwlQSv83IOu3WOp5cM6lUZZoYDZwftPbcqxoA63kxNlGpSQeF/HswIDozq0WeYkaEDTReBdEdRjCwLR0BCh53of7L0ldvV8xYh4OR1rC3uIG/ZE7rCWXvdBEvIGaNvL/RWJdfrRuixtenltU+5ZoL2Coo9SGhpSInY8d2g6o+s9b0I0hVXx51yDELq/9qsG6V0MJZyWG0Ls6WTNK5Ub4xI5TBumc7nlDCrZKyIhLAjxnGD5cpxg X-MS-Exchange-AntiSpam-MessageData: gVfYWpZ6rJtSkrzgM6fl8+lOmnfJodhr459jIf3c/1kPq0isbKcDYJ7RilIpyChf2ZVWQUnx3A4fi+1Z5KLjXoNKrObpcQJWgQHsRCE8vXnuwx+T3qd3mqbW6ddkSsurHKWtnUjWmwPQoHohh8SnpnmcVktL1eZAP9c9ftA80LQrFgUQ0gjRlqhzO4phThvQSJLOI2yIujuqvjaIhmtYhw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1638bdbd-3bbd-4e54-4860-08d893ae1354 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2020 14:58:33.2570 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HK2APC01FT052.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: HK2APC01HT153 Received-SPF: pass client-ip=40.92.255.55; envelope-from=iyzsong@outlook.com; helo=APC01-HK2-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 28 Nov 2020 11:52:24 -0500 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: -2.3 (--) Running: guix build u-boot-pinebook \ --with-git-url=u-boot-pinebook=https://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". I think we should filter out "source" in `set-paths` of the `gnu-build-system`. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 11:58:15 2020 Received: (at 44924) by debbugs.gnu.org; 3 Dec 2020 16:58:15 +0000 Received: from localhost ([127.0.0.1]:41559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkrvr-0002eX-LE for submit@debbugs.gnu.org; Thu, 03 Dec 2020 11:58:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkrvr-0002eM-0L for 44924@debbugs.gnu.org; Thu, 03 Dec 2020 11:58:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47024) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkrvl-0002Ra-7W; Thu, 03 Dec 2020 11:58:09 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51420 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kkrvj-0006yL-1Z; Thu, 03 Dec 2020 11:58:07 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH References: Date: Thu, 03 Dec 2020 17:58:03 +0100 In-Reply-To: (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 28 Nov 2020 22:58:49 +0800") Message-ID: <87mtyuddyc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44924 Cc: 44924@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: -3.3 (---) 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-ur= l=E2=80=99? > 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. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 22:56:50 2020 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?B?5a6L5paH5q2m?= To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH 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=22'?= =?utf-8?Q?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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44924 X-Mailman-Approved-At: Fri, 04 Dec 2020 22:56:48 -0500 Cc: 44924@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: -1.0 (-) --=-=-= 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! --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 04:09:10 2020 Received: (at 44924) by debbugs.gnu.org; 7 Dec 2020 09:09:11 +0000 Received: from localhost ([127.0.0.1]:52375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmCW6-0004EI-LK for submit@debbugs.gnu.org; Mon, 07 Dec 2020 04:09:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmCW2-0004Dm-N0 for 44924@debbugs.gnu.org; Mon, 07 Dec 2020 04:09:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51037) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmCVu-00034v-IG; Mon, 07 Dec 2020 04:09:01 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46996 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmCVq-0006dS-Pu; Mon, 07 Dec 2020 04:08:56 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH References: <87mtyuddyc.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Frimaire an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 07 Dec 2020 10:08:53 +0100 In-Reply-To: (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 05 Dec 2020 11:50:01 +0800") Message-ID: <87mtyq0yqi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44924 Cc: 44924@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: -3.3 (---) Hi, =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > From 77283132c6eeeb75900afad5782b989ceee1506a Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?=3DE5=3DAE=3D8B=3DE6=3D96=3D87=3DE6=3DAD=3DA6?=3D > 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(-) LGTM! You can push it right away to =E2=80=98core-updates=E2=80=99, but since it = triggers a full rebuild, now=E2=80=99s a good time to push another change that trigger= s a full rebuild. :-) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 05:49:57 2020 Received: (at 44924-done) by debbugs.gnu.org; 7 Dec 2020 10:49:57 +0000 Received: from localhost ([127.0.0.1]:52560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmE5d-0000TT-CH for submit@debbugs.gnu.org; Mon, 07 Dec 2020 05:49:57 -0500 Received: from mail-oln040092253075.outbound.protection.outlook.com ([40.92.253.75]:6057 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmE5a-0000TE-NE for 44924-done@debbugs.gnu.org; Mon, 07 Dec 2020 05:49:56 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HwWYR6ALHaBEqcIG6Mp0G+lppFgTvcIpJ+fBeqYITVUyMgFlvUy9BK4cV0qtvE9sd3W9HrEFADfXhCC/dN/1YCvKZqmwqDIZmpk524Mre/XyBEUeDU+zjDWpnk5gH540qVZir+Jh1jFX/syDeF39o4PidiAnodmdLFR6pRY+fYtt7C4D5zuy+MjbgCWL8QQyQ3Srs/u8kbUeMLflq7uNoKS/DU5v5iR1ixPaZa2KTWo4AHuaRFJI+/5OHsmk4xo4Y20oU2kZq26+dZd4gTXsAutONZasn93bAIpIwdpLJYudp0jSjLMuqa8ZY7u+8JYvUmICYDvPoSIvDyAAE/tFzA== 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=5nJYaRERm3VmCPSBpcyyEeU9/Xz+CZSjw6YmWLcxqGM=; b=LE5ZJ8mYJcNfV6es8u7iMQ5Mr4IWCZw6RUJ31GTZREpxT94fLKtN3VSmo624ePYACNY3v2vDiTHVqjLbb9wRt7RGByG46+//i0Vdjv5o0dL/PkEtQZhxDpIvZZboitkqZgEM9wft5UdqV3sgAFmbWsmFIPi4M4zslkHaw+0jAvplg/G9WzhJeEhNxRU6UftS0sdJIJh9vU8XdW8OdVEJrbDLIRl7addgkT3Trk6mNEkdQQbZBnhPhCsK5wPvn3ux8EkeRr5A5JSNXKBcWF+1r5MCnD4rP9ZyUB34hf8Hw0kTuRInFqMb9N6iQFrj7LcpLK/6V83UEqGTV8orS2mLZA== 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=5nJYaRERm3VmCPSBpcyyEeU9/Xz+CZSjw6YmWLcxqGM=; b=frc3UV+k7VjNIqYWdQi0PpP4UHdLMfJQVMEcUG8fZE0eA1HahrvTO6jjYRF1quaFyN8nUTQkLu8Q9kiWnVDkqP99EXDe2fDwqv7BE6xJV0y/qJ6CxB9b4cRAiHLLVonq1o1EBW3WIgwUUOG4v4MY0GaSLr0BK7CShHDHpRwTMVmV3+HfCYrKgG6XyA4DK+ypi8VSBybZfhtoN1uGBs7EEo94SovY9IlMhHz/OJywMBRHYB3Nopx+iYb5TId25YR/wCTRuGPeW+Zh6jylI9zMdVBhyDt3oLRMPFA1Y9YLNBYRejD9nq6cWEAbE+LxtVEvyJme3tKiVmgmf/mKmKZRdA== Received: from PU1APC01FT025.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebe::4c) by PU1APC01HT093.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebe::315) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Mon, 7 Dec 2020 10:49:42 +0000 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (10.152.252.52) by PU1APC01FT025.mail.protection.outlook.com (10.152.252.237) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Mon, 7 Dec 2020 10:49:42 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A73C6D89ED4F92D47F60C9406881F18CAD55287AEC8D957A1E441C26F496281C; UpperCasedChecksum:348089E5C24E65221F0DE58D9ED179B8AEF76C605533BF07843C8E3BBE35FC86; SizeAsReceived:8975; Count:47 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; Mon, 7 Dec 2020 10:49:42 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH References: <87mtyuddyc.fsf@gnu.org> <87mtyq0yqi.fsf@gnu.org> Date: Mon, 07 Dec 2020 18:50:11 +0800 In-Reply-To: <87mtyq0yqi.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 07 Dec 2020 10:08:53 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [KgFZ+0ZIzbwm5W4csLImqUqYQ0azkrWp7ulDj2L+xfTW/6gaQx8grpuHIblY9cWb] X-ClientProxiedBy: SJ0PR03CA0052.namprd03.prod.outlook.com (2603:10b6:a03:33e::27) To TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8038::14) X-Microsoft-Original-Message-ID: <87tusxyjoc.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:372:3600:2f1:f5ff:fe18:6bb) by SJ0PR03CA0052.namprd03.prod.outlook.com (2603:10b6:a03:33e::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Mon, 7 Dec 2020 10:49:40 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 7a2bcf03-ad32-4d0c-0304-08d89a9dcd39 X-MS-TrafficTypeDiagnostic: PU1APC01HT093: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NKs0YobKIIUOd/9pn7mmGuj3IC6Prt4RZddGpw2b6K7LlRWCt4p/xj883fEQfht0FytgAXGyW8MnTcccZ9EV6rzrLhHxwWCxRSvTIK4dm2zv1xTptUhbdTQwE1VfUh28ilxzAN2ZAtdQOWGlmTEMQqPke6Hj9ExOvPNqP04n//ccIjU+hnunrEQUse3TOIJiZ/gRvNiziSef6sZz25FOYg== X-MS-Exchange-AntiSpam-MessageData: Sbo8e6OrlZT91dRStmPUtUNy4UUE5brSJzHr4PGWUUtXuyJRDll7KeFmhhUZPPR70OkVxjEfUgE8WJfmanA+UPs6DRILdTBJ1XB8bBbzQRNldydZUIiSC5N1F7DK8mC6NTLSdnOAFxeoYBsqM1uITbYChFc9gKHeNzM9x64tsONDUSezkNwwW9Ql2fbY6MXPuECa26ztT3Ztnupd6uWNcg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a2bcf03-ad32-4d0c-0304-08d89a9dcd39 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2020 10:49:42.0765 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: PU1APC01FT025.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: PU1APC01HT093 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44924-done Cc: 44924-done@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: -1.0 (-) > LGTM! > > You can push it right away to =E2=80=98core-updates=E2=80=99, but since i= t triggers a > full rebuild, now=E2=80=99s a good time to push another change that trigg= ers a > full rebuild. :-) > Pushed bravely, thank you! From unknown Sat Sep 20 00:36:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Jan 2021 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 06 20:44:43 2022 Received: (at control) by debbugs.gnu.org; 7 Dec 2022 01:44:43 +0000 Received: from localhost ([127.0.0.1]:46431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2jUI-0000Xn-VN for submit@debbugs.gnu.org; Tue, 06 Dec 2022 20:44:43 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:43609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2jUG-0000XZ-9y; Tue, 06 Dec 2022 20:44:40 -0500 Received: by mail-qt1-f169.google.com with SMTP id a16so82009qtw.10; Tue, 06 Dec 2022 17:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=NfLbWGLEwnxRXEdmO/z5wqiLyZVPPE9ENIqXyKjv40E=; b=flvUWyE28KtlDMfczgUuGZXOOWm531iSRvSf+fg/IixKN2sKqmgkDmgM/UgfStS4Bx juUycqgrEK2G+PgVaHSrqtz9a+vi1d0yRmO7WDxAWXF9asR03bpFoVsYI7nOlbvqRuZT iQ5CuhIW7Z/zizalKpYplzoOduvDnHWY6c7aaUf4pTQEb/yOKiNQmWUbLEUeJ3ptgEQK OJ7FK7rC5JHvZNk+h7qaPCs2dKQINkac39ffVFYBESBkkePnrsGI129gepn/d7JjWYMy aue25LEZROZTDUdagJ+Bq1pZ5u0rsgfvm9tyDeYb8Zmnvmv51v6YaHbbO3L/RF44LjUT q1PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NfLbWGLEwnxRXEdmO/z5wqiLyZVPPE9ENIqXyKjv40E=; b=BhjkeTTsgcBb7G2D9264ykPNBpLw6G+sPWThwO1PqzyYiROgLfTdp1iwl0iIhWeemA WusAVojybn15S6DtEDyoGWTZXRdzhitbv8j+0VVQ2bxWJTa08UvLcL3nWYidaLbjJAh4 Z/tdv1W3cHwmFL9P6SQMDJ61QnUSm23gV5bjtyzmWVv+5VTiwwVNEsUcMjwNVWxFQx+n Tc+EnTnOzy+ujNpyQHTZrw7QtxXzTbSlOVuHqOjFKTRBdBuemE6E6YoRfh8ViSXnlpgi rqsqj8a9WtSgR4gm8yZmI0tw7ML2cCXYGzFBT5jBF4utOOgMl1UTgLi/oElw+Umdkx9o eTSQ== X-Gm-Message-State: ANoB5pnZI6GCaMngJk3qUhqOZKeo6Fy7ZN5dHOyBsJQlgTxbDpbbEW12 4yCu0RBkkXTBFBXRKeZ3c9iLSPP4WzU= X-Google-Smtp-Source: AA0mqf4SiEbcBfTysNBhZk6KW+03yh97NZIxYCK/4CSY88uveXanKiANF4UKAVl6VU3TmJhLnbkCWA== X-Received: by 2002:a05:622a:4007:b0:3a7:e66d:a97c with SMTP id cf7-20020a05622a400700b003a7e66da97cmr513060qtb.4.1670377474590; Tue, 06 Dec 2022 17:44:34 -0800 (PST) Received: from hurd (dsl-205-233-124-140.b2b2c.ca. [205.233.124.140]) by smtp.gmail.com with ESMTPSA id w26-20020a05620a0e9a00b006feb158e5e7sm7329420qkm.70.2022.12.06.17.44.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 17:44:33 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?B?5a6L5paH5q2m?= , GNU Debbugs Subject: Re: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH References: <87mtyuddyc.fsf@gnu.org> Date: Tue, 06 Dec 2022 20:44:32 -0500 In-Reply-To: (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 05 Dec 2020 11:50:01 +0800") Message-ID: <874ju89edb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 44924@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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: -1.0 (-) unarchive 44924 reopen 44924 thanks Hello! =E5=AE=8B=E6=96=87=E6=AD=A6 writes: [...] > Here is patch: > >>>From 77283132c6eeeb75900afad5782b989ceee1506a Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?=3DE5=3DAE=3D8B=3DE6=3D96=3D87=3DE6=3DAD=3DA6?=3D > 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-syste= m.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-e= poch/." > (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 s= earch > + ;; paths. See . > + (match (alist-delete "source" inputs) > (((_ . dir) ...) > dir))) I've rediscovered this same bug, but when cross-compiling. The same fix needs to be applied to the native-inputs in this context, as this is where the "source" is: --8<---------------cut here---------------start------------->8--- modified guix/build/gnu-build-system2.scm @@ -83,10 +83,12 @@ (define input-directories dir))) =20 (define native-input-directories - (match native-inputs + ;; When cross-compiling, the source appears in native-inputs rather th= an + ;; inputs. + (match (alist-delete "source" native-inputs) (((_ . dir) ...) dir) - (#f ; not cross compiling + (#f ;not cross-compiling '()))) =20 ;; Tell 'ld-wrapper' to disallow non-store libraries. --8<---------------cut here---------------end--------------->8--- If that looks OK, I'll push it to core-updates. --=20 Thanks, Maxim From unknown Sat Sep 20 00:36:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Wed, 07 Dec 2022 01:45:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 06 22:07:25 2022 Received: (at 44924) by debbugs.gnu.org; 7 Dec 2022 03:07:25 +0000 Received: from localhost ([127.0.0.1]:46794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2kmL-0003dR-Bf for submit@debbugs.gnu.org; Tue, 06 Dec 2022 22:07:25 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:41823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2kmI-0003dI-PG; Tue, 06 Dec 2022 22:07:23 -0500 Received: by mail-qt1-f170.google.com with SMTP id c15so15320289qtw.8; Tue, 06 Dec 2022 19:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=YWAe3HBcptUTV083l66ZXQ4vx5fZSj1SFLR+aAI/nFg=; b=EFC1+K+zHRuQkaFFp48MZ1OMgCUFg+IGGF4gZ8V/72Qpaxm1t4rELlu6KMZ+4jfc3V 59z/lojxgknWnSKc4wVfqxvI8V7zXnCa3R/Y9QYIBDMeBjdnBPoShnRk4hE1Il9eFzLh NspneE2y6XGkyz3qw6O2hyDlKXnzjyjbBQ3V+dmYG2gzXYINbkpI0hr6uytfH5vt+lFG agICi/Z8v+9E/8q2q33FHz1pDZpSHBAU9r1k40ZllENSLhqzGhIqDKSU3RNc0GwB+rI1 Y/Fo3s+E/AIuSO1V0LLdyv1iKJv2sS9M4HHMzZZw9aKEIqfnPMmwJpU1/TK2bcYNNWpD UJOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YWAe3HBcptUTV083l66ZXQ4vx5fZSj1SFLR+aAI/nFg=; b=NUZFD+a3JVL/KCRqFpMWzVwxt6pEP7Q8PlmqC6m6qpCMQksJgb25NPkDjBNEWvIHYs iRNsJkMi85MBfoUTyAjMXOfZjbGGHSFDkW0z7sqSqUlkBfaMYn0VjpGz5bgJSqKzPFqR VzjFfAOvgBwyd7rBvTLRO5bPECp6GBgVEnwxA0AFSTvjq2xeeNcM6YetSMYk78Lm6gBd sedjiVmQM4epVQ4Fc7c5Tzj2Cdt6seO6G7+jFRptnNMXqkm2l6g7+iaFESrrFimpjH6d mZwGm+lZA1PP1/UquU4D28CTdKDx5Vy+Nt8pJn++vv9R5uHMGNCOmfmumnB+2zXX2aB8 4Ftw== X-Gm-Message-State: ANoB5pnpp3Dr3Kyzsjoj+JiCRNHecHSsVqvxz7hsgSJBuo6T3L3015rf LmxudQydfBWwhqVliV9OIS0= X-Google-Smtp-Source: AA0mqf504YYZgfm3j8jNf154NI4J9G7WSNzs5AmTz/+RO2Sm2fMcd9Zk0GVccfTkPorvoO94Rp/zEw== X-Received: by 2002:ac8:478c:0:b0:3a5:7262:4836 with SMTP id k12-20020ac8478c000000b003a572624836mr682245qtq.42.1670382437334; Tue, 06 Dec 2022 19:07:17 -0800 (PST) Received: from hurd (dsl-205-233-124-140.b2b2c.ca. [205.233.124.140]) by smtp.gmail.com with ESMTPSA id he33-20020a05622a602100b0039c7b9522ecsm12470508qtb.35.2022.12.06.19.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 19:07:16 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?B?5a6L5paH5q2m?= Subject: [PATCH v2 core-updates] build: gnu-build-system: Remove source from native inputs. References: <87mtyuddyc.fsf@gnu.org> <874ju89edb.fsf@gmail.com> Date: Tue, 06 Dec 2022 22:07:15 -0500 In-Reply-To: <874ju89edb.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 06 Dec 2022 20:44:32 -0500") Message-ID: <87zgbz9ajg.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44924 Cc: 44924@debbugs.gnu.org, GNU Debbugs , Ludovic =?utf-8?Q?Court=C3=A8s?= 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: -1.0 (-) --=-=-= Content-Type: text/plain Hi again, Here's a v2, which guards against a #f native-inputs (when no cross-compiling). --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-build-gnu-build-system-Remove-source-from-native-inp.patch >From 8d2f8fafb66288969f41fcab7705de65f6d09432 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 6 Dec 2022 20:44:54 -0500 Subject: [PATCH] build: gnu-build-system: Remove source from native inputs. Fixes , in a cross-compilation context. Having the source in inputs when computing search paths can break builds. One example is a git checkout of the Linux source tree, where the source (a directory) 'include' subdirectory gets picked up in C_INCLUDE_PATH and causes conflicts with the includes provided by glibc. * guix/build/gnu-build-system2.scm (set-paths): Remove any "source" native input. --- guix/build/gnu-build-system2.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guix/build/gnu-build-system2.scm b/guix/build/gnu-build-system2.scm index 54129549c2..1766f9d474 100644 --- a/guix/build/gnu-build-system2.scm +++ b/guix/build/gnu-build-system2.scm @@ -83,10 +83,12 @@ (define input-directories dir))) (define native-input-directories - (match native-inputs + ;; When cross-compiling, the source appears in native-inputs rather than + ;; inputs. + (match (and=> native-inputs (cut alist-delete "source" <>)) (((_ . dir) ...) dir) - (#f ; not cross compiling + (#f ;not cross-compiling '()))) ;; Tell 'ld-wrapper' to disallow non-store libraries. base-commit: b94724e8b2102be0fe9d19e9dfe44d6f7101bd4b prerequisite-patch-id: ef7cada25908a9dec368cede7033b0fe6869ac97 prerequisite-patch-id: 660177fb9eee55d11983ea9360c072730d0d21a5 prerequisite-patch-id: 3af7d5aabc4b70d4709fcb150f072ae1ff16a859 prerequisite-patch-id: fd4074fb4cf068ccac3122c19138f098a610542a prerequisite-patch-id: 51cecbabc04c69d4338addaece536c42a075660f prerequisite-patch-id: 98e04821d56efe50aeb9bdcf640c25bebc2823c6 prerequisite-patch-id: b9b6f21a2db3f7a5ef82bb11ed23f69749cc6b3d prerequisite-patch-id: 2c67bfd85b343a65440e6c63451e5417129dea6f prerequisite-patch-id: a4a0de47739cb0fa71f5c3fd60ba31164a631812 prerequisite-patch-id: cc499b2ffd8c21315cd3760ed4107afc25b3f632 -- 2.38.1 --=-=-= Content-Type: text/plain -- Thanks, Maxim --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 09:50:43 2022 Received: (at 44924-done) by debbugs.gnu.org; 7 Dec 2022 14:50:43 +0000 Received: from localhost ([127.0.0.1]:50545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2vkw-0001dV-Oj for submit@debbugs.gnu.org; Wed, 07 Dec 2022 09:50:42 -0500 Received: from mail-qv1-f51.google.com ([209.85.219.51]:43628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2vkt-0001dP-KJ for 44924-done@debbugs.gnu.org; Wed, 07 Dec 2022 09:50:41 -0500 Received: by mail-qv1-f51.google.com with SMTP id q10so12755562qvt.10 for <44924-done@debbugs.gnu.org>; Wed, 07 Dec 2022 06:50:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=PbRMHMsTlMKdcO0sgGbdeIzMC3kdx+/Lc+JQHJIochs=; b=G8mFKya6Y/OmKuEKmJtQfYmWgzAaTDQlHCqcuTf9ROxTqbm8snXPniXEpSlqRXa/8O YVz6J5Fkcr/Aeb9BbiFt7ZA1xk3YKfBd8uw0BdFdiwYNqbZJvbn47vix2hoAJLM/WM1z cyXRn5y3exxkGNZbg8dXybgMF7h7VgWsMQG7UnmARNjTeuR3gRx8TXFORa2T0PHhHWG1 kesE5sAfEIK56DgEt9KNdzLEmimIc1uJjBa2hh3JEf+re7mZf0ipfSiX8wBxJbuXJ5uQ fsmgGXE31vvpbhE1poTlFwaWYfevUjGN4CR5kFvU8GMKZxuwxZA5u31qcUy+soIXyLgn oUAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PbRMHMsTlMKdcO0sgGbdeIzMC3kdx+/Lc+JQHJIochs=; b=Q5ENiR6IUChYMmDtEZLd0DtFV2PRLxPWT1uUmNYU3U7c8VNjmojaBbQgohwecoZLi1 RBFKdMFjQYgzfWMtcd8L+FT2jEcptPbMmpmMPvDkXKAOYenuu6bulRuvmBDZQQIc+EsW G5frhENzZxEbxkKuPCHCgQOFAIzFYWXrnyIA8cCnXZYIo/VhMAHjRnjT2atj8LMLnAg4 5UofUPzgVtiEqhBtnqos/j+VA/lhf1jdklQNR5LyThOrO5ZPb67eZGOKbgfLlaLFDNF3 Qt8OtQ2yJUhzsvQVqUiqGpaOIdCUkyXngR4VCoN4bXA2tLnZIoqxSqgfAovvctbBbgQ2 DmKQ== X-Gm-Message-State: ANoB5pn06gpbvSvj+kMc+WWf7KU+LvSoXeoKAejc4IJ7tfiTqT6e6MYV 8QO3NUFm3IdIW2/eQFZUyhg= X-Google-Smtp-Source: AA0mqf6ojxop2ZkT6EHfSAL3V2lPK96Nk1mUP33QEQq7i2DSw/FNO2x8Isu4z4a2XARhVLgitlPRRw== X-Received: by 2002:a05:6214:1646:b0:4c6:f9b1:d115 with SMTP id f6-20020a056214164600b004c6f9b1d115mr954393qvw.9.1670424633931; Wed, 07 Dec 2022 06:50:33 -0800 (PST) Received: from hurd (dsl-205-233-124-140.b2b2c.ca. [205.233.124.140]) by smtp.gmail.com with ESMTPSA id x29-20020a05620a0b5d00b006f87d28ea3asm16203309qkg.54.2022.12.07.06.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 06:50:33 -0800 (PST) From: Maxim Cournoyer To: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: bug#44924: guix build u-boot-pinebook --with-git-url failed due to "source" in C_INCLUDE_PATH References: <87mtyuddyc.fsf@gnu.org> <874ju89edb.fsf@gmail.com> <87zgbz9ajg.fsf_-_@gmail.com> Date: Wed, 07 Dec 2022 09:50:32 -0500 In-Reply-To: <87zgbz9ajg.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Tue, 06 Dec 2022 22:07:15 -0500") Message-ID: <87o7sf8dzb.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44924-done Cc: 44924-done@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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: -1.0 (-) Hello, Maxim Cournoyer writes: > Hi again, > > Here's a v2, which guards against a #f native-inputs (when no > cross-compiling). Pushed to core-updates with commit 6454208222. Closing! -- Thanks, Maxim From unknown Sat Sep 20 00:36:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jan 2023 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator