[Scons-users] clean vs build
Mats Wichmann
mats at wichmann.us
Sun Jul 23 14:32:17 EDT 2017
any tips on debugging a situation where clean fails but build works? I'm
not quite sure where to look.
for an identical set of arguments to scons except for --clean, the clean
run ends with this output:
===
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
scons: *** Found dependency cycle(s):
Internal Error: no cycle found for node
out/linux/x86_64/debug/java/base/objs (<SCons.Node.FS.File object at
0x55fa03265fa0>) in state pending
Internal Error: no cycle found for node
out/linux/x86_64/debug/java/examples-java/simpleclient/jar
(<SCons.Node.FS.File object at 0x55fa0325a9a0>) in state pending
File "/usr/lib/scons/SCons/Taskmaster.py", line 1043, in cleanup
===
I've got a script which does a clean-before-build (the script is doing a
static-analyzer run, so it wants a completely clean state, since the
analysis depends on having captured information for each object built),
and the script fails because the clean leaves an error, but the build
step taken by itself works fine with no complaints about dependency cycles.
More information about the Scons-users
mailing list