[Scons-dev] Show source SConscript on error

Jason Kenny dragon512 at live.com
Wed Nov 4 08:28:30 EST 2015


No only the builder

Sent from my Windows Phone
________________________________
From: Bill Deegan<mailto:bill at baddogconsulting.com>
Sent: ‎11/‎4/‎2015 12:00 AM
To: SCons developer list<mailto:scons-dev at scons.org>
Subject: Re: [Scons-dev] Show source SConscript on error

Likely that means every Node would have to be annotated with the source
file and line it came from?
That could be quite memory intensive.

On Tue, Nov 3, 2015 at 12:20 PM, Jason Kenny <dragon512 at live.com> wrote:

> I think an example might be useful.
>
>
>
> Given an error people like to see stuff like this:
>
>
>
> scons: *** [build\windows\README.txt] Source `README' not found, needed by
> target `build\windows\README.txt':
>
>   File "C:\Some\source\location\Sconscript", line 3:
>
>     Env.FooBuilder(“out”,[‘README.txt’])
>
>
>
>
>
> Have an item on my list in Parts to muck up the Scons builder code to get
> this type of error message out…
>
>
>
> Better error messages in Scons would be a great thing 😊
>
>
>
> Jason
>
>
>
>
>
> Sent from Mail <http://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
>
>
>
> *From: *anatoly techtonik
> *Sent: *Tuesday, November 3, 2015 1:11 PM
> *To: *SCons developer list
> *Subject: *Re: [Scons-dev] Show source SConscript on error
>
>
>
>
>
> I want SCons to show me the line in SConscript file where
>
> this source 'README' dependency was defined.
>
>
>
> On Tue, Nov 3, 2015 at 7:26 PM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
> Anatoly,
>
> Not exactly sure what you would like SCons to do differently?
>
> There's a message and a non-zero exit status.
>
> -Bill
>
>
>
> On Tue, Nov 3, 2015 at 4:57 AM, anatoly techtonik <techtonik at gmail.com>
> wrote:
>
> Try https://ci.appveyor.com/project/nlprocby/rhvoice/build/1.0.9
>
>
>
> On Sun, Nov 1, 2015 at 6:06 PM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
> No permissions to view the log file..
>
>
>
> On Sun, Nov 1, 2015 at 12:32 AM, anatoly techtonik <techtonik at gmail.com>
> wrote:
>
> Hi,
>
>
>
> I was looking at this build log (see also below)
> https://ci.appveyor.com/project/YauhenMinsk/rhvoice/build/1.0.8
>
> and noticed that there is no way to tell whan SConsript complains
>
> about missing target. Do we have this info at all? If yes, why it is
>
> not shown by default?
>
>
>
> ...
>
> build\windows\packages\sapi\RHVoice-voice-Russian-Irina.nsi
>
> scons: *** [build\windows\README.txt] Source `README' not found, needed by
> target `build\windows\README.txt'.
>
> scons: building terminated because of errors.
>
> Command exited with code 2
>
>
>
>
> --
>
> anatoly t.
>
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
>
>
> --
>
> anatoly t.
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
>
>
> --
>
> anatoly t.
>
>
>
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20151104/102443ac/attachment.html>
-------------- next part --------------
_______________________________________________
Scons-dev mailing list
Scons-dev at scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


More information about the Scons-dev mailing list