cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
[Arfrever] has quit [Ping timeout: 256 seconds]
[Arfrever] has joined #pypy
jcea has quit [Ping timeout: 256 seconds]
itamarst has quit [Quit: Connection closed for inactivity]
<korvo> Debugging build_cffi_imports is kind of a chore when builds are reproducible. I'm guessing that the intention was for folks to have a mutable installation, and to rerun the build script whenever the system libraries change (what Gentoo folks call "revdep-rebuild"), but it does chew up a fair amount of time.
<korvo> On the plus side, I think that I'm experiencing a Jones speedup? I'll give precise times in an hour.
<LarstiQ> korvo: cheers! When I tried (a week ago?), `ni build .\#pypy3` failed. I'll try again
<korvo> Yeah, that's what I'm currently trying to fix. `pypy2Minimal` works fine; it's an issue with the CFFI link step at the very end (OpenSSL, Tk/TCL, etc.) but those modules are disabled for bootstrap.
<korvo> I was hoping to work on `topaz` or `pixie` tonight, but it's already past midnight here.
<korvo> LarstiQ: That said, thank you for testing! By the way, if you have a system that hasn't been marked as tested, let me know.
<LarstiQ> korvo: alas, aarch64-linux (Asahi NixOS). I'll try it out if I find something else lying around :)
<korvo> Ah, cool.
<korvo> Okay, I think I have a theory. I'm noting that `pypy3` built fine with CPython as the bootstrap. So perhaps `pypy2Minimal` is missing something?
<LarstiQ> `ValueError: unsupported hash type shake_256`?
<LarstiQ> or something underlying errors like that
<korvo> I am guessing that `--translationmodules` doesn't actually include everything needed for a two-stage bootstrap. The logs hint that `hashlib` doesn't work because `thread` isn't available. `--translationmodules --withmod-thread` crashes during translation, so I can't just switch it back on.
<LarstiQ> right
<korvo> One solution would be a three-stage bootstrap. I don't want to wait for that, though. Another option would be to add a bunch of "--withoutmod-" options to the minimal build rather than relying on `--translationmodules` as a shorthand.
<LarstiQ> korvo: hmm, pypy2 does build fine, I wonder what the difference is with pypy3. Trying a 3-stage build with pypy2Minimal -> pypy2 -> pypy3 now
<LarstiQ> nope, same problem
<korvo> Okay. I'm not awake enough to try it right now, but in the morning I'm going to list out the modules that wouldn't work in a minimal build explicitly, and see if that builds a viable bootstrap. Thanks for sharing your results.
<LarstiQ> korvo: np, thanks for your work on this! And sleep well :)
sugarbeet has quit [Ping timeout: 268 seconds]
sugarbeet has joined #pypy
ztrawhcse has joined #pypy
stefan11111 has joined #pypy
stefan11111 has left #pypy [#pypy]
<korvo> Hm, perhaps OpenSSL is required even with `--translationmodules`.
itamarst has joined #pypy
matti303 has joined #pypy
matti303 has left #pypy [WeeChat 4.3.1]
glyph has quit [Quit: End of line.]
glyph has joined #pypy