From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iGgKN6fyZWT2oAAASxT56A (envelope-from ) for ; Thu, 18 May 2023 11:40:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WDX/NqfyZWQSUwEAauVa8A (envelope-from ) for ; Thu, 18 May 2023 11:40:55 +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 A5C0814C17 for ; Thu, 18 May 2023 11:40:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pza7C-0002LP-LU; Thu, 18 May 2023 05:40:06 -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 1pza7A-0002Jm-Et for guix-patches@gnu.org; Thu, 18 May 2023 05:40:04 -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 1pza7A-0006bz-6U for guix-patches@gnu.org; Thu, 18 May 2023 05:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pza7A-0004JU-1I for guix-patches@gnu.org; Thu, 18 May 2023 05:40:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63527] [PATCH v4 5/8] gnu: hurd: Add rumpkernel. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 May 2023 09:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63527 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63527@debbugs.gnu.org Received: via spool by 63527-submit@debbugs.gnu.org id=B63527.168440277416456 (code B ref 63527); Thu, 18 May 2023 09:40:03 +0000 Received: (at 63527) by debbugs.gnu.org; 18 May 2023 09:39:34 +0000 Received: from localhost ([127.0.0.1]:52076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pza6f-0004HG-W2 for submit@debbugs.gnu.org; Thu, 18 May 2023 05:39:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pza6Z-0004Fy-R3 for 63527@debbugs.gnu.org; Thu, 18 May 2023 05:39:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pza6U-0006MW-KE; Thu, 18 May 2023 05:39:22 -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=j3V/fbemwUhVUgTMAoECVJXtUrqoUyzUYYP/EDAI6y8=; b=lMNVnUUeQgE8MUEJPVKx 5msfzSgplqg8rkRU3l0oDwgtzWv4L9cvmNbN7+WYZqA0yz1IMugicwkzCoD9aOLGwb6YsaGILiVbh JH1n1ORZdonnAJch3U0zsTNOVOYIEwIqprj7iVP7R6uY+r65xWT878q2zxhDoMM3e8egoVpqsQ4Fa ulbhuw5q6TTOZpaXa3r7YWNoutqObuHpYUgnzbt32M/BQ6lRmNRF3mrkhg77kJQa158L6jwP7MMb+ +oEuDWS6B2tFD2Cvn6MHoEoLudpYqXIMg8g7PbjjGxIs98HVHSIzuV28iSr3wUHiLm0wG/MslevcH dTVWid53Y1KNzQ==; Received: from [2a02:a462:da03:1:2701:7f81:a736:4607] (helo=drakenpad.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.90_1) (envelope-from ) id 1pza6U-0006zE-7V; Thu, 18 May 2023 05:39:22 -0400 From: Janneke Nieuwenhuizen Date: Thu, 18 May 2023 11:39:00 +0200 Message-Id: <8a33ba6a7672c2deb7e553bd9f95c8b22e3f4a58.1684402361.git.janneke@gnu.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684402855; a=rsa-sha256; cv=none; b=c12IntJ0OMcV3orsQXng9agHYlxOZhpG9LVj3w02hfbbGpvKnIJf5SEgkq3xyt46PCSFq+ YTN3YDcg72yVl+aBDmqa3VdIlb2I78EhCRPE7tCyhaGZvNtmC5qr+YZPiKmnfyzfs1A5Zg sZEY4kq4dEFFLLSo17FvvN7sQvzBzY64iOSKZgBPeELlexRQUqMtSOxcNtt1huPGqwMQ8d 7H7M12W+AsPG03NCBWnTyD7Ldte6YY62SBmB6PXG/QHw6fX/I5345etQ3OE/zt1xSbMiW6 Ze2ntBr06+XJBYZo+h7EmbqVjaqaa2XAjppZYCeX/gGMHVHJ8OoeAUbmXIuiSQ== 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=lMNVnUUe; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684402855; 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=j3V/fbemwUhVUgTMAoECVJXtUrqoUyzUYYP/EDAI6y8=; b=FJnvj4+HW+I45J1Xsp7TWZGG1KA9WVuFDffjUx03hKB1hcnvk8ZhrjStFaUFMJz6WuW+NE gez/qMt4hty6LIfQhSgh9tvEdbU97Jc2U3nggusuSx9ebNd8Lt8nOAVs9nqQZ3M8MLwb7+ JDvKJnB1Rlon207Lqvg45EI+9hTJqoSsuq63vhLvggnaNJlfZlvjYfpZfNLNx8UVLwKEvC 2erAzsjyz4sXYcRLM3KTEVTt3UjWWdwqjYyghrS+z6e9Rz854gO3rd7xRKiPCGVnqcvHDI qNTgt/ynIpDkikcn8oF672sq2KFEcevP/2EI3JGifchQNnut2/K/XvBHcuQJLA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=lMNVnUUe; 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: -2.59 X-Spam-Score: -2.59 X-Migadu-Queue-Id: A5C0814C17 X-TUID: 03TMRAat5jJ+ * gnu/packages/hurd.scm (hurd)[inputs]: Add rumpkernel. [arguments]: Rename `prepare-dde' phase to 'prepare-addons'. Add "rumpdisk" directory. Add --enable-static-progs=... option to #:configure-flags. --- gnu/packages/hurd.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index c7ea86b266..aaa9863a10 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -356,7 +356,7 @@ (define-public hurd (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'prepare-dde + (add-after 'unpack 'prepare-addons (lambda* (#:key native-inputs inputs #:allow-other-keys) ;; First we import the things we want from dde. (for-each make-file-writable (find-files ".")) @@ -370,7 +370,10 @@ (define-public hurd ;; Makefile. libdde_linux26 is built later in its own phase. (substitute* "Makefile" (("libbpf ") - "libbpf libmachdevdde libddekit")))) + "libbpf libmachdevdde libddekit rumpdisk")) + (substitute* "rumpdisk/Makefile" + (("rumpdev_ahcisata" all) + (string-append all " rumpdev_ata"))))) (add-after 'unpack 'find-tirpc (lambda* (#:key inputs #:allow-other-keys) (for-each (lambda (var) @@ -533,6 +536,7 @@ (define-public hurd #:configure-flags ,#~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib") + "--enable-static-progs=ext2fs,iso9660fs,rumpdisk,pci-arbiter,acpi" "--disable-ncursesw" "--without-libbz2" "--without-libz" @@ -541,7 +545,11 @@ (define-public hurd ;; clnt_create "ac_func_search_save_LIBS=-ltirpc" "ac_cv_search_clnt_create=false" - "CFLAGS=-fcommon"))) + "CFLAGS=-fcommon") + #:make-flags + (list (string-append "RUMPPATH=" + (assoc-ref %build-inputs "rumpkernel") + "/lib")))) (build-system gnu-build-system) (inputs `(("libgcrypt" ,libgcrypt) ;for /hurd/random @@ -557,7 +565,8 @@ (define-public hurd ("coreutils" ,coreutils) ("sed" ,sed) ("grep" ,grep) - ("util-linux" ,util-linux))) + ("util-linux" ,util-linux) + ("rumpkernel" ,rumpkernel))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) -- 2.39.2