On Fri, 2017-04-07 at 12:35 -0400, Bill Deegan wrote:
> Russel,
> 
> I have macports dmd installed and see the following when I run test/D
> 
> https://pastebin.mozilla.org/9018262
> 
> Thoughts?
> 

This looks fairly familiar :-(

When SCons tool set up searches for executables, in this case dmd, it
uses a different path to when it then tries to run a dmd job. It sent
the string to subprocess but the executable is not found so all the
symbols substitute to ''. SCons has perhaps too many levels of
indirection between detection, setting up symbols and using the
symbols.

I had thought I had sorted this out for the D tests, but clearly not –
on MacOS. I have no way of checking Windows, so I must leave the to
others.

Personally I get round this systemic problem for my projects by always
using an execution environment with ENV=os.environ to compile D code.
This unifies the path used for set up and for execution.

I believe I have ranted about this problem in the past. Often. :-)
 
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to