homebrew-emacs-plus: emacs@29 --with-native-comp linkage errors

Error: Failed changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-566f90ed/preloaded/isearch-693bdd75-7048e0a2.eln

from isearch-693bdd75-7048e0a2.eln

to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-566f90ed/preloaded/isearch-693bdd75-7048e0a2.eln

Error: Failed to fix install linkage

The formula built, but you may encounter issues using it or linking other

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

What happened (include command output)

$ brew install emacs-plus brew install emacs-plus@29 --with-xwidgets --with-imagemagick --with-native-comp --with-elrumo2-icon
Command output

==> Cloning https://github.com/emacs-mirror/emacs.git Updating /Users/chenxianbin/Library/Caches/Homebrew/emacs-plus@29–git ==> Checking out branch master Already on ‘master’ Your branch is up to date with ‘origin/master’. HEAD is now at 47374d4416 duplicate-line: fix optional argument and add test (bug#46621) ==> Installing emacs-plus@29 from d12frosted/emacs-plus ==> Patching ==> Applying fix-window-role.patch patching file src/nsterm.m Hunk #1 succeeded at 9321 (offset 553 lines). ==> Applying system-appearance.patch patching file src/frame.h patching file src/nsfns.m Hunk #1 succeeded at 1376 (offset 120 lines). patching file src/nsterm.m Hunk #1 succeeded at 1933 (offset 44 lines). Hunk #2 succeeded at 5713 (offset 318 lines). Hunk #3 succeeded at 6001 (offset 360 lines). Hunk #4 succeeded at 6051 (offset 360 lines). Hunk #5 succeeded at 6277 (offset 360 lines). Hunk #6 succeeded at 9654 (offset 752 lines). Hunk #7 succeeded at 10988 (offset 930 lines). ==> ImageMagick PKG_CONFIG_PATH: /usr/local/opt/imagemagick/lib/pkgconfig ==> ./autogen.sh ==> ./configure --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus@29/29.0.50/share/info/em ==> gmake ==> gmake install ==> Injecting PATH value to Emacs.app/Contents/Info.plist Patching plist at /usr/local/Cellar/emacs-plus@29/29.0.50/Emacs.app/Contents/Info.plist with following PATH value: /Users/chenxianbin/.jenv/shims /Users/chenxianbin/Library/Python/3.9/bin /usr/local/opt/grep/libexec/gnubin /usr/local/opt/findutils/libexec/gnubin /usr/local/opt/gnu-indent/libexec/gnubin /usr/local/opt/e2fsprogs/sbin /usr/local/opt/e2fsprogs/bin /Users/chenxianbin/.gem/ruby/2.6.0/bin /Users/chenxianbin/.go/bin /Users/chenxianbin/.n/bin /Users/chenxianbin/.jenv/bin /Users/chenxianbin/.doom.d/bin /Users/chenxianbin/.doom-emacs.d/bin /usr/local/sbin /usr/local/bin /Library/TeX/texbin /Library/Apple/usr/bin /Users/chenxianbin/.zinit/plugins/b4b4r07—httpstat /Users/chenxianbin/.zinit/polaris/bin /Applications/kitty.app/Contents/MacOS /usr/bin /bin /usr/sbin /sbin ==> /usr/libexec/PlistBuddy -c ‘Add :LSEnvironment dict’ ‘/usr/local/Cellar/emacs-plus@29/29.0.50/Emacs.app/Contents/Info.plist’ ==> /usr/libexec/PlistBuddy -c ‘Add :LSEnvironment:PATH string’ ‘/usr/local/Cellar/emacs-plus@29/29.0.50/Emacs.app/Contents/Info.plist’ ==> /usr/libexec/PlistBuddy -c 'Set :LSEnvironment:PATH /Users/chenxianbin/.jenv/shims:/Users/chenxianbin/Library/Python/3.9/bin:/usr/l ==> /usr/libexec/PlistBuddy -c ‘Print :LSEnvironment’ ‘/usr/local/Cellar/emacs-plus@29/29.0.50/Emacs.app/Contents/Info.plist’ ==> touch ‘/usr/local/Cellar/emacs-plus@29/29.0.50/Emacs.app’ Error: Failed changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-566f90ed/preloaded/isearch-693bdd75-7048e0a2.eln from isearch-693bdd75-7048e0a2.eln to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-566f90ed/preloaded/isearch-693bdd75-7048e0a2.eln Error: Failed to fix install linkage The formula built, but you may encounter issues using it or linking other formulae against it. ==> Caveats Emacs.app was installed to: /usr/local/opt/emacs-plus@29

To link the application to default Homebrew App location: ln -s /usr/local/opt/emacs-plus@29/Emacs.app /Applications

Your PATH value was injected into Emacs.app/Contents/Info.plist

Report any issues to http://github.com/d12frosted/homebrew-emacs-plus

To start d12frosted/emacs-plus/emacs-plus@29 now and restart at login: brew services start d12frosted/emacs-plus/emacs-plus@29 Or, if you don’t want/need a background service you can just run: emacs ==> Summary 🍺 /usr/local/Cellar/emacs-plus@29/29.0.50: 4,229 files, 168.3MB, built in 7 minutes 17 seconds ==> Running brew cleanup emacs-plus@29… Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).

Output of brew config

$ brew config
HOMEBREW_VERSION: 3.5.2-121-g150c7d4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 150c7d4d4847c3692cd46549edbb67aac83429f1
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 62deae70c8cc3f62ca5e83e3ba9caf2c44a01024
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_EDITOR: vim
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_NO_AUTO_UPDATE: set
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 13.1.6 build 1316
Git: 2.36.1 => /usr/local/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-x86_64
CLT: 13.4.0.0.1.1651278267
Xcode: 13.4.1

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: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /Users/chenxianbin/Library/Python/3.9/bin/pre-commit-validate-config

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

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (4 by maintainers)

Commits related to this issue

Most upvoted comments

A workaround to make it work:

ln -sf $(brew --prefix)/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp $(brew --prefix)/Cellar/emacs-plus@29/29.0.50/Emacs.app/Contents

Oh, okay. I misunderstood. I thought it’s still failing to install for you. I’m glad you have Emacs running. Nothing is worse when you can’t get Emacs (the way you wanted) on your machine.

On mine it’s failing with a different error:

Error: Failed changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/isearch-693bdd75-005fb30b.eln
  from isearch-693bdd75-005fb30b.eln
    to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/isearch-693bdd75-005fb30b.eln
Error: Failed to fix install linkage

adding --debug flag reveals more dylib errors:

