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

SConf marks files up-to-date while using them in checks #2757

Closed
bdbaddog opened this issue Jan 2, 2018 · 4 comments · Fixed by #4161
Closed

SConf marks files up-to-date while using them in checks #2757

bdbaddog opened this issue Jan 2, 2018 · 4 comments · Fixed by #4161
Labels
bug Configure any issues related to Configure contexts Version: 2.0.1

Comments

@bdbaddog
Copy link
Contributor

bdbaddog commented Jan 2, 2018

This issue was originally created at: 2011-04-23 13:50:13.
This issue was reported by: garyo.
garyo said at 2011-04-23 13:50:13

If you have a Configure (aka SConf) test that uses a header file, say foo.h, and foo.h is modified, what happens is the Configure test runs (it's like a mini-SCons run) and updates the ninfo.csig of foo.h's node. Then the rest of the SConstruct gets read, and foo.h appears unmodified, so none of its dependents get built. Don't have a repro case handy here, will try to provide one soon.

@mwichmann mwichmann added Configure any issues related to Configure contexts and removed P4 labels Apr 28, 2021
@mwichmann
Copy link
Collaborator

#2485 is an example of this, it looks like.

@mwichmann
Copy link
Collaborator

@dmoody256
Copy link
Contributor

dmoody256 commented May 25, 2022

Should SConf use a separate sconsign file and just stick in sconf_temp dir?

Not sure if that will really fix it, because the state may be in memory from just running the SConf checks.

@mwichmann
Copy link
Collaborator

That, on the surface, sounds like it could alleviate several of the interaction problems that people seem to have run into - there are a LOT of Configure bugs (of course the devil is in the details as you note). Seems like a lot of the old bugs were handwaved away with "when we rewrite blah blah...." which didn't happen.

Funny thing is, I was just thinking about another reason why one might want to be able to specify an alternate sconsign file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Configure any issues related to Configure contexts Version: 2.0.1
Projects
None yet
3 participants