Closed Wikpi closed 2 months ago
I was trying to dig deeper and ran the build/foss/build.sh
command in the ruster
docker, which again gave an error:
error: package `bumpalo v3.16.0` cannot be built because it requires rustc 1.73.0 or newer, while the currently active rustc version is 1.72.1
Either upgrade to rustc 1.73.0 or newer, or use
cargo update -p bumpalo@3.16.0 --precise ver
where `ver` is the latest version of `bumpalo` supporting rustc 1.72.1
Is this a problem with the ruster
docker image not being updated to the newest rust version or something else?
Hi, thank you for reporting. Nice investigation as well. We also stumbled upon this issue and we had a fix with different set of changes, but since it's impacting you already, I created a PR with the fix here.
If you are curious, the issue was caused by this line: https://github.com/NordSecurity/nordvpn-linux/blob/main/magefiles/docker.go#L102. We are switching the user with su
and it clears the environment of the user before switch happens and this cleared PATH
as well, so cargo
could not be found
@Wikpi you are right also with the rust version issue, we'll look into that
Hello, I was trying to build the nordvpn-linux app and ran into a problem.
I was reading BUILD.md and executed the build command:
mage build:binariesDocker
Which then gave the following:
I also looked into the docker image, where it shows, that cargo does indeed exist. So why is it not building?
BR, -Wikpi