Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.77k stars 12.45k forks source link

brew install j mismatch hash #169662

Closed secwang closed 6 months ago

secwang commented 6 months ago

brew gist-logs <formula> link OR brew config AND brew doctor output

brew config
HOMEBREW_VERSION: 4.2.18-77-g8810b7f
ORIGIN: https://github.com/Homebrew/brew
HEAD: 8810b7f0419734c48d1b7b950f1c1aaac066f4a7
Last commit: 8 hours ago
Core tap HEAD: ce4fe5c6c93e44665afac04e7a1a383800defe7b
Core tap last commit: 6 months ago
Core tap JSON: 21 Apr 10:01 UTC
Core cask tap HEAD: 3dd69944c752e63c5cbea33ecde5037d380283c4
Core cask tap last commit: 6 months ago
Core cask tap JSON: 21 Apr 10:01 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.eKIginubkQ/org.xquartz:0
HOMEBREW_EDITOR: vim
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.43.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
Rosetta 2: false

brew doctor
brew doctor                            (base) 
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: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  wkhtmltopdf

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  python-jinja
  python-pluggy
  python-pyparsing
  python-click
  python-docopt
  python-mutagen
  python-brotli
  python-markupsafe

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  cling
  gcal
  lua@5.3
  openssl@1.1
  platypus
  pydocstyle
  python-dateutil
  python-psutil
  python-pytz
  python-typing-extensions
  python@3.8
  textql

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

Unexpected dylibs:
  /usr/local/lib/libsecp256k1.0.dylib
  /usr/local/lib/libtcl8.6.dylib
  /usr/local/lib/libtk8.6.dylib
  /usr/local/lib/libwkhtmltox.0.12.6.dylib

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/fakemysql.h
  /usr/local/include/fakepq.h
  /usr/local/include/fakesql.h
  /usr/local/include/itcl.h
  /usr/local/include/itcl2TclOO.h
  /usr/local/include/itclDecls.h
  /usr/local/include/itclInt.h
  /usr/local/include/itclIntDecls.h
  /usr/local/include/itclMigrate2TclCore.h
  /usr/local/include/itclTclIntStubsFcn.h
  /usr/local/include/mysqlStubs.h
  /usr/local/include/odbcStubs.h
  /usr/local/include/pqStubs.h
  /usr/local/include/secp256k1.h
  /usr/local/include/tcl.h
  /usr/local/include/tclDecls.h
  /usr/local/include/tclOO.h
  /usr/local/include/tclOODecls.h
  /usr/local/include/tclPlatDecls.h
  /usr/local/include/tclThread.h
  /usr/local/include/tclTomMath.h
  /usr/local/include/tclTomMathDecls.h
  /usr/local/include/tdbc.h
  /usr/local/include/tdbcDecls.h
  /usr/local/include/tdbcInt.h
  /usr/local/include/tk.h
  /usr/local/include/tkDecls.h
  /usr/local/include/tkPlatDecls.h
  /usr/local/include/unicode/alphaindex.h
  /usr/local/include/unicode/appendable.h
  /usr/local/include/unicode/basictz.h
  /usr/local/include/unicode/brkiter.h
  /usr/local/include/unicode/bytestream.h
  /usr/local/include/unicode/bytestrie.h
  /usr/local/include/unicode/bytestriebuilder.h
  /usr/local/include/unicode/calendar.h
  /usr/local/include/unicode/caniter.h
  /usr/local/include/unicode/chariter.h
  /usr/local/include/unicode/choicfmt.h
  /usr/local/include/unicode/coleitr.h
  /usr/local/include/unicode/coll.h
  /usr/local/include/unicode/compactdecimalformat.h
  /usr/local/include/unicode/curramt.h
  /usr/local/include/unicode/currpinf.h
  /usr/local/include/unicode/currunit.h
  /usr/local/include/unicode/datefmt.h
  /usr/local/include/unicode/dbbi.h
  /usr/local/include/unicode/dcfmtsym.h
  /usr/local/include/unicode/decimfmt.h
  /usr/local/include/unicode/docmain.h
  /usr/local/include/unicode/dtfmtsym.h
  /usr/local/include/unicode/dtintrv.h
  /usr/local/include/unicode/dtitvfmt.h
  /usr/local/include/unicode/dtitvinf.h
  /usr/local/include/unicode/dtptngen.h
  /usr/local/include/unicode/dtrule.h
  /usr/local/include/unicode/enumset.h
  /usr/local/include/unicode/errorcode.h
  /usr/local/include/unicode/fieldpos.h
  /usr/local/include/unicode/filteredbrk.h
  /usr/local/include/unicode/fmtable.h
  /usr/local/include/unicode/format.h
  /usr/local/include/unicode/fpositer.h
  /usr/local/include/unicode/gender.h
  /usr/local/include/unicode/gregocal.h
  /usr/local/include/unicode/icudataver.h
  /usr/local/include/unicode/icuplug.h
  /usr/local/include/unicode/idna.h
  /usr/local/include/unicode/listformatter.h
  /usr/local/include/unicode/localpointer.h
  /usr/local/include/unicode/locdspnm.h
  /usr/local/include/unicode/locid.h
  /usr/local/include/unicode/measfmt.h
  /usr/local/include/unicode/measunit.h
  /usr/local/include/unicode/measure.h
  /usr/local/include/unicode/messagepattern.h
  /usr/local/include/unicode/msgfmt.h
  /usr/local/include/unicode/normalizer2.h
  /usr/local/include/unicode/normlzr.h
  /usr/local/include/unicode/numfmt.h
  /usr/local/include/unicode/numsys.h
  /usr/local/include/unicode/parseerr.h
  /usr/local/include/unicode/parsepos.h
  /usr/local/include/unicode/platform.h
  /usr/local/include/unicode/plurfmt.h
  /usr/local/include/unicode/plurrule.h
  /usr/local/include/unicode/ptypes.h
  /usr/local/include/unicode/putil.h
  /usr/local/include/unicode/rbbi.h
  /usr/local/include/unicode/rbnf.h
  /usr/local/include/unicode/rbtz.h
  /usr/local/include/unicode/regex.h
  /usr/local/include/unicode/region.h
  /usr/local/include/unicode/reldatefmt.h
  /usr/local/include/unicode/rep.h
  /usr/local/include/unicode/resbund.h
  /usr/local/include/unicode/schriter.h
  /usr/local/include/unicode/scientificnumberformatter.h
  /usr/local/include/unicode/search.h
  /usr/local/include/unicode/selfmt.h
  /usr/local/include/unicode/simpletz.h
  /usr/local/include/unicode/smpdtfmt.h
  /usr/local/include/unicode/sortkey.h
  /usr/local/include/unicode/std_string.h
  /usr/local/include/unicode/strenum.h
  /usr/local/include/unicode/stringpiece.h
  /usr/local/include/unicode/stringtriebuilder.h
  /usr/local/include/unicode/stsearch.h
  /usr/local/include/unicode/symtable.h
  /usr/local/include/unicode/tblcoll.h
  /usr/local/include/unicode/timezone.h
  /usr/local/include/unicode/tmunit.h
  /usr/local/include/unicode/tmutamt.h
  /usr/local/include/unicode/tmutfmt.h
  /usr/local/include/unicode/translit.h
  /usr/local/include/unicode/tzfmt.h
  /usr/local/include/unicode/tznames.h
  /usr/local/include/unicode/tzrule.h
  /usr/local/include/unicode/tztrans.h
  /usr/local/include/unicode/ubidi.h
  /usr/local/include/unicode/ubrk.h
  /usr/local/include/unicode/ucal.h
  /usr/local/include/unicode/ucasemap.h
  /usr/local/include/unicode/ucat.h
  /usr/local/include/unicode/uchar.h
  /usr/local/include/unicode/ucharstrie.h
  /usr/local/include/unicode/ucharstriebuilder.h
  /usr/local/include/unicode/uchriter.h
  /usr/local/include/unicode/uclean.h
  /usr/local/include/unicode/ucnv.h
  /usr/local/include/unicode/ucnv_cb.h
  /usr/local/include/unicode/ucnv_err.h
  /usr/local/include/unicode/ucnvsel.h
  /usr/local/include/unicode/ucol.h
  /usr/local/include/unicode/ucoleitr.h
  /usr/local/include/unicode/uconfig.h
  /usr/local/include/unicode/ucsdet.h
  /usr/local/include/unicode/ucurr.h
  /usr/local/include/unicode/udat.h
  /usr/local/include/unicode/udata.h
  /usr/local/include/unicode/udateintervalformat.h
  /usr/local/include/unicode/udatpg.h
  /usr/local/include/unicode/udisplaycontext.h
  /usr/local/include/unicode/uenum.h
  /usr/local/include/unicode/ufieldpositer.h
  /usr/local/include/unicode/uformattable.h
  /usr/local/include/unicode/ugender.h
  /usr/local/include/unicode/uidna.h
  /usr/local/include/unicode/uiter.h
  /usr/local/include/unicode/uldnames.h
  /usr/local/include/unicode/ulistformatter.h
  /usr/local/include/unicode/uloc.h
  /usr/local/include/unicode/ulocdata.h
  /usr/local/include/unicode/umachine.h
  /usr/local/include/unicode/umisc.h
  /usr/local/include/unicode/umsg.h
  /usr/local/include/unicode/unifilt.h
  /usr/local/include/unicode/unifunct.h
  /usr/local/include/unicode/unimatch.h
  /usr/local/include/unicode/unirepl.h
  /usr/local/include/unicode/uniset.h
  /usr/local/include/unicode/unistr.h
  /usr/local/include/unicode/unorm.h
  /usr/local/include/unicode/unorm2.h
  /usr/local/include/unicode/unum.h
  /usr/local/include/unicode/unumsys.h
  /usr/local/include/unicode/uobject.h
  /usr/local/include/unicode/upluralrules.h
  /usr/local/include/unicode/uregex.h
  /usr/local/include/unicode/uregion.h
  /usr/local/include/unicode/urename.h
  /usr/local/include/unicode/urep.h
  /usr/local/include/unicode/ures.h
  /usr/local/include/unicode/uscript.h
  /usr/local/include/unicode/usearch.h
  /usr/local/include/unicode/uset.h
  /usr/local/include/unicode/usetiter.h
  /usr/local/include/unicode/ushape.h
  /usr/local/include/unicode/uspoof.h
  /usr/local/include/unicode/usprep.h
  /usr/local/include/unicode/ustring.h
  /usr/local/include/unicode/ustringtrie.h
  /usr/local/include/unicode/utext.h
  /usr/local/include/unicode/utf.h
  /usr/local/include/unicode/utf16.h
  /usr/local/include/unicode/utf32.h
  /usr/local/include/unicode/utf8.h
  /usr/local/include/unicode/utf_old.h
  /usr/local/include/unicode/utmscale.h
  /usr/local/include/unicode/utrace.h
  /usr/local/include/unicode/utrans.h
  /usr/local/include/unicode/utypes.h
  /usr/local/include/unicode/uvernum.h
  /usr/local/include/unicode/uversion.h
  /usr/local/include/unicode/vtzone.h
  /usr/local/include/wkhtmltox/image.h
  /usr/local/include/wkhtmltox/pdf.h

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

Unexpected '.la' files:
  /usr/local/lib/libsecp256k1.la

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

Unexpected '.pc' files:
  /usr/local/lib/pkgconfig/icu-i18n.pc
  /usr/local/lib/pkgconfig/icu-uc.pc
  /usr/local/lib/pkgconfig/libsecp256k1.pc
  /usr/local/lib/pkgconfig/tcl.pc
  /usr/local/lib/pkgconfig/tk.pc

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

Unexpected static libraries:
  /usr/local/lib/libicudata.a
  /usr/local/lib/libicui18n.a
  /usr/local/lib/libicutest.a
  /usr/local/lib/libicutu.a
  /usr/local/lib/libicuuc.a
  /usr/local/lib/libsecp256k1.a
  /usr/local/lib/libtclstub8.6.a
  /usr/local/lib/libtkstub8.6.a

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  cabextract
  emacs
  emacs-mac
  expect

Warning: Some taps are not on the default git origin branch and may not receive
updates. If this is a surprise to you, check out the default branch with:
  git -C $(brew --repo secwang/local-cabextract) checkout

Verification

What were you trying to do (and why)?

brew install j

What happened (include all command output)?

Warning: No remote 'origin' in /opt/homebrew/Library/Taps/secwang/homebrew-local-cabextract, skipping update! ==> Auto-updated Homebrew! ==> Updated Homebrew from 401500e70a to 8810b7f041. Updated 3 taps (homebrew/cask-versions, homebrew/cask-fonts and homebrew/core). ==> New Formulae beancount-language-server descope

You have 123 outdated formulae and 3 outdated casks installed.

==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-cask/13e4485 ######################################################################### 100.0% ==> Downloading https://www.jsoftware.com/download/j9.5/install/j9.5_mac64.zip Already downloaded: /Users/secwang/Library/Caches/Homebrew/downloads/b1dc314de6dbe41eaa2677e7cc83b6e30288a264b1a1d17032edee4e76d08d0a--j9.5_mac64.zip Error: SHA256 mismatch Expected: 066a3e5deef9359ca66cd16cc5cd80745dfc4ad49b59726b0f6cb5002c3f4a92 Actual: 78efb1db5423939e776f0053ff074a5c641b376e0517ded04773e38c001609c5 File: /Users/secwang/Library/Caches/Homebrew/downloads/b1dc314de6dbe41eaa2677e7cc83b6e30288a264b1a1d17032edee4e76d08d0a--j9.5_mac64.zip To retry an incomplete download, remove the file above.

What did you expect to happen?

install j correctly

Step-by-step reproduction instructions (by running brew commands)

brew install j (in mac)
secwang commented 6 months ago

brew cask issue