[Scons-users] scons 3.0.0 bug: Help() and site_tools
Bassem Girgis
brgirgis at gmail.com
Fri Oct 13 10:31:23 EDT 2017
Thanks Bill for looking into it! Somehow I can not include your replies in
my emails.
However, by now I'm sure you have found that these paths gets added to the
environment by the mere fact that site_tools directory and Help() exist in
the same project. If any of these two components is missing, we don't get
the repeated paths. And the site_tools directory does not have to contain
any file for this to happen.
It is true that these paths does not affect the build but it could be a
source of performance degradation for large projects. I hope this info
helps!
Bassem Girgis, PhD
Email: brgirgis at gmail.com
On Thu, Oct 12, 2017 at 2:40 AM, Bassem Girgis <brgirgis at gmail.com> wrote:
> Hi All,
>
> I have found another issue with scons 3.0.0 and python3. This issue is
> visible if you have a simple project that uses both the Help() function and
> also have a site_scons/site_tools directory. It is not there with python
> 2.7.13.
>
> As you can see below the path to site_tools is added many times
> unnecessarily.
>
> scons: Reading SConscript files ...
> session python path:['/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src//site_scons/site_tools',
> '/path/to/src/',
> '/path/to/src//site_scons',
> '/usr/bin/../engine',
> '/usr/bin/scons-local-3.0.0',
> '/usr/bin/scons-local',
> '/usr/lib/scons-3.0.0',
> '/usr/lib/scons-3.0.0',
> '/usr/local/lib/scons-3.0.0',
> '/usr/lib/python3.6/site-packages/scons-3.0.0',
> '/usr/lib/python3.6/site-packages/scons-3.0.0',
> '/usr/local/lib/python3.6/
> site-packages/scons-3.0.0',
> '/usr/lib64/scons-3.0.0',
> '/usr/lib/scons',
> '/usr/lib/scons',
> '/usr/local/lib/scons',
> '/usr/lib/python3.6/site-packages/scons',
> '/usr/lib/python3.6/site-packages/scons',
> '/usr/local/lib/python3.6/site-packages/scons',
> '/usr/lib64/scons',
> '/usr/lib/python36.zip',
> '/usr/lib64/python3.6',
> '/usr/lib64/python3.6/lib-dynload',
> '/home/username/.local/lib/
> python3.6/site-packages',
> '/usr/lib64/python3.6/site-packages',
> '/usr/lib64/python3.6/site-packages/PIL',
> '/usr/lib64/python3.6/_import_failed',
> '/usr/lib/python3.6/site-packages']
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: `.' is up to date.
> scons: done building targets.
>
> Please find attached a simple project that reproduces the issue.
>
> Bassem Girgis, PhD
>
> Email: brgirgis at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171013/d7b91af1/attachment.html>
More information about the Scons-users
mailing list