-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 7.0.4, 6.0.13
-
Component/s: None
-
None
-
Server Release
-
ALL
-
FastDL source tarballs after versions 6.0.12 & 7.0.4 (both released Nov 27th 2023) are missing or access is denied.
The tarballs are available from github, however they're missing the top level version.json file. When trying to build with the github tarball, the Mongo build script fails in the SContruct due to the missing version.json file:
try:
with open("version.json", "r") as version_fp:
version_data = json.load(version_fp)if 'version' not in version_data:
print("version.json does not contain a version string")
Exit(1)
if 'githash' not in version_data:
version_data['githash'] = utils.get_git_version()except IOError as e:
# If the file error wasn't because the file is missing, error out
if e.errno != errno.ENOENT:
print(("Error opening version.json: {0}".format(e.strerror)))
Exit(1)version_data = {
'version': utils.get_git_describe()[1:],
'githash': utils.get_git_version(),
{{ }}}except ValueError as e:
print(("Error decoding version.json: {0}".format(e)))
Exit(1)
The code tries to use git to get the version and githash, but that doesn't work because in a git tarball there's no git information.