Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node编译报错 #13293

Open
1 task done
DestoryG opened this issue Jan 19, 2025 · 0 comments
Open
1 task done

node编译报错 #13293

DestoryG opened this issue Jan 19, 2025 · 0 comments

Comments

@DestoryG
Copy link

详细叙述

node编译出错

重复 issue

  • 没有类似的 issue

具体型号

小米R3G

详细日志

make[3]: Entering directory '/home/destoryg/lede/feeds/packages/lang/node'
. /home/destoryg/lede/include/shell.sh; xzcat /home/destoryg/lede/dl/node-v12.22.12.tar.xz | tar -C /home/destoryg/lede/build_dir/hostpkg/node-v12.22.12/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /home/destoryg/lede/build_dir/hostpkg/node-v12.22.12

Applying ./patches/v12.x/001-hardfloat.patch using plaintext:
patching file deps/v8/src/base/cpu.cc

Applying ./patches/v12.x/003-path.patch using plaintext:
patching file lib/internal/modules/cjs/loader.js

Applying ./patches/v12.x/004-musl_support.patch using plaintext:
patching file deps/v8/src/base/platform/condition-variable.cc
patching file deps/v8/src/base/platform/platform-posix.cc
patching file deps/v8/src/codegen/external-reference-table.cc

Applying ./patches/v12.x/005-check-if-uclibc-has-backtrace-support.patch using plaintext:
patching file deps/v8/src/base/debug/stack_trace_posix.cc

Applying ./patches/v12.x/006-mips64_support.patch using plaintext:
patching file configure.py

Applying ./patches/v12.x/007-fix_host_build_on_macos.patch using plaintext:
patching file tools/gyp/pylib/gyp/generator/make.py

Applying ./patches/v12.x/008-deps_v8_fix_big_endian.patch using plaintext:
patching file deps/v8/src/runtime/runtime-utils.h

Applying ./patches/v12.x/010-execvp-arg-list-too-long.patch using plaintext:
patching file deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
patching file tools/gyp/pylib/gyp/generator/make.py

Applying ./patches/v12.x/012-changing-default-npm-settings.patch using plaintext:
patching file deps/npm/lib/config/defaults.js

Applying ./patches/v12.x/013-npm-unsafe-override-for-global-install.patch using plaintext:
patching file deps/npm/lib/config/defaults.js

Applying ./patches/v12.x/999-delete_unnecessary_libraries_for_host_execute.patch using plaintext:
patching file tools/icu/icu-generic.gyp
patching file tools/v8_gypfiles/v8.gyp

Applying ./patches/v12.x/999-deps_openssl_force_asm.patch using plaintext:
patching file deps/openssl/openssl.gyp

Applying ./patches/v12.x/999-deps_openssl_mips_support.patch using plaintext:
patching file deps/openssl/config/archs/linux-mips/asm/crypto/aes/aes-mips.S
patching file deps/openssl/config/archs/linux-mips/asm/crypto/bn/bn-mips.S
patching file deps/openssl/config/archs/linux-mips/asm/crypto/bn/mips-mont.S
patching file deps/openssl/config/archs/linux-mips/asm/crypto/buildinf.h
patching file deps/openssl/config/archs/linux-mips/asm/crypto/include/internal/bn_conf.h
patching file deps/openssl/config/archs/linux-mips/asm/crypto/include/internal/dso_conf.h
patching file deps/openssl/config/archs/linux-mips/asm/crypto/sha/sha1-mips.S
patching file deps/openssl/config/archs/linux-mips/asm/crypto/sha/sha256-mips.S
patching file deps/openssl/config/archs/linux-mips/asm/include/openssl/opensslconf.h
patching file deps/openssl/config/archs/linux-mips/asm/include/progs.h
patching file deps/openssl/config/archs/linux-mips/asm/openssl-cl.gypi
patching file deps/openssl/config/archs/linux-mips/asm/openssl.gypi
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/aes/aes-mips.S
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/bn/bn-mips.S
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/bn/mips-mont.S
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/buildinf.h
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/include/internal/bn_conf.h
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/include/internal/dso_conf.h
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/sha/sha1-mips.S
patching file deps/openssl/config/archs/linux-mipsel/asm/crypto/sha/sha256-mips.S
patching file deps/openssl/config/archs/linux-mipsel/asm/include/openssl/opensslconf.h
patching file deps/openssl/config/archs/linux-mipsel/asm/include/progs.h
patching file deps/openssl/config/archs/linux-mipsel/asm/openssl-cl.gypi
patching file deps/openssl/config/archs/linux-mipsel/asm/openssl.gypi
patching file deps/openssl/config/bn_conf_asm.h
patching file deps/openssl/config/dso_conf_asm.h
patching file deps/openssl/config/Makefile
Hunk #1 succeeded at 13 with fuzz 1.
patching file deps/openssl/config/opensslconf_asm.h
Hunk #1 succeeded at 101 (offset 1 line).
patching file deps/openssl/openssl_asm.gypi
patching file deps/openssl/openssl-cl_asm.gypi
patching file deps/openssl/openssl.gypi

Applying ./patches/v12.x/999-fix_icu_conflict.patch using plaintext:
patching file tools/icu/icu-generic.gyp

Applying ./patches/v12.x/999-localhost-no-addrconfig.patch using plaintext:
patching file lib/net.js

Applying ./patches/v12.x/999-mips-fix.patch using plaintext:
patching file deps/v8/AUTHORS
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.cc
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.h
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.h
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.cc
patching file deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.h

Applying ./patches/v12.x/999-v8_this_build_method_will_be_deprecated.patch using plaintext:
patching file configure.py
touch /home/destoryg/lede/build_dir/hostpkg/node-v12.22.12/.prepared55a66bea8059d2fe841bf2933725fd2f_6664517399ebbbc92a37c5bb081b5c53
(cd /home/destoryg/lede/build_dir/hostpkg/node-v12.22.12/; if [ -x configure ]; then cp -fpR /home/destoryg/lede/scripts/config.{guess,sub} /home/destoryg/lede/build_dir/hostpkg/node-v12.22.12// &&   bash ./configure --dest-os=linux --with-intl=small-icu --prefix=/home/destoryg/lede/staging_dir/hostpkg ; fi )
Please use Python 2.7
make[3]: *** [Makefile:244: /home/destoryg/lede/build_dir/hostpkg/node-v12.22.12/.configured] Error 1
make[3]: Leaving directory '/home/destoryg/lede/feeds/packages/lang/node'
time: package/feeds/packages/node/host-compile#1.65#2.24#2.94
    ERROR: package/feeds/packages/node [host] failed to build.
make[2]: *** [package/Makefile:114: package/feeds/packages/node/host/compile] Error 1
make[2]: Leaving directory '/home/destoryg/lede'
make[1]: *** [package/Makefile:110: /home/destoryg/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/destoryg/lede'
make: *** [/home/destoryg/lede/include/toplevel.mk:231: world] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant