Comments (3)
setting BUILDKIT_PROGRESS=plain
helps to see where exactly the build is failing. It is failing only for arm64, here are the logs:
#43 109.5 + COMMIT=f760927771c926464a98b0a902087fdc1bddabd5
#43 109.5 + COMMON_LDFLAGS=-X github.com/cosmos/cosmos-sdk/version.Name=agoric -X github.com/cosmos/cosmos-sdk/version.AppName=agd -X github.com/cosmos/cosmos-sdk/version.Version=pismoD -X github.com/cosmos/cosmos-sdk/version.BuildTags=BUILD_TAGS=muslc -X github.com/cosmos/cosmos-sdk/version.Commit=f760927771c926464a98b0a902087fdc1bddabd5
#43 109.5 + go build -v -mod=readonly -tags BUILD_TAGS=muslc -ldflags -X github.com/cosmos/cosmos-sdk/version.Name=agoric -X github.com/cosmos/cosmos-sdk/version.AppName=agd -X github.com/cosmos/cosmos-sdk/version.Version=pismoD -X github.com/cosmos/cosmos-sdk/version.BuildTags=BUILD_TAGS=muslc -X github.com/cosmos/cosmos-sdk/version.Commit=f760927771c926464a98b0a902087fdc1bddabd5 -buildmode=c-shared -o build/libagcosmosdaemon.so ./cmd/libdaemon/main.go
#43 109.6 go: no Go source files
#43 ERROR: process "/bin/sh -c set -eux; if [ ! -z \"$GO_VERSION\" ]; then export PATH=$PATH:/usr/local/go/bin; fi; if [ \"$TARGETARCH\" = \"arm64\" ]; then export ARCH=aarch64 CAPS=AARCH64; elif [ \"$TARGETARCH\" = \"amd64\" ]; then export ARCH=x86_64 CAPS=x86_64; fi; export CARGO_BUILD_TARGET=${ARCH}-unknown-linux-gnu; if [ \"$TARGETARCH\" != \"$BUILDARCH\" ]; then export CARGO_TARGET_${CAPS}_UNKNOWN_LINUX_GNU_LINKER=${ARCH}-linux-gnu-gcc CC_${ARCH}_unknown_linux_gnu=${ARCH}-linux-gnu-gcc CXX_${ARCH}_unknown_linux_gnu=${ARCH}-linux-gnu-g++ PKG_CONFIG_SYSROOT_DIR=/usr/${ARCH}-linux-gnu; fi; [ ! -z \"$PRE_BUILD\" ] && sh -c \"${PRE_BUILD}\"; if [ ! -z \"$BUILD_TARGET\" ]; then if [ ! -z \"$BUILD_ENV\" ]; then export ${BUILD_ENV}; fi; if [ ! -z \"$BUILD_TAGS\" ]; then export \"${BUILD_TAGS}\"; fi; if [ ! -z \"$BUILD_DIR\" ]; then cd \"${BUILD_DIR}\"; fi; sh -c \"${BUILD_TARGET}\"; fi" did not complete successfully: exit code: 1
from heighliner.
# Move to final location
mkdir /agoric-sdk
mv packages node_modules bin golang /agoric-sdk
"; if [ ! -z "" ]; then if [ ! -z "LEDGER_ENABLED=false " ]; then export LEDGER_ENABLED=false ; fi; if [ ! -z "BUILD_TAGS=muslc" ]; then export "BUILD_TAGS=muslc"; fi; if [ ! -z "" ]; then cd ""; fi; sh -c ""; fi
error building docker image for agoric from ref: mainnet1B-rc3 - failed to solve: process "/bin/sh -c set -eux; if [ ! -z \"$GO_VERSION\" ]; then export PATH=$PATH:/usr/local/go/bin; fi; if [ \"$TARGETARCH\" = \"arm64\" ]; then export ARCH=aarch64 CAPS=AARCH64; elif [ \"$TARGETARCH\" = \"amd64\" ]; then export ARCH=x86_64 CAPS=x86_64; fi; export CARGO_BUILD_TARGET=${ARCH}-unknown-linux-gnu; if [ \"$TARGETARCH\" != \"$BUILDARCH\" ]; then export CARGO_TARGET_${CAPS}_UNKNOWN_LINUX_GNU_LINKER=${ARCH}-linux-gnu-gcc CC_${ARCH}_unknown_linux_gnu=${ARCH}-linux-gnu-gcc CXX_${ARCH}_unknown_linux_gnu=${ARCH}-linux-gnu-g++ PKG_CONFIG_SYSROOT_DIR=/usr/${ARCH}-linux-gnu; fi; [ ! -z \"$PRE_BUILD\" ] && sh -c \"${PRE_BUILD}\"; if [ ! -z \"$BUILD_TARGET\" ]; then if [ ! -z \"$BUILD_ENV\" ]; then export ${BUILD_ENV}; fi; if [ ! -z \"$BUILD_TAGS\" ]; then export \"${BUILD_TAGS}\"; fi; if [ ! -z \"$BUILD_DIR\" ]; then cd \"${BUILD_DIR}\"; fi; sh -c \"${BUILD_TARGET}\"; fi" did not complete successfully: exit code: 1
panic: Some images failed to build
goroutine 1 [running]:
github.com/strangelove-ventures/heighliner/builder.(*HeighlinerBuilder).BuildImages(0xc000567b80)
/home/strangelove/heighliner/builder/builder.go:494 +0x118
github.com/strangelove-ventures/heighliner/cmd.queueAndBuild({{0x7ffc2b024659, 0x27}, 0x0, 0x1, {0x7ffc2b024641, 0x14}, {0xf4165e, 0x17}, 0x0, 0x0}, ...)
/home/strangelove/heighliner/cmd/queue.go:119 +0xd8a
github.com/strangelove-ventures/heighliner/cmd.BuildCmd.func1(0xc000527b80?, {0xf2dd0c?, 0x9?, 0x9?})
/home/strangelove/heighliner/cmd/build.go:130 +0x298
github.com/spf13/cobra.(*Command).execute(0xc000527b80, {0xc0000ca1b0, 0x9, 0x9})
/home/strangelove/go/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x663
github.com/spf13/cobra.(*Command).ExecuteC(0xc000527900)
/home/strangelove/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
/home/strangelove/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
github.com/strangelove-ventures/heighliner/cmd.Execute({0x1700d80?, 0xda4200?, 0xc0000021a0?})
/home/strangelove/heighliner/cmd/root.go:32 +0xe5
main.main()
/home/strangelove/heighliner/main.go:13 +0x2e
from heighliner.
adding the flag --platform linux/amd64
should work as a temporary workaround. We could add this to the chains.yaml to disable arm64 builds:
platforms:
- linux/amd64
Although figuring out the source of go: no Go source files
would be nice to keep the arm64 images.
from heighliner.
Related Issues (20)
- Add default `GORACE` environment variable to race-detector enabled builds
- Add Juno MEV (skip protocol) to chains.yaml
- Move `ADD` later to take advantage of cache HOT 1
- Remove Replace Directive in go.mod to allow global installs using `go install` HOT 1
- support `--build` arguments
- CICD should lint the `chains.yaml` and fail if not valid HOT 2
- ghcr containter for Terp Network does not exist
- Add Celestia
- add ability to specify go-version in chains.yaml
- bug: when building the image by passing all overrides, not able to provide image name HOT 2
- Fix agoric build as of agoric-upgrade-11-rc0 HOT 1
- cheqd artifact does not work HOT 2
- Getting error when running e2e test for async-icq function
- osmosis - v20.2.1 - eip1559state.json :-( HOT 1
- gaia v8 fails to build due to go version enforcement
- Axelar switched to go1.19 HOT 1
- Axelar nodejs version mismatch HOT 1
- Axelar fails to build due to new golangci-lint prereq HOT 2
- Building Cargo images using a remote buildkit server fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heighliner.