Docker build fails
@nochiel 已经在做这个了。
开始于 2024年2月6日。
评估
这个 Issue 还没有评估数据。
描述
Hey, first of all thank you for the amazing software that you are providing. I was able to compile everything up to bc-sskr, so I have:
- libbc-crypto-base.a
- libbc-shamir.a
- libbc-sskr.a
However when trying to build the docker image, the last step of the build stage fails with:
<git:(master)> docker build -t seedtool-cli:latest .
...
41.53 /usr/bin/ld: /seedtool-cli/deps/bc-ur/src/ur.cpp:22: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()'
41.54 /usr/bin/ld: /seedtool-cli/sysroot/lib/libbc-ur.a(random-sampler.o): in function `std::__1::vector<int, std::__1::allocator<int> >::__recommend(unsigned long) const':
41.54 /usr/lib/llvm-10/bin/../include/c++/v1/vector:1027: undefined reference to `std::__1::__vector_base_common<true>::__throw_length_error() const'
41.54 /usr/bin/ld: /seedtool-cli/sysroot/lib/libbc-ur.a(random-sampler.o): in function `std::__1::vector<int, std::__1::allocator<int> >::__vallocate(unsigned long)':
41.54 /usr/lib/llvm-10/bin/../include/c++/v1/vector:993: undefined reference to `std::__1::__vector_base_common<true>::__throw_length_error() const'
41.55 clang: error: linker command failed with exit code 1 (use -v to see invocation)
41.55 make[1]: *** [<builtin>: seedtool] Error 1
41.55 make[1]: Leaving directory '/seedtool-cli/src'
41.55 make: *** [Makefile:38: check] Error 2
------
Dockerfile:18
--------------------
16 | WORKDIR /seedtool-cli
17 | RUN git submodule update --init --recursive
18 | >>> RUN CC="clang-10" CXX="clang++-10" ./build.sh
19 |
20 | # Export built executable to a minimal runtime image and run as an unprivileged
--------------------
ERROR: failed to solve: process "/bin/sh -c CC=\"clang-10\" CXX=\"clang++-10\" ./build.sh" did not complete successfully: exit code: 2
- 主要语言
- C++
- 星标
- 38
- 派生
- 15
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BlockchainCommons/seedtool-cli 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
-
Building on macOS 12.3 Intel Fails可能重新可做 @wolfmcnally 于 1268 天前认领,目前没有进行中的 PR。 未关闭
BlockchainCommons/seedtool-cli#66 · 2 条评论 · 已指派 1 人 ·
-
Can't build a static executable可能重新可做 @wolfmcnally 于 1268 天前认领,目前没有进行中的 PR。 未关闭build enhancement
BlockchainCommons/seedtool-cli#46 · 3 条评论 · 已指派 2 人 ·
-
BIP85 support可能重新可做 @wolfmcnally 于 1268 天前认领,目前没有进行中的 PR。 未关闭enhancement
BlockchainCommons/seedtool-cli#24 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
-
Add link to GitHub Issues page for support in seedtool --help可能重新可做 @wolfmcnally 于 1268 天前认领,目前没有进行中的 PR。 未关闭enhancement good first issue
BlockchainCommons/seedtool-cli#5 · 已指派 1 人 ·
查看 BlockchainCommons/seedtool-cli 的全部 Issue
相似的 Issue
-
难度 2/5 半天 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
ROCm/rocm-libraries#12703 ·
维护者通常 2 天内回复
-
bug
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
Feature request
难度 2/5 1-3 小时 新手友好度 76/100
qbittorrent/qBittorrent#24975 ·
维护者通常 3 天内回复