Docker build fails
@nochiel đang làm issue này rồi.
Từ ngày 6/2/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- C++
- Star
- 38
- Fork
- 15
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BlockchainCommons/seedtool-cli
-
Does not compile on Windows 10Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Building on macOS 12.3 Intel FailsCó thể làm lại được @wolfmcnally đã nhận 1279 ngày trước và không có pull request nào đang mở. Đang mở
BlockchainCommons/seedtool-cli#66 · 2 bình luận · 1 người được giao ·
-
Can't build a static executableCó thể làm lại được @wolfmcnally đã nhận 1279 ngày trước và không có pull request nào đang mở. Đang mởbuild enhancement
BlockchainCommons/seedtool-cli#46 · 3 bình luận · 2 người được giao ·
-
BIP85 supportCó thể làm lại được @wolfmcnally đã nhận 1279 ngày trước và không có pull request nào đang mở. Đang mởenhancement
BlockchainCommons/seedtool-cli#24 · 1 bình luận · 1 reaction · 1 người được giao ·
-
Add link to GitHub Issues page for support in seedtool --helpCó thể làm lại được @wolfmcnally đã nhận 1279 ngày trước và không có pull request nào đang mở. Đang mởenhancement good first issue
BlockchainCommons/seedtool-cli#5 · 1 người được giao ·
Tất cả issue của BlockchainCommons/seedtool-cli
Issue tương tự
-
[request] vsg/1.1.16Đang mởupstream update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
conan-io/conan-center-index#31142 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
NVIDIA/DeepStream#78 ·