Repository: d12frosted/homebrew-emacs-plus

Issue #602: Could not install or upgarde get frozen class
Created: 2023-08-15T20:46:48Z
Please make sure to follow these steps (and mark the checkboxes):

[ x ] run brew update and try to reproduce the issue again
[ x ] run brew doctor, fix all issues and try to reproduce your issue again
[ x ] run brew config and brew doctor and include their output

What you were trying to do
just upgrade emacs-plus@29 to emacs-plus@29.1 then tryed to upgrade to emacs-plus@30 same error
What happened (include command output)
 brew install emacs-plus@30                                        
Error: can't modify frozen class

 …/kapua-networking-platform →🌱 fix/spf-rec⋮ 🏎💨 v1.5.5default on 🅰 production/PowerUser (Syd) [X] 
✖ brew install emacs-plus@30 --with-native-comp --with-retro-gnu-meditate-levitate-icon
Error: can't modify frozen class


  Command output
    
  

Output of brew config
$ brew config
HOMEBREW_VERSION: 4.1.5-28-g385cf78
ORIGIN: https://github.com/Homebrew/brew
HEAD: 385cf78efac85321f8c1074472a0ffa494751f57
Last commit: 4 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 72286a09e6644cff2b342b43d1e2c3c3e7bbe603
Core tap last commit: 2 days ago
Core tap branch: master
Core tap JSON: 15 Aug 20:41 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_AUTO_UPDATE_SECS: 3600
HOMEBREW_BAT_THEME: Dracula
HOMEBREW_CASK_OPTS: []
HOMEBREW_DEVELOPER: set
HOMEBREW_EDITOR: emacc
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.41.0 => /opt/homebrew/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 13.5-arm64
CLT: 14.3.1.0.1.1683849156
Xcode: N/A
Rosetta 2: false

Output of brew doctor
$ 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 formulae are deprecated or disabled.
You should find replacements for the following formulae:
  lua@5.1

Warning: Putting non-prefixed coreutils in your path can cause GMP builds to fail.

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/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/wkhtmltox/image.h
  /usr/local/include/wkhtmltox/pdf.h

Duplicate issue #608: Could not install emacs-plus@30 with --with-xwidgets --with-imagemagick --with-native-comp --with-poll --with-compress-install --with-memeplex-wide-icon
Created: 2023-09-04T09:59:29Z
Please make sure to follow these steps (and mark the checkboxes):

 run brew update and try to reproduce the issue again
 run brew doctor, fix all issues and try to reproduce your issue again
 run brew config and brew doctor and include their output

What you were trying to do
I was trying to (re-)install emacs-plus@30 on a MacBook Pro M2.
What happened (include command output)
$ brew install emacs-plus --with-xwidgets --with-imagemagick --with-native-comp --with-poll --with-compress-install --with-memeplex-wide-icon


  Command output
  Error: can't modify frozen class
  

Problem
Homebrew/brew@e7d0625  caused the above problem.
Solution
After switching homebrew to Homebrew/brew@9b76182, re-executing the install command solves the above problem.
Output of brew config
$ brew config
HOMEBREW_VERSION: 4.1.7-59-gb535088
ORIGIN: https://github.com/Homebrew/brew
HEAD: b53508897b9e761948da9585b3ca55cf9d2abeb3
Last commit: 14 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 838a2aa8e68159910c6a3d6d519bc126f1cb03e8
Core tap last commit: 62 minutes ago
Core tap branch: master
Core tap JSON: 04 Sep 09:49 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_API_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles/api
HOMEBREW_BOTTLE_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 14.0.3 build 1403
Git: 2.42.0 => /opt/homebrew/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 13.5.1-arm64
CLT: 14.3.1.0.1.1683849156
Xcode: 14.3.1
Rosetta 2: false

Output of brew doctor
$ 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: Putting non-prefixed coreutils in your path can cause GMP builds to fail.

Warning: Putting non-prefixed findutils in your path can cause python builds to fail.

Warning: A '.pydistutils.cfg' file was found in $HOME, which may cause Python
builds to fail. See:
  https://bugs.python.org/issue6138
  https://bugs.python.org/issue4655

Closing comment (2023-09-04T11:24:57Z): Closing as duplicate of #602.