Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.89k stars 10.7k forks source link

Wrong CPU type installing postman-cli #133061

Closed maturanomx closed 2 years ago

maturanomx commented 2 years ago

Verification

Description of issue

brew install postman-cli is installing the wrong CPU type version.

$ postman -v
zsh: bad CPU type in executable: postman

Command that failed

brew install postman-cli

Output of command with --verbose --debug

==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
==> Downloading https://dl-cli.pstmn.io/download/postman-cli-cli-1.0.2-macos-x64.zip
Already downloaded: /Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip
==> Checking quarantine support
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip
==> /Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip is quarantined
==> Verifying checksum for cask 'postman-cli'
==> Installing Cask postman-cli
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Zip for /Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip
==> Verifying Gatekeeper status of /Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip
==> /Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip is quarantined
==> Propagating quarantine from /Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip to /usr/local/Caskroom/postman-cli/1.0.2
==> Creating metadata directory: /usr/local/Caskroom/postman-cli/.metadata/1.0.2/20221007212515.541
==> Creating metadata subdirectory: /usr/local/Caskroom/postman-cli/.metadata/1.0.2/20221007212515.541/Casks
==> Installing artifacts
==> 2 artifacts defined
#<SortedSet: {#<Cask::Artifact::Binary:0x00007f99caad2468 @cask=#<Cask::Cask:0x00007f99ca9f3a10 @token="postman-cli", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/postman-cli.rb>, @source="cask \"postman-cli\" do\n  arch arm: \"arm64\", intel: \"x64\"\n\n  version \"1.0.2\"\n  sha256 arm:   \"a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e\",\n         intel: \"a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e\"\n\n  url \"https://dl-cli.pstmn.io/download/postman-cli-cli-\#{version}-macos-\#{arch}.zip\",\n      verified: \"dl-cli.pstmn.io/download/\"\n  name \"Postman CLI\"\n  desc \"CLI for command-line API management on Postman\"\n  homepage \"https://www.postman.com/downloads/\"\n\n  livecheck do\n    url \"https://dl-cli.pstmn.io/api/version/latest\"\n    strategy :page_match do |page|\n      JSON.parse(page)[\"version\"]\n    end\n  end\n\n  auto_updates true\n\n  binary \"postman-cli\", target: \"postman\"\n\n  zap trash: \"~/.postman\"\nend\n", @tap=#<Tap:0x00007f99ca269330 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @allow_reassignment=false, @block=#<Proc:0x00007f99ca9f38f8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/postman-cli.rb:1>, @default_config=#<Cask::Config:0x00007f99aa09e278 @explicit={}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/postman-cli>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/postman-cli/.metadata>, @config=#<Cask::Config:0x00007f99caac99d0 @explicit={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007f99caac9610 @cask=#<Cask::Cask:0x00007f99ca9f3a10 ...>, @token="postman-cli", @on_system_blocks_exist=true, @arch="x64", @version="1.0.2", @sha256=#<Checksum:0x00007f99caac85f8 @hexdigest="a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e">, @url=#<URL::DSL:0x00007f99caad3b60 @uri=#<URI::HTTPS https://dl-cli.pstmn.io/download/postman-cli-cli-1.0.2-macos-x64.zip>, @verified="dl-cli.pstmn.io/download/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"dl-cli.pstmn.io/download/", :user_agent=>:default}>, @name=["Postman CLI"], @desc="CLI for command-line API management on Postman", @homepage="https://www.postman.com/downloads/", @livecheck=#<Livecheck:0x00007f99caad31b0 @package_or_resource=#<Cask::DSL:0x00007f99caac9610 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=nil, @skip=false, @skip_msg=nil, @strategy=:page_match, @url="https://dl-cli.pstmn.io/api/version/latest", @strategy_block=#<Proc:0x00007f99caad2f30@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/postman-cli.rb:16>>, @livecheckable=true, @auto_updates=true, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/postman-cli/1.0.2>, @language_eval=nil>, @download=#<Pathname:/Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip>>, @dsl_args=["postman-cli", {:target=>"postman"}], @source_string="postman-cli", @target_string="postman", @source=#<Pathname:/usr/local/Caskroom/postman-cli/1.0.2/postman-cli>, @target=#<Pathname:/usr/local/bin/postman>>, #<Cask::Artifact::Zap:0x00007f99aa82b5e0 @cask=#<Cask::Cask:0x00007f99ca9f3a10 @token="postman-cli", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/postman-cli.rb>, @source="cask \"postman-cli\" do\n  arch arm: \"arm64\", intel: \"x64\"\n\n  version \"1.0.2\"\n  sha256 arm:   \"a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e\",\n         intel: \"a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e\"\n\n  url \"https://dl-cli.pstmn.io/download/postman-cli-cli-\#{version}-macos-\#{arch}.zip\",\n      verified: \"dl-cli.pstmn.io/download/\"\n  name \"Postman CLI\"\n  desc \"CLI for command-line API management on Postman\"\n  homepage \"https://www.postman.com/downloads/\"\n\n  livecheck do\n    url \"https://dl-cli.pstmn.io/api/version/latest\"\n    strategy :page_match do |page|\n      JSON.parse(page)[\"version\"]\n    end\n  end\n\n  auto_updates true\n\n  binary \"postman-cli\", target: \"postman\"\n\n  zap trash: \"~/.postman\"\nend\n", @tap=#<Tap:0x00007f99ca269330 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @formula_renames={}, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @allow_reassignment=false, @block=#<Proc:0x00007f99ca9f38f8@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/postman-cli.rb:1>, @default_config=#<Cask::Config:0x00007f99aa09e278 @explicit={}, @binarydir=#<Pathname:/usr/local/bin>>, @caskroom_path=#<Pathname:/usr/local/Caskroom/postman-cli>, @metadata_main_container_path=#<Pathname:/usr/local/Caskroom/postman-cli/.metadata>, @config=#<Cask::Config:0x00007f99caac99d0 @explicit={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007f99caac9610 @cask=#<Cask::Cask:0x00007f99ca9f3a10 ...>, @token="postman-cli", @on_system_blocks_exist=true, @arch="x64", @version="1.0.2", @sha256=#<Checksum:0x00007f99caac85f8 @hexdigest="a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e">, @url=#<URL::DSL:0x00007f99caad3b60 @uri=#<URI::HTTPS https://dl-cli.pstmn.io/download/postman-cli-cli-1.0.2-macos-x64.zip>, @verified="dl-cli.pstmn.io/download/", @using=nil, @tag=nil, @branch=nil, @revisions=nil, @revision=nil, @trust_cert=nil, @cookies=nil, @referer=nil, @header=nil, @user_agent=:default, @data=nil, @specs={:verified=>"dl-cli.pstmn.io/download/", :user_agent=>:default}>, @name=["Postman CLI"], @desc="CLI for command-line API management on Postman", @homepage="https://www.postman.com/downloads/", @livecheck=#<Livecheck:0x00007f99caad31b0 @package_or_resource=#<Cask::DSL:0x00007f99caac9610 ...>, @referenced_cask_name=nil, @referenced_formula_name=nil, @regex=nil, @skip=false, @skip_msg=nil, @strategy=:page_match, @url="https://dl-cli.pstmn.io/api/version/latest", @strategy_block=#<Proc:0x00007f99caad2f30@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/postman-cli.rb:16>>, @livecheckable=true, @auto_updates=true, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/postman-cli/1.0.2>, @language_eval=nil>, @download=#<Pathname:/Users/maturanomx/Library/Caches/Homebrew/downloads/d3bf88c94d5c383590f7be35c2dcbfb438b41c15f8712fe4781553ee48f82699--postman-cli-1.0.2-macos-arm64.zip>>, @dsl_args=[{:trash=>"~/.postman"}], @directives={:trash=>"~/.postman", :signal=>[]}>}>
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'postman-cli' to '/usr/local/bin/postman'
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
==> Existing metadata is: 
🍺  postman-cli was successfully installed!

