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

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


What I don't get is, this issue is not 100% reproducible.
Looks like it somehow relies on the OS scheduler and
if two process execute order changes it produces different result.

Could be a fundamental bug :-)

On Tue, Jul 25, 2017 at 5:38 PM, 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
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>


More information about the Scons-users mailing list