From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AF0LBs0Wl2UyXgEAkFu2QA (envelope-from ) for ; Thu, 04 Jan 2024 21:36:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UJOmOcwWl2X7zwAAe85BDQ (envelope-from ) for ; Thu, 04 Jan 2024 21:36:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704400588; 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; bh=PKjubANDX80SENb9z3FcU7Tl3aVUareyalEzTEvb5YA=; b=ozTtG5FwVZ4+7gz8TpTezKrs0tC3r+Fkv5E7lOwOBsvGu/Xn+Uyre6LpNr1GShKXpZO9uA ksweNEt5TvCWBMN6b+8GID0lv+E9jNoA6zcv6c+rULhCVd8Ol1dyBt6wYdYFKpLd4Csj5O v/bKFGi4928HPOlIw64w6EFptInCV8WjEAwd6vPdOGv9dq532hyCKUR+o5lJJ6vIVDHm7L e3YH/Sbgn2owi9PGrzGPq6Tbi7ou/7QAntA7lFLQD+Mz7Fy8moS4EXHZTOP5aiT4dgoa5M E2sfLLY8BgLhpqlzws/DeNzUCVUV2ob+YGOg5FFOgp4NrfsgZzNIERiCzLN+nw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704400588; a=rsa-sha256; cv=none; b=AWGpEhJdsRPPLg0DH6mARdLU2OnQTBPwq0oaBsRMzNerxrvzk8pfX7uppLKvAGVsvCTJaL pGfIihdr85AMp/bjQSxu2WrC+MllHaVXm00jVxc6eeDZHS43tcAoXTQmmbW9+Vo/1M2oxt FFPgkzg2jZx5L3aqzU3FTo+E1HSsnRUEzqeb7yNzJpkFpTIzma+ICZWRg2PANqESNq8rxW jdv0fvLpUfBw31o0sm50sr1xbEZeX5YhyKvX18FpHVy8VCs0chukZYaJTkzvubxoKpMcTF c4SuoeCEY8PyKSe2+pFD/OnkU7rvedD/K0bpopgoQIxRHMhAnr6cfzU8tdyJ7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none 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 EFD3E41B98 for ; Thu, 4 Jan 2024 21:36:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLURe-0006wx-85; Thu, 04 Jan 2024 15:36:02 -0500 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 1rLURb-0006eQ-FQ for bug-guix@gnu.org; Thu, 04 Jan 2024 15:35:59 -0500 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 1rLURb-00068z-76 for bug-guix@gnu.org; Thu, 04 Jan 2024 15:35:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLURe-0008BP-0e for bug-guix@gnu.org; Thu, 04 Jan 2024 15:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#66173: [PATCH 0/2] unknown-horizons: Fix build, runtime errors References: In-Reply-To: Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Jan 2024 20:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66173 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66173@debbugs.gnu.org Received: via spool by 66173-submit@debbugs.gnu.org id=B66173.170440051831370 (code B ref 66173); Thu, 04 Jan 2024 20:36:01 +0000 Received: (at 66173) by debbugs.gnu.org; 4 Jan 2024 20:35:18 +0000 Received: from localhost ([127.0.0.1]:55798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUQw-00089o-FF for submit@debbugs.gnu.org; Thu, 04 Jan 2024 15:35:18 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:36966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUQr-00089H-Gq for 66173@debbugs.gnu.org; Thu, 04 Jan 2024 15:35:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 1740665A6A for <66173@debbugs.gnu.org>; Thu, 4 Jan 2024 20:34:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UljS2U8DeuAG for <66173@debbugs.gnu.org>; Thu, 4 Jan 2024 20:34:33 +0000 (UTC) Received: from jupiter.smallsystems.net (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 9F7D6659ED for <66173@debbugs.gnu.org>; Thu, 4 Jan 2024 20:34:33 +0000 (UTC) From: Simon South Date: Thu, 4 Jan 2024 15:33:54 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.97 X-Spam-Score: -4.97 X-Migadu-Queue-Id: EFD3E41B98 X-Migadu-Scanner: mx11.migadu.com X-TUID: hKYzsSHcc8F/ This patch series fixes unknown-horizons, a real-time strategy game, by applying upstream commits that allow the game and its engine to build and run using recent versions of Python. This also resolves issue #54815, "Unknown Horizons 2019.1 fails to start"[0]. I've tested this on AArch64 and x86-64 and everything seems fine: The game starts as expected using ./pre-inst-env guix shell unknown-horizons -- unknown-horizons -- Simon South simon@simonsouth.net [0] https://issues.guix.gnu.org/54815 Simon South (2): gnu: fifengine: Fix runtime error when using Python 3.9 or newer. gnu: unknown-horizons: Fix build and runtime errors. gnu/local.mk | 3 + gnu/packages/games.scm | 7 +- .../patches/fifengine-python-3.9-compat.patch | 81 +++++++++++++++++++ .../unknown-horizons-python-3.10.patch | 32 ++++++++ .../patches/unknown-horizons-python-3.9.patch | 41 ++++++++++ 5 files changed, 162 insertions(+), 2 deletions(-) create mode 100644 gnu/packages/patches/fifengine-python-3.9-compat.patch create mode 100644 gnu/packages/patches/unknown-horizons-python-3.10.patch create mode 100644 gnu/packages/patches/unknown-horizons-python-3.9.patch base-commit: 3c1f25fc7b3cd1942c33a48e71697f94c4c86bc2 -- 2.41.0