Skip to content
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 which come with the oneliner install are no longer supported #9380

Closed
ultsi opened this issue May 15, 2024 · 2 comments
Labels
area:contributing Issues and PRs related to the Contributing/Development section of the documentation bug

Comments

@ultsi
Copy link

ultsi commented May 15, 2024

Your Godot version:

Newest master

Issue description:

When using scons v3.1.2 which comes with sudo apt install scons on Ubuntu 20.04, building the engine will fail with the following error:

$ scons platform=linuxbsd 
scons: Reading SConscript files ...
TypeError: 'SConsEnvironment' object is not a mapping:
  File "/home/ultsi/dev/godot/godot-src/SConstruct", line 368:
    opts.Update(env, {**ARGUMENTS, **env})

Solution to this was to uninstall old scons with sudo apt remove scons and install newest scons with pip3 install scons.

So the issue is that the oneliner for Ubuntu on the documentation below will install an old version of scons.

For the record this is the commit that breaks old scons compatibility: godotengine/godot#91792

URL to the documentation page:

https://docs.godotengine.org/en/latest/contributing/development/compiling/compiling_for_linuxbsd.html#distro-specific-one-liners

@ultsi ultsi added the bug label May 15, 2024
@ultsi ultsi changed the title Scons v3.1.2 is no longer supported Old versions of scons are no longer supported May 15, 2024
@ultsi ultsi changed the title Old versions of scons are no longer supported Older versions of scons are no longer supported May 15, 2024
@ultsi ultsi changed the title Older versions of scons are no longer supported Older versions of scons which come with the oneliner install are no longer supported May 15, 2024
@AThousandShips
Copy link
Member

This should probably be reported on the main repo, I don't know it's a documentation issue unless we decide we shouldn't support 3.1.2 any longer

@skyace65
Copy link
Contributor

Fixed in the engine by godotengine/godot#92041

@skyace65 skyace65 added the area:contributing Issues and PRs related to the Contributing/Development section of the documentation label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:contributing Issues and PRs related to the Contributing/Development section of the documentation bug
Projects
None yet
Development

No branches or pull requests

3 participants