GNU bug report logs - #66173
Package unknown-horizons fails during build process

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Rodrigo Morales <moralesrodrigo1100@HIDDEN>; dated Sun, 24 Sep 2023 02:37:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'Package unknown-horizons fails during build process' from '[BUG] Package unknown-horizons fails during build process' Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66173 <at> debbugs.gnu.org:


Received: (at 66173) by debbugs.gnu.org; 26 Sep 2023 22:04:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 18:04:24 2023
Received: from localhost ([127.0.0.1]:50010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qlGAJ-00051h-Nz
	for submit <at> 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 <me@HIDDEN>) id 1qlGAF-00051W-78
 for 66173 <at> 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 <at> 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 <me@HIDDEN>
To: 66173 <at> debbugs.gnu.org
Subject: Re: Package unknown-horizons fails during build process
Message-ID: <332451dee3799c81ed63db63756bc0be@HIDDEN>
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Information forwarded to bug-guix@HIDDEN:
bug#66173; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Sep 2023 02:36:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 23 22:36:23 2023
Received: from localhost ([127.0.0.1]:40786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qkEys-00067q-GH
	for submit <at> 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 <moralesrodrigo1100@HIDDEN>) id 1qkEyn-00067Y-3O
 for submit <at> 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 <moralesrodrigo1100@HIDDEN>)
 id 1qkEyV-0007c4-DC
 for bug-guix@HIDDEN; 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 <moralesrodrigo1100@HIDDEN>)
 id 1qkEyT-0002aK-Fo
 for bug-guix@HIDDEN; Sat, 23 Sep 2023 22:35:59 -0400
Received: by mail-vs1-xe32.google.com with SMTP id
 ada2fe7eead31-45260b91a29so1890912137.2
 for <bug-guix@HIDDEN>; 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 <moralesrodrigo1100@HIDDEN>
Date: Sun, 24 Sep 2023 02:35:39 +0000
Message-ID: <CAGxMbPb1jYx=ZwQ7iiC+ieALXqOP4o4NYACq+wZi1vzAwbkTRw@HIDDEN>
Subject: [BUG] Package unknown-horizons fails during build process
To: bug-guix@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e32;
 envelope-from=moralesrodrigo1100@HIDDEN; 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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 = <horizons.ai.aiplayer.combat.unitmanager.UnitManager object at
0x7ffff0e81840>
state_dict = <DefaultWeakKeyDictionary at 0x7ffff0e82a70>
ship_states = EnumValue(<horizons.ext.enum.Enum object at
0x7ffff5b24e50>, 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




Acknowledgement sent to Rodrigo Morales <moralesrodrigo1100@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#66173; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 26 Sep 2023 22:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.