Cannot compile node
未关闭
还没有人认领这个 Issue。
build
confirmed-bug
i18n-api
- 主要语言
- JavaScript
- 星标
- 122k
- 派生
- 37.3k
- 平均合并
- 4 天 2 小时
- 30 天内合并 PR
- 283
描述
Cannot compile node 13.0.1 with flags ./configure --fully-static --with-intl=full-icu inside docker image for node
Getting this output
LD_LIBRARY_PATH=/node/out/Release/lib.host:/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/v8_gypfiles; mkdir -p /node/out/Release/obj/gen/src/regexp; python ../../deps/v8/tools/run.py "/node/out/Release/gen-regexp-special-case" "/node/out/Release/obj/gen/src/regexp/special-case.cc"
tools/v8_gypfiles/run_gen-regexp-special-case.target.mk:13: recipe for target '/node/out/Release/obj/gen/src/regexp/special-case.cc' failed
make[1]: *** [/node/out/Release/obj/gen/src/regexp/special-case.cc] Error 245
make[1]: *** Waiting for unfinished jobs....
rm 889aa6e08bf291915b2edfb5755eacba271e7d14.intermediate
Makefile:101: recipe for target 'node' failed
make: *** [node] Error 2
Steps to reproduce:
- Install docker
docker run -it node bash
//inside docker shellgit clone https://github.com/nodejs/node.gitcd nodegit checkout v13.0.1./configure --fully-static --with-intl=full-icumake -j8
Also not working with flags ./configure --fully-static --enable-static --with-intl=full-icu with the same error
But it compiles without errors with version 11.1.0 with flags ./configure --fully-static --with-intl=full-icu --download=all
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 node Docker 镜像中复现该失败:checkout v13.0.1,运行 ./configure --fully-static --with-intl=full-icu,然后运行 make -j8。先从 tools/v8_gypfiles/run_gen-regexp-special-case.target.mk 的失败开始,并将 v13.0.1 的构建与 v11.1.0 进行比较。当报告的 v13.0.1 配置能够成功编译,或问题被缩小到已记录的前置条件或构建失败时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, javascript, node.js
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100