expand
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/byte-opt-9c5f25f5-f5981a41.eln
  from byte-opt-9c5f25f5-f5981a41.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/byte-opt-9c5f25f5-f5981a41.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/bytecomp-12882072-2034f0e5.eln
  from bytecomp-12882072-2034f0e5.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/bytecomp-12882072-2034f0e5.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/cconv-3b1f1f98-92441f72.eln
  from cconv-3b1f1f98-92441f72.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/cconv-3b1f1f98-92441f72.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/charscript-600dca1a-639e1e93.eln
  from charscript-600dca1a-639e1e93.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/charscript-600dca1a-639e1e93.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/comp-7672a6ed-b4e5c638.eln
  from comp-7672a6ed-b4e5c638.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/comp-7672a6ed-b4e5c638.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/comp-cstr-ef162ef7-4aae7f32.eln
  from comp-cstr-ef162ef7-4aae7f32.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/comp-cstr-ef162ef7-4aae7f32.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/emoji-zwj-4f682c68-a74e4ca6.eln
  from emoji-zwj-4f682c68-a74e4ca6.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/emoji-zwj-4f682c68-a74e4ca6.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/ja-dic-283bfd77-a5e4a1e7.eln
  from ja-dic-283bfd77-a5e4a1e7.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/ja-dic-283bfd77-a5e4a1e7.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/loaddefs-gen-e8a3ad9c-40d48910.eln
  from loaddefs-gen-e8a3ad9c-40d48910.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/loaddefs-gen-e8a3ad9c-40d48910.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/abbrev-2af30c9a-a55c2154.eln
  from abbrev-2af30c9a-a55c2154.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/abbrev-2af30c9a-a55c2154.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/backquote-d5b20f7c-6dfc6085.eln
  from backquote-d5b20f7c-6dfc6085.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/backquote-d5b20f7c-6dfc6085.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/bindings-d30713c5-51094253.eln
  from bindings-d30713c5-51094253.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/bindings-d30713c5-51094253.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/buff-menu-da4b0b04-f49b1235.eln
  from buff-menu-da4b0b04-f49b1235.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/buff-menu-da4b0b04-f49b1235.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/burmese-3ddca72e-6aa09761.eln
  from burmese-3ddca72e-6aa09761.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/burmese-3ddca72e-6aa09761.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/button-747c9d6e-a7b76f86.eln
  from button-747c9d6e-a7b76f86.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/button-747c9d6e-a7b76f86.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/byte-run-79ff048e-ac701ff3.eln
  from byte-run-79ff048e-ac701ff3.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/byte-run-79ff048e-ac701ff3.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/case-table-3a8e2808-be7656d4.eln
  from case-table-3a8e2808-be7656d4.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/case-table-3a8e2808-be7656d4.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cham-7498ab67-4831a6b4.eln
  from cham-7498ab67-4831a6b4.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cham-7498ab67-4831a6b4.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/characters-45232aae-b9231a08.eln
  from characters-45232aae-b9231a08.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/characters-45232aae-b9231a08.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/chinese-c5896779-bb7df124.eln
  from chinese-c5896779-bb7df124.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/chinese-c5896779-bb7df124.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cl-generic-be68ad15-5073ba8d.eln
  from cl-generic-be68ad15-5073ba8d.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cl-generic-be68ad15-5073ba8d.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cl-preloaded-6e6a1f4e-1babc2d6.eln
  from cl-preloaded-6e6a1f4e-1babc2d6.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cl-preloaded-6e6a1f4e-1babc2d6.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/common-win-4b869e38-b9fb640b.eln
  from common-win-4b869e38-b9fb640b.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/common-win-4b869e38-b9fb640b.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/composite-beea1fd5-6001e0e1.eln
  from composite-beea1fd5-6001e0e1.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/composite-beea1fd5-6001e0e1.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cp51932-89105e97-e8997b76.eln
  from cp51932-89105e97-e8997b76.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cp51932-89105e97-e8997b76.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cus-face-74f1689e-d2e9ec30.eln
  from cus-face-74f1689e-d2e9ec30.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cus-face-74f1689e-d2e9ec30.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cus-start-26315480-f6bf0916.eln
  from cus-start-26315480-f6bf0916.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cus-start-26315480-f6bf0916.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/custom-c166a157-d940b671.eln
  from custom-c166a157-d940b671.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/custom-c166a157-d940b671.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cyrillic-79ea53dc-54849acf.eln
  from cyrillic-79ea53dc-54849acf.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/cyrillic-79ea53dc-54849acf.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/czech-c6790aeb-8820d2fd.eln
  from czech-c6790aeb-8820d2fd.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/czech-c6790aeb-8820d2fd.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/debug-early-d734b212-2a54743d.eln
  from debug-early-d734b212-2a54743d.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/debug-early-d734b212-2a54743d.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/disp-table-375616aa-5c285770.eln
  from disp-table-375616aa-5c285770.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/disp-table-375616aa-5c285770.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dnd-12d90309-23a105d7.eln
  from dnd-12d90309-23a105d7.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dnd-12d90309-23a105d7.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dos-fns-6e9410f2-9e80dcb2.eln
  from dos-fns-6e9410f2-9e80dcb2.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dos-fns-6e9410f2-9e80dcb2.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dos-vars-f5506e15-bb9b98ed.eln
  from dos-vars-f5506e15-bb9b98ed.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dos-vars-f5506e15-bb9b98ed.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dos-w32-923cbfb1-13f651ee.eln
  from dos-w32-923cbfb1-13f651ee.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dos-w32-923cbfb1-13f651ee.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dynamic-setting-55f80457-29972e5a.eln
  from dynamic-setting-55f80457-29972e5a.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/dynamic-setting-55f80457-29972e5a.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/easymenu-1fb41c0e-a3d158eb.eln
  from easymenu-1fb41c0e-a3d158eb.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/easymenu-1fb41c0e-a3d158eb.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/ediff-hook-0b92f1a2-9201f46f.eln
  from ediff-hook-0b92f1a2-9201f46f.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/ediff-hook-0b92f1a2-9201f46f.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/eldoc-d20a5fe9-9556395a.eln
  from eldoc-d20a5fe9-9556395a.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/eldoc-d20a5fe9-9556395a.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/electric-a9ca6cdd-5fa030a5.eln
  from electric-a9ca6cdd-5fa030a5.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/electric-a9ca6cdd-5fa030a5.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/elisp-mode-90dbfe40-c47135b6.eln
  from elisp-mode-90dbfe40-c47135b6.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/elisp-mode-90dbfe40-c47135b6.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/english-e3896aa2-6665c1ec.eln
  from english-e3896aa2-6665c1ec.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/english-e3896aa2-6665c1ec.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/env-72406999-a036d1f6.eln
  from env-72406999-a036d1f6.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/env-72406999-a036d1f6.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/epa-hook-99ab3afb-11a7f05a.eln
  from epa-hook-99ab3afb-11a7f05a.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/epa-hook-99ab3afb-11a7f05a.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/ethiopic-b0f5a6d8-80a96866.eln
  from ethiopic-b0f5a6d8-80a96866.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/ethiopic-b0f5a6d8-80a96866.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/eucjp-ms-5daf4e1a-cf27da4c.eln
  from eucjp-ms-5daf4e1a-cf27da4c.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/eucjp-ms-5daf4e1a-cf27da4c.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/european-369de593-3fd092db.eln
  from european-369de593-3fd092db.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/european-369de593-3fd092db.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/faces-b9447c93-a8da564d.eln
  from faces-b9447c93-a8da564d.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/faces-b9447c93-a8da564d.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/files-1e8937b2-efb18082.eln
  from files-1e8937b2-efb18082.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/files-1e8937b2-efb18082.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/fill-19d89c43-093a41f8.eln
  from fill-19d89c43-093a41f8.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/fill-19d89c43-093a41f8.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/float-sup-c5369b32-fa14b03f.eln
  from float-sup-c5369b32-fa14b03f.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/float-sup-c5369b32-fa14b03f.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/font-core-c3bff1fd-c6f4afb7.eln
  from font-core-c3bff1fd-c6f4afb7.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/font-core-c3bff1fd-c6f4afb7.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/font-lock-895216f6-af1333fe.eln
  from font-lock-895216f6-af1333fe.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/font-lock-895216f6-af1333fe.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/fontset-da863153-ef95ca03.eln
  from fontset-da863153-ef95ca03.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/fontset-da863153-ef95ca03.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/format-c5b23b0d-c37952e0.eln
  from format-c5b23b0d-c37952e0.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/format-c5b23b0d-c37952e0.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/frame-b40fc590-b68c5079.eln
  from frame-b40fc590-b68c5079.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/frame-b40fc590-b68c5079.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/fringe-d5d49a60-5e2a8b21.eln
  from fringe-d5d49a60-5e2a8b21.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/fringe-d5d49a60-5e2a8b21.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/georgian-8daa6ed6-af8cf423.eln
  from georgian-8daa6ed6-af8cf423.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/georgian-8daa6ed6-af8cf423.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/greek-ddbf878c-f6edb38b.eln
  from greek-ddbf878c-f6edb38b.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/greek-ddbf878c-f6edb38b.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/haiku-win-a742f47b-77966cb7.eln
  from haiku-win-a742f47b-77966cb7.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/haiku-win-a742f47b-77966cb7.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/hebrew-b9ed6a0d-8863a58f.eln
  from hebrew-b9ed6a0d-8863a58f.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/hebrew-b9ed6a0d-8863a58f.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/help-59d8049f-6de96057.eln
  from help-59d8049f-6de96057.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/help-59d8049f-6de96057.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/image-f221b419-f068150b.eln
  from image-f221b419-f068150b.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/image-f221b419-f068150b.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/indent-396b3792-bf6b5b76.eln
  from indent-396b3792-bf6b5b76.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/indent-396b3792-bf6b5b76.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/indian-0c4ce628-13d9366c.eln
  from indian-0c4ce628-13d9366c.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/indian-0c4ce628-13d9366c.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/indonesian-3fd5df38-329f87f6.eln
  from indonesian-3fd5df38-329f87f6.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/indonesian-3fd5df38-329f87f6.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/internal-957edb14-8e7081e0.eln
  from internal-957edb14-8e7081e0.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/internal-957edb14-8e7081e0.eln
==> Changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/isearch-693bdd75-005fb30b.eln
  from isearch-693bdd75-005fb30b.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/isearch-693bdd75-005fb30b.eln
Error: Failed changing dylib ID of /usr/local/Cellar/emacs-plus@29/29.0.50/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/isearch-693bdd75-005fb30b.eln
  from isearch-693bdd75-005fb30b.eln
to /usr/local/opt/emacs-plus@29/lib/emacs/29.0.50/native-lisp/29.0.50-b2fb589e/preloaded/isearch-693bdd75-005fb30b.eln
Error: Failed to fix install linkage
The formula built, but you may encounter issues using it or linking other
formulae against it.

@tilgovi thank you for your enthusiasm in digging this issues 💪 I don’t know why it didn’t work in the first place and why it works now. I checked the latest commits in the Emacs master branch and seems like there is nothing related. I am with @agzam on this - I am just happy that it builds and works 😸

if you have suggestions as to how to help debug

there are --verbose and --debug flags that you can feed to brew install