[Scons-users] scons-local-2.5.1 build and clean shows random failure
Bill Deegan
bill at baddogconsulting.com
Tue Jul 25 11:39:49 EDT 2017
Does your build detect that it's being run to clean and do something
different in that case?
On Tue, Jul 25, 2017 at 8:39 AM, Bill Deegan <bill at baddogconsulting.com>
wrote:
> can you run this non paralell and --tree=prune and paste what
> output/linux64_full depends on?
>
> On Tue, Jul 25, 2017 at 8:38 AM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
>> nope. that's just because we're printing n.get_abspath()
>>
>> On Tue, Jul 25, 2017 at 8:36 AM, Hua Yanghao <huayanghao at gmail.com>
>> wrote:
>>
>>> Is scons accidentally treating /home/hua/git/usw/output/linux64_full
>>> and output/linux64_full
>>> as different resources? Then maybe changing everything to absolute
>>> path will do the trick?
>>>
>>> On Tue, Jul 25, 2017 at 5:34 PM, Hua Yanghao <huayanghao at gmail.com>
>>> wrote:
>>> > 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
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170725/ddcaf079/attachment-0001.html>
More information about the Scons-users
mailing list