nanovms / homebrew-ops

Homebrew formula for OPS
Apache License 2.0
8 stars 5 forks source link

couldn't install on m1 #12

Closed ramaID closed 3 months ago

ramaID commented 3 months ago
image

here's 11.go:

2024-08-27 09:37:53 +0000

go
build
-ldflags
-w
-o
ops

# github.com/nanovms/ops/protos/instanceservice
protos/instanceservice/instanceservice_grpc.pb.go:19:16: undefined: grpc.SupportPackageIsVersion9
protos/instanceservice/instanceservice_grpc.pb.go:41:41: undefined: grpc.StaticMethod
protos/instanceservice/instanceservice.pb.gw.go:90:20: undefined: grpc.NewClient
# github.com/nanovms/ops/protos/imageservice
protos/imageservice/imageservice_grpc.pb.go:19:16: undefined: grpc.SupportPackageIsVersion9
protos/imageservice/imageservice_grpc.pb.go:41:41: undefined: grpc.StaticMethod
protos/imageservice/imageservice.pb.gw.go:90:20: undefined: grpc.NewClient
# github.com/nanovms/ops/protos/volumeservice
protos/volumeservice/volumeservice_grpc.pb.go:19:16: undefined: grpc.SupportPackageIsVersion9
protos/volumeservice/volumeservice_grpc.pb.go:41:41: undefined: grpc.StaticMethod
protos/volumeservice/volumeservice.pb.gw.go:90:20: undefined: grpc.NewClient

HOMEBREW_VERSION: 4.3.18
ORIGIN: https://github.com/Homebrew/brew
HEAD: abc0584215659c5a8716d0798ea2801388d01368
Last commit: 25 hours ago
Core tap JSON: 27 Aug 09:33 UTC
Core cask tap JSON: 27 Aug 09:33 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nano
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 3.3.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 14.6.1-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: N/A
Rosetta 2: false

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /opt/homebrew/opt/readline:/opt/homebrew/opt/sqlite:/opt/homebrew/opt/ncurses:/opt/homebrew
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/python@3.12/Frameworks
PKG_CONFIG_PATH: /opt/homebrew/opt/capstone/lib/pkgconfig:/opt/homebrew/opt/pcre2/lib/pkgconfig:/opt/homebrew/opt/mpdecimal/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/python@3.12/lib/pkgconfig:/opt/homebrew/opt/glib/lib/pkgconfig:/opt/homebrew/opt/gmp/lib/pkgconfig:/opt/homebrew/opt/libidn2/lib/pkgconfig:/opt/homebrew/opt/libtasn1/lib/pkgconfig:/opt/homebrew/opt/nettle/lib/pkgconfig:/opt/homebrew/opt/p11-kit/lib/pkgconfig:/opt/homebrew/opt/libevent/lib/pkgconfig:/opt/homebrew/opt/libnghttp2/lib/pkgconfig:/opt/homebrew/opt/unbound/lib/pkgconfig:/opt/homebrew/opt/gnutls/lib/pkgconfig:/opt/homebrew/opt/jpeg-turbo/lib/pkgconfig:/opt/homebrew/opt/libpng/lib/pkgconfig:/opt/homebrew/opt/libslirp/lib/pkgconfig:/opt/homebrew/opt/libssh/lib/pkgconfig:/opt/homebrew/opt/libusb/lib/pkgconfig:/opt/homebrew/opt/lzo/lib/pkgconfig:/opt/homebrew/opt/ncurses/lib/pkgconfig:/opt/homebrew/opt/pixman/lib/pkgconfig:/opt/homebrew/opt/vde/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/abseil/lib/pkgconfig:/opt/homebrew/opt/protobuf/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/go/bin:/opt/homebrew/opt/gettext/bin:/opt/homebrew/opt/capstone/bin:/opt/homebrew/opt/dtc/bin:/opt/homebrew/opt/pcre2/bin:/opt/homebrew/opt/openssl@3/bin:/opt/homebrew/opt/sqlite/bin:/opt/homebrew/opt/xz/bin:/opt/homebrew/opt/python@3.12/bin:/opt/homebrew/opt/glib/bin:/opt/homebrew/opt/libidn2/bin:/opt/homebrew/opt/libtasn1/bin:/opt/homebrew/opt/nettle/bin:/opt/homebrew/opt/p11-kit/bin:/opt/homebrew/opt/libevent/bin:/opt/homebrew/opt/gnutls/bin:/opt/homebrew/opt/jpeg-turbo/bin:/opt/homebrew/opt/libpng/bin:/opt/homebrew/opt/ncurses/bin:/opt/homebrew/opt/vde/bin:/opt/homebrew/opt/lz4/bin:/opt/homebrew/opt/zstd/bin:/opt/homebrew/opt/qemu/bin:/opt/homebrew/opt/buf/bin:/opt/homebrew/opt/protobuf/bin:/opt/homebrew/opt/protoc-gen-go-grpc/bin:/opt/homebrew/opt/python@3.12/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin:/private/tmp/ops-20240827-62370-qb30xv/ops-0.1.40/bin
eyberg commented 3 months ago

thanks for flagging this

we yanked the protobufs out of the default build process earlier this year https://github.com/nanovms/ops/pull/1573 as it's only used for the daemon and lots of people have trouble w/it

I updated the formula && upgraded a few other things - can you try it out again?

https://github.com/nanovms/homebrew-ops/pull/13

ramaID commented 3 months ago

awesome!

image