Skip to content

Error Compiling Node.js v20.2.0 for Android (x86_64) using android-ndk-r25c #54919

@HiconKong

Description

@HiconKong

Version

v20.2.0

Platform

Docker From Ubuntu:20.04

Linux fc67e7bf1d76 5.15.0-101-generic #111~20.04.1-Ubuntu SMP Mon Mar 11 15:44:43 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

./android-configure /workspace/android-ndk-r25c 24 x86_64
make

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

always

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

all building steps works fine,and generate node binaray at out/Release

What do you see instead?

/workspace/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android24-clang -o /workspace/node/out/Release/obj.host/genccode/deps/icu-small/source/tools/genccode/genccode.o ../deps/icu-small/source/tools/genccode/genccode.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DNODE_OPENSSL_HAS_QUIC' '-DICU_NO_USER_DATA_OVERRIDE' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_ASM' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/icu-small/source/common -I../deps/icu-small/source/i18n -I../deps/icu-small/source/tools/toolutil  -Wall -Wextra -Wno-unused-parameter -m64 -pthread -O3 -fno-omit-frame-pointer -fPIC  -MMD -MF /workspace/node/out/Release/.deps//workspace/node/out/Release/obj.host/genccode/deps/icu-small/source/tools/genccode/genccode.o.d.raw   -c
  /workspace/android-ndk-r25c/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android24-clang++ -rdynamic -m64 -pthread -fPIC  -o /workspace/node/out/Release/genccode -Wl,--start-group /workspace/node/out/Release/obj.host/genccode/deps/icu-small/source/tools/genccode/genccode.o /workspace/node/out/Release/obj.host/genccode/tools/icu/no-op.o /workspace/node/out/Release/obj.host/tools/icu/libicutools.a -Wl,--end-group 
  LD_LIBRARY_PATH=/workspace/node/out/Release/lib.host:/workspace/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/icu; mkdir -p /workspace/node/out/Release/obj/gen; "/workspace/node/out/Release/icupkg" -tl ../../deps/icu-tmp/icudt73l.dat "/workspace/node/out/Release/obj/gen/icudt73l.dat"
/bin/sh: 1: /workspace/node/out/Release/icupkg: not found
make[1]: *** [tools/icu/icudata.target.mk:13: /workspace/node/out/Release/obj/gen/icudt73l.dat] Error 127
make: *** [Makefile:134: node] Error 2

Additional information

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidIssues and PRs related to the android platform.buildIssues and PRs related to build files or the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions