And of course I was right, I finally looked into it: the userspace is 32 bit, if you installed your OS before the switch (in 2020), so now the question is why does rustup does not pick up on that. I'm going to inspect it further.
(and it's of course aarch64, the porter is getting to me)
Now that I think about it the
error reading rustc versionerror is perfectly explained by running arch64 binary in 32 bit system.
I assumed it's
cryptographyPython module. I had problem with it before. There's also a thing that I noticed, the mixture of architectures. Apt fetched
armhfpackages but Rust downloaded
arm64toolchain. Maybe herein lies the rub? My system is a mess because it's where I experiment and I'm pretty sure I dist-upgraded it from RPi3 at some point making it schizophrenic. The kernel is arch64, that's much I'm sure.
Okie dokie. Just let me put my beer down.
The pull came in, eyeballed it for changes. Looks good.
(as an aside, installing Rust punishes my little box like hell, current load is 10.54)
Right now it hanged after Rust's installation. It gives out the hint about sourcing
.cargo/envbut right before that I get
stable-aarch64-unknown-linux-gnu installed - (error reading rustc version)that leads me to believe something went wrong (no rustc in PATH?). Maybe nothing to worry about because looking at CPU usage it is still going, just mute. I think it's overlay integration on SD that makes the system dizzy.
Finally went into 8/23, took a good 5 minutes if not more.
And, uh, it failed in the same way. I looked into Poetry docs if it has "dump errors to stdout" but it does not seems to. I'm mild on my Docker knowledge but I can try to give it a fix. Can't promise anything, I'm still pip/venv guy.
While in Docker container the scripts explodes while installing Poetry:
Installing Poetry (1.2.1): An error occurred. Removing partial environment.
Poetry installation failed.
See /poetry-installer-error-b72fsovx.log for error logs. The command '/bin/sh -c curl -sSL https://install.python-poetry.org | python3 -' returned a non-zero code: 1
I was testing it on Arm/RPi4