jimeh / build-emacs-for-macos

Somewhat hacky script to automate building of Emac.app on macOS.
484 stars 50 forks source link

`brew bundle` doesn't workโ€ฆ #83

Open askrix opened 1 year ago

askrix commented 1 year ago

Hello everyone ๐Ÿ‘‹๐Ÿผ,

After cloning the project, I followed the installation procedure described in README.md. As of it now, brew bundle doesn't work for me. Particularly, the following error message has been shown:

==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
Error: key not found: "osx-cross/arm/arm-gcc-bin@8"
Did you mean?  "osx-cross/arm/arm-gcc-bin@10"

Please see the attached screenshot with the complete stack trace

Screenshot 2023-04-02 at 19 33 24

I tried my best to google for workarounds for the installation of arm-gcc-bin@8-2019-q3-update, since there is no available formula for it

Screenshot 2023-04-02 at 19 38 11

Furthermore, the current version seems to be $12.2$

Screenshot 2023-04-02 at 19 40 33

Thus, my question is if I have been missing something of requirements, or it is an actual issue to be reported?

Many thanks in advance! Cheers, ๐Ÿป

P.S.: I have MacBook Pro 2019's version with Ventura 13.2.1 (22D68) running.

jimeh commented 1 year ago

This sounds very much like a Homebrew issue. I'm not sure why it's trying to grab ARM binaries since you're on an Intel based Mac.

That said, it's been a while since I tried building Emacs locally. And I have instead just been relying on my emacs-builds project for the past year.

I'll leave this open for now until I have a chance to try a local build and see what's going on.

askrix commented 1 year ago

Thanks a lot @jimeh for the lightning quick response! Meanwhile, I will check out emacs-builds. The reason, why I asked for help, is that it would be wonderful to try doom emacs with Emacs $v29$. The version is not being supported officially as of it yet, and I have trouble running docker.el.

Cheers, :beers:

jimeh commented 1 year ago

Not a problem. My emacs-builds project should work for you then. There's nightly builds both from master (30.x) and the emacs-29 branch.

Though master builds have been broken for a few days while I've been traveling, so should get around to sorting things out next week :)

askrix commented 1 year ago

Hello @jimeh :wave:,

Have you had the opportunity to try a local build? I am still quite curious about your findings regarding the issue I notified you about. ๐Ÿ˜‰

Cheers, ๐Ÿป

jimeh commented 1 year ago

@askrix Apologies, I completely forgot to reply. I didn't have any issues running brew bundle locally. So I'm not sure I can really offer much help here, as it seems to be a Homebrew issue you were having.