From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0LHvC8GZiWHdZAAAgWs5BA (envelope-from ) for ; Mon, 08 Nov 2021 22:42:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4JupB8GZiWG5UQAA1q6Kng (envelope-from ) for ; Mon, 08 Nov 2021 21:42:25 +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 8176529838 for ; Mon, 8 Nov 2021 22:42:24 +0100 (CET) Received: from localhost ([::1]:37340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkCPH-0004f8-JQ for larch@yhetil.org; Mon, 08 Nov 2021 16:42:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkCOx-0004ez-0P for guix-patches@gnu.org; Mon, 08 Nov 2021 16:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkCOw-00023Z-Nf for guix-patches@gnu.org; Mon, 08 Nov 2021 16:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkCOw-0000ml-Cn for guix-patches@gnu.org; Mon, 08 Nov 2021 16:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38606] [WIP SMLnj 0/1] Add SMLnj. Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Nov 2021 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38606 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38606@debbugs.gnu.org Received: via spool by 38606-submit@debbugs.gnu.org id=B38606.16364076772956 (code B ref 38606); Mon, 08 Nov 2021 21:42:02 +0000 Received: (at 38606) by debbugs.gnu.org; 8 Nov 2021 21:41:17 +0000 Received: from localhost ([127.0.0.1]:59755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkCO9-0000lZ-70 for submit@debbugs.gnu.org; Mon, 08 Nov 2021 16:41:16 -0500 Received: from mail-oln040092253028.outbound.protection.outlook.com ([40.92.253.28]:16512 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkCO5-0000lJ-Mv for 38606@debbugs.gnu.org; Mon, 08 Nov 2021 16:41:11 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dIt1G4ySLJKd3PysjXN78XKfjRWXcvSE3CX2ALcWPkt3gbqNuUPn4IcZRcvVyeGWBCNP+y0i6ScIyNog6IcCo3c3Tr8tt+2xC/gvfpUxc8dPmSAmozgBdFhYnWI0jHRpHkNWxTcoubdrN96DfhruoucFyxHS3K2/L2r3o8W2sJQFWNAM/5h80R86+lAqjGtrg4t6QYkeyGbF7MvyTXPO9kd+H3oiq/FqiNhz8QcjAGeoVzV2TmRr2HCUCoNZNvkfz+UQ2Vxz0eWbzV2qBzjUXpnYKE9nt2BK/oEwemQOMpThf8/lRmwAs/S8Wiycc9l7lneQIZljN8JM3tAS6YiBkQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OhvZZLvu0LQEYK+2KCTZvEV4nKeEt6JfQgS6fAvVJ1g=; b=ikgsWKi9nqNak8F8hjQLiwIJH/aTRqAdnEkcN8m/v5ZAZgCONA+TCJooLEdqlYBLrxB+WdEH9rDyG1zsogrqVqd8Ke2Iq8fGPKKfl1BoCCoGM060E0xhiJ/8NH0m3SUQ+ZAq6BFtKZZxUmk7Blf8toRPAuNATR9iAEPechquTsK1zsS6D8R8Nr2IoYTK5fbBSD9r33DSYe9+CFjRmpCQ0iQMDaQ9+TJNhumBtttjTdu41QCoHwoQtG9k8vn+ip65OnxrPgcvd0Xycx8Pwls7QVM3o7/lcsTewBE2J4ClSlsvKUJ4VUGlt2H5YAQBn4iLs5MQQp9J5gpl7w0noNiS3g== 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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OhvZZLvu0LQEYK+2KCTZvEV4nKeEt6JfQgS6fAvVJ1g=; b=LfKr3lmroUDmUjGOrbHuwd9atJN2ZeCBU7/tRY4tk7NW97gYLUdNW1qqzhojYH5zl9O51wTRMbYhNH2tKu/E7qxefrdX+cE1rXm2+gZs8qVNvwkutrCIPdW44bEOqp6PSyiAVK5RRKKNdYXPmny1th4iuwlJlGu/pibgsdUnoAbh1E6Qys1ByDRor+9Dx1FmMmeyzOkAyA+3kIBTua6z9lXi2U/F80lids/f7AkHS+1mpwH0VeH54FA8TIlMnG9+oLg5/7o3k7mTxasz/xYOuB32UE7l2JgszXpzKKpk5yaxzIoAoln1dE06LHUX2CwhFVwuKLUXAGTzNdtazLVWOg== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PS2PR01MB2533.apcprd01.prod.exchangelabs.com (2603:1096:300:32::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Mon, 8 Nov 2021 21:41:01 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee%7]) with mapi id 15.20.4669.016; Mon, 8 Nov 2021 21:41:01 +0000 Date: Mon, 8 Nov 2021 21:40:58 +0000 From: Foo Chuan Wei Message-ID: References: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-TMN: [z82sEVgO3msVp7c0sfmEQKaQmFPI0drS] X-ClientProxiedBy: SI2PR04CA0009.apcprd04.prod.outlook.com (2603:1096:4:197::8) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211108214058.qdrigvdauk6u6ekw@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.34.217) by SI2PR04CA0009.apcprd04.prod.outlook.com (2603:1096:4:197::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Mon, 8 Nov 2021 21:41:00 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 00bd3c29-c940-4ae0-10ea-08d9a3007538 X-MS-TrafficTypeDiagnostic: PS2PR01MB2533: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c3sA8ZQfBlwPj26WnU8DCEGVCKwVFqipYG2L14ETLFjavYSd96hYAyGj8ZB7bSthFJZRQGXmR13W5WkVBqLFK7xkC+PNkDodB0jcoeQyCc3CyvrCqYNhO8zULj0i6GqhkyNLK+5pBNjeXLIKdQv+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G8Kr+/iV6Iaks3egfZT/KdNjglDGqyd4fUglKCeyGgAirBSJsxIFybT5hMD96rV2WVuNUH8WVBOuj5tNdmdpm2XkrxLhW5Pq0nYtxzu2ff/maq4IXswG7pg== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 00bd3c29-c940-4ae0-10ea-08d9a3007538 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 21:41:01.8028 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR01MB2533 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636407745; 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: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=OhvZZLvu0LQEYK+2KCTZvEV4nKeEt6JfQgS6fAvVJ1g=; b=EEAVNQpg1Tdn36FNvOLtWELNF+RfRqe9jO2fcfUasL3Ilr1PGRAuntBUV9/jk6g35TWkNG IWDnXx8dVAz9I9AjU0vSRdXDqsHyY96onPFs1yXMNFU8PfPhcnPT8g+ouYkMZDjdsP+jzA IrvmqEjNAgv0AJSeu+ZeANVqVRMq1EfaFFhTXAqbUdtaS2VZE02GtT8R47KdHcZoIvmUjC mwSP3+6nogP6J7UX+Ch1iJ3kziwlJoCDPIU4hkWQvXSLZYZgxL3PjYTMpMHj/bt3r9wvai Tzg0AtUK8sQInvwl2B+0GMd0RQMK281K+rl1KGSL3oCwsvI09O4ZgeKuLfUTbA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1636407745; a=rsa-sha256; cv=fail; b=EOZ0QcFVd2rQAsidjWrNB/ZfDaowYutIxs2FurUcrZIhxmhXihAXE2XoNrrQGVu/jhW3LH wwN2ewMrmmqBpL+uO+shIU2Eja+v5ZsALmfM/KebUVssPu4C+eB+HICRq17rtCI8UPJVXd mBGDXTTHwQUyoXdQPCJuIq51K/QGnE86f7FaNLt9G7DoYKwRAnqBQAypO+8MEkn3YnPMKM yiB4l2GsepBbHbBvAAxW87jL73m25QFTuzdf0Oiuo3amp9KJ7uIWEBLWEkwqmevYDabi9u YJi2fCPdQADhqzeL3uNz4JUtjHHZBwGV5ob7DmCZ0ogMIxqfJuw7+v0RrqPMyA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=LfKr3lmr; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=LfKr3lmr; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8176529838 X-Spam-Score: 0.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9wAYClfO7V/l > /Users/jhr/Work/smlnj/sml-legacy/base/system/smlnj/installer.cm:29.7-29.32 Error: link-time exception in library code $smlnj/installer.cm@1570(installer/nix-install.sml) > SysErr: No such file or directory [noent] > > > /tmp/guix-build-smlnj-110.99.2.drv-0/bin/sml: Fatal error -- Uncaught exception Link with 0 > raised at ../cm/compile/link.sml:357.28-357.35 > > FAILURE: unpacking failed > ./config/install.sh: !!! Installation of libraries and programs failed. > command "./config/install.sh" "-default" "64" failed with status 1 The error above occurs because the build process uses nix-install.sml, and nix-install.sml uses `OS.Process.system` (in the `unpack` function). `OS.Process.system` relies on /bin/sh, but /bin/sh is not present in the Guix build environment. "No such file or directory" presumably refers to the absence of /bin/sh. Unfortunately, the fix might require some binary patching. /bin/sh is hardcoded in sml.boot.amd64-unix/SMLNJ-BASIS/.cm/amd64-unix/basis-common.cm (a binary file from boot.amd64-unix.tgz).