Skip to content

window build failure with the latest node v24.2.0 for small-icu #58751

Open
@liudonghua123

Description

@liudonghua123

Version

24.2.0

Platform

windows

Subsystem

No response

What steps will reproduce the bug?

I tried to build the latest node v24.2.0 of small-icu in github windows action. But it failed with the following errors.

......
2025-06-18T03:35:39.4285837Z   v8_libbase.vcxproj -> ..\..\out\Release\lib\v8_libbase.lib
2025-06-18T03:35:39.5580169Z   icutrim
2025-06-18T03:35:39.9977277Z   en
2025-06-18T03:35:40.0388571Z   en
2025-06-18T03:35:40.2020142Z   en
2025-06-18T03:35:40.2431508Z   en
2025-06-18T03:35:40.2844253Z   en
2025-06-18T03:35:40.3150304Z   Options: {'toolpath': '..\\..\\out\\Release\\', 'datfile': '../../deps/icu-tmp/icudt77l.dat', 'filterfile': 'icu_small.json', 'tmpdir': '..\\..\\out\\Release\\obj/global_intermediate/icutmp', 'deltmpdir': 1, 'outfile': 'icudt77l.dat', 'verbose': 1, 'locales': 'en,root', 'endian': 'little'}
2025-06-18T03:35:40.3151584Z   icu_small.json: icutrim.py config: Trim down ICU to just a certain locale set, needed for node.js use.
2025-06-18T03:35:40.3152001Z   * converters: 190 items
2025-06-18T03:35:40.3152190Z   * stringprep: 12 items
2025-06-18T03:35:40.3152379Z   * translit: 3 items
2025-06-18T03:35:40.3152544Z   * brkfiles: 15 items
2025-06-18T03:35:40.3152713Z   * brkdict: 5 items
2025-06-18T03:35:40.3152877Z   * confusables: 1 items
2025-06-18T03:35:40.3153070Z   * brkitr: 16 items
2025-06-18T03:35:40.3153226Z   * coll: 143 items
2025-06-18T03:35:40.3153382Z   * curr: 546 items
2025-06-18T03:35:40.3153532Z   * lang: 473 items
2025-06-18T03:35:40.3153728Z   Removing lang/pool.res because tree lang is empty.
2025-06-18T03:35:40.3153983Z   * rbnf: 102 items
2025-06-18T03:35:40.3154132Z   * region: 474 items
2025-06-18T03:35:40.3154359Z   Removing region/pool.res because tree region is empty.
2025-06-18T03:35:40.3154613Z   * ROOT: 881 items
2025-06-18T03:35:40.3154767Z   * unit: 465 items
2025-06-18T03:35:40.3154911Z   * zone: 473 items
2025-06-18T03:35:40.3213881Z   genccode
2025-06-18T03:35:42.0560458Z C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for '..\..\deps\icu-tmp\icudt77l.dat;..\..\out\Release\\obj\global_intermediate\icutmp\icudt77l.dat' exited with code -1073741819. [C:\a\node-sea\node-sea\node\tools\icu\icudata.vcxproj]
2025-06-18T03:35:46.1538079Z openssl\apps\list.c(88,1): warning : unused function 'sk_EVP_CIPHER_new_null' [-Wunused-function] [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
2025-06-18T03:35:46.1579064Z openssl\include\openssl\../../../config\.\./archs/VC-WIN64A/asm/include/openssl/safestack.h(175,29): message : expanded from macro 'DEFINE_STACK_OF' [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
2025-06-18T03:35:46.1581835Z openssl\include\openssl\../../../config\.\./archs/VC-WIN64A/asm/include/openssl/safestack.h(81,50): message : expanded from macro 'SKM_DEFINE_STACK_OF' [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
2025-06-18T03:35:46.1583636Z <scratch space>(20,1): message : expanded from here [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
2025-06-18T03:35:46.1604491Z openssl\apps\list.c(88,1): warning : unused function 'sk_EVP_CIPHER_new_reserve' [-Wunused-function] [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
2025-06-18T03:35:46.1656084Z openssl\include\openssl\../../../config\.\./archs/VC-WIN64A/asm/include/openssl/safestack.h(175,29): message : expanded from macro 'DEFINE_STACK_OF' [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
2025-06-18T03:35:46.1668795Z openssl\include\openssl\../../../config\.\./archs/VC-WIN64A/asm/include/openssl/safestack.h(85,50): message : expanded from macro 'SKM_DEFINE_STACK_OF' [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
2025-06-18T03:35:46.1676631Z <scratch space>(24,1): message : expanded from here [C:\a\node-sea\node-sea\node\deps\openssl\openssl-cli.vcxproj]
......

How often does it reproduce? Is there a required condition?

Build with ./vcbuild.bat x64 ltcg small-icu

What is the expected behavior? Why is that the expected behavior?

Build successfully.

What do you see instead?

See above logs.

Additional information

The action yaml file: https://github.com/liudonghua123/node-sea/blob/main/.github/workflows/node-build.yml
The full log: https://github.com/liudonghua123/node-sea/actions/runs/15721282094/job/44307618924

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoIssues without a valid reproduction.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions