FS#70100 - [scons] Build info contains useless __BUILD__
Attached to Project:
Arch Linux
Opened by Jason Yundt (Jayman) - Sunday, 21 March 2021, 02:35 GMT
Last edited by David Runge (dvzrv) - Tuesday, 20 July 2021, 21:31 GMT
Opened by Jason Yundt (Jayman) - Sunday, 21 March 2021, 02:35 GMT
Last edited by David Runge (dvzrv) - Tuesday, 20 July 2021, 21:31 GMT
|
Details
Description:
When using the --version flag, SCons displays __BUILD__ instead of a Git commit hash. Additional info: * package version: 3.1.2-4 * config and/or log files etc: [jayman@Jason-Desktop-Linux ~]$ scons --version SCons by Steven Knight et al.: script: v3.1.2.__BUILD__, 2019-12-17 02:06:27, by none on none engine: v3.1.2.__BUILD__, 2019-12-17 02:06:27, by none on none engine path: ['/usr/lib/python3.9/site-packages/SCons'] Copyright (c) 2001 - 2019 The SCons Foundation [jayman@Jason-Desktop-Linux ~]$ Steps to reproduce: 1. Run scons --version. |
This task depends upon
Closed by David Runge (dvzrv)
Tuesday, 20 July 2021, 21:31 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 4.1.0-2
Tuesday, 20 July 2021, 21:31 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 4.1.0-2
I'm curious, why does upstream have it set up this way when building from stable releases? Might be worth discussing with the actual project. ;)
scons --version
SCons by Steven Knight et al.:
SCons: v4.1.0, Sun, 21 Mar 2021 10:11:28 +0000, by scons on archlinux
SCons path: ['/usr/lib/python3.9/site-packages/SCons']
Copyright (c) 2001 - 2021 The SCons Foundation
requires:
python scripts/scons.py BUILD_SYSTEM="archlinux" DEVELOPER="$pkgname" DATE="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
scons --version
SCons by Steven Knight et al.:
SCons: v4.1.0, 2021-07-13 08:39:57, by _reproducible on _reproducible
SCons path: ['/usr/lib/python3.9/site-packages/SCons']
Copyright (c) 2001 - 2021 The SCons Foundation
@Jayman good enough?