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

fail to build docker image as make build-docker #155

Closed
zemyblue opened this issue Mar 27, 2023 · 0 comments · Fixed by #157
Closed

fail to build docker image as make build-docker #155

zemyblue opened this issue Mar 27, 2023 · 0 comments · Fixed by #157
Assignees
Labels
bug Something isn't working

Comments

@zemyblue
Copy link
Member

When I build docker image as make build-docker command, the following error is occurred and then failed.
My system is MacBook M1 Pro and Ventura 13.2.1.

 => [build-env 14/15] COPY . .                                                                                                                                                        0.6s
 => ERROR [build-env 15/15] RUN BUILD_TAGS=muslc make build CGO_ENABLED=1 FINSCHIA_BUILD_OPTIONS=""                                                                                 297.9s
------
 > [build-env 15/15] RUN BUILD_TAGS=muslc make build CGO_ENABLED=1 FINSCHIA_BUILD_OPTIONS="":
#25 1.032 CGO_CFLAGS= CGO_LDFLAGS= CGO_ENABLED=1 go build -mod=readonly -tags "netgo ledger muslc goleveldb" -ldflags '-X github.com/line/lbm-sdk/version.Name=finschia -X github.com/line/lbm-sdk/version.AppName=finschia -X github.com/line/lbm-sdk/version.Version=feat_change_docs_for_finschia-cc00ddf2b5ee13924ad9cea844da744f60ad096a -X github.com/line/lbm-sdk/version.Commit=cc00ddf2b5ee13924ad9cea844da744f60ad096a -X github.com/line/lbm-sdk/types.DBBackend=goleveldb -X "github.com/line/lbm-sdk/version.BuildTags=netgo ledger muslc goleveldb," -X github.com/line/ostracon/version.TMCoreSemVer=v1.0.9 -w -s' -trimpath -o /finschia-build/finschia/build/ ./...
#25 193.7 # github.com/line/wasmvm/internal/api
#25 193.7 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lwasmvm_muslc: No such file or directory
#25 193.7 collect2: error: ld returned 1 exit status
#25 220.1 # github.com/zondax/hid
#25 220.1 In file included from /go/pkg/mod/github.com/zondax/[email protected]/hid_enabled.go:22:
#25 220.1 /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#25 220.1     1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
#25 220.1       |  ^~~~~~~
#25 297.7 make: *** [Makefile:160: build] Error 2
------
executor failed running [/bin/sh -c BUILD_TAGS=muslc make build CGO_ENABLED=1 FINSCHIA_BUILD_OPTIONS="$FINSCHIA_BUILD_OPTIONS"]: exit code: 2
make: *** [build-docker] Error 1
@zemyblue zemyblue added the bug Something isn't working label Mar 27, 2023
@zemyblue zemyblue linked a pull request Mar 28, 2023 that will close this issue
3 tasks
@shiki-tak shiki-tak self-assigned this Mar 29, 2023
@zemyblue zemyblue closed this as completed Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants