ICU4C 67.1 build fails on Windows 10 with VS 2019 Community

Description

Build of ICU4C 67.1 fails on Windows 10 x64 with Visual Studio 2019 Community.

Data build fails with following error:
{{
62>Build:
chcp 65001 >NUL && NMAKE /f makedata.mak ICUMAKE="C:\SOURCE\BOOST\icu4c-67_1\icu\source\data
" CFG=x64\Debug

Microsoft (R) Program Maintenance Utility Version 14.26.28806.0
Copyright (C) Microsoft Corporation. All rights reserved.

ICU data make path is C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\
ICU root path is C:\SOURCE\BOOST\icu4c-67_1\icu
ICU data DLL_OUTPUT path is C:\SOURCE\BOOST\icu4c-67_1\icu\bin64
ICU tools path is C:\SOURCE\BOOST\icu4c-67_1\icu\source\tools
ICU tools CFG subpath is x64\Debug
ICU data source archive is C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\in\icudt67l.dat
set PYTHONPATH=C:\SOURCE\BOOST\icu4c-67_1\icu\source\python;%PYTHONPATH
py -3 -B -m icutools.databuilder --mode windows-exec --src_dir "C:\SOURCE\BOOST\icu4c-67_1\icu\source\data" --tool_dir "C:\SOURCE\BOOST\icu4c-67_1\icu\source\tools" --tool_cfg "x64\Debug" --out_dir "C:\SOURCE\BOOST
\icu4c-67_1\icu\source\data\out\build\icudt67l" --tmp_dir "C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\out\tmp" --filter_file ""
Traceback (most recent call last):
File "C:\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\SOURCE\BOOST\icu4c-67_1\icu\source\python\icutools\databuilder_main_.py", line 360, in <module>
exit(main(sys.argv[1:]))
File "C:\SOURCE\BOOST\icu4c-67_1\icu\source\python\icutools\databuilder_main_.py", line 304, in main
requests = BUILDRULES.generate(config, io, common)
File "C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\BUILDRULES.py", line 41, in generate
requests += generate_tree(config, io, common_vars,
File "C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\BUILDRULES.py", line 549, in generate_tree
dependency_data = io.read_locale_deps(sub_dir)
File "C:\SOURCE\BOOST\icu4c-67_1\icu\source\python\icutools\databuilder_main_.py", line 257, in read_locale_deps
return self._read_json("%s/LOCALE_DEPS.json" % tree)
File "C:\SOURCE\BOOST\icu4c-67_1\icu\source\python\icutools\databuilder_main_.py", line 260, in _read_json
with pyio.open(os.path.join(self.src_dir, filename), "r", encoding="utf-8-sig") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\SOURCE\\BOOST\\icu4c-67_1\\icu\\source\\data
locales/LOCALE_DEPS.json'
62>NMAKE : fatal error U1077: 'C:\Windows\py.EXE' : return code '0x1' [C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\makedata.vcxproj]
Stop.
62>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command "chcp 65001 >NUL && NMAKE /f makedata.mak ICUMAKE="C:\SOURCE\BOOST\icu4c-67_1\ic
u\source\data
" CFG=x64\Debug" exited with code 2. [C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\makedata.vcxproj]
62>Done Building Project "C:\SOURCE\BOOST\icu4c-67_1\icu\source\data\makedata.vcxproj" (default targets) – FAILED.
1>Done Building Project "C:\SOURCE\BOOST\icu4c-67_1\icu\source\allinone\allinone.sln" (default targets) – FAILED.
}}

Assignee

Jeff Genovy

Reporter

Samuli-Petrus Korhonen

Components

Labels

None

Reviewer

None

Priority

major

Time Needed

Minutes

Fix versions

Configure