[Scons-dev] Python 3 compatability... RFH (request for help)

Russel Winder russel at winder.org.uk
Fri Apr 7 12:53:59 EDT 2017


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:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170407/8c0049c0/attachment.pgp>


More information about the Scons-dev mailing list