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

Bill Deegan bill at baddogconsulting.com
Tue Jul 25 18:39:15 EDT 2017


Yes.. You created dependency cycle..
But only after a build.
Thus why it's showing up only on clean...

Once you build you have output/linux64_build
Then you say map . to output/linux_64build  which ends up with a virtual
subdirectory via variantdir of output/linux64_build/output/linux_64...

see the issue.

Variantdirs should never have parent/child relationships.

I'd advice instead of using VariantDir(), use variant_dir in your
SConscript call to map like this:

SConscript('src/SConscript',variant_dir='output/linux64_build/src')
etc..

See if doing that resolves the issue?

On Tue, Jul 25, 2017 at 1:03 PM, Hua Yanghao <huayanghao at gmail.com> wrote:

> Yes, that's exactly how I used VariantDir. Any problem seen?
>
> On Tue, Jul 25, 2017 at 6:32 PM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
> > Can you paste just the usage of VariantDir() from your build?
> >
> > Are you doing
> >
> > VariantDir('output/linux64_full','.') in your SConstruct?
> >
> >
> > On Tue, Jul 25, 2017 at 8:47 AM, Hua Yanghao <huayanghao at gmail.com>
> wrote:
> >>
> >> I think I am in, can you see my message there? Got no response.
> >>
> >> On Tue, Jul 25, 2017 at 5:45 PM, Bill Deegan <bill at baddogconsulting.com
> >
> >> wrote:
> >> > goto:
> >> > http://webchat.freenode.net/
> >> >
> >> > pick any nickname
> >> > channel is "#scons"
> >> >
> >> > On Tue, Jul 25, 2017 at 8:43 AM, Hua Yanghao <huayanghao at gmail.com>
> >> > wrote:
> >> >>
> >> >> On Tue, Jul 25, 2017 at 5:42 PM, Bill Deegan
> >> >> <bill at baddogconsulting.com>
> >> >> wrote:
> >> >> > so you see this most often when:
> >> >> >
> >> >> > scons -j <SOME NUMBER> -c ?
> >> >>
> >> >> Exactly, it fails most often with scons -j8 -c, very rare with scons
> >> >> -j8.
> >> >>
> >> >> > Any chance you can hop on the IRC channel?
> >> >> >
> >> >>
> >> >> If you give me an instruction for howto ... I could try, never really
> >> >> used
> >> >> IRC.
> >> >> _______________________________________________
> >> >> 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
> >> >
> >> _______________________________________________
> >> 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
> >
> _______________________________________________
> 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/42359402/attachment.html>


More information about the Scons-users mailing list