tracing to where a target was defined

daggs <[email protected]> Sun, 6 Aug 2023 10:28:29 +0200
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <trinity-aa5e5df5-fac9-45ae-ac39-42846b6cbf95-1691310509667@3c-app-mailcom-bs05>
Greetings,

I have a project that fails with the following error:
scons: *** [output/target/foo] Source `src/foo/foo' not found, needed by target `output/target/foo'.

output/target/foo is copied from src/goo/foo and I clearly define src/goo/foo as source of the copy
I suspect that src/foo/foo is defined elsewhere in the code but I'm unable locate it in code review so I was wondering if
there is away to print a stack trace when  target is defined?

Thanks,

Dagg