[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

python debugging on trunk

From: Karl Berry
Subject: python debugging on trunk
Date: Mon, 26 Sep 2022 10:23:50 -0600

Is anyone up for debugging some Python-related test failures on
RHEL-based systems?

Mike Vapier from gentoo made many improvements to the Python support.
(Mike, if you're still out there, would love to hear back.)

Unfortunately, the end result is that 13 tests (listed below) now fail
for me on Alma Linux 8 (and, presumably, Rocky 8; and I believe CentOS 7)
with the trunk automake.

My appetite for (and experience in) debugging Python problems is pretty
low. But we can't make another release until this is fixed. So, I wonder
if there's anyone else who's interested in figuring this out. I can
probably figure out access to a system where it fails, if that's a problem.

I have a suspicion the problem is that on RHEL systems, "python" invokes
"python2" (because that's what the Python maintainers recommend, as I
understand it), but the tests are assuming it invokes "python3".
Knowing Python, I feel pretty sure that there will be many complications
in dealing with this.


FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/
FAIL: t/

For example, test-suite.log shows this for the failure:
Byte-compiling python modules... Traceback (most recent call last):
  File "<string>", line 13, in <module>
AttributeError: 'module' object has no attribute 'implementation'
make: *** [Makefile:304: install-myPYTHON] Error 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]