[Scons-users] SCons 4.5.0 Released

Rob Boehne robb at datalogics.com
Mon Mar 6 14:13:42 EST 2023


We have also had some things suddenly stop building with 4.5.0 – but it was specific to certain projects.  Here is a traceback on what didn’t build with the new release (and was fixed by pinning SCons to 4.4.0):


09:19:58 TypeError: sequence index must be integer, not 'slice':
09:19:58   File "/devlocal/devauto/Jenkins/workspace/Nightly_Builds/APDFL15/64-Bit/apdfl-sandbox/DLE/SConstruct", line 1001:
09:19:58     add_conan_dependencies(env)
09:19:58   File "/devlocal/devauto/Jenkins/workspace/Nightly_Builds/APDFL15/64-Bit/apdfl-sandbox/DLE/SConstruct", line 277:
09:19:58     env.MergeFlags(values)
09:19:58   File "/devlocal/devauto/Jenkins/workspace/Nightly_Builds/APDFL15/64-Bit/apdfl-sandbox/python-env-rhws6/lib/python3.9/site-packages/SCons/Environment.py", line 1095:
09:19:58     for v in orig[::-1]:
09:19:58 gmake: *** [dle_build] Error 2
09:19:59 Build step 'Conditional step (single)' marked build as failure


From: Scons-users <scons-users-bounces at scons.org> on behalf of Mats Wichmann <mats at wichmann.us>
Date: Monday, March 6, 2023 at 1:01 PM
To: scons-users at scons.org <scons-users at scons.org>
Subject: Re: [Scons-users] SCons 4.5.0 Released
On 3/6/23 11:10, Olivier, Jeffrey V wrote:
> Our project build has broken badly with update to 4.5 and I'm not sure
> why it's happening (See github.com/daos-stack/daos.git).
>
> We make use of Clone() to make modifications to the default environment
> for building various libraries and binaries in our system.   With 4.5,
> we are seeing a leak of CPPDEFINES from some environments to others
> whereas this did not happen prior to 4.5.   I see there were some
> changes in this area.  Any idea what might be causing this.

No, but...

the easier it is to reproduce the easier it is to track down, of course.
  Your project is big and has dependencies so not sure we we can
reproduce from that...



_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20230306/71ca4b06/attachment.htm>


More information about the Scons-users mailing list