Homebrew / homebrew-cask

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

Installing xampp results in "bad cpu type in executable" error #71791

Closed elfensky closed 4 years ago

elfensky commented 4 years ago

General troubleshooting steps

Description of issue

When I try to xampp using "brew cask install xampp" I get a "bad cpu type in executable" error. I'm setting up my MacBook on a fresh install of Catalina after having upgraded my SSD, and other installs have worked fine. https://imgur.com/a/NnbhZyjI

Command that failed

brew cask install xampp

Output of command with --force --verbose --debug

andrei@MBP15 ~ % brew cask install xampp --force --verbose --debug
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading https://downloadsapachefriends.global.ssl.fastly.net/xampp-files/7.3.4/xampp-osx-7.3.4-0-installer.dmg
/usr/bin/curl -q --globoff --show-error --user-agent Homebrew/2.1.15-95-g3944416\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.1\)\ curl/7.64.1 --location --silent --head --request GET https://downloadsapachefriends.global.ssl.fastly.net/xampp-files/7.3.4/xampp-osx-7.3.4-0-installer.dmg
Already downloaded: /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
==> Checking quarantine support
/usr/bin/xattr
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
==> /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg is quarantined
==> Downloaded to -> /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
==> Verifying SHA-256 checksum for Cask 'xampp'.
==> Installing Cask xampp
==> Cask::Installer#stage
hdiutil imageinfo -format /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
==> Extracting primary container
==> Using container class UnpackStrategy::Dmg for /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
hdiutil attach -plist -nobrowse -readonly -noidme -mountrandom /var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/d20191031-7623-c9g78y /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
find . -print0
mkbom -s -i /var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/20191031-7623-atj1gj.list -- /var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/20191031-7623-w1hgox.bom
ditto --bom /var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/20191031-7623-w1hgox.bom -- /private/var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/d20191031-7623-c9g78y/dmg.FX8fYp /var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/d20191031-7623-mw19bq
diskutil eject /private/var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/d20191031-7623-c9g78y/dmg.FX8fYp
cp -pR /var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/d20191031-7623-mw19bq/XAMPP.app/. /usr/local/Caskroom/xampp/7.3.4-0/XAMPP.app
chmod -Rf +w /var/folders/qc/5d46s_dd175_260ssc0xvwyc0000gn/T/d20191031-7623-mw19bq
==> Verifying Gatekeeper status of /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
==> /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg is quarantined
==> Propagating quarantine from /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg to /usr/local/Caskroom/xampp/7.3.4-0
/usr/bin/xattr -p com.apple.quarantine /Users/andrei/Library/Caches/Homebrew/downloads/56829d0cfa746fbbab6bc57f712d4b55aca8f793aaa434a791d2ed30b82e6fbc--xampp-osx-7.3.4-0-installer.dmg
/usr/bin/xargs -0 -- /bin/chmod -h u\+w
/usr/bin/xargs -0 -- /usr/bin/xattr -w com.apple.quarantine 0181\;5dbb1b15\;Homebrew\\x20Cask\;39BBA194-FFC5-432D-AE8F-61E7F27DC721
==> Creating metadata directory /usr/local/Caskroom/xampp/.metadata/7.3.4-0/20191031174704.886.
==> Creating metadata subdirectory /usr/local/Caskroom/xampp/.metadata/7.3.4-0/20191031174704.886/Casks.
==> Installing artifacts
==> 2 artifact/s defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x00007f9d9511cf58 @cask=#<Cask::Cask:0x00007f9d9596c1e0 @token="xampp", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/xampp.rb>, @tap=#<Tap:0x00007f9d9595eae0 @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, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f9d9596c140@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/xampp.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/xampp>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/xampp/.metadata>, @config=#<Cask::Config:0x00007f9d96125198 @explicit={}>, @dsl=#<Cask::DSL:0x00007f9d96124ce8 @cask=#<Cask::Cask:0x00007f9d9596c1e0 ...>, @token="xampp", @version="7.3.4-0", @sha256="d75688bbfaa943e293218fe4546d9ff3d104f89b99815b2fe3ec179545b5188c", @url=#<URL:0x00007f9d9511fd20 @uri=#<URI::HTTPS https://downloadsapachefriends.global.ssl.fastly.net/xampp-files/7.3.4/xampp-osx-7.3.4-0-installer.dmg>, @user_agent=:default, @specs={}>, @name=["XAMPP"], @homepage="https://www.apachefriends.org/index.html", @artifacts=#<SortedSet: {...}>, @language=nil>>, @directives={:quit=>"com.bitnami.manager", :script=>{:executable=>"/Applications/XAMPP/uninstall.app/Contents/MacOS/osx-intel", :args=>["--mode", "unattended"], :sudo=>true}, :delete=>"/Applications/XAMPP/", :signal=>[]}>, #<Cask::Artifact::Installer:0x00007f9d9511e768 @cask=#<Cask::Cask:0x00007f9d9596c1e0 @token="xampp", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/xampp.rb>, @tap=#<Tap:0x00007f9d9595eae0 @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, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f9d9596c140@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/xampp.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/xampp>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/xampp/.metadata>, @config=#<Cask::Config:0x00007f9d96125198 @explicit={}>, @dsl=#<Cask::DSL:0x00007f9d96124ce8 @cask=#<Cask::Cask:0x00007f9d9596c1e0 ...>, @token="xampp", @version="7.3.4-0", @sha256="d75688bbfaa943e293218fe4546d9ff3d104f89b99815b2fe3ec179545b5188c", @url=#<URL:0x00007f9d9511fd20 @uri=#<URI::HTTPS https://downloadsapachefriends.global.ssl.fastly.net/xampp-files/7.3.4/xampp-osx-7.3.4-0-installer.dmg>, @user_agent=:default, @specs={}>, @name=["XAMPP"], @homepage="https://www.apachefriends.org/index.html", @artifacts=#<SortedSet: {...}>, @language=nil>>, @args={:must_succeed=>true, :sudo=>true, :args=>["--mode", "unattended"], :print_stdout=>true}, @path=#<Pathname:XAMPP.app/Contents/MacOS/osx-intel>>}>
==> Installing artifact of class Cask::Artifact::Installer
==> Running installer script 'XAMPP.app/Contents/MacOS/osx-intel'
/usr/bin/sudo -E -- /usr/bin/env PATH=/usr/local/bin:/usr/local/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/Caskroom/xampp/7.3.4-0/XAMPP.app/Contents/MacOS/osx-intel --mode unattended
env: /usr/local/Caskroom/xampp/7.3.4-0/XAMPP.app/Contents/MacOS/osx-intel: Bad CPU type in executable
==> Purging files for version 7.3.4-0 of Cask xampp
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env PATH=/usr/local/bin:/usr/local/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/Caskroom/xampp/7.3.4-0/XAMPP.app/Contents/MacOS/osx-intel --mode unattended` exited with 126. Here's the output:
env: /usr/local/Caskroom/xampp/7.3.4-0/XAMPP.app/Contents/MacOS/osx-intel: Bad CPU type in executable

Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:176:in `assert_success!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:53:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/installer.rb:32:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:219:in `block in install_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:210:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:105:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:22:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:167:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:167:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:146:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'

Output of brew cask doctor

==> Homebrew Version
2.1.15-95-g3944416
==> macOS
10.15.1
==> SIP
Enabled
==> Java
N/A
==> xattr issues
<NONE>
==> Gatekeeper support
Enabled
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3496 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.36.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-0.75.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-1.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/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-retry-0.6.1/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-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.9.0/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/rdiscount-2.2.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/rdiscount-2.2.0.1
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-2.6.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-2.29.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.18.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/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/ntlm-http-0.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.10.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/nokogiri-1.10.4
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-3.1.0/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.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2019.1009/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/jaro_winkler-1.5.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/jaro_winkler-1.5.3
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.3/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/x86_64-darwin-13/2.6.0-static/hpricot-0.8.6
/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.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/unf_ext-0.0.7.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coveralls-0.8.23/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-0.20.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/term-ansicolor-1.7.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tins-1.21.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.16.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.10.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/x86_64-darwin-13/2.6.0-static/json-2.2.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-5.2.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.12.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/x86_64-darwin19
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"

Output of brew tap

homebrew/cask
homebrew/core
vitorgalvao commented 4 years ago

You’ll have to take that up with the XAMPP developers. It’s likely theirs is a 32-bit app, which Catalina no longer supports.

elfensky commented 4 years ago

You’ll have to take that up with the XAMPP developers. It’s likely theirs is a 32-bit app, which Catalina no longer supports.

I'll contact xampp, though I'd like to add, having downloaded the .dmg from their website it runs and installs fine, so I doubt it being 32bit is the issue.

vitorgalvao commented 4 years ago

Looks like it’s our version of XAMPP that is outdated. Closing in favour of https://github.com/Homebrew/homebrew-cask/issues/71798.

Thank you for the report.

bobdowns commented 4 years ago

Looks like it’s our version of XAMPP that is outdated. Closing in favour of #71798.

Thank you for the report.

So... will your version of XAMPP be updated soon? If so, when? Frankly, I believe this issue is not resolved without your version of XAMPP being updated, if that's what's truly causing this "bad cpu type in executable" error.

vitorgalvao commented 4 years ago

So... will your version of XAMPP be updated soon? If so, when?

When someone submits a working fix that we can merge. If you want to be the one to do it, check the contributing doc and https://github.com/Homebrew/homebrew-cask/issues/71798.

bobdowns commented 4 years ago

I tried, but I honestly don't know what I'm doing with git or homebrew. I think I correctly installed the tiny-script/cask-repair thing. And I've done the add your GitHub fork as a remote for your homebrew-cask Tap thing. And I ran cask-repair xampp and input the current version (7.3.11-0), but I keep getting the following error anyway:

There were errors while pushing: Warning: Permanently added the RSA host key for IP address '140.82.114.3' (note that this changes each time I run this) to the list of known hosts. git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Please fix the errors and try again. If the issue persists, open a bug report on the repo for this script ( https://github.com/vitorgalvao/tiny-scripts).

I don't see how I could not have "the correct access rights" to my own repository.

I don't see anywhere at vitorgalvao's github page how to "open a bug report". I even went to https://vitorgalvao.com/ but that just redirects to https://society6.com/vitorgalvao which seems to be some sort of Etsy-like website for selling prints (and with no "contact me" links or info anywhere).

I want to help by doing this "cask-repair" thing, but I've tried close to ten times with no luck. Please advise.

On Wed, Nov 6, 2019 at 7:38 AM Vítor Galvão notifications@github.com wrote:

So... will your version of XAMPP be updated soon? If so, when?

When someone submits a working fix that we can merge. If you want to be the one to do it, check the contributing doc https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew-cask%2Fblob%2Fmaster%2FCONTRIBUTING.md&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853215831&sdata=MX4QgEhQUolqE54YIgIgv65J6PDJug8ER8rJX3csWkM%3D&reserved=0 and #71798 https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew-cask%2Fissues%2F71798&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853215831&sdata=ehSGlyGEmqlDT5ggBYu9y6Cz8lQMq6uP6%2BfYHWkia8M%3D&reserved=0 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew-cask%2Fissues%2F71791%3Femail_source%3Dnotifications%26email_token%3DAD3WBFIRGDFEC2GRO56VHWDQSLJEZA5CNFSM4JHOY3V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGX36A%23issuecomment-550338040&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853225841&sdata=WWnYr6%2BKBgffgznq%2F0rj6JbFX09FA%2BRXv9zwwd%2F6sUE%3D&reserved=0, or unsubscribe https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD3WBFNZXLTT5BNWEF4Z6WDQSLJEZANCNFSM4JHOY3VQ&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853225841&sdata=M1Ka04xtKQODhAQzYcbamjln5sm671Pbj98IdQzx6nE%3D&reserved=0 .

-- https://about.me/bobdowns?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb Bob Downs about.me/bobdowns https://about.me/bobdowns?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb

bobdowns commented 4 years ago

UPDATE: I just saw that I got an email that says I now have a "Personal Access Token" for access to the GitHub API. So, I just tried running cask-repair xampp again and... got the same error. https://chrome.google.com/webstore/detail/bitmoji/bfgdeiadkckfbkeigkoncpdieiiefpig

On Wed, Nov 6, 2019 at 2:37 PM Bob Downs bobdowns@outlook.com wrote:

I tried, but I honestly don't know what I'm doing with git or homebrew. I think I correctly installed the tiny-script/cask-repair thing. And I've done the add your GitHub fork as a remote for your homebrew-cask Tap thing. And I ran cask-repair xampp and input the current version (7.3.11-0), but I keep getting the following error anyway:

There were errors while pushing: Warning: Permanently added the RSA host key for IP address '140.82.114.3' (note that this changes each time I run this) to the list of known hosts. git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Please fix the errors and try again. If the issue persists, open a bug report on the repo for this script ( https://github.com/vitorgalvao/tiny-scripts).

I don't see how I could not have "the correct access rights" to my own repository.

I don't see anywhere at vitorgalvao's github page how to "open a bug report". I even went to https://vitorgalvao.com/ but that just redirects to https://society6.com/vitorgalvao which seems to be some sort of Etsy-like website for selling prints (and with no "contact me" links or info anywhere).

I want to help by doing this "cask-repair" thing, but I've tried close to ten times with no luck. Please advise.

On Wed, Nov 6, 2019 at 7:38 AM Vítor Galvão notifications@github.com wrote:

So... will your version of XAMPP be updated soon? If so, when?

When someone submits a working fix that we can merge. If you want to be the one to do it, check the contributing doc https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew-cask%2Fblob%2Fmaster%2FCONTRIBUTING.md&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853215831&sdata=MX4QgEhQUolqE54YIgIgv65J6PDJug8ER8rJX3csWkM%3D&reserved=0 and #71798 https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew-cask%2Fissues%2F71798&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853215831&sdata=ehSGlyGEmqlDT5ggBYu9y6Cz8lQMq6uP6%2BfYHWkia8M%3D&reserved=0 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew-cask%2Fissues%2F71791%3Femail_source%3Dnotifications%26email_token%3DAD3WBFIRGDFEC2GRO56VHWDQSLJEZA5CNFSM4JHOY3V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGX36A%23issuecomment-550338040&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853225841&sdata=WWnYr6%2BKBgffgznq%2F0rj6JbFX09FA%2BRXv9zwwd%2F6sUE%3D&reserved=0, or unsubscribe https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD3WBFNZXLTT5BNWEF4Z6WDQSLJEZANCNFSM4JHOY3VQ&data=02%7C01%7C%7C8054411fd9ab4e26b7f808d762c6eed9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637086478853225841&sdata=M1Ka04xtKQODhAQzYcbamjln5sm671Pbj98IdQzx6nE%3D&reserved=0 .

--

https://about.me/bobdowns?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb Bob Downs about.me/bobdowns https://about.me/bobdowns?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb

-- https://about.me/bobdowns?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb Bob Downs about.me/bobdowns https://about.me/bobdowns?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb

vitorgalvao commented 4 years ago

I don't see anywhere at vitorgalvao's github page how to "open a bug report".

It says right there on the message you quoted:

Please fix the errors and try again. If the issue persists, open a bug report on the repo for this script (https://github.com/vitorgalvao/tiny-scripts).

You open an issue just like in any other GitHub repo. But if you’re that green, this might not be issue for you to tackle. This isn’t a simple version bump, or it would have already been done.

bobdowns commented 4 years ago

Yeah, “open a bug report... [at] https://github…” doesn’t tell me HOW to open a bug report.

Like I said from the outset, I AM pretty “green” when it comes to GitHub and Brew. I only tried to do the “cask-repair” thing because you suggested it, despite my admission of “greeness”.

If it’s more than a simple version bump, then suggesting that someone who’s already explained that he’s “green” go do this complex cask-repair, more-complex-than-a-simple-version-bump process was a waste of everyone’s time.

Thanks for trying though. And, you’re welcome for my trying.

On Thu, Nov 7, 2019 at 5:49 AM Vítor Galvão notifications@github.com wrote:

I don't see anywhere at vitorgalvao's github page how to "open a bug report".

It says right there on the message you quoted:

Please fix the errors and try again. If the issue persists, open a bug report on the repo for this script ( https://github.com/vitorgalvao/tiny-scripts https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvitorgalvao%2Ftiny-scripts&data=02%7C01%7C%7Cc0ba168ef7154f8690cf08d76380ea86%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637087277648411162&sdata=gWNxfVnSRftZwOh%2FGCiKJA54UndsKj0hX5EReISWBX8%3D&reserved=0 ).

You open an issue just like in any other GitHub repo. But if you’re that green, this might not be issue for you to tackle. This isn’t a simple version bump, or it would have already been done.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew-cask%2Fissues%2F71791%3Femail_source%3Dnotifications%26email_token%3DAD3WBFOAZFM3IXIKRANFHETQSQFFFA5CNFSM4JHOY3V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMJP2I%23issuecomment-551065577&data=02%7C01%7C%7Cc0ba168ef7154f8690cf08d76380ea86%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637087277648421179&sdata=F29EgCXvos5B2q5rGkyhwU4%2BZfila%2F33M9A%2BTLzAe1w%3D&reserved=0, or unsubscribe https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD3WBFJ5Q33HDRXINYXC2ADQSQFFFANCNFSM4JHOY3VQ&data=02%7C01%7C%7Cc0ba168ef7154f8690cf08d76380ea86%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637087277648431172&sdata=6s%2BTpyPWT8uQkUCPNl%2Ba3ouRBF1YTkbm2kJqNkXtuFk%3D&reserved=0 .

-- Bob Downs

vitorgalvao commented 4 years ago

Like I said from the outset, I AM pretty “green” when it comes to GitHub

You didn’t say that from the outset. In fact, you made no mention to your level of expertise.

Yeah, “open a bug report... [at] https://github…” doesn’t tell me HOW to open a bug report.

If you know how to comment on a GitHub issue, it’s a pretty safe bet that you can figure out how to open a new one. In my six years of working on HBC, this is the first time I recall that not being the case.

go do this complex cask-repair

The overwhelming majority of people don’t find it complex and do just fine with those instructions. Why would I assume you needed further guidance when most people don’t?

“green” (…) “greeness” (…) “green”

You seem to be taking that as an insult. It wasn’t.

Thanks for trying though. And, you’re welcome for my trying.

I’ll give you the benefit of the doubt and not take that as sarcasm.