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 ms9.migadu.com with LMTPS id aPI0Kl36ImQrTAEASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 16:31:57 +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 aJoZKl36ImRSrAAA9RJhRA (envelope-from ) for ; Tue, 28 Mar 2023 16:31:57 +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 65EB89795 for ; Tue, 28 Mar 2023 16:31:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="I/Eop3gR"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680013917; 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: 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=HPSFH56QlKGTtL4VFJDrlUlJqjTPXUn7cOGrs8CZnQk=; b=nvTct1hucIRpyzhjyavayAoCOmKO3jRziFjOfEDGKgdM0DrqP82ZCgIJrDBo3gEBPz7zuH hv5NU8DPMX8jxBoHCAeh1RSR1QZ8AXIbQPBxLr1+moOf4Ekq2uENeCNNjtRjvXM7dzApdO a6pMiYB0gd5Cn7TG3HUYPmSu0UmeqLrfBIpnp9bFW7yAqdqakO/ORPGMCYvcVKxIFAf9CZ 5qlf6+ypN0S92uaMHGfQbCsRp9L/gOHmrzw8XVLTOlGqNfh3OgeGebg3HwIMrjLTpB1ZJ3 JZ6ReRyidLh/5lr05Gst9KJ6ZOBH2z3IVNySPcRQ18gEYB7t/hDptOaglVtwgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680013917; a=rsa-sha256; cv=none; b=CGc6DEew9po9+J5G1GD/rD/5e3A9e0+R0/qzFWBSD3pn65M34hIQR1yLXpddOQkyruAi8x NWj2aU0agoVaRUaJU1xGcmj58I1xjctKtIV4AEwiNnuuj6ZMTSIHNAMwnJKD8SpaYjs54C k3drJrTJboulIj9CLryvNEw49VrS+ovSZLpfEnYxFQvQoWp3E4CLPy1l+mXIU1WUNoZMBP bf7fFXcr0VAFZmDna8ELuL4OoR1vo4dHzEcVvXbQvwmxc4Dcv/La4VxNEmBVonpZyE5mlK RUnanxpJeBNmDJ2KASUW1zVZHjja7sJhQokTMN7fBqNMFMW9IFsrz87MUdMAwA== 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="I/Eop3gR"; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phAKs-0004dc-QH; Tue, 28 Mar 2023 10:30: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 1phAKr-0004dE-NB for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30: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 1phAKr-0006q6-Dk for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phAKr-0002aa-8V; Tue, 28 Mar 2023 10:30:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62307] [PATCH core-updates v2 00/20] Update Hurd and fix build failures Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: dev@jpoiret.xyz, guix-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 14:30:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62307 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62307@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Josselin Poiret X-Debbugs-Original-Xcc: Josselin Poiret Received: via spool by 62307-submit@debbugs.gnu.org id=B62307.16800137649662 (code B ref 62307); Tue, 28 Mar 2023 14:30:05 +0000 Received: (at 62307) by debbugs.gnu.org; 28 Mar 2023 14:29:24 +0000 Received: from localhost ([127.0.0.1]:50384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAKB-0002Vf-ES for submit@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAK6-0002UK-Pq for 62307@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:20 -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 1phAK0-0006Mv-LB; Tue, 28 Mar 2023 10:29:12 -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=HPSFH56QlKGTtL4VFJDrlUlJqjTPXUn7cOGrs8CZnQk=; b=I/Eop3gR4WYnzWPPSpwz DA52BMGdvd4EhMjaQVMijJCa2zowNUcmZO9VNrSQWzIlWdTWXSgjHw+79DTDrDtjpjB33ScuQ872n d5ZIfdbBUW41nJN1I2l0nLljd2KFrm0el3eOsSMHq6pxX66Khh8UCJoTJ402mBlHLw3mnbevIq64+ biey+2NJcwPiHfPO19m/SEYAEOvcybLehvrcKvDzrmQPwf1exbr0HhshwQKp4YYfiaXMOOuTEzCeT kjQbTqHong9k+93PwHkvfr2LGFErJCTpl7CHnv+IqYAQ8oUtL2yg03+L7dFrFjl1kXyeSQl0B0HwN BDOnmdwH95Q69Q==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAJv-00026Y-86; Tue, 28 Mar 2023 10:29:12 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 28 Mar 2023 16:28:32 +0200 Message-Id: <20230328142852.26635-1-ludo@gnu.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <87pm90bzva.fsf_-_@gnu.org> References: <87pm90bzva.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: X-Migadu-Queue-Id: 65EB89795 X-Spam-Score: -2.53 X-Migadu-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: UMzryt2J+YTP Hello Guix! I have good news and bad news. The bad news is that an image built with: ./pre-inst-env guix system image -t hurd-qcow2 \ gnu/system/examples/bare-hurd.tmpl fails to boot: it hangs right at: (system* "/hurd/mach-defpager") Basically, ‘system*’ doesn’t work at the early-boot REPL. This was not surprising given , but it is now that I’ve fixed it. I’ve also confirmed that the same binary works on a “current” (master) childhurd, which means it could be something with the new ‘exec’ server or anything in between. I think we can keep investigating that separately. The good news is that ‘--target=i586-pc-gnu’ is back to life. :-) Compared to Josselin’s initial patch set, I made the following changes: • MiG is built from a tarball (which I’ll upload to ftp.gnu.org/gnu/guix/mirror after review); building from Git introduces a circular dependency in native i586-gnu builds, hence the tarball. • The glibc ‘configure’ issue is worked around in a less invasive way as I proposed earlier. • The GCC/libstdc++ patch application is likewise simplified, without introducing a world rebuild. • ‘system*’ in Guile is fixed. • ‘linux-pam’ builds again on GNU/Hurd. If there are no objections I’d like to push that soonish so we can move on with the branch. Thoughts? Ludo’. Josselin Poiret (12): gnu: gcc@11: Patch libpthread on GNU/Hurd. gnu: cross-base: Factor out cross-mig. gnu: cross-base: Add cross arguments to hurd derivatives. gnu: cross-base: Removed useless inputs to xhurd-core-headers. gnu: mig: Update to 1.8+git20220827. gnu: gnumach: Update to 1.8+git20220827. gnu: hurd: Update to 3ff7053. gnu: hurd: Remove useless glibc/hurd-headers input. gnu: gnumach, hurd-headers, hurd: Switch to using cross-mig. gnu: hurd: Update DDE and use libdde_linux26. gnu: mig/32-bit: Remove. system: hurd: Use shepherd-0.8 in the package list. Ludovic Courtès (8): gnu: glibc: Work around broken GNU Mach header detection. gnu: cross-base: Use gexps for 'cross-gcc-arguments'. gnu: linux-pam: Switch to gexps. gnu: linux-pam: Allow compilation on GNU/Hurd. gnu: guile-static: Switch to gexps. gnu: guile: Switch to gexps. gnu: guile-readline: Switch to gexps. gnu: guile: Fix 'posix_spawn' usage for GNU/Hurd. gnu/local.mk | 9 +- gnu/packages/base.scm | 19 +- gnu/packages/cross-base.scm | 217 +++-- gnu/packages/gcc.scm | 13 +- gnu/packages/guile.scm | 190 ++-- gnu/packages/hurd.scm | 307 +++--- gnu/packages/linux.scm | 51 +- gnu/packages/make-bootstrap.scm | 58 +- .../gcc-11-libstdc++-hurd-libpthread.patch | 62 ++ ...ng-const_mach_port_name_array_t-type.patch | 32 + .../patches/guile-hurd-posix-spawn.patch | 44 + ...rd-add-without-rump-configure-option.patch | 82 ++ gnu/packages/patches/hurd-cross.patch | 33 - ...f-read-write-and-readables-methods-2.patch | 155 +++ ...-of-read-write-and-readables-methods.patch | 891 ++++++++++++++++++ gnu/packages/patches/hurd-xattr.patch | 53 -- .../patches/mig-cpu.h-generation.patch | 16 + gnu/system/hurd.scm | 2 +- 18 files changed, 1773 insertions(+), 461 deletions(-) create mode 100644 gnu/packages/patches/gcc-11-libstdc++-hurd-libpthread.patch create mode 100644 gnu/packages/patches/gnumach-add-missing-const_mach_port_name_array_t-type.patch create mode 100644 gnu/packages/patches/guile-hurd-posix-spawn.patch create mode 100644 gnu/packages/patches/hurd-add-without-rump-configure-option.patch delete mode 100644 gnu/packages/patches/hurd-cross.patch create mode 100644 gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods-2.patch create mode 100644 gnu/packages/patches/hurd-fix-types-of-read-write-and-readables-methods.patch delete mode 100644 gnu/packages/patches/hurd-xattr.patch create mode 100644 gnu/packages/patches/mig-cpu.h-generation.patch base-commit: 68793b702e4295d011c89e72826fd15ce18e0b95 -- 2.39.2