[Scons-users] scons-local-2.5.1 build and clean shows random failure

Hua Yanghao huayanghao at gmail.com
Tue Jul 25 11:34:34 EDT 2017


On Tue, Jul 25, 2017 at 5:28 PM, Bill Deegan <bill at baddogconsulting.com> wrote:
> Can you check if you are specifying output/linux64_full as the source for
> some file in output/linux64_full ?

Nope. All files in output are either copied from the root or generated.
There are builds depends on the files generated in output/linux64_full,
but I cannot see anything depends on output/linux64_full e.g. this folder.

with this change:
@@ -1038,7 +1038,8 @@ class Taskmaster(object):
             else:
                 desc = desc + \
                     "  Internal Error: no cycle found for node %s
(%s) in state %s\n" %  \
-                    (node, repr(node), StateString[node.get_state()])
+                    (node, repr(node), StateString[node.get_state()]) \
+                    + str([n.get_abspath() for n in
self.pending_children]) + str([str(n[0]) for n in nclist])

         raise SCons.Errors.UserError(desc)

I got this error and indeed it looks like it does depend on itself which is odd:
scons: *** Found dependency cycle(s):
  Internal Error: no cycle found for node output/linux64_full
(<SCons.Node.FS.Dir object at 0x555b51bae330>) in state pending
['/home/hua/git/usw/output/linux64_full']['output/linux64_full']
File "/home/hua/git/usw/tools/scons-local-2.5.1/SCons/Taskmaster.py",
line 1044, in cleanup


More information about the Scons-users mailing list