From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OMdMHYWP9WEqNQEAgWs5BA (envelope-from ) for ; Sat, 29 Jan 2022 20:03:33 +0100 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 EA/lGYWP9WEZTAAAauVa8A (envelope-from ) for ; Sat, 29 Jan 2022 20:03:33 +0100 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 99F562D440 for ; Sat, 29 Jan 2022 20:03:32 +0100 (CET) Received: from localhost ([::1]:39702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDt0V-0005ZC-6t for larch@yhetil.org; Sat, 29 Jan 2022 14:03:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDt03-0005Z1-7d for guix-patches@gnu.org; Sat, 29 Jan 2022 14:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDt02-0005Dx-1L for guix-patches@gnu.org; Sat, 29 Jan 2022 14:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDt01-00054h-VZ for guix-patches@gnu.org; Sat, 29 Jan 2022 14:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53609] [PATCH 2/2] gnu: Add ghc-4. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Jan 2022 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53609 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53609@debbugs.gnu.org Received: via spool by 53609-submit@debbugs.gnu.org id=B53609.164348293319439 (code B ref 53609); Sat, 29 Jan 2022 19:03:01 +0000 Received: (at 53609) by debbugs.gnu.org; 29 Jan 2022 19:02:13 +0000 Received: from localhost ([127.0.0.1]:34818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDszE-00053T-Rp for submit@debbugs.gnu.org; Sat, 29 Jan 2022 14:02:13 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDszC-00053J-TR for 53609@debbugs.gnu.org; Sat, 29 Jan 2022 14:02:11 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1643482928; cv=none; d=zohomail.com; s=zohoarc; b=dr5l3wEc8ltGeN5WYbED3ukAWCyTli2cPGYj1HDZGfk/SStgeWNcfr+de9bK6RBy6+jC38lzIGoY8HpLlO+eUTUA1+wBj2G7Li9uvI9lN5Eyl0gCsfnEmdS1iejJONgmV0nBZdwzz5zZKWEQqYQTfq9yPYOBlFtzlPUVPO9yUAE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643482928; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=5pA1nOx+7OarIF1eSorQYoZ4A4wYhS9Rpqbh1/Ree+s=; b=Hz9xmpYkDArzjvSbzhULm/+s3506+HaUPusz0w+DLFWA7ZYNlElKyvy0IgCFCVZKBBbz18+XEeIFjb/EvplKRnDYTGb0NE6Ej3VETFkT/I2350QqeQXby+XPDkB6utxNtu2eOhpNEokZtx0ovzSbLTv9X/1CWjZd2OoVTVvFm+k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643482928; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=5pA1nOx+7OarIF1eSorQYoZ4A4wYhS9Rpqbh1/Ree+s=; b=WRRvl+n59xCbv8ngDOdlCipd4Pwfs4s6yIFeMt8vzBOERc6cMziU0fh2AHWTaDOB PIDRLlcwtyiWwWqgzPhjsbUnW4ZU62jMgE2TG1C2qBZ16oBWEyp6OlboHNt7Jv/oeoI OKMAj0FIC2gAstLCkJ3/GYID8qv37GwUsHb9HF8M= Received: from localhost (p4fd5ac1d.dip0.t-ipconnect.de [79.213.172.29]) by mx.zohomail.com with SMTPS id 1643482926866326.11969591276875; Sat, 29 Jan 2022 11:02:06 -0800 (PST) References: <20220128174852.10637-1-rekado@elephly.net> <20220128174852.10637-2-rekado@elephly.net> User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus Date: Sat, 29 Jan 2022 19:56:39 +0100 In-reply-to: <20220128174852.10637-2-rekado@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <871r0qfjro.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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 X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643483013; 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=5pA1nOx+7OarIF1eSorQYoZ4A4wYhS9Rpqbh1/Ree+s=; b=Q/92uKuXqaFwgW6xLrm28s2rBlq0bqsQCi+y30XZyi/T9NAZIDKaVVPpWVpW9JfGdOs/Rw JOT6kj8Xir328y0xBqp5sVDQopgzuLrbcoNpG2xGj3EUFVWB99RmdAZNkBotsMZCM/xf3M Cj9IPK7KQB4lPcChhlqNdQmIMaMKN15KNDG5j74MfbxhEyNsNRJvfnzXTzedbdlBGSp57V cux44vpNNtYHNmJSd/KGY7/YlbuSVzNZqhbhGWFO7hwRfp60Bz0tXb00+cqUWcz31XGPjg tqfjvtrOX7WROJDs1VePWtch1nYd9xnF4m7DiUVWJRmDLpLXgXjUutEaJl/BzQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1643483013; a=rsa-sha256; cv=fail; b=DX5uB9rVlG9O421x24IM4x/Sd36Ko1UXZCApGXjlTZVAX0Vd4EBeky6+lywLODgfNVbck9 ZJ8cLnVto69vKTAmBgsNmMyqHWqZ5H9bHfKkOMdjuJ9fcf0UYPo4jf+cMuX23C9gN7VvCD 72s/VCcbs2xFB/PXWqbnOYFTp3vi/xXvYQ5U1lT2O4yC2JgUpyozcy78IQUS6TAJokHtmJ Fu60sP4hgjrYtxbSWB3OIXf2yadD3i5jw+TOX2RjCPcDYRSSMIJbT6Xv3S95F2hFyt2Voe r8+BEubbjSug3dafZ+zP5VXN/7T/IYaAMb+G2MFkt0DU9zgSMuA48I3vg+f1lg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=WRRvl+n5; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); 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: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=WRRvl+n5; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); 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: 99F562D440 X-Spam-Score: -1.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: NVjd7iNcDo3b There had to be a catch, and sure enough: there is one. This ghc-4 package doesn=E2=80=99t include everything it should. The good news is tha= t the RTS of GHC is included. The bad news is that the standard library doesn=E2=80=99t exist. This old build system is a bit too optimistic and will ignore any build failure. There are two failures: --8<---------------cut here---------------start------------->8--- make[3]: *** No rule to make target 'Array.o', needed by 'libHSstd.a'. Stop. [=E2=80=A6] make[2]: *** No rule to make target 'utils/Argv.o', needed by 'hsc'. Stop. --8<---------------cut here---------------end--------------->8--- =E2=80=9CStop.=E2=80=9D here is not to be taken literally, it seems. The b= uild continues but libHSstd.a doesn=E2=80=99t make it to the finish line. Array= .o would presumably be built from Haskell code. This means that the vision I had during a fever dream is still worth following: combine the GHC RTS with the Hugs interpreter to interpret the Haskell code of GHC 4 to use it to compile the Haskell code of GHC 4. --=20 Ricardo