From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oEnvHG97fmIqXwAAbAwnHQ (envelope-from ) for ; Fri, 13 May 2022 17:38:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OHTIHG97fmLnHwEA9RJhRA (envelope-from ) for ; Fri, 13 May 2022 17:38:23 +0200 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 F2E9738B6D for ; Fri, 13 May 2022 17:38:22 +0200 (CEST) Received: from localhost ([::1]:39542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npXMz-0000Yv-Qr for larch@yhetil.org; Fri, 13 May 2022 11:38:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npXMg-0000UU-G2 for guix-patches@gnu.org; Fri, 13 May 2022 11:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npXMg-0007LY-7D for guix-patches@gnu.org; Fri, 13 May 2022 11:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npXMg-0003Ip-5H for guix-patches@gnu.org; Fri, 13 May 2022 11:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55227] [PATCH core-updates v3 3/8] gnu: commencement: mes-boot: Update to 0.24, build with M2-Planet. Resent-From: "Jan (janneke) Nieuwenhuizen" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 May 2022 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55227 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55227@debbugs.gnu.org Received: via spool by 55227-submit@debbugs.gnu.org id=B55227.165245622312533 (code B ref 55227); Fri, 13 May 2022 15:38:02 +0000 Received: (at 55227) by debbugs.gnu.org; 13 May 2022 15:37:03 +0000 Received: from localhost ([127.0.0.1]:44684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npXLX-0003En-M4 for submit@debbugs.gnu.org; Fri, 13 May 2022 11:37:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npXLO-0003Dr-0Y for 55227@debbugs.gnu.org; Fri, 13 May 2022 11:36:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npXLI-0007G3-Oc; Fri, 13 May 2022 11:36:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=9Jy2MaNbjtZf2MbFQ1mOfZkzJtiE9jLsI8kI3wJzNkc=; b=obP/rTcnexHjZefyTpS6 geOyGstmYvenICLsMwZ5ilLhCMFlZhcLKXSysFyEwjuXGHBbd1WOn9esndEnEbuH85Uf/ImuebNja pGFvuaRfioE0NeIk2KG7bJLJsyu9BpIVXf5QLp5R0eXH+1Dh7tsQi+p9zl47Fhf6wS/qXiPBpSXy4 PxiTa1XsOwXKmr0TaJr2NAKP8/eVofIFaCDVe5Eqe35xxmWfe8ZqQp7HfHzldh2RoXfssUM0TCAMa KB0zjcmGisgHT4biYog+OnNoRmRc7U7wZGQeEz5DDHLmAKZlolYnyYjx48N8dmnlE6ZRwCgHwvVLl F4db+mfVFC51sQ==; Received: from 2a02-a462-da03-1-fa3e-1174-c33f-9485.fixed6.kpn.net ([2a02:a462:da03:1:fa3e:1174:c33f:9485]:47912 helo=drakenbij.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.90_1) (envelope-from ) id 1npXLI-0006qU-Cf; Fri, 13 May 2022 11:36:36 -0400 From: "Jan (janneke) Nieuwenhuizen" Date: Fri, 13 May 2022 17:36:26 +0200 Message-Id: <20220513153631.13052-3-janneke@gnu.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220513153631.13052-1-janneke@gnu.org> References: <20220513153631.13052-1-janneke@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652456303; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=9Jy2MaNbjtZf2MbFQ1mOfZkzJtiE9jLsI8kI3wJzNkc=; b=HIyqlJ/RXumrWoXPEvFmMbB0Mjvo/rVq04orIUKY2VgWMU6u6DEgdS2zFinjs8V6N4exjq VM4lYtIGZs34gRWAtFe1dRaN2IQ/G2jo5o2hLT2vczfC2IMNcqqYN1Fpf67BQSoeWJgAPN Are2FdAV2Wo+iGV1EBPLhsTzH0Vid6WOKf1xbXzEaMFBRtDgMyMvxqy4r5WwNcS3waSkIb grY7IQ7vmNKRf2lN9uHc9unN3RPlrB+/vI2KVgAKT2R2uDxRmTVpu74ZUVzjqTlwmpHDSJ vI+Yh4HcTvd+v9PLnQWPY/bhaFH8fR1W1qs6/0SPLo4uM/JZuswKvI2bEEoWTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652456303; a=rsa-sha256; cv=none; b=cI1yH/99NwewxZcRUyKuZd6tFvnODC1RSLhMvoF5HUYEZCkhsk273JEgQLEN9ygReaBZAx XZBXDBr+8GirkrCZyl5l68PoWMLgJWJmJQVD7ILxM0BU8w1CxJGd+SfgWCNzGLUK8JXOul Yv10LVsWyJev7MW3GWA/a+pkCrIlv4SS+6noYX3Fwrjr++VcHiu2TFx1SU5wPsMbew3jaO wzr0IB5sgTlOJHjhpqtrsDpThCWzskKOHwtGTqxITOFlHnNzsWgsolhlARof9eru0/JxVg KyTTpfVFQk8d9snZPkmCfVVgltX1qtY51Lq5wKLCkiygPOR8CWiCwyDQyXuAuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="obP/rTcn"; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="obP/rTcn"; dmarc=pass (policy=none) header.from=gnu.org; 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: F2E9738B6D X-Spam-Score: -3.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9609zYBlm1Wf * gnu/packages/commencement.scm (mes-boot)[source]: Update to 0.24. [native-inputs]: Add stage0-posix, remove %bootstrap-mescc-tools and %bootstrap-mes-rewired, and update nyacc to 1.00.2. --- gnu/packages/commencement.scm | 48 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index cf3b356543..8a9bc3565f 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -535,27 +535,27 @@ (define mes-boot (package (inherit mes) (name "mes-boot") - (version "0.22") + (version "0.24") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mes/" "mes-" version ".tar.gz")) (sha256 (base32 - "0p1jsrrmcbc0zrvbvnjbb6iyxr0in71km293q8qj6gnar6bw09av")))) + "00lrpm4x5qg0l840zhbf9mr67mqhp8gljcl24j5dy0y109gf32w2")))) (inputs '()) (propagated-inputs '()) (native-inputs - `(("nyacc-source" ,(origin (inherit (package-source nyacc-0.99)) - (snippet #f))) - ("mes" ,%bootstrap-mes-rewired) - ("mescc-tools" ,%bootstrap-mescc-tools) + `(("m2-planet" ,stage0-posix) + ("nyacc-source" ,(bootstrap-origin + (origin (inherit (package-source nyacc-1.00.2)) + (snippet #f)))) ,@(%boot-gash-inputs))) (arguments `(#:implicit-inputs? #f #:tests? #f #:guile ,%bootstrap-guile - #:strip-binaries? #f ; binutil's strip b0rkes MesCC/M1/hex2 binaries + #:strip-binaries? #f ;no strip yet #:phases (modify-phases %standard-phases (add-after 'unpack 'unpack-seeds @@ -564,44 +564,42 @@ (define mes-boot (with-directory-excursion ".." (invoke "tar" "-xvf" nyacc-source))))) (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref %outputs "out")) - (gash (assoc-ref %build-inputs "bash")) - (mes (assoc-ref %build-inputs "mes")) + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gash (assoc-ref inputs "bash")) + (mes (assoc-ref inputs "mes")) (dir (with-directory-excursion ".." (getcwd)))) - (setenv "AR" (string-append "gash " (getcwd) "/scripts/mesar")) - (setenv "BASH" (string-append gash "/bin/bash")) - (setenv "CC" (string-append mes "/bin/mescc")) - (setenv "GUILE_LOAD_PATH" - (string-append - mes "/share/mes/module" - ":" dir "/nyacc-0.99.0/module")) + (setenv "GUILE_LOAD_PATH" (string-append + dir "/nyacc-1.00.2/module")) (invoke "gash" "configure.sh" (string-append "--prefix=" out) - (string-append "--host=i686-linux-gnu"))))) + "--host=i686-linux-gnu")))) (replace 'build (lambda _ - (invoke "sh" "bootstrap.sh"))) + (invoke "gash" "bootstrap.sh"))) (delete 'check) (replace 'install - (lambda _ + (lambda* (#:key outputs #:allow-other-keys) (substitute* "install.sh" ; show some progress ((" -xf") " -xvf") (("^( *)((cp|mkdir|tar) [^']*[^\\])\n" all space cmd) (string-append space "echo '" cmd "'\n" space cmd "\n"))) - (invoke "sh" "install.sh") + (invoke "gash" "install.sh") ;; Keep ASCII output, for friendlier comparison and bisection - (let* ((out (assoc-ref %outputs "out")) + (let* ((out (assoc-ref outputs "out")) (cache (string-append out "/lib/cache"))) (define (objects-in-dir dir) (find-files dir (lambda (name stat) (and (equal? (dirname name) dir) - (or (string-suffix? ".o" name) + (or (string-suffix? ".M1" name) + (string-suffix? ".hex2" name) + (string-suffix? ".o" name) (string-suffix? ".s" name)))))) (for-each (lambda (x) (install-file x cache)) - (append (objects-in-dir ".") + (append (objects-in-dir "m2") + (objects-in-dir ".") (objects-in-dir "mescc-lib"))))))))) (native-search-paths (list (search-path-specification -- 2.35.1