Closed abhiturbot closed 2 years ago
@kaidaguerre I just tried running make
on a machine with an M1 Pro where I had previously installed Steampipe through brew, and received the following error:
cbruno@Codys-MacBook-Pro-2 cli % make
go build -o /usr/local/bin/steampipe
go: downloading github.com/shirou/gopsutil v3.21.9+incompatible
go: downloading github.com/spf13/cobra v1.2.1
go: downloading github.com/lib/pq v1.8.0
go: downloading github.com/hashicorp/go-hclog v0.15.0
go: downloading github.com/turbot/go-kit v0.3.0
go: downloading github.com/spf13/viper v1.9.0
go: downloading github.com/turbot/steampipe-plugin-sdk v1.7.0
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/fsnotify/fsnotify v1.5.1
go: downloading github.com/gertd/go-pluralize v0.1.7
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/logrusorgru/aurora v2.0.3+incompatible
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/shiena/ansicolor v0.0.0-20200904210342-c7312218db18
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/karrick/gows v0.3.0
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/briandowns/spinner v1.11.1
go: downloading github.com/zclconf/go-cty v1.8.2
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/ahmetb/go-linq v3.0.0+incompatible
go: downloading github.com/jedib0t/go-pretty/v6 v6.0.6
go: downloading github.com/alecthomas/chroma v0.9.2
go: downloading github.com/turbot/go-prompt v0.2.6-steampipe.0.20210830083819-c872df2bdcc9
go: downloading github.com/hashicorp/terraform v0.15.1
go: downloading github.com/containerd/containerd v1.4.11
go: downloading github.com/deislabs/oras v0.8.1
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/ulikunitz/xz v0.5.8
go: downloading github.com/gin-contrib/static v0.0.1
go: downloading github.com/gin-gonic/gin v1.7.2
go: downloading gopkg.in/olahol/melody.v1 v1.0.0-20170518105555-d52139073376
go: downloading github.com/hashicorp/go-plugin v1.4.1
go: downloading github.com/hashicorp/go-version v1.3.0
go: downloading github.com/hashicorp/hcl/v2 v2.9.1
go: downloading google.golang.org/grpc v1.41.0
go: downloading github.com/Machiel/slugify v1.0.1
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/mattn/go-colorable v0.1.7
go: downloading github.com/magiconair/properties v1.8.5
go: downloading github.com/mitchellh/mapstructure v1.4.2
go: downloading github.com/spf13/afero v1.6.0
go: downloading github.com/spf13/cast v1.4.1
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/ini.v1 v1.63.2
go: downloading github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/tkrajina/go-reflector v0.5.4
go: downloading golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef
go: downloading github.com/btubbs/datetime v0.1.1
go: downloading github.com/stevenle/topsort v0.0.0-20130922064739-8130c1d7596b
go: downloading github.com/zclconf/go-cty-yaml v1.0.2
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading github.com/tklauser/go-sysconf v0.3.9
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/bgentry/speakeasy v0.1.0
go: downloading github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
go: downloading github.com/dlclark/regexp2 v1.4.0
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/oklog/run v1.0.0
go: downloading golang.org/x/net v0.0.0-20211005215030-d2e5035098b3
go: downloading google.golang.org/protobuf v1.27.1
go: downloading github.com/sethvargo/go-retry v0.1.0
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/agext/levenshtein v1.2.2
go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading google.golang.org/genproto v0.0.0-20211005153810-c76a74d43a8e
go: downloading github.com/pelletier/go-toml v1.9.4
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/google/go-cmp v0.5.6
go: downloading github.com/pkg/term v1.1.0
go: downloading github.com/apparentlymart/go-textseg v1.0.0
go: downloading github.com/ugorji/go/codec v1.1.7
go: downloading github.com/go-playground/validator/v10 v10.4.1
go: downloading github.com/dgraph-io/ristretto v0.0.3
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/iancoleman/strcase v0.1.2
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/apparentlymart/go-cidr v1.1.0
go: downloading github.com/bmatcuk/doublestar v1.3.4
go: downloading github.com/hashicorp/go-uuid v1.0.1
go: downloading github.com/ugorji/go v1.1.7
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
go: downloading github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
go: downloading github.com/apparentlymart/go-versions v1.0.1
go: downloading github.com/go-playground/universal-translator v0.17.0
go: downloading github.com/leodido/go-urn v1.2.0
go: downloading github.com/hashicorp/go-retryablehttp v0.5.2
go: downloading golang.org/x/mod v0.4.2
go: downloading github.com/mitchellh/panicwrap v1.0.0
go: downloading github.com/vmihailenco/msgpack/v4 v4.3.12
go: downloading golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
go: downloading github.com/vmihailenco/msgpack v3.3.3+incompatible
go: downloading github.com/go-playground/locales v0.13.0
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/vmihailenco/tagparser v0.1.1
go build github.com/turbot/steampipe: copying /var/folders/t3/dm8ccj8j4_vbl1c0ltpy1fph0000gn/T/go-build4126273653/b001/exe/a.out: open /usr/local/bin/steampipe: permission denied
make: *** [install] Error 1
Maybe I needed to do this on other machines too, but do I have to change any permissions first?
resolved in v0.10.0
Describe The Bug:
The local build from the repo works with the intel chip but when I run
make
and executesteampipe
it gives the below error. Note: The published version 0.8.2 works fine with M1 and intel chip for macDebug log trace for make