Sunday, 2023-01-15

@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 too21: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.orginteresting, builds are failing 21:29
@iwienand:matrix.org2023-01-15 21:03:21.187 | Fatal Python error: init_sys_streams: can't initialize sys standard streams"21:29
@iwienand:matrix.orgactually it seems that's21:31
@iwienand:matrix.org2023-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.orgso ... something is unhappy :/21:31
@iwienand:matrix.orgsigh, this is "dnf download".  i think this is actually the cause of what brings in the "system" python on these images21: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.orgwhen 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 think21:56
@iwienand:matrix.orgOOOHHHH, that's what we added with https://review.opendev.org/c/opendev/system-config/+/87003422:09
@iwienand:matrix.organd this is what i was worried about -- the system python is now borked, and we rely on that for some things22:09
@iwienand:matrix.orghttps://review.opendev.org/c/opendev/system-config/+/870478 reverts that22:46
@iwienand:matrix.orgok, 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 cloud23:58

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!