Notes for glob2 - reproducible builds result

Version annotated: 0.9.4.4-2.3
Identified issues:
Identifier: scons_doesnt_pass_environment_to_build_tools
Description The build system SCons doesn't pass environment variables to the build tools (compilers etc.) by default.
See scons(1):
"scons does not automatically propagate the external environment used to execute scons to the commands used to build target files. This is so that builds will be guaranteed repeatable regardless of the environment variables set at the time scons is invoked"
This prevents for example that SOURCE_DATE_EPOCH can be read by build tools.
.
This can be worked around by explicitly importing
SOURCE_DATE_EPOCH in the SConstruct or similar file,
such as the patch in https://bugs.debian.org/1010466
 

Our notes about issues affecting packages are stored in notes.git and are targeted at packages in Debian in 'unstable/amd64' (unless they say otherwise).