@iwienand:matrix.org | > <@clarkb:matrix.org> corvus: fungi I think ianw expects https://review.opendev.org/c/zuul/nodepool/+/870036 to address the arm64 python pathing issue too | 21:16 |
---|---|---|
Just to follow up on that, upstream merged a change to build with rpath (see https://github.com/docker-library/python/issues/784). i'm still not 100% sure about the site.py overrides and why the wrong one was chosen on arm64 | ||
@iwienand:matrix.org | interesting, builds are failing | 21:29 |
@iwienand:matrix.org | 2023-01-15 21:03:21.187 | Fatal Python error: init_sys_streams: can't initialize sys standard streams" | 21:29 |
@iwienand:matrix.org | actually it seems that's | 21:31 |
@iwienand:matrix.org | 2023-01-15 21:03:21.187 | File "/usr/local/lib/python3.11/io.py", line 54, in <module> | 21:31 |
2023-01-15 21:03:21.188 | ImportError: cannot import name 'text_encoding' from 'io' (unknown location) | ||
@iwienand:matrix.org | so ... something is unhappy :/ | 21:31 |
@iwienand:matrix.org | sigh, this is "dnf download". i think this is actually the cause of what brings in the "system" python on these images | 21:32 |
@iwienand:matrix.org | ``` | 21:38 |
$ /usr/bin/python3.9 | ||
Fatal Python error: init_sys_streams: can't initialize sys standard streams | ||
Python runtime state: core initialized | ||
Traceback (most recent call last): | ||
File "/usr/local/lib/python3.11/io.py", line 54, in <module> | ||
ImportError: cannot import name 'text_encoding' from 'io' (unknown location) | ||
``` | ||
@iwienand:matrix.org | when python3.9 fails ro start because it can't find python3.11 libraries, something is messed up :/ | 21:39 |
@iwienand:matrix.org | ```PYTHONPATH=/usr/local/lib/python311.zip:/usr/local/lib/python3.11:/usr/local/lib/python3.11/lib-dynload:/usr/local/lib/python3.11/site-packages``` is the cause of this, i think | 21:56 |
@iwienand:matrix.org | OOOHHHH, that's what we added with https://review.opendev.org/c/opendev/system-config/+/870034 | 22:09 |
@iwienand:matrix.org | and this is what i was worried about -- the system python is now borked, and we rely on that for some things | 22:09 |
@iwienand:matrix.org | https://review.opendev.org/c/opendev/system-config/+/870478 reverts that | 22:46 |
@iwienand:matrix.org | ok, manually applying that and arm64 builds are looking more likely. this is straddling #opendev but with the password fixes this should allow uploads to the new linaro cloud | 23:58 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!