bjfs84,
@bjfs84@vivaldi.net avatar

Random upgrade misadventures, part I: Emacs

So I was a bit off my org-roam habits and decided to get back on track. Since my daily driver is macOS, I am using Railwaycat's emacs-mac formulae on Homebrew. And boom! #emacs doesn't launch even before upgrading due to some wierd gcc issue.

Tried to upgrade... can't compile because of libgccjit issue (necessary for native compilation feature which makes elisp work faster). Turns out there are some breaking changes from GCC upstream and had to browse published issue to apply some workarounds.

In the process I've discovered the --HEAD option for brew which apparently allows to get the most recent-ish branch for a given formulae. So now I have Emacs 29.3 over default 29.1 for this contraption.

PS. As I like the Emacs help system which can browse its own source code to describe a function, it wasn't readily available with brew. Had to copy the code from brew cache to some static location and Emacs just asked to point for the sources there, nice!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines