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

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Sun, 2017-04-09 at 11:26 -0400, Bill Deegan wrote:
> 
[…]
> I was responding to what it does when it runs, not for detecting for
> tests.
> Yes. I agree they should both find the same tools.
> Though not from the users environment by default.

Apologies, I think I got a bit inappropriately aggressive.

My excuse is that we have known about this disparate path problem for a
lot of months.

> The idea is that no matter what machine or user you are on you will
> get the
> same build.
> Picking up machine local paths (by default) would violate that goal.

On the other hand SCons then has to attempt to predict the "out of the
box" path for every environment. Also is reproducibility of this sort
actually a bit requirement. The same build on the same environment, yes
, definitely, but the same build on different environments, isn't that
a requirement too far?

> You sure. It's being found by test framework, and not by
> SCons.Tool.dmd
> right?

I shall speculate, as I am not sure exactly how to test this. Clearly
some assertions to flag inconsistency are needed.

The problem is the expansion of the command line and the value of DC.
During tool initialisation the executable is being found, so
/opt/local/bin in in the path, which implies using the OS not the SCons
trimmed down search path. This should set DC, but may be it doesn't.
The tools though thinks DC is set. The the compilation command is
issues and $DC evaluates to "". There must be a new search for the
previously found executable but now using the minimal search path which
now fails.

It is now drinkies time, so I better not try to be sensible any more.
:-)

-- 
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+Beyaiaer41L3V0s7Np7gFAljqZ9oACgkQ1L3V0s7N
p7iLKA//R2p8WNhOhYO5h54Pkwf5m4/C9NGkkXhjjLEkAYqajQDkOD6f7V+E360B
Wy0kFcsYtbcmuDw4ZPApKS67rvPh/LVVSbjpQnczKakfQybo+Rlu+k5r+cXKa97T
+u3hfNmAApsK37Qudr2XOBsMGVq1XSGBB3vskFjHiWcCiNg/RB1Ux7pzEgsCe+aE
7yJCyqdk8auluRrmtSiuSxhgI+pw6jY/gdI6Qo5SJeYbUwNEVC+zE0AVUk45fgxF
VXIJFhE3MBiMgtmsYs8eu6dMFYcdPfvATAtmzkgsUMw45SYPVT42Dh/pnSCRiDjO
9Stq8pmHtUayLIPln0mu4XAzPHFZFg6ZUROY8T//zCQqa+Ghye03OiZAK7jQSyxl
AaXEELqD8b71KeG//Jho3+6HCXj9cAATlmEfsv8f2NGww2rEInB7XeEXHCmATJX1
QL1sc4/jukXV9mmgwvCha5qRhiXVPbmgiMBoi1lyjARYAp7+oh6k6vvSnKQj7KE+
wTCkFOpT3kbjBdomdjsn9cSxDEosZEZDRFAMZFASSmMK05hrwZ6RkDCgOXxFhnej
jpOQHb9LXZfa4PMeBUUiyt40PpJX0oJ2SThlQiV+ME56CrQo38/RKP6xJMZrOizJ
Vq2gG6E/VRrKxuvxOcMlP9MLSxDuoFZY1szG2t5rTTMfsLEKZ28=
=tUNp
-----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.