Output of brew doctor --verbose

==> Cask Environment Variables:
BUNDLE_PATH
CHRUBY_VERSION
GEM_HOME
GEM_PATH
HOMEBREW_CASK_OPTS
LC_ALL
PATH
RBENV_VERSION
RUBYLIB
RUBYOPT
RUBYPATH
SHELL
==> $LOAD_PATHS
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/warning-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tapioca-0.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/yard-sorbet-0.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/yard-0.9.28/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/spoom-1.1.11/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-1.2.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-static-and-runtime-0.5.10461/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-0.5.10461/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-static-0.5.10461-universal-darwin-21/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-cobertura-2.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.21.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.12.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-sorbet-0.6.11/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-2.13.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rails-2.16.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.15.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-1.35.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-ast-1.21.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec_junit_formatter-0.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-wait-0.0.9/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-sorbet-1.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-its-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-github-2.3.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.11.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.11.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.11.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.11.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.11.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ronn-0.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rexml-3.2.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/rdiscount-2.2.0.2
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rbi-0.0.14/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unparser-0.6.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rack-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/pry-0.14.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/patchelf-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parlour-8.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-3.1.2.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-3.13.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.22.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/method_source-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.8.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrobots-0.1.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrick-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubyntlm-0.6.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.13.8-x86_64-darwin/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/racc-1.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/racc-1.6.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.8.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-4.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-3.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2022.0105/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json_schemer-0.2.21/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/uri_template-0.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.6.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/json-2.6.2
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hpricot-0.8.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/hpricot-0.8.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hana-1.3.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/elftools-1.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ecma-re-validator-0.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/regexp_parser-2.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/domain_name-0.5.20190701/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf-0.1.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf_ext-0.0.8.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/unf_ext-0.0.8.2
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/did_you_mean-1.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/commander-4.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/highline-2.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coderay-1.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/byebug-11.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/byebug-11.1.3
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/bootsnap-1.13.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/bootsnap-1.13.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/msgpack-1.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-21/2.6.0/msgpack-1.6.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/bindata-2.4.12/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/addressable-2.8.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/public_suffix-5.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.1.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-2.0.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.16.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.12.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/site_ruby/2.6.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/site_ruby/2.6.0/x86_64-darwin15
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/site_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/vendor_ruby/2.6.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/vendor_ruby/2.6.0/x86_64-darwin15
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/vendor_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/2.6.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/lib/ruby/2.6.0/x86_64-darwin15
/usr/local/Homebrew/Library/Homebrew
==> Homebrew Version
3.6.4-47-g3a57d09
==> macOS
11.6.1
==> SIP
Unknown (custom configuration)

