Closed
Description
Version
Platform
Darwin abeja 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
Subsystem
intl
What steps will reproduce the bug?
configure --with-intl=small-icu --ninja
ninja
How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
:
What do you see instead?
ninja: Entering directory `out/Release'
[1/788] ACTION icudata: icutrim_cc7672230cb6f4a4cb1b079ff599d36f
FAILED: gen/icutmp/icudt69l.dat
cd ../../tools/icu; export BUILT_FRAMEWORKS_DIR=/Users/srl295/src/node/out/Release; export BUILT_PRODUCTS_DIR=/Users/srl295/src/node/out/Release; export CONFIGURATION=Release; export EXECUTABLE_NAME=libicudata.a; export EXECUTABLE_PATH=libicudata.a; export FULL_PRODUCT_NAME=libicudata.a; export MACH_O_TYPE=staticlib; export PRODUCT_NAME=icudata; export PRODUCT_TYPE=com.apple.product-type.library.static; export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk; export SRCROOT=/Users/srl295/src/node/out/Release/../../tools/icu; export SOURCE_ROOT="${SRCROOT}"; export TARGET_BUILD_DIR=/Users/srl295/src/node/out/Release; export TEMP_DIR="${TMPDIR}"; export XCODE_VERSION_ACTUAL=1300;python icutrim.py -P ../../out/Release -D ../../deps/icu-tmp/icudt69l.dat --delete-tmp -T ../../out/Release/gen/icutmp -F icu_small.json -O icudt69l.dat -v -L en,root
Options: {'verbose': 1, 'filterfile': 'icu_small.json', 'toolpath': '../../out/Release', 'deltmpdir': 1, 'outfile': 'icudt69l.dat', 'datfile': '../../deps/icu-tmp/icudt69l.dat', 'locales': 'en,root', 'endian': 'little', 'tmpdir': '../../out/Release/gen/icutmp'}
icu_small.json: icutrim.py config: Trim down ICU to just a certain locale set, needed for node.js use.
* converters: 190 items
* stringprep: 12 items
* translit: 3 items
* brkfiles: 12 items
* brkdict: 5 items
* confusables: 1 items
* brkitr: 13 items
* coll: 138 items
* curr: 493 items
* lang: 422 items
Removing lang/pool.res because tree lang is empty.
* rbnf: 99 items
* region: 422 items
Removing region/pool.res because tree region is empty.
* ROOT: 784 items
* unit: 413 items
* zone: 422 items
Traceback (most recent call last):
File "icutrim.py", line 339, in <module>
removeList(1)
File "icutrim.py", line 319, in removeList
pat = re.compile(bytes(r"^Item ([^ ]+) depends on missing item ([^ ]+).*", 'utf-8'))
TypeError: str() takes at most 1 argument (2 given)
ninja: build stopped: subcommand failed.
Additional information
maybe time for #25136