[Scons-users] scons 3.0.0 bug: Help() and site_tools

Bassem Girgis brgirgis at gmail.com
Thu Oct 12 03:40:36 EDT 2017


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/20171012/e53a7543/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.gz
Type: application/x-gzip
Size: 497 bytes
Desc: not available
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171012/e53a7543/attachment.bin>


More information about the Scons-users mailing list