Skip to content

brew cleanup says libthai can be removed, but at the same time it is needed by pango #21511

@juanfcocontreras

Description

@juanfcocontreras

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

brew config
HOMEBREW_VERSION: 5.0.13-26-g7788a02
ORIGIN: https://github.com/Homebrew/brew
HEAD: 7788a02932f30f66b18b1caecbc239c4d954d88f
Last commit: 3 hours ago
Branch: main
Core tap JSON: 03 Feb 09:13 UTC
Core cask tap JSON: 03 Feb 09:13 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.NNI39sRQTP/org.xquartz:0
HOMEBREW_DOWNLOAD_CONCURRENCY: 16
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.8 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/ruby
CPU: octa-core 64-bit arm_ibiza
Clang: 17.0.0 build 1700
Git: 2.50.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.18.0 => /opt/homebrew/opt/curl/bin/curl
macOS: 26.2-arm64
CLT: 26.2.0.0.1.1764812424
Xcode: N/A
Rosetta 2: false



brew doctor
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:
  fontsmoothingadjuster
  zeronet

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  antigen
  icu4c@77
  tldr

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.
  • My issue is not about a failure to build a formula from source.

What were you trying to do (and why)?

I try to clean unnecessary packages. I think it is related to this commit:

Homebrew/homebrew-core@d006161

What happened (include all command output)?

brew cleanup
==> Autoremoving 4 unneeded formulae:
cyrus-sasl
libdatrie
libthai
pydantic
Error: Refusing to uninstall /opt/homebrew/Cellar/libdatrie/0.2.14 and /opt/homebrew/Cellar/libthai/0.1.30
because they are required by pango, which is currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies

What did you expect to happen?

That will remove the unnecessary packages

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

brew cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions