From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QK6PO9mktmSqFQAASxT56A (envelope-from ) for ; Tue, 18 Jul 2023 16:42:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0IBpO9mktmR/EQAAauVa8A (envelope-from ) for ; Tue, 18 Jul 2023 16:42:33 +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 9DAC566AB1 for ; Tue, 18 Jul 2023 16:42:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=P7Gr7Jdw; 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=1689691353; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=hURunyqjLTI9mjoAGaongX3G37onxKsAfOeXLRx2nCM=; b=E7RZqfRRhIW1JaP3Vr5uuyOUgACy+UoJICxCS7xZO56O/X+DjYAHRy7xR1nbiPkuXszYCd q7xygxrqwZ2mcxRVNOT/uqHd8Px/SQtKgcQJXlYJQnOqyij2ILeKUQUlQX8sFVfTPuYqnE zfCpsiJ0yGpIDhQSSN2vQ/NvFVgyh4g1jEEQMfU9z2gDoAEghoPRzy8umSK6U0XX4xb0Ad ps4aq7Og8/jTwlaI6xz6gqyaIvj97xg87dfGnyXFQNaGRyBZWzyr5aPhK7okP7bMcFhN33 UTclXZlduS2Kym0nITE9y52XMugU3w1KxtYvU1lRv9Lx6L13jWn7cYn6BvH/3Q== 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=P7Gr7Jdw; 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-Seal: i=1; s=key1; d=yhetil.org; t=1689691353; a=rsa-sha256; cv=none; b=EtuG9a6LvBsjSVaGsC2LEIQqDjnN26t6VAVIgBDVf5OM/IIqQAmvDewCgiVuNzbHU7LDZ0 dA5konU9n+icVdxKWjx/pEHLXd1iGxDxPjo3yeU/tF/O9bUCq00LRibAIsTLxTY+zlZnfO TBw4DSKLTjCh7WnB58vgzzxys9OG/QrOdhAv2i7Xw2w7HvqdChSJEup/bapyzy1+umnTIp 56mPNYvnpHpgxkMu2RxRmw1bUxYzw1RwQFpbwotsAtIsC5CZAoKC/jUCb7aJ5m7ySYxXu0 jKw0Erx7HdpgeA3jJkiHN3Z6GVqLVE4Yz25Z9izgjwitbhAKuudZ0QhXFa9U3w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLltz-0007kS-Ld; Tue, 18 Jul 2023 10:42:11 -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 1qLlty-0007iR-DG for guix-patches@gnu.org; Tue, 18 Jul 2023 10:42:10 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qLlty-0000wC-4z for guix-patches@gnu.org; Tue, 18 Jul 2023 10:42:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLltr-0006dD-Vp; Tue, 18 Jul 2023 10:42:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64711] [PATCH 11/43] gnu: python: Support native build on the Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 18 Jul 2023 14:42:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64711 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64711@debbugs.gnu.org Cc: Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 64711-submit@debbugs.gnu.org id=B64711.168969127425217 (code B ref 64711); Tue, 18 Jul 2023 14:42:03 +0000 Received: (at 64711) by debbugs.gnu.org; 18 Jul 2023 14:41:14 +0000 Received: from localhost ([127.0.0.1]:53764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLlt3-0006YU-KK for submit@debbugs.gnu.org; Tue, 18 Jul 2023 10:41:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLlsx-0006WX-Rf for 64711@debbugs.gnu.org; Tue, 18 Jul 2023 10:41:08 -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 1qLlss-0000aE-Jm; Tue, 18 Jul 2023 10:41:02 -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=hURunyqjLTI9mjoAGaongX3G37onxKsAfOeXLRx2nCM=; b=P7Gr7Jdwd+fcjMEablMv LwZbHIC7tARffG99/B76VJRO6CsyJezRLzNbDd17YCAyQSqcjZfaqJ2bIDa6WZ5FSbBXwZxOjt0tx 7EY3wYB4ndT7clMQ7QZFT1lAthYQtWCcP5E8JgIIm0woCMQQFFqKK5W4+HV7ubuzK4u4ad1O1PHtf KafL/FKoFEpVbU7jS0XJ4Kkc8GGSka1qV6F8Qtona9hv7ENXkvjXwFQVTxosC+Y4e/d9j4g5o2IHB oz+xK9LT7Gykuz2kYdsPTbq8FfHejO+oN73aQhaDpxpAnTjTb78P7FhV85U3UW0IiFkQRP7UyIFaL aXe8doUOuxh5YQ==; Received: from 2a02-a462-da03-1-aeb0-2f5e-e96a-dccb.fixed6.kpn.net ([2a02:a462:da03:1:aeb0:2f5e:e96a:dccb] helo=drakenpad.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.90_1) (envelope-from ) id 1qLlss-0004hp-5x; Tue, 18 Jul 2023 10:41:02 -0400 From: Janneke Nieuwenhuizen Date: Tue, 18 Jul 2023 16:40:04 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 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 X-Spam-Score: -3.84 X-Migadu-Queue-Id: 9DAC566AB1 X-Migadu-Spam-Score: -3.84 X-Migadu-Scanner: mx0.migadu.com X-TUID: 4WE62h+axHPu Running "test_concurrent_futures" and "test_venv" freeze the Hurd. Tests "test_multiprocessing_forkserver" and "test_multiprocessing_spawn" run over 10mins. Debian simply skips all tests on the Hurd. * gnu/packages/python.scm (python-3.10)[arguments]: When building for the Hurd, add hanging and failing to #:make-flags's --exclude flag. Also, add 'disable-multi-processing' phase to avoid compileall.py hang during install. --- gnu/packages/python.scm | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 302f995b0f..51d5f598d7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -457,7 +457,7 @@ (define-public python-3.10 (format #f "TESTOPTS=-j~d" (parallel-job-count)) ;; test_mmap fails on low-memory systems " --exclude test_mmap test_socket" - ,@(if (target-hurd?) + ,@(if (system-hurd?) '(" test_posix" ;multiple errors " test_time" " test_pty" @@ -487,12 +487,33 @@ (define-public python-3.10 " test_open_unix_connection" " test_open_unix_connection_error" " test_read_pty_output" - " test_write_pty") + " test_write_pty" + " test_concurrent_futures" ;freeze + " test_venv" ;freeze + " test_multiprocessing_forkserver" ;runs over 10min + " test_multiprocessing_spawn" ;runs over 10min + " test_builtin" + " test_capi" + " test_dbm_ndbm" + " test_exceptions" + " test_faulthandler" + " test_getopt" + " test_importlib" + " test_json" + " test_multiprocessing_fork" + " test_multiprocessing_main_handling" + " test_pdb " + " test_regrtest" + " test_sqlite") '())))) ((#:phases phases) `(modify-phases ,phases ,@(if (system-hurd?) - `((delete 'patch-regen-for-hurd)) ;regen was removed after 3.5.9 + `((delete 'patch-regen-for-hurd) ;regen was removed after 3.5.9 + (add-after 'unpack 'disable-multi-processing + (lambda _ + (substitute* "Makefile.pre.in" + (("-j0") "-j1"))))) '()) (add-after 'unpack 'remove-windows-binaries (lambda _ -- 2.40.1