Skip to content

Could not install @29 with --with-no-titlebar - Hunk #1 FAILED #433

Closed
@radamant

Description

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

Install emacs@29 with no titlebar. This works fine when --with-no-titlebar is omitted.

What happened (include command output)

$ brew reinstall emacs-plus@29 --force --with-no-titlebar --with-native-comp --with-xwidgets
Command output

==> Cloning https://github.com/emacs-mirror/emacs.git
Updating /Users/adampearson/Library/Caches/Homebrew/emacs-plus@29--git
From https://github.com/emacs-mirror/emacs
fbffe2cc30..bef9fcc999 master -> origin/master
==> Checking out branch master
Already on 'master'
Your branch is behind 'origin/master' by 39 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
HEAD is now at bef9fcc999 image-dired: Use MD5 for thumb filename generation
==> Reinstalling d12frosted/emacs-plus/emacs-plus@29 --with-no-titlebar --with-xwidgets --with-native-comp
==> Patching
==> Applying no-titlebar.patch
patching file src/nsterm.m
Hunk #1 FAILED at 433.
Hunk #2 succeeded at 8376 (offset 71 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/nsterm.m.rej

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/d12frosted/homebrew-emacs-plus/issues

These open issues may also help:
Permission issues with emacs-plus running as a service #304
Need to set LIBRARY_PATH for emacs-plus@28 with --with-native-comp #378

Output of brew config

$ brew config
HOMEBREW_VERSION: 3.3.10
ORIGIN: https://github.com/Homebrew/brew
HEAD: 385892f3d27dcab0f5a1cb47c3927d9d65ed007c
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: edd69d091d0028d94c44292d44902c0f583a5daf
Core tap last commit: 43 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.32.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.1-arm64
CLT: 13.2.0.0.1.1638488800
Xcode: 13.2.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: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  ilmbase

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions