From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KBDaMx7NHV9oIwAA0tVLHw (envelope-from ) for ; Sun, 26 Jul 2020 18:36:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UFCFLx7NHV/WIwAAbx9fmQ (envelope-from ) for ; Sun, 26 Jul 2020 18:36:14 +0000 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 3DEA29403C9 for ; Sun, 26 Jul 2020 18:36:14 +0000 (UTC) Received: from localhost ([::1]:56312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzlVL-0006Dt-S1 for larch@yhetil.org; Sun, 26 Jul 2020 14:36:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzlVC-0006C3-Tj for bug-guix@gnu.org; Sun, 26 Jul 2020 14:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzlVC-0007yX-Jj for bug-guix@gnu.org; Sun, 26 Jul 2020 14:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzlVC-0005ko-Er for bug-guix@gnu.org; Sun, 26 Jul 2020 14:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42553: python-gevent is broken on i686-linux (tests fail) Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 Jul 2020 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42553 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42553@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159578851822064 (code B ref -1); Sun, 26 Jul 2020 18:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2020 18:35:18 +0000 Received: from localhost ([127.0.0.1]:53443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzlUQ-0005ji-UN for submit@debbugs.gnu.org; Sun, 26 Jul 2020 14:35:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:58070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzlUO-0005jZ-Iz for submit@debbugs.gnu.org; Sun, 26 Jul 2020 14:35:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzlUO-0005lH-CB for bug-guix@gnu.org; Sun, 26 Jul 2020 14:35:12 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:57694) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzlUK-0007i8-Um for bug-guix@gnu.org; Sun, 26 Jul 2020 14:35:11 -0400 Received: (qmail 25937 invoked by uid 1009); 26 Jul 2020 20:35:04 +0200 Received: from 83.22.51.66.ipv4.supernova.orange.pl (kuba@kadziolka.net@83.22.51.66.ipv4.supernova.orange.pl) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25884. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(83.22.51.66):. Processed in 0.048654 secs); 26 Jul 2020 18:35:04 -0000 Received: from 83.22.51.66.ipv4.supernova.orange.pl (HELO gravity) (kuba@kadziolka.net@83.22.51.66) by pat.zlotemysli.pl with SMTP; 26 Jul 2020 20:35:04 +0200 Date: Sun, 26 Jul 2020 20:35:03 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200726183503.pu7ll2fzm4a6bf5h@gravity> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uiuvctmc3dnamcl4" Content-Disposition: inline Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/26 14:35:05 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: qQNSX5EjU0HQ --uiuvctmc3dnamcl4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The package python-gevent doesn't build on i686-linux, the following test failure occurs: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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/li= b.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/li= b.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/li= b.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/li= b.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/li= b.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=3D997, st_ino=3D0, st_dev=3D743957= 14104328192, st_nlink=3D30000, st_uid=3D0, st_gid=3D0, st_size=3D6851593278= 123409408, st_atime=3D1595260873, st_mtime=3D0, st_ctime=3D-2) is not None = : attr =20 ---------------------------------------------------------------------- Ran 48 tests in 1.238s I have created a simple standalone script based on this test case: import os, tempfile, gevent fd, path =3D tempfile.mkstemp('.test') os.close(fd) hub =3D gevent.get_hub() watcher =3D hub.loop.stat(path, interval=3D-1) hub.loop.update_now() gevent.spawn_later(0.5, os.unlink, path) hub.wait(watcher) print(watcher.attr) print(watcher.prev) After adding a (delete 'check) to python-gevent's arguments, we observe the following: % ./pre-inst-env guix environment --ad-hoc python python-gevent -- python3 = ~/tmp/gevent-test.py None os.stat_result(st_mode=3D33152, st_ino=3D44162375, st_dev=3D2052, st_nlink= =3D1, st_uid=3D1000, st_gid=3D1000, st_size=3D0, st_atime=3D1595787602, st_= mtime=3D1595787602, st_ctime=3D1595787602) % ./pre-inst-env guix environment --system=3Di686-linux --ad-hoc python pyt= hon-gevent -- python3 ~/tmp/gevent-test.py os.stat_result(st_mode=3D1000, st_ino=3D0, st_dev=3D189675956338688000, st_= nlink=3D1000, st_uid=3D0, st_gid=3D0, st_size=3D6853855360088801280, st_ati= me=3D1595787555, st_mtime=3D0, st_ctime=3D-2) os.stat_result(st_mode=3D33152, st_ino=3D2052, st_dev=3D2052, st_nlink=3D1,= st_uid=3D1000, st_gid=3D1000, st_size=3D17592186044416, st_atime=3D1595787= 555, st_mtime=3D1595787555, st_ctime=3D0) Namely, the i686 variant returns entirely bogus values. I have tried reproducing this in a Guix-less environment in a Docker container based on the i386/debian:bullseye image, but I haven't had any luck. Regards, Jakub K=C4=85dzio=C5=82ka --uiuvctmc3dnamcl4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8dzNcACgkQ4xWnWEYT FWSaOA/+L5OHTOVIY7czGnkZUfJcPsLZrAcEJt5Tclf5JdlNGpy2P9F1W/6tfJMm w7sBJI6pm8sZVt/OrCBMsWvkklj37ETuUnwi+dijrF8sZB2eMYaTgGTsOSEqvYeL ZCUeSuRcc4R+KddoVMzhxDhYYNjlgbIEhEVQsZaUs+KZfNIZCplP+RUeBpmBObi8 gZhbnaOHa9Q0qkQ7G/MhaAEkrZiciV9XoyZ7ZNURqVCjgtUEFh1ERY7V2bDCE2/l i5WH5KTdhuDPyVq5khxMoax4lIDcqdlMr1H2zVjHLvD0+POBjgHSK0jc+tcLUb1I GK0ND5JJjPIWur3ySxQ3xPlNpxZhZYuENYWp8EPdZn7Yed9z/cYu11uQaNCa1IcD ys+5TIsXEO0ryreUStJTSShjDqAwVat1jsk8xhEhKIvfgtAowH5chOw5VfNfbDvg UsHUShoxeIOT5XAPD1DjvtVuVKA9MITr9HKKHgHr8stlid8hpE3EtNJf1QUGYkd7 9ytPZNhcrm2yXXYN/lLbE2nf0dMcSdV7IFabWFFIP9rbKeYEiZ3DKy4snS1+afO+ jVLOoNWEpo5n8uG6S9ZF/BoVyZcC2LxQuKRIGP/KG+uDIfXRLW/NXnh9U8ax8DEu cDL49V7ijyb2V9gi3F5lxyFynbnrjJxTyyuqs+pvnwZ2K5IHrMg= =cBKm -----END PGP SIGNATURE----- --uiuvctmc3dnamcl4--