Docker build fails
@nochiel já está trabalhando nisso.
Desde 6/2/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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
- Linguagem predominante
- C++
- Estrelas
- 38
- Forks
- 15
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de BlockchainCommons/seedtool-cli
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
-
Building on macOS 12.3 Intel FailsTalvez livre de novo @wolfmcnally assumiu há 1269 dias e não há nenhum pull request aberto. Aberta
BlockchainCommons/seedtool-cli#66 · 2 comentários · 1 responsável ·
-
Can't build a static executableTalvez livre de novo @wolfmcnally assumiu há 1269 dias e não há nenhum pull request aberto. Abertabuild enhancement
BlockchainCommons/seedtool-cli#46 · 3 comentários · 2 responsáveis ·
-
BIP85 supportTalvez livre de novo @wolfmcnally assumiu há 1269 dias e não há nenhum pull request aberto. Abertaenhancement
BlockchainCommons/seedtool-cli#24 · 1 comentário · 1 reação · 1 responsável ·
-
Add link to GitHub Issues page for support in seedtool --helpTalvez livre de novo @wolfmcnally assumiu há 1269 dias e não há nenhum pull request aberto. Abertaenhancement good first issue
BlockchainCommons/seedtool-cli#5 · 1 responsável ·
Todas as issues de BlockchainCommons/seedtool-cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Icinga/icinga2#11058 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
component: split-view platform: windows
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
zen-browser/desktop#15616 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
area/ysql kind/bug priority/medium status/awaiting-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
yugabyte/yugabyte-db#34415 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
WayfireWM/wayfire#3148 · 1 comentário ·
Mantenedores costumam responder em até 1 dia