From patchwork Mon May 22 09:04:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 50226 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 891AB27BBE9; Mon, 22 May 2023 10:06:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6320A27BBE2 for ; Mon, 22 May 2023 10:06:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q11UH-0001xv-KJ; Mon, 22 May 2023 05:05:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q11TV-0001cn-QC for guix-patches@gnu.org; Mon, 22 May 2023 05:05:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q11TU-0004Er-Gb for guix-patches@gnu.org; Mon, 22 May 2023 05:05:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q11TU-00077t-AN for guix-patches@gnu.org; Mon, 22 May 2023 05:05:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63641] [PATCH 7/8] gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 May 2023 09:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63641 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63641@debbugs.gnu.org Cc: Josselin Poiret Received: via spool by 63641-submit@debbugs.gnu.org id=B63641.168474627527295 (code B ref 63641); Mon, 22 May 2023 09:05:04 +0000 Received: (at 63641) by debbugs.gnu.org; 22 May 2023 09:04:35 +0000 Received: from localhost ([127.0.0.1]:33550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q11T1-000764-1L for submit@debbugs.gnu.org; Mon, 22 May 2023 05:04:35 -0400 Received: from jpoiret.xyz ([206.189.101.64]:39588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q11Sx-00075Z-Rz for 63641@debbugs.gnu.org; Mon, 22 May 2023 05:04:32 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id E82EF18540C; Mon, 22 May 2023 09:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1684746271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BJDE+n9PCg00TVHiPJ90LijYwekoZauCWgpw6EM4j9A=; b=jVyJXFiX7iZBxKAobhRxsTdot4a3a6dBN07g6OJdLhSNYLvqlcW4MRfBXJHQLt2J2POeOt N8/CaCq6Z/jZJ0uxqPsxSQ8pnFAvMpNI57vZpTZb5MI6lX+/6gJnoglLAbqYOfw7wf0ZeK 5sI0VQ73gC/tSeOuOzuH2k++3Now8KUoZapATuc7o+yTtBoEKBqv96BqOVEoI3QYkfystl /w4mbDmzSTMB44523O96wtXAEVy7zhNDRxCIPqM7ZZn3T29vGADOC8lWmcMzFX+J5ddU/U 19Mge9t5cppqjSJyUFkpJZ0hJhXvqAIlvVCzxtRnbKlQHUBMkaA9x9gU7XRzVQ== Date: Mon, 22 May 2023 11:04:17 +0200 Message-Id: <84209beabc07d273034f85ce97841519188daa1c.1684745752.git.dev@jpoiret.xyz> In-Reply-To: References: MIME-Version: 1.0 X-Spamd-Bar: / Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz 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: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Patchwork-Original-From: Josselin Poiret via Guix-patches via From: Josselin Poiret Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Josselin Poiret * gnu/packages/hurd.scm (mig): Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3. --- gnu/packages/hurd.scm | 74 +++++++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 38 deletions(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index d44962ae55..61d8774075 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -98,49 +98,47 @@ (define-public gnumach-headers (license gpl2+))) (define-public mig - (package - (name "mig") - (version "1.8+git20220827") - (source (origin - (method url-fetch) - ;; XXX: Version 2.35 of glibc can only be built with an - ;; unreleased version of MiG: - ;; . - ;; It cannot be fetched from Git though, as the extra dependency - ;; on Autoconf/Automake would complicate bootstrapping. - (uri (string-append "mirror://gnu/guix/mirror/mig-" - version ".tar.gz")) - (sha256 - (base32 - "163d37s9lscd6zxyfng421m9nl857464mgjj90xsrcl5ykbng5p2")) - (patches (search-patches "mig-cpu.h-generation.patch")))) - (build-system gnu-build-system) - ;; Flex is needed both at build and run time. - (inputs (list gnumach-headers flex)) - (native-inputs (list flex bison)) - (arguments - (list #:tests? #f - #:phases - #~(modify-phases %standard-phases - (add-after 'install 'avoid-perl-dependency - (lambda* (#:key build inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - ;; By default 'mig' (or 'TARGET-mig') uses Perl to - ;; compute 'libexecdir_rel'. Avoid it. - (substitute* (find-files bin "mig$") - (("^libexecdir_rel=.*") - "libexecdir_rel=../libexec\n")))))))) - (home-page "https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html") - (synopsis "Mach 3.0 interface generator for the Hurd") - (description - "GNU MIG is the GNU distribution of the Mach 3.0 interface generator + (let ((revision "1") + (commit "04bfe7a91223ba15d868f7165e49328b1c6e86c3")) + (package + (name "mig") + (version (git-version "1.8" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/hurd/mig.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zw2w3hnz76f9602znshciqabylmvavx0h04y01qjlmhd9wh8iw5")))) + (build-system gnu-build-system) + ;; Flex is needed both at build and run time. + (inputs (list gnumach-headers flex)) + (native-inputs (list autoconf automake flex bison)) + (arguments + (list #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'avoid-perl-dependency + (lambda* (#:key build inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + ;; By default 'mig' (or 'TARGET-mig') uses Perl to + ;; compute 'libexecdir_rel'. Avoid it. + (substitute* (find-files bin "mig$") + (("^libexecdir_rel=.*") + "libexecdir_rel=../libexec\n")))))))) + (home-page "https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html") + (synopsis "Mach 3.0 interface generator for the Hurd") + (description + "GNU MIG is the GNU distribution of the Mach 3.0 interface generator MIG, as maintained by the GNU Hurd developers for the GNU project. You need this tool to compile the GNU Mach and GNU Hurd distributions, and to compile the GNU C library for the Hurd. Also, you will need it for other software in the GNU system that uses Mach-based inter-process communication.") - (license gpl2+))) + (license gpl2+)))) (define-public hurd-headers ;; This commit is now slightly behind 0.9.git20220818 as this one needs a