-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emacs 27.1 #59448
emacs 27.1 #59448
Conversation
I can answer one of your questions:
The
|
Seems to be affected by #58984. |
@aconchillo can you elaborate how so? I looked at the issue you linked and it looks like a Haskell sandbox issue? |
Version-bumping any formula requires testing all the formulae that depend on it:
|
Thanks @gromgit. That makes sense and I guess it explains the long times of the check. |
This PR #59709 will fix the issue once merged. |
@CamJN can you rebased your PR, I just merged the Agda fix PR. |
Still getting this:
I think this is due to emacs now using a new portable dumper instead of the abomination that was |
Indeed, the portable dump file does refer to How does homebrew usually deal with things like this? |
Some discussion here: https://archive.casouri.cat/note/2020/painless-transition-to-portable-dumper/index.html |
I rebuilt using the That said, that's not a viable strategy going forward as |
What files does it reference? |
@SMillerDev it just refers to the path to the shims super env dir not a file in there, in fact I believe (but don't know for sure yet) it is just capturing the PATH env var at the time it dumps the new executable. |
@SMillerDev here's the strings output that makes me think it's just the
|
This is not directly related but in #60307 (comment) I believe I explained why Homebrew does this type of checks. Basically, when a bottle is built Homebrew doesn't want references to Homebrew prefix hardcoded in files, this is so at installation time a new prefix can be used. Homebrew takes care of this in text files when building a bottle by replacing Homebrew path references with placeholders and replaces them back with the Homebrew prefix at installation time, but in this case it's a binary file so it can't do any of that. I don't really know enough about Homebrew but this seems a tough one. Without knowing much, the only thing that comes to my mind is creating a link to the shims directory:
or something like that and add the This of course involves changing Homebrew, so hopefully there's a much simpler solution. I use emacs in the terminal on my day to day work, so I'm very interested in this one 😄 . |
I've been busy, but I have a theory that we can edit the PATH by loading some elisp before the executable is dumped. I'm going to try but I can't do it right now. |
Great! Would that remove |
@aconchillo that is the plan, yes. |
I was curious and tried combinations of the following (this is just a test):
in different parts of |
Rather than edit loadup.el, you want to add a |
Ok, I got rid of the reference to the homebrew shims dir, someone who is up to date on what homebrew wants stylistically should chime in on how they want this file added. |
@CamJN Oh... so it was |
Sweet, all checks passed. Do I need to squash or can you guys use the squash and merge button? |
Not without breaking things. Please squash the commits. |
Done |
|
@SMillerDev is there a way to run just the failed test again? Or kick off all the tests? Not sure what to do about the |
@chenrui333 any idea how to speed up the agda tests? They're timing out: https://github.com/Homebrew/homebrew-core/pull/59448/checks?check_run_id=1070317115#step:5:699 |
Rebasing and pushing again should kick off all tests. |
All checks passed again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @CamJN ! Without contributions like yours it'd be impossible to keep homebrew going with the high standards that users have come to expect from the project. You can feel good knowing that you've made the world a tiny bit better for homebrew users around the world! 👍 🎉
🤖 A scheduled task has triggered a merge. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?there were issues with the audit, listed below, not sure how to fix them: