Homebrew / homebrew-core

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

asciiquarium- #105314

Closed hahapigs closed 2 years ago

hahapigs commented 2 years ago

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

############ brew config info ###########
HOMEBREW_VERSION: 3.5.4-7-gb4619fe
ORIGIN: https://mirrors.ustc.edu.cn/brew.git
HEAD: b4619fe2dbe26cc14294049574358e92a5bb6dc8
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: cbde5746ee3295daba49dea04022725b0eadade9
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BOTTLE_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 12.0.0 build 1200
Git: 2.37.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.7-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: N/A

############## brew doctor info ##########

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: Suspicious https://github.com/Homebrew/brew git origin remote found.
The current git origin is:
  https://mirrors.ustc.edu.cn/brew.git

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
  git -C "/usr/local/Homebrew" remote set-url origin https://github.com/Homebrew/brew

Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
The current git origin is:
  https://mirrors.ustc.edu.cn/homebrew-core.git

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
  git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  ilmbase
  lua@5.1
  maven@3.5
  pacman4console

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/python3.9/greenlet/greenlet.h

Verification

What were you trying to do (and why)?

use the asciiquarium command

What happened (include all command output)?

Can't load '/usr/local/Cellar/asciiquarium/1.1_3/libexec/lib/perl5/darwin-thread-multi-2level/auto/Curses/Curses.bundle' for module Curses: dlopen(/usr/local/Cellar/asciiquarium/1.1_3/libexec/lib/perl5/darwin-thread-multi-2level/auto/Curses/Curses.bundle, 1): Symbol not found: _PL_strict_utf8_dfa_tab Referenced from: /usr/local/Cellar/asciiquarium/1.1_3/libexec/lib/perl5/darwin-thread-multi-2level/auto/Curses/Curses.bundle Expected in: flat namespace in /usr/local/Cellar/asciiquarium/1.1_3/libexec/lib/perl5/darwin-thread-multi-2level/auto/Curses/Curses.bundle at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194. at /usr/local/Cellar/asciiquarium/1.1_3/libexec/lib/perl5/Term/Animation.pm line 7. Compilation failed in require at /usr/local/Cellar/asciiquarium/1.1_3/libexec/lib/perl5/Term/Animation.pm line 7. BEGIN failed--compilation aborted at /usr/local/Cellar/asciiquarium/1.1_3/libexec/lib/perl5/Term/Animation.pm line 7. Compilation failed in require at /usr/local/Cellar/asciiquarium/1.1_3/libexec/bin/asciiquarium line 42. BEGIN failed--compilation aborted at /usr/local/Cellar/asciiquarium/1.1_3/libexec/bin/asciiquarium line 42.

What did you expect to happen?

Aquarium animation

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

1.brew install asciiquarium
2.asciiquarium
3.brew doctor
4.cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-core
5.git pull
6.brew uninstall asciiquarium
7.brew install asciiquarium
8.asciiquarium
carlocab commented 2 years ago

Can't reproduce. It seems very likely that this is your issue:

Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
The current git origin is:
  https://mirrors.ustc.edu.cn/homebrew-core.git

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
  git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core

Please use the official origin for homebrew-core. If you prefer not to do that, you'll need to report this to the maintainers of the mirror you're using.