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

SCons 4.2.0 reports warning message: "Calling missing SConscript without error is deprecated" #52281

Closed
Calinou opened this issue Aug 31, 2021 · 2 comments · Fixed by #52341
Closed

Comments

@Calinou
Copy link
Member

Calinou commented Aug 31, 2021

Godot version

4.0.dev (7ab78c4)

System information

Fedora 34, GeForce GTX 1080 (NVIDIA 470.57.02)

Issue description

scons: warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=False to SConscript calls.

Steps to reproduce

Run scons in the Godot root directory with SCons 4.2.0 or later.

Minimal reproduction project

N/A

@Calinou Calinou added this to the 4.0 milestone Aug 31, 2021
@Calinou Calinou changed the title SCons 4.2.0 reports warning message SCons 4.2.0 reports warning message: "Calling missing SConscript without error is deprecated" Aug 31, 2021
@bruvzg
Copy link
Member

bruvzg commented Aug 31, 2021

Missing SConscript is probably modules/gdnative/xr/SCsub which was removed in #52003, but still listed in the modules/gdnative/SCsub.

@Xrayez
Copy link
Contributor

Xrayez commented Sep 2, 2021

The must_exist=False is useful for optional user modules (lets say we have a game module which users could copy-paste directly into Godot source, and Godot would call SConstript("game/SCSub", must_exist=False). But Godot does not use nor support this kind of approach so all calls to non-existing SCSub with hardcoded paths should likely be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants