-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Older versions of SCons are no longer supported #91986
Comments
On Windows, we recommend using pip to install an up-to-date SCons, but the Linux compilation instructions never did that for some reason. The most likely rationale is that We should modify the docs so all platforms recommend installing SCons through pip, and telling the user to ensure that pip-installed programs are in #43377 will need to be updated accordingly as well. |
Would be useful to update the minimum version check for scons to give better messages as well, if we accept the shift in version limitation |
I'll check which SCons version added what we need, and assess whether we want to bump the min requirement. |
I really think the min requirement should NOT be bumped. I'm building and running Godot master branch just fine on an ubuntu 18.0.4 based distro, and the only issue I'm having is this change to the required scons version. The minimum system and tool requirements should be based on what the engine itself actually needs in order to run, and the build process should be kept compatible with those system & tool versions. |
Like all things, it's a tradeoff. If a higher minimum version means we can use more high level features to make the life of contributors easier, saving them a significant amount of time on a regular basis, IMO it's worth it if the counterpart is that users on an EOL distro like Ubuntu 18.04 have to do For the record, I do not recommend making Godot builds on Ubuntu 18.04. It's outdated and while the SCons version might be functional enough, the compiler versions have known bugs and you're missing on a lot of performance optimization from using a more modern version of GCC or Clang. We recommend using our own Linux SDK to compile portable Godot binaries from any Linux distro: https://github.com/godotengine/buildroot/ |
Actually, I'm not missing that. I build Clang from source also. So I have Clang 16.x on my system. |
Then I think you can install SCons 4.7.0 through pip and also enjoy faster build times :) |
Tested versions
Reproducible after this commit #91792
System information
20.04.1-Ubuntu - Godot 4.3.dev
Issue description
Newest master fails to build with
scons v.3.1.2
, which comes withsudo apt install scons
on Ubuntu 20.04.The error:
After removing the old version of scons and installing newest one from pip with
pip3 install scons
, I was able to build Godot again.Issue probably is that this step in compile instructions will install an older version of SCons on some distros and compiling will fail.
Steps to reproduce
Minimal reproduction project (MRP)
empty.zip
zip empty because project not needed.
See also:
Documentation issue? godotengine/godot-docs#9380
The text was updated successfully, but these errors were encountered: