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

si.getKernelInfo undefined #41

Open
PatrickMenoti opened this issue Dec 5, 2023 · 1 comment
Open

si.getKernelInfo undefined #41

PatrickMenoti opened this issue Dec 5, 2023 · 1 comment

Comments

@PatrickMenoti
Copy link

go version go1.21.4 linux/amd64
set -e;\
source ./env/stage; \
while read spec; \
do\
	distro=$(echo ${spec} | cut -d/ -f1);\
	goarch=$(echo ${spec} | cut -d/ -f2);\
	arch=$(echo ${goarch} | sed 's/386/x86_32/g; s/amd64/x86_64/g; s/arm$/arm32/g');\
	echo $distro/$arch;\
	mkdir -p dist/$distro/$arch;\
	CGO_ENABLED=0 GOOS=$distro GOARCH=$goarch /usr/local/go/bin/go build -ldflags "-X github.com/aziontech/azion-cli/pkg/cmd/version.BinVersion=1.[10](https://github.com/aziontech/azion/actions/runs/7094224353/job/19309114535#step:10:11).1-dev.1 -X github.com/aziontech/azion-cli/pkg/constants.StorageApiURL=$STORAGE_URL -X github.com/aziontech/azion-cli/pkg/constants.AuthURL=$AUTH_URL -X github.com/aziontech/azion-cli/pkg/constants.ApiURL=$API_URL -X github.com/aziontech/azion-cli/pkg/cmd/edge_applications/init.TemplateBranch=$TEMPLATE_BRANCH -X github.com/aziontech/azion-cli/pkg/cmd/edge_applications/init.TemplateMajor=$TEMPLATE_MAJOR" -o ./dist/$distro/$arch/azion-1.10.1-dev.1 ./cmd/azion; \
done < BUILD
darwin/x86_64
darwin/arm64
freebsd/x86_64
# github.com/zcalusic/sysinfo
/go/pkg/mod/github.com/zcalusic/[email protected]/sysinfo.go:[13](https://github.com/aziontech/azion/actions/runs/7094224353/job/19309114535#step:10:14):10: undefined: Kernel
/go/pkg/mod/github.com/zcalusic/[email protected]/sysinfo.go:48:5: si.getKernelInfo undefined (type *SysInfo has no field or method getKernelInfo)
make: *** [Makefile:97: cross-build] Error 1

I'm getting this error on my action while building my binary for different platforms.

@PatrickMenoti
Copy link
Author

No updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant