Let me clarify better.

We only really need this for the builder calls. Many cases nodes are made in 
the builders call themselves. For example

Env.Program(“Hello”,”hello.c”)

The node for hello.c does not exist until the Program builder function is 
called. Issues that exist are:

1) Program might call Object() under the covers. We want the Object builder to 
use the Program() location 
2) Some “builders” are just wrapper function to a number of builder calls.

We don’t need or I think want it for every node as we have lots of them also a 
node can be created in many different locations. The point of the node.fs 
object it act like a singleton manager to make sure when I say File(“#hello.c”) 
in different locations we point to the same one node. The only thing we have in 
Scons that does not like duplicates is the builder/action calls. 

Jason



From: Jason Kenny
Sent: Wednesday, November 4, 2015 7:28 AM
To: SCons developer list
Subject: Re: [Scons-dev] Show source SConscript on error


No only the builder

Sent from my Windows Phone

From: Bill Deegan
Sent: ‎11/‎4/‎2015 12:00 AM
To: SCons developer list
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 <[email protected]> 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 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 <[email protected]> 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 <[email protected]> wrote:
Try https://ci.appveyor.com/project/nlprocby/rhvoice/build/1.0.9
 
On Sun, Nov 1, 2015 at 6:06 PM, Bill Deegan <[email protected]> wrote:
No permissions to view the log file..
 
On Sun, Nov 1, 2015 at 12:32 AM, anatoly techtonik <[email protected]> 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
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
 

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev



 
-- 
anatoly t.

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
 

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev



 
-- 
anatoly t.
 
 

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev



_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to