Subject: Re: bug#42553: python-gevent is broken on i686-linux (tests fail)

From: Maxim Cournoyer <[email-masked]>
Date: Mon, 28 Dec 2020 22:44:29 -0500

Hello,

Jakub Kądziołka <[email-masked]> writes:

> The package python-gevent doesn't build on i686-linux, the following
> test failure occurs:
>
>   ======================================================================
>   FAIL: test_unlink (gevent.tests.test__core_stat.TestCoreStat)
>   ----------------------------------------------------------------------
>   Traceback (most recent call last):
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/lib.linux-i686-3.8/gevent/testing/errorhandler.py", line 47, in wrapper
>       return method(self, *args, **kwargs)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/lib.linux-i686-3.8/gevent/testing/errorhandler.py", line 34, in wrapper
>       return method(self, *args, **kwargs)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/lib.linux-i686-3.8/gevent/testing/testcase.py", line 182, in wrapper
>       return method(self, *args, **kwargs)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/lib.linux-i686-3.8/gevent/tests/test__core_stat.py", line 114, in test_unlink
>       self._check_attr('attr', True)
>     File "/tmp/guix-build-python-gevent-20.6.2.drv-0/gevent-20.6.2/build/lib.linux-i686-3.8/gevent/tests/test__core_stat.py", line 66, in _check_attr
>       self.assertIsNone(x, name)
>   AssertionError: os.stat_result(st_mode=997, st_ino=0, st_dev=74395714104328192, st_nlink=30000, st_uid=0, st_gid=0, st_size=6851593278123409408, st_atime=1595260873, st_mtime=0, st_ctime=-2) is not None : attr
>   
>   ----------------------------------------------------------------------
>   Ran 48 tests in 1.238s
>

Just a follow-up to mention that this still occurs when building with
--system=i686-linux, even with the recent python-gevent update to
20.9.0.

Maxim