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

install_buildtools.sh failed, macos m1 #4326

Closed
carson-yang opened this issue Jul 31, 2022 · 4 comments
Closed

install_buildtools.sh failed, macos m1 #4326

carson-yang opened this issue Jul 31, 2022 · 4 comments
Assignees

Comments

@carson-yang
Copy link

carson-yang commented Jul 31, 2022

macos Monterey
Version 12.1 (21C52)

go version
go version go1.18.4 darwin/arm64

commit 3eff232 (HEAD -> master, origin/master, origin/HEAD)
Author: cce [email protected]
Date: Fri Jul 29 15:53:53 2022 -0400

add AccountMnemonicList config option to loadgenerator (#4321)
  • [[ github.com/go-swagger/go-swagger/cmd/swagger != '' ]]
  • MODULE=github.com/go-swagger/go-swagger/cmd/swagger
    ++ get_go_version github.com/go-swagger/go-swagger
    ++ cd /Users/XXXXX/Documents/code/go-algorand/scripts/buildtools
    +++ grep github.com/go-swagger/go-swagger
    +++ awk -F ' ' '{print $2}'
    ++ VERSION=v0.25.0
    ++ echo v0.25.0
    ++ return
  • VERSION=v0.25.0
  • '[' -z v0.25.0 ']'
    ++ go install github.com/go-swagger/go-swagger/cmd/[email protected]
  • OUTPUT='# golang.org/x/sys/unix
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/syscall_darwin.1_13.go:29:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.1_13.go:40:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:43:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:59:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:75:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:90:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
    ../../../../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:121:3: too many errors'
@winder
Copy link
Contributor

winder commented Aug 18, 2022

@Eric-Warehime is this something you've seen?

@Eric-Warehime
Copy link
Contributor

I think I did run into this. It's not an issue with go 1.17 if I recall.

Based on

I don't think we've gone through the exercise of fully upgrading go-algorand to 1.18 yet though.

@algolucky
Copy link
Contributor

related to #4362

@excalq excalq self-assigned this Oct 17, 2022
@onetechnical
Copy link
Contributor

Compilation on arm-based macs has worked fine for some time now.

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

No branches or pull requests

6 participants