configuration:
apple internal: disabled
kext signing: enabled
filesystem protections: disabled
debugging restrictions: disabled
dtrace restrictions: enabled
nvram protections: enabled
basesystem verification: enabled
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (4086 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts (1979 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers (216 casks)
/usr/local/Homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk (47 casks)
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /Users/maturanomx/.asdf/installs/python/3.10/bin/python3.10-config
  /Users/maturanomx/.asdf/installs/python/3.10/bin/python-config
  /Users/maturanomx/.asdf/installs/python/3.10/bin/python3-config

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/WinTypes.h
  /usr/local/include/ftd2xx.h
  /usr/local/include/libft4222.h

Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc

Output of brew tap

adoptopenjdk/openjdk
agrinman/tap
aws/tap
deepsourcelabs/cli
gromgit/fuse
homebrew/cask
homebrew/cask-drivers
homebrew/cask-fonts
homebrew/core
homebrew/services
khanhas/tap
koekeishiya/formulae
mike-engel/jwt-cli
snyk/tap
miccal commented 2 years ago

Ping @thundron.

I have just noticed that this Cask has the same sha256 for each arch:

cask "postman-cli" do
  arch arm: "arm64", intel: "x64"

  version "1.0.2"
  sha256 arm:   "a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e",
         intel: "a8b49fda050bf6fe99f886807474aa60c7c55e9e743972b6f0a221bd6849f84e"

  url "https://dl-cli.pstmn.io/download/postman-cli-cli-#{version}-macos-#{arch}.zip",
      verified: "dl-cli.pstmn.io/download/"
  name "Postman CLI"
  desc "CLI for command-line API management on Postman"
  homepage "https://www.postman.com/downloads/"

  livecheck do
    url "https://dl-cli.pstmn.io/api/version/latest"
    strategy :page_match do |page|
      JSON.parse(page)["version"]
    end
  end

  auto_updates true

  binary "postman-cli", target: "postman"

  zap trash: "~/.postman"
end
thundron commented 2 years ago

correct: that version had an issue with arm64 binaries. we're working on a fix

p-linnane commented 2 years ago

Looking at the script in the install instructions.

PREFIX='/usr/local'
# We don't support Apple Silicon native builds yet
URL='https://dl-cli.pstmn.io/download/latest/osx_64'