From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4C5xApTZPmCpMQAA0tVLHw (envelope-from ) for ; Wed, 03 Mar 2021 00:34:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YB7AOZPZPmAIZwAAB5/wlQ (envelope-from ) for ; Wed, 03 Mar 2021 00:34:27 +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 9164420993 for ; Wed, 3 Mar 2021 01:34:27 +0100 (CET) Received: from localhost ([::1]:41248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHFT8-0005qN-Fp for larch@yhetil.org; Tue, 02 Mar 2021 19:34:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHFRm-000591-Nw for guix-patches@gnu.org; Tue, 02 Mar 2021 19:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHFRm-0005RH-F3 for guix-patches@gnu.org; Tue, 02 Mar 2021 19:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHFRm-000402-CM for guix-patches@gnu.org; Tue, 02 Mar 2021 19:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46806] [PATCH] gnu: ocaml-4.07: Bootstrap. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Mar 2021 00:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46806 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 46806@debbugs.gnu.org Received: via spool by 46806-submit@debbugs.gnu.org id=B46806.161473152515168 (code B ref 46806); Wed, 03 Mar 2021 00:33:02 +0000 Received: (at 46806) by debbugs.gnu.org; 3 Mar 2021 00:32:05 +0000 Received: from localhost ([127.0.0.1]:54558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHFQr-0003wP-6Q for submit@debbugs.gnu.org; Tue, 02 Mar 2021 19:32:05 -0500 Received: from mail-wm1-f44.google.com ([209.85.128.44]:35979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHFQo-0003un-8Z for 46806@debbugs.gnu.org; Tue, 02 Mar 2021 19:32:03 -0500 Received: by mail-wm1-f44.google.com with SMTP id k66so4484054wmf.1 for <46806@debbugs.gnu.org>; Tue, 02 Mar 2021 16:32:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4UFJ+SuZZKnQ9C2zXYy+GO/5rpy3MThWqqlKZBCY8Ss=; b=gwG0S6dC8DKUoR+FUgdvQ0eNh3FxBgKQj9XN5X6BnOS93jxKC3EPO2SMYPN6oqKgAv ZzganhDvaFR2k6+9Ye8Au5/ZjDB75luyuyR6WEUDt3ZeclYALEJJ5vshiWrE2ejqkCT4 4chxuhb1q6dTpqT+Gtw69H33gV619Pu9hTl2I1xAWeyervFFWUThBWvtYVQK13/sQIEV tnT5CLwWgrIVSZx/0lUJoMpiwpH9eR7SNIETpfSqyeRXQkbf4qgu+M3YiUP1wHtVsNgw LMBNf6MbKKF7sK0vlBwvXL81nYGT3QafJ4/MdMM3ET8IGv2gD0Eu75mhDoInATGuYxle 8GZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4UFJ+SuZZKnQ9C2zXYy+GO/5rpy3MThWqqlKZBCY8Ss=; b=ipgEzooxhmcFO3BGdqbtmlK989q0wBtOP9NhfArzE5uQbcV75QDXHabCkaqFg6gu1N Ck2LgoD4kvKQAXWcObRpzoDt1oNKR+c9L0ZnZbla5iikWaTrjVMBf8/lAjiLw1w+NZbl rNpWPgtxzo5zk7lH7MIyZc9jqD3/XDKQP2L2U2aYYV4lODbl+wY1sBPt2gVaodyBhEhO O6LACPSHF/bhyTI4prPS+gnZGjiO4hLigbjV/vhAbSLePvbU5+yYigFUIIvFWge15HT8 Wbn9vpeTZ/qtvk6+hEkEyiPxMrwtUV7pJnfAHSom4uHIfrxiLFW5RPqeBo4eK23qgKMb AOrQ== X-Gm-Message-State: AOAM532j7IiUCZgS3p3k2LjDDku+Ig3seXRF8MKamkATTUwKAnOGBZXm tXHekHTuijepi7XKP5HGXntrOpGVFz4= X-Google-Smtp-Source: ABdhPJwe4FpR1sm8zh+577CC8lJiQXZhDeLCiIolMbnOmPyRFAVBqhYolTatgsOjsR/MgbrpC5WuOQ== X-Received: by 2002:a1c:f212:: with SMTP id s18mr6453560wmc.133.1614731516311; Tue, 02 Mar 2021 16:31:56 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id o14sm28310602wri.48.2021.03.02.16.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Mar 2021 16:31:55 -0800 (PST) From: zimoun References: <20210227001244.17cc3833@tachikoma.lepiller.eu> <20210228030905.78ccf557@tachikoma.lepiller.eu> <20210228032933.6f84c90a@tachikoma.lepiller.eu> Date: Wed, 03 Mar 2021 01:22:20 +0100 In-Reply-To: <20210228032933.6f84c90a@tachikoma.lepiller.eu> (Julien Lepiller's message of "Sun, 28 Feb 2021 03:29:33 +0100") Message-ID: <86wnuprsqr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614731667; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=4UFJ+SuZZKnQ9C2zXYy+GO/5rpy3MThWqqlKZBCY8Ss=; b=YcgzpdlyW6QKfvIIZK5fQOTgtVp3FOsCV7OCtt2D6fcnnqVScjEfqnX9iMAn7soWT9BdkQ 33hgGeTbrXanxNpiH5iaR7noyo1BDbcHmwmOx/wbNkHamAldfLX2EnhihBCDF2x6NnLa4o nru0or9eKYF/jZ44Qbchb98fZSvrBqXVOv42PrKPXZCNrrSkhjFZrRp0EMrZSynC7vRKCx 1Zdkme0pwRSLPvB/2zJ6YJ8yecFWQPLC5cMFed3ufLtrgotrn4m8f1UAw4543PBBjb11cT L0g2B6RNlAGmPSLx4SGbWXUZRl3qC05bWEsxZw68DbiHYp1kcPnRouVfh1yenA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614731667; a=rsa-sha256; cv=none; b=QHwlDTLRgUZcB+Q2ns8p5Fq2s4EZ0tI7BB35dxnrkaQQTbuj13UDoOVWdng77H8wSiVhNy yajKPbVV8onFm6JeUM/kmY6EmSmHx9o/dSc+MNQumzhTs2U5yOsrEIKeopb/C7At0OoT6s jfMI5DjwqwP7QlNCQtHajskcLoDn6OoGhx4zI+o2W8fJq4u4OUQ7a+IcvwWDwcyOfjFSrg /gVF83Nv1dW8dhzRYhCJUzNxL6Qh15noc9A0ihoCl0qycz031TwZl1LCrP76SBbKqjOsXP Y3QSdpwKcaSizG4kNBEhOEOiYPpZ9Ty4CT82clHbqapletiKBuh/AovUP7GMvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=gwG0S6dC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=gwG0S6dC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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: 9164420993 X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: MugD0Y24Qkv3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Julien, On Sun, 28 Feb 2021 at 03:29, Julien Lepiller wrote: > Of course I forgot to attach the patches ^^' Awesome! > +(define-public camlboot > + (let ((commit "506280c6e0813e0e794988151a8e46be55373ebc") > + (revision "0")) > + (package > + (name "camlboot") > + (version (git-version "0.0.0" revision commit)) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/Ekdohibs/camlboot") > + (commit commit) > + (recursive? #t))) Is the indentation right? Below with my config (which could be wrong). [...] > + (synopsis "OCaml bootstrap") I have no opinion but elsewhere it also appears =C2=ABBootstrap XXX=C2=BB. > + (description "OCaml is written in OCaml. Its sources contain a pre= -compiled > +bytecode version of ocamlc and ocamllex that are used to build the > next version Maybe @code{ocamlc} and @code{ocamlex} > +of the compiler. Camlboot implements a bootstrap for the OCaml > compiler and Missing double space after compiler. Camlboot=E2=80=A6 > +provides a bootstrapped equivalent to these files. > + > +It contains a compiler for a small subset of OCaml written in Guile Sche= me, > +an interpreter for OCaml written in that subset and a manually-written l= exer > +for OCaml. These elements eliminate the need for the binary bootstrap in > +OCaml and can effectively bootstrap OCaml 4.07. > + > +This package produces a native ocamlc and a bytecode ocamllex.") Maybe again @code. LGTM! Thanks again! Cheers, simon --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=indentation.diff Content-Description: indentation.diff diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f2185aeb4e..b8b2f684df 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -115,9 +115,9 @@ (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/Ekdohibs/camlboot") - (commit commit) - (recursive? #t))) + (url "https://github.com/Ekdohibs/camlboot") + (commit commit) + (recursive? #t))) (file-name (git-file-name name version)) (sha256 (base32 @@ -132,13 +132,13 @@ (delete-file "ocaml-src/boot/ocamllex") ;; Ensure writable (for-each - (lambda (file) - (chmod file (logior (stat:mode (stat file)) #o200))) - (find-files "." ".")))))) + (lambda (file) + (chmod file (logior (stat:mode (stat file)) #o200))) + (find-files "." ".")))))) (build-system gnu-build-system) (arguments - `(#:make-flags (list "_boot/ocamlc"); build target - #:tests? #f; no tests + `(#:make-flags (list "_boot/ocamlc") ; build target + #:tests? #f ; no tests #:phases (modify-phases %standard-phases (delete 'configure) --=-=-=--