From unknown Wed Jun 18 23:18:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#66173 <66173@debbugs.gnu.org> To: bug#66173 <66173@debbugs.gnu.org> Subject: Status: Package unknown-horizons fails during build process Reply-To: bug#66173 <66173@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:18:33 +0000 retitle 66173 Package unknown-horizons fails during build process reassign 66173 guix submitter 66173 Rodrigo Morales severity 66173 normal tag 66173 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 23 22:36:23 2023 Received: (at submit) by debbugs.gnu.org; 24 Sep 2023 02:36:23 +0000 Received: from localhost ([127.0.0.1]:40786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkEys-00067q-GH for submit@debbugs.gnu.org; Sat, 23 Sep 2023 22:36:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkEyn-00067Y-3O for submit@debbugs.gnu.org; Sat, 23 Sep 2023 22:36:21 -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 1qkEyV-0007c4-DC for bug-guix@gnu.org; Sat, 23 Sep 2023 22:35:59 -0400 Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qkEyT-0002aK-Fo for bug-guix@gnu.org; Sat, 23 Sep 2023 22:35:59 -0400 Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-45260b91a29so1890912137.2 for ; Sat, 23 Sep 2023 19:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695522955; x=1696127755; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6e16b0SujakUch/B98M7Aci6yRMQmj3wqhTZH1aXOyU=; b=esdOnE5IhLZcvpiA/xmSQNRC/8nEuuPY/EkIR5jeEx7kGpVcKXm11Qi3WE9tmjap9M Hqpd/5m2aS3SjH9Gcs2mwucwOL8NU0ZHhfBZwK0j2mLri8+PsiSbUfHsYgzYmMhIjLxp 1uAOJfD+G3gJM6XPzyI5t+NgJy3/JOSQP6LM5Z5QnQBbnpnBDPTGN3iERsvaUsDw0/7M kFHez8fxnRrY9TfKxx76YABn4aXyssUSAMY2TNuutx9tBYylArbkfF3idepxg/cvqvmi gCWiyDOmMNmbTjaaK5A6M5pZvuM9AqC0iHqVoIQGY65cCsrZPN7jkuljcRDssVcFOsbo Sp7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695522955; x=1696127755; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6e16b0SujakUch/B98M7Aci6yRMQmj3wqhTZH1aXOyU=; b=iX8vkzLVFsCgQv6kTKX/aYYGaILyr2KyG72Qnxz7ByTaO75BDhdkLdl013R0NnFUJn 2mHyJ22J1nN2PGME7AGt9VIGeCvhaKp9Aa20rB+P1e1Dj4gy5miivKfEwAaqqGYulHKI +HAlAPoAGiHFlcKvjrVfHTGnIXnNVtZY5rx3VTOoJMd/BDLccikGGKo012kC39XEoD/J GwxOR1mFIIFnaEodBswJC3TJmhWQiwPXhbu/hpZuMUm6+dzzc/KFv9a5CmDZmv1FaHQG 1UMdKYvdodismMI7iqISwWy+rqW4E4xvN1QussExx+fXIP+UD9u0lil+V+YpOXBgQ3Tf iSsA== X-Gm-Message-State: AOJu0YycRLYh5wxvvroKw3AImvra8PaX5gknrMyWY9g/Ms6fqtO797OX Gl68Ys2MkLBCzEVqY+ahJXMZZKgQAB7hHIW0XbvtGWy6qGHiww== X-Google-Smtp-Source: AGHT+IHEq8PYDs0YD4n5WMxySXMG2v5RU7p6JpIAM9jBHO73jD68IaW5nZMYqbWs2OxfWcMDH5/sDqwuof7o3H0WB8k= X-Received: by 2002:a67:f818:0:b0:452:78e2:4a07 with SMTP id l24-20020a67f818000000b0045278e24a07mr2108862vso.8.1695522955001; Sat, 23 Sep 2023 19:35:55 -0700 (PDT) MIME-Version: 1.0 From: Rodrigo Morales Date: Sun, 24 Sep 2023 02:35:39 +0000 Message-ID: Subject: [BUG] Package unknown-horizons fails during build process To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::e32; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-vs1-xe32.google.com X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The last 120 lines of the build log (i.e. =/var/log/guix/drvs/d7/hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv.gz=) are shown in the second code block below. The complete build log can be downloaded at http://0x0.st/HVoh.drv.gz [[https://web.archive.org/web/20230924023306/http://0x0.st/HVoh.drv.gz][(archive link)]] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (moralesrodrigo1100[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (moralesrodrigo1100[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) The last 120 lines of the build log (i.e. =/var/log/guix/drvs/d7/hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv.gz=) are shown in the second code block below. The complete build log can be downloaded at http://0x0.st/HVoh.drv.gz [[https://web.archive.org/web/20230924023306/http://0x0.st/HVoh.drv.gz][(archive link)]] #+BEGIN_EXAMPLE $ guix package -i unknown-horizons The following package will be installed: unknown-horizons 2019.1 The following derivation will be built: /gnu/store/d7hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv building /gnu/store/d7hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv... 100% 'check' builder for `/gnu/store/d7hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv' failed with exit code 1 build of /gnu/store/d7hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv failed View build log at '/var/log/guix/drvs/d7/hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv.gz'. guix package: error: build of `/gnu/store/d7hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv' failed $ echo $? 1 #+END_EXAMPLE #+BEGIN_SRC sh zcat /var/log/guix/drvs/d7/hlb25qf9wirgdl4w80snbadsm8fgkq-unknown-horizons-2019.1.drv.gz | tail -n 120 #+END_SRC #+RESULTS: #+begin_example tests/unittests/test_timer.py ............. [ 70%] tests/unittests/gui/test_window_manager.py ..... [ 72%] tests/unittests/misc/test_paths.py .. [ 73%] tests/unittests/mp/test_run_server.py ss [ 73%] tests/unittests/mp/test_server_statistics.py .. [ 74%] tests/unittests/util/test_check_updates.py .................. [ 79%] tests/unittests/util/test_color.py .... [ 80%] tests/unittests/util/test_platform.py .. [ 81%] tests/unittests/util/test_registry.py .. [ 82%] tests/unittests/util/test_shapes.py ... [ 83%] tests/unittests/util/test_tile_orientation.py .......... [ 86%] tests/unittests/util/test_yamlcachestorage.py . [ 86%] tests/unittests/world/test_component.py . [ 86%] tests/unittests/world/test_ingametype_classes.py ... [ 87%] tests/unittests/world/test_storage.py .............. [ 91%] tests/unittests/world/test_world.py . [ 92%] tests/unittests/world/buildability/test_connectedareacache.py . [ 92%] tests/unittests/world/buildability/test_partialbinarycache.py ..... [ 93%] tests/unittests/world/component/test_healthcomponent.py ..... [ 95%] tests/unittests/world/component/test_namedcomponent.py ...... [ 97%] tests/unittests/world/component/test_tradepostcomponent.py .. [ 97%] tests/unittests/world/production/test_productionline.py ... [ 98%] tests/unittests/world/units/collectors/test_collector.py .... [100%] =================================== FAILURES =================================== ____________________________ test_savegame_upgrade _____________________________ args = () def wrapped(*args): if not manual_session and not use_fixture: s, p = new_session(mapgen=mapgen, human_player=human_player, ai_players=ai_players) elif use_fixture: path = os.path.join(TEST_FIXTURES_DIR, use_fixture + '.sqlite') if not os.path.exists(path): raise Exception('Savegame {} not found'.format(path)) s = load_session(path) timelimit = Timer(handler) timelimit.start(timeout) try: if use_fixture: return func(s, *args) elif not manual_session: return func(s, p, *args) else: > return func(*args) tests/game/__init__.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/game/test_load_save.py:215: in test_savegame_upgrade session.run(seconds=30) tests/game/__init__.py:140: in run Scheduler().tick(Scheduler().cur_tick + 1) horizons/scheduler.py:95: in tick callback.callback() horizons/util/python/callback.py:48: in __call__ return self.callback(*self.args, **self.kwargs) horizons/ai/pirate.py:99: in tick self.combat_manager.tick() horizons/ai/aiplayer/combat/combatmanager.py:343: in tick self.lookout() horizons/ai/aiplayer/combat/combatmanager.py:334: in lookout self.handle_casual_combat() horizons/ai/aiplayer/combat/combatmanager.py:423: in handle_casual_combat rules = (filters.not_in_fleet, filters.pirate, filters.ship_state(self.ships, self.shipStates.idle)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = state_dict = ship_states = EnumValue(, 0, 'idle') def _ship_state_rule(self, state_dict, ship_states): """ Rule stating that ship has to be in any of given states. """ > if not isinstance(ship_states, collections.Iterable): E AttributeError: module 'collections' has no attribute 'Iterable' horizons/ai/aiplayer/combat/unitmanager.py:154: AttributeError ------------------------------ Captured log call ------------------------------- WARNING util.savegameupgrader:savegameupgrader.py:75 Discovered old savegame file, auto-upgrading: 76 -> 77 =============================== warnings summary =============================== horizons/extscheduler.py:72 /tmp/guix-build-unknown-horizons-2019.1.drv-0/unknown-horizons-2019.1/horizons/extscheduler.py:72: SyntaxWarning: "is" with a literal. Did you mean "=="? if obj.loops > 0 or obj.loops is -1: tests/gui/__init__.py:148 /tmp/guix-build-unknown-horizons-2019.1.drv-0/unknown-horizons-2019.1/tests/gui/__init__.py:148: PytestUnknownMarkWarning: Unknown pytest.mark.gui_test - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html gui_test = pytest.mark.gui_test tests/game/long/test_ai_long.py:30 /tmp/guix-build-unknown-horizons-2019.1.drv-0/unknown-horizons-2019.1/tests/game/long/test_ai_long.py:30: PytestUnknownMarkWarning: Unknown pytest.mark.long - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.long tests/game/long/test_ai_quick.py:30 /tmp/guix-build-unknown-horizons-2019.1.drv-0/unknown-horizons-2019.1/tests/game/long/test_ai_quick.py:30: PytestUnknownMarkWarning: Unknown pytest.mark.long - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.long tests/game/long/test_ai_very_long.py:30 /tmp/guix-build-unknown-horizons-2019.1.drv-0/unknown-horizons-2019.1/tests/game/long/test_ai_very_long.py:30: PytestUnknownMarkWarning: Unknown pytest.mark.long - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.long tests/game/long/test_load_save_long.py:33 /tmp/guix-build-unknown-horizons-2019.1.drv-0/unknown-horizons-2019.1/tests/game/long/test_load_save_long.py:33: PytestUnknownMarkWarning: Unknown pytest.mark.long - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.long horizons/util/tile_orientation.py:26 /tmp/guix-build-unknown-horizons-2019.1.drv-0/unknown-horizons-2019.1/horizons/util/tile_orientation.py:26: DeprecationWarning: invalid escape sequence '\ ' """ -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/game/test_load_save.py::test_savegame_upgrade - AttributeError: ... ====== 1 failed, 237 passed, 91 skipped, 2 xfailed, 7 warnings in 26.45s ======= error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "pytest" arguments: ("tests") exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 26.7 seconds command "pytest" "tests" failed with status 1 #+end_example From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 26 18:04:24 2023 Received: (at 66173) by debbugs.gnu.org; 26 Sep 2023 22:04:24 +0000 Received: from localhost ([127.0.0.1]:50010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlGAJ-00051h-Nz for submit@debbugs.gnu.org; Tue, 26 Sep 2023 18:04:23 -0400 Received: from tobias.gr ([80.241.217.52]:53044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlGAF-00051W-78 for 66173@debbugs.gnu.org; Tue, 26 Sep 2023 18:04:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=rr2Eb9kYndXnF IqknghnFWPZW6+X/pC5l3nK3WLReDQ=; h=subject:to:from:date; d=tobias.gr; b=cixRYD408dZ2aSTGwSa8Ksj2pfbMmDLjqJfbH1M0SkJFxjsO3f/cakCqtu+8fH20vKU3 gz8DN9RA2XDnqIacRo4QBFT01sSVXyXKcCluQryS3Xan+k9Y7AQlkVyjBpNwfVQ1eeTsRx uWe6V2d6nLE0CCrOJqtiLcQ+L9bF5bscITBVc1UtTkU4R6s99o3VnwHt9/QRDjjxEGea3r ZTjF6DhkNIk/sHmAWQl0K6Gne2/V0lwJn1IAc9/8suUQqKliVi/GVQPcLeAWsYb+pDtsSy wjm1B2vtHxAkga1z7jWOeilbBflHuRxWY0EG77hJgcx0Q9PZrKxbOh0tEjrgJ3Pg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 1897640e for <66173@debbugs.gnu.org>; Tue, 26 Sep 2023 22:04:03 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 27 Sep 2023 00:04:03 +0200 From: Tobias Geerinckx-Rice To: 66173@debbugs.gnu.org Subject: Re: Package unknown-horizons fails during build process Message-ID: <332451dee3799c81ed63db63756bc0be@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 66173 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Rodrigo, all, [For future reference.] > http://0x0.st/HVoh.drv.gz Third-party hosting sites tend to delete pastes after some time. I know 0x0 does. While I certainly hope that your issue can be resolved before then, I recommend attaching logs, photos, and other documentation to the bug report. This list has a more generous attachment limit for that reason. Kind regards, T G-R Sent from a Web browser. Excuse or enjoy my brevity. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 26 18:42:50 2023 Received: (at control) by debbugs.gnu.org; 26 Sep 2023 22:42:50 +0000 Received: from localhost ([127.0.0.1]:50037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlGlV-0005xF-Oa for submit@debbugs.gnu.org; Tue, 26 Sep 2023 18:42:49 -0400 Received: from tobias.gr ([80.241.217.52]:33274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlGlR-0005x1-HR for control@debbugs.gnu.org; Tue, 26 Sep 2023 18:42:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=T8U47Iu8WnUIi BTvdzMvxOhE/A1LOVFomYGnJR9X2bo=; h=to:from:date; d=tobias.gr; b=gncBsp zSTfWP2K+FV0Vy17PZsa9XTHC4/1zEIQxZuwhvRVkJAyuHGQHGVLTWWmZnEBJ8p8YlQ5Wb mcYXDAp0QiXFdh+FK1u2pvS/TKM+7KA1JkZXqUg2ETGKbqJc8NyTI6u23GgtzLLs73Vf/c dypd0jGjaYj8NifwQ9TEo86gMY1aKXm8UKnE062TStdHmjhWvILz2nl4ts10u+IH0qTxky SQf+Tqc5qBUlVIWo+dB+qg/wzQQlOMPZ4gm9Eexo7oimqcRT62KH3ZqYQXn6nzAyt4VZSk vfh7vo1qSbyvJy7z60lh0iLHaqHKkVT3OKQ2hojfQS1sz9cUiCUsUZog== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 88ef509c for ; Tue, 26 Sep 2023 22:42:29 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 27 Sep 2023 00:42:29 +0200 From: Tobias Geerinckx-Rice To: control@debbugs.gnu.org Message-ID: <581cf7dee02542d841f4ec765b7924c6@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 66173 Package unknown-horizons fails during build process Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 66173 Package unknown-horizons fails during build process From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 04 15:35:18 2024 Received: (at 66173) by debbugs.gnu.org; 4 Jan 2024 20:35:18 +0000 Received: from localhost ([127.0.0.1]:55796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUQv-00089m-Pp for submit@debbugs.gnu.org; Thu, 04 Jan 2024 15:35:18 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:36974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUQr-00089K-Iu for 66173@debbugs.gnu.org; Thu, 04 Jan 2024 15:35:16 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 6D282659FA 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 XHX06nk3csqy for <66173@debbugs.gnu.org>; Thu, 4 Jan 2024 20:34:34 +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 D627B65A17 for <66173@debbugs.gnu.org>; Thu, 4 Jan 2024 20:34:33 +0000 (UTC) From: Simon South To: 66173@debbugs.gnu.org Subject: [PATCH 2/2] gnu: unknown-horizons: Fix build and runtime errors. Date: Thu, 4 Jan 2024 15:33:56 -0500 Message-ID: <90340dad1ea7d9f8e3cd4213684b503702cd20ad.1704399085.git.simon@simonsouth.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66173 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Apply two upstream commits that allow building with Python 3.9 or newer and running with Python 3.10. * gnu/packages/patches/unknown-horizons-python-3.9.patch, * gnu/packages/patches/unknown-horizons-python-3.10.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/games.scm (unknown-horizons)[source]: Apply them. Change-Id: Icbc8b698b913be01465b09ab26afb29e5fd62a87 --- gnu/local.mk | 2 + gnu/packages/games.scm | 4 +- .../unknown-horizons-python-3.10.patch | 32 +++++++++++++++ .../patches/unknown-horizons-python-3.9.patch | 41 +++++++++++++++++++ 4 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/unknown-horizons-python-3.10.patch create mode 100644 gnu/packages/patches/unknown-horizons-python-3.9.patch diff --git a/gnu/local.mk b/gnu/local.mk index f66db809a9..bbde67cee2 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2082,6 +2082,8 @@ dist_patch_DATA = \ %D%/packages/patches/ungoogled-chromium-system-ffmpeg.patch \ %D%/packages/patches/ungoogled-chromium-system-nspr.patch \ %D%/packages/patches/unknown-horizons-python-3.8-distro.patch \ + %D%/packages/patches/unknown-horizons-python-3.9.patch \ + %D%/packages/patches/unknown-horizons-python-3.10.patch \ %D%/packages/patches/unzip-CVE-2014-8139.patch \ %D%/packages/patches/unzip-CVE-2014-8140.patch \ %D%/packages/patches/unzip-CVE-2014-8141.patch \ diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 333dbfcec5..880aebe0bb 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -4396,7 +4396,9 @@ (define-public unknown-horizons (sha256 (base32 "1n747p7h0qp48szgp262swg0xh8kxy1bw8ag1qczs4i26hyzs5x4")) - (patches (search-patches "unknown-horizons-python-3.8-distro.patch")))) + (patches (search-patches "unknown-horizons-python-3.8-distro.patch" + "unknown-horizons-python-3.9.patch" + "unknown-horizons-python-3.10.patch")))) (build-system python-build-system) (arguments '(#:phases diff --git a/gnu/packages/patches/unknown-horizons-python-3.10.patch b/gnu/packages/patches/unknown-horizons-python-3.10.patch new file mode 100644 index 0000000000..599de1fec5 --- /dev/null +++ b/gnu/packages/patches/unknown-horizons-python-3.10.patch @@ -0,0 +1,32 @@ +From 4ff605d6c55fcf3e9b4777ffbcb0c24ef17ba4ca Mon Sep 17 00:00:00 2001 +From: Arti +Date: Mon, 28 Feb 2022 21:19:50 +0100 +Subject: [PATCH] Rename instances of `collections.Iterable` into + `collections.abc.Iterable` (#2956) + +--- + horizons/ai/aiplayer/combat/unitmanager.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/horizons/ai/aiplayer/combat/unitmanager.py b/horizons/ai/aiplayer/combat/unitmanager.py +index 8449d5563c5..57db0d47061 100644 +--- a/horizons/ai/aiplayer/combat/unitmanager.py ++++ b/horizons/ai/aiplayer/combat/unitmanager.py +@@ -151,7 +151,7 @@ def _ship_state_rule(self, state_dict, ship_states): + """ + Rule stating that ship has to be in any of given states. + """ +- if not isinstance(ship_states, collections.Iterable): ++ if not isinstance(ship_states, collections.abc.Iterable): + ship_states = (ship_states,) + return lambda ship: (state_dict[ship] in ship_states) + +@@ -178,7 +178,7 @@ def filter_ships(self, ships, rules): + @param rules: conditions each ship has to meet (AND) + @type rules: iterable of lambda(ship) or single lambda(ship) + """ +- if not isinstance(rules, collections.Iterable): ++ if not isinstance(rules, collections.abc.Iterable): + rules = (rules,) + return [ship for ship in ships if all((rule(ship) for rule in rules))] + diff --git a/gnu/packages/patches/unknown-horizons-python-3.9.patch b/gnu/packages/patches/unknown-horizons-python-3.9.patch new file mode 100644 index 0000000000..8b93a71b6c --- /dev/null +++ b/gnu/packages/patches/unknown-horizons-python-3.9.patch @@ -0,0 +1,41 @@ +From 7f6f613826aef9810999c1599c8354e8a78fbdb4 Mon Sep 17 00:00:00 2001 +From: Lukas1818 <44570204+Lukas1818@users.noreply.github.com> +Date: Fri, 19 Feb 2021 21:08:44 +0100 +Subject: [PATCH] fixs for Phyton 3.9 (#2955) + +* change deprecated isAlive() to is_alive() + +* remove unsupported keyword "encoding" + +Co-authored-by: Lukas1818 +--- + horizons/util/loaders/jsondecoder.py | 2 +- + horizons/util/preloader.py | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/horizons/util/loaders/jsondecoder.py b/horizons/util/loaders/jsondecoder.py +index ea2ddfb3308..138a948f42a 100644 +--- a/horizons/util/loaders/jsondecoder.py ++++ b/horizons/util/loaders/jsondecoder.py +@@ -37,4 +37,4 @@ def _decode_dict(dct): + return newdict + + with open(path, "r") as f: +- return json.load(f, encoding="ascii", object_hook=_decode_dict) ++ return json.load(f, object_hook=_decode_dict) +diff --git a/horizons/util/preloader.py b/horizons/util/preloader.py +index 5689cc68152..2e072fcc642 100644 +--- a/horizons/util/preloader.py ++++ b/horizons/util/preloader.py +@@ -79,9 +79,9 @@ def wait_for_finish(self): + """ + self.lock.acquire() + # wait until it finished its current action +- if self.isAlive(): ++ if self.is_alive(): + self.join() +- assert not self.isAlive() ++ assert not self.is_alive() + else: + try: + self.lock.release() -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 04 15:35:18 2024 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 To: 66173@debbugs.gnu.org Subject: [PATCH 0/2] unknown-horizons: Fix build, runtime errors 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66173 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 04 15:35:20 2024 Received: (at 66173) by debbugs.gnu.org; 4 Jan 2024 20:35:20 +0000 Received: from localhost ([127.0.0.1]:55800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUQx-0008A2-S8 for submit@debbugs.gnu.org; Thu, 04 Jan 2024 15:35:20 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:36968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUQr-00089I-Mw 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 24289659ED 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 jQWjB8h_NbI3 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 BBC68659FA for <66173@debbugs.gnu.org>; Thu, 4 Jan 2024 20:34:33 +0000 (UTC) From: Simon South To: 66173@debbugs.gnu.org Subject: [PATCH 1/2] gnu: fifengine: Fix runtime error when using Python 3.9 or newer. Date: Thu, 4 Jan 2024 15:33:55 -0500 Message-ID: <6a115cc55b808c3776c80f809542e53937dbc8a6.1704399085.git.simon@simonsouth.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66173 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/patches/fifengine-python-3.9-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/games.scm (fifengine)[source]: Apply it. Change-Id: I61001d6b87db00c71f1e2e6ca3bac8581e941451 --- gnu/local.mk | 1 + gnu/packages/games.scm | 3 +- .../patches/fifengine-python-3.9-compat.patch | 81 +++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/fifengine-python-3.9-compat.patch diff --git a/gnu/local.mk b/gnu/local.mk index f804f4ef5b..f66db809a9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1166,6 +1166,7 @@ dist_patch_DATA = \ %D%/packages/patches/fenics-dolfin-boost.patch \ %D%/packages/patches/fenics-dolfin-config-slepc.patch \ %D%/packages/patches/fifengine-boost-compat.patch \ + %D%/packages/patches/fifengine-python-3.9-compat.patch \ %D%/packages/patches/fifengine-swig-compat.patch \ %D%/packages/patches/fifo-map-fix-flags-for-gcc.patch \ %D%/packages/patches/fifo-map-remove-catch.hpp.patch \ diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index c7813790a1..333dbfcec5 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -4060,7 +4060,8 @@ (define-public fifengine "fifengine/tar.gz/" version)) (file-name (string-append name "-" version ".tar.gz")) (patches (search-patches "fifengine-swig-compat.patch" - "fifengine-boost-compat.patch")) + "fifengine-boost-compat.patch" + "fifengine-python-3.9-compat.patch")) (sha256 (base32 "1y4grw25cq5iqlg05rnbyxw1njl11ypidnlsm3qy4sm3xxdvb0p8")))) diff --git a/gnu/packages/patches/fifengine-python-3.9-compat.patch b/gnu/packages/patches/fifengine-python-3.9-compat.patch new file mode 100644 index 0000000000..2def4681cd --- /dev/null +++ b/gnu/packages/patches/fifengine-python-3.9-compat.patch @@ -0,0 +1,81 @@ +Fix runtime error when using Python 3.9 or newer. + +Taken from upstream: +https://github.com/fifengine/fifengine/commit/cf295fd98a8fba080f6305c27be56d10ab7ce94d + +diff --git a/engine/python/fife/extensions/serializers/simplexml.py b/engine/python/fife/extensions/serializers/simplexml.py +index c4e10f4f8..d05567936 100644 +--- a/engine/python/fife/extensions/serializers/simplexml.py ++++ b/engine/python/fife/extensions/serializers/simplexml.py +@@ -200,7 +200,7 @@ def get(self, module, name, defaultValue=None): + #get the module tree: for example find tree under module FIFE + moduleTree = self._getModuleTree(module) + element = None +- for e in moduleTree.getchildren(): ++ for e in moduleTree: + if e.tag == "Setting" and e.get("name", "") == name: + element = e + break +@@ -275,7 +275,7 @@ def set(self, module, name, value, extra_attrs={}): + e_type = "str" + value = str(value) + +- for e in moduleTree.getchildren(): ++ for e in moduleTree: + if e.tag != "Setting": continue + if e.get("name", "") == name: + e.text = value +@@ -305,7 +305,7 @@ def remove(self, module, name): + + moduleTree = self._getModuleTree(module) + +- for e in moduleTree.getchildren(): ++ for e in moduleTree: + if e.tag != "Setting": continue + if e.get("name", "") == name: + moduleTree.remove(e) +@@ -321,7 +321,7 @@ def getModuleNameList(self): + self._initialized = True + + moduleNames = [] +- for c in self._root_element.getchildren(): ++ for c in self._root_element: + if c.tag == "Module": + name = c.get("name","") + if not isinstance(name, basestring): +@@ -344,7 +344,7 @@ def getAllSettings(self, module): + + # now from the tree read every value, and put the necessary values + # to the list +- for e in moduleTree.getchildren(): ++ for e in moduleTree: + if e.tag == "Setting": + name = e.get("name", "") + +@@ -383,7 +383,7 @@ def _validateTree(self): + + Raises an InvalidFormat exception if there is a format error. + """ +- for c in self._root_element.getchildren(): ++ for c in self._root_element: + if c.tag != "Module": + raise InvalidFormat("Invalid tag in " + self._file + \ + ". Expected Module, got: " + c.tag) +@@ -391,7 +391,7 @@ def _validateTree(self): + raise InvalidFormat("Invalid tag in " + self._file + \ + ". Module name is empty.") + else: +- for e in c.getchildren(): ++ for e in c: + if e.tag != "Setting": + raise InvalidFormat("Invalid tag in " + self._file + \ + " in module: " + c.tag + \ +@@ -414,7 +414,7 @@ def _getModuleTree(self, module): + raise AttributeError("Settings:_getModuleTree: Invalid type for " + "module argument.") + +- for c in self._root_element.getchildren(): ++ for c in self._root_element: + if c.tag == "Module" and c.get("name", "") == module: + return c + -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 04 15:39:15 2024 Received: (at control) by debbugs.gnu.org; 4 Jan 2024 20:39:15 +0000 Received: from localhost ([127.0.0.1]:55807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUUk-0008Gz-P8 for submit@debbugs.gnu.org; Thu, 04 Jan 2024 15:39:15 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:52926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLUUj-0008Gn-Ng for control@debbugs.gnu.org; Thu, 04 Jan 2024 15:39:14 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 9675D65818 for ; Thu, 4 Jan 2024 20:38:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M85LLH1DIiAz for ; Thu, 4 Jan 2024 20:38:34 +0000 (UTC) Received: from jupiter (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 ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 5601765777 for ; Thu, 4 Jan 2024 20:38:34 +0000 (UTC) Date: Thu, 04 Jan 2024 15:38:20 -0500 Message-Id: <877ckohm0z.fsf@simonsouth.net> To: control@debbugs.gnu.org From: Simon South Subject: control message for bug #66173 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 66173 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 13 10:51:44 2024 Received: (at 66173) by debbugs.gnu.org; 13 Jan 2024 15:51:44 +0000 Received: from localhost ([127.0.0.1]:40865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOgIS-00022G-7M for submit@debbugs.gnu.org; Sat, 13 Jan 2024 10:51:44 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:39270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOgIQ-00021u-06 for 66173@debbugs.gnu.org; Sat, 13 Jan 2024 10:51:42 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 95F77661E8; Sat, 13 Jan 2024 15:51:07 +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 zU11yni96MzK; Sat, 13 Jan 2024 15:51:07 +0000 (UTC) Received: from jupiter (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 ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 1926766086; Sat, 13 Jan 2024 15:51:07 +0000 (UTC) From: Simon South To: Liliana Marie Prikler , =?utf-8?B?5a6L5paH?= =?utf-8?B?5q2m?= Subject: Re: bug#66173: Package unknown-horizons fails during build process Date: Sat, 13 Jan 2024 10:50:48 -0500 Message-ID: <87bk9pz0yv.fsf@simonsouth.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66173 Cc: 66173@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Liliana, =E5=AE=8B=E6=96=87=E6=AD=A6: Are you interested in reviewing these patches? Unfortunately I neglected to CC the games team when posting them. They fix the build of Unknown Horizons in master. https://issues.guix.gnu.org/66173 --=20 Simon South simon@simonsouth.net -------------------- Start of forwarded message -------------------- Subject: bug#66173: [PATCH 0/2] unknown-horizons: Fix build, runtime errors To: 66173@debbugs.gnu.org From: Simon South Date: Thu, 4 Jan 2024 15:33:54 -0500 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 --=20 2.41.0 -------------------- End of forwarded message -------------------- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 14 07:08:53 2024 Received: (at 66173-done) by debbugs.gnu.org; 14 Jan 2024 12:08:53 +0000 Received: from localhost ([127.0.0.1]:41816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOzIL-0008J5-7V for submit@debbugs.gnu.org; Sun, 14 Jan 2024 07:08:53 -0500 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]:57507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOzII-0008Ir-IV for 66173-done@debbugs.gnu.org; Sun, 14 Jan 2024 07:08:51 -0500 Received: by mail-ed1-x541.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so6950718a12.2 for <66173-done@debbugs.gnu.org>; Sun, 14 Jan 2024 04:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705234125; x=1705838925; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=4Ig0QVD1/NWtjdWia8pHBCC2a19wrnansoLAeq5M1Ag=; b=krY4o9jvcyppgf4X9Ho237CaN54UhyqmC9WodOsPd85J+l+Tn8IUYT0E96jti7GA6K tR80C0zbp4IzhzscPU5kN9tg4WXSga6cyJnZsr+jV7HX8cqh0XVD2kcb9hHKWuRuptOd aJOMzYVXHRjFN+h3GsF82gJsqIpErvNiDnPsmh800lMe1hG0fN9cfNuH0e4Q7Gql5C+G NGqLhIf061MjXrgjhrDbqcdqd3wrj2qnXeM4GTtPVeZJR8+oXOSa2oOx1SZcBdgZBjFw JWYVOGmWDORxJBnuH2ccIWqOxf7S51JV3Qw5hoz77+X3xMC3CuG1m02ix3JcqGJhRXMe cfcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705234125; x=1705838925; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4Ig0QVD1/NWtjdWia8pHBCC2a19wrnansoLAeq5M1Ag=; b=iW5Ve0cHAVIpJ9L35Aa7F9U3TrGOY5npb4hvsa7iZChGEK4WJsehoqHAJYt8i3krUI D76dTOqYz52NuimjPbaCzo8kA7VsA+vkYxGsXxf4b1kQHHG/kqA0HZMwfSstIb/k76B5 Us+6ZuFYoYV2pysa7A5vbuA51/DC+yZBzuX8+xSQLPaULBic1irn06/vipvC1Qcb/z7z ypWMq6NxE8AwJmc3UvoMNlq5L/fez70MdwIHGReAzU0mTnmzBugEYxpTMMQsc0lFsdEp UL4z+IywWdqsaEd4d0gNmr2gtcIgQ7np8lHgNGEIBxKOwXZIgDcwOIcXlmytJCIVwquh 4MBA== X-Gm-Message-State: AOJu0Yxw3MV7jqNTxaUMHi+A58DRru9mmIUx1HGwQJbYWeNUec3o3yEN 7aIkWITh9eah4PAnUs8lZM4= X-Google-Smtp-Source: AGHT+IF5Dp+EyPIw2nnKTqU6Ky4iqCvc3sSNKerq7sT6NtUESc+MeAsFYxDvPpunU9dLp4ZYBDDUDQ== X-Received: by 2002:a05:6402:27d2:b0:557:77f:9be7 with SMTP id c18-20020a05640227d200b00557077f9be7mr2307144ede.61.1705234125287; Sun, 14 Jan 2024 04:08:45 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id l22-20020a056402345600b0055786a9e8a1sm4184586edc.34.2024.01.14.04.08.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 04:08:45 -0800 (PST) Message-ID: Subject: Re: bug#66173: Package unknown-horizons fails during build process From: Liliana Marie Prikler To: Simon South , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 14 Jan 2024 13:08:42 +0100 In-Reply-To: <87bk9pz0yv.fsf@simonsouth.net> References: <87bk9pz0yv.fsf@simonsouth.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 66173-done Cc: 66173-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Samstag, dem 13.01.2024 um 10:50 -0500 schrieb Simon South: > Liliana, =E5=AE=8B=E6=96=87=E6=AD=A6: >=20 > Are you interested in reviewing these patches?=C2=A0 Unfortunately I > neglected to CC the games team when posting them. >=20 > They fix the build of Unknown Horizons in master. >=20 > https://issues.guix.gnu.org/66173 >=20 > --=20 I came, saw, and pushed. Sorry for not coming earlier. From unknown Wed Jun 18 23:18:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 11 Feb 2024 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator