Re: Python 3 compatability... RFH (request for help)

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
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

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAljnxCcACgkQ1L3V0s7N
p7gqUg//Yc2WGgAPEC2hJJCOvF1yTG0ciNqx2UXbF478sA15iThk0TjTFMME4njo
nag1WAP7ACTQH5YCZalhR1kvwxP6357V9bkzGmEM7rOl9Lvbx8bkgMJC8JndTZgp
vEMDIz/WillNxovR+tbdcpEbhV4NJ/sFCw7kUBYy4Enb90J8U/e/3AEVzatlnCn9
fKqKde/dRQ/zNswfctM64BwA79txMIsg0vEokXzbhM/oLY9GfMQ5ecIZlRJSDk/P
8+oT2bdewrQi0RwpQF+unF584O/wX5pn+OrijxhAzwmMCWeQNdfw84zBM7K7WRe0
S518j3m6+i0Bu69sHcK6T6HkP1Ggn7EkKiVh8eAyaCiD2pY5U78DskDyXOhqtMxo
QEQ2gyx0BFwW3oXRdENNCeS5tR6WlQD+IQp/TGvRYfpnw1d6UMUMeac6UjyAGP+I
lt0mpTnAO+F63aht/lONG7O/VnTmxrSSvvYQxPPrGHP9/XUgDS50js8WNVZESeC4
9WzVQJYsP1J1WyOUBNpSPC7MWUXaovB3qeshlcSG0ivm3MgqFm7WSjMh7BhzvAry
BSGt4VwIz2+EtnUtoRF3y2Q38ru/oBfLHGapnaczgFOtjUvpbr1hgvRSgcLSWLog
LweTxf6nVUF/Xg0RAVMsaND0xxZSLPRZCPmAX10SHx8hV9VSisE=
=UBee
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.