-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Convert formulae to prefer ruby-macho over cctools #8049
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
Conversation
3a829ea to
fd89399
Compare
|
|
I guess I can fix the first one by mapping the dylibs to their parent directories, but I'm not sure why that was a test in the first place (it doesn't test the formula's functionality or really mean anything in terms of it working). Thoughts on removing that particular part of the test (and replacing it with something else)? Edit: Same goes for |
|
The second failure is a bit strange, since there definitely is a bash-4.4$ otool -L .libs/random
.libs/random:
/usr/local/Cellar/libgcrypt/1.7.5/lib/libgcrypt.20.dylib (compatibility version 22.0.0, current version 22.5.0)
/usr/local/opt/libgpg-error/lib/libgpg-error.0.dylib (compatibility version 21.0.0, current version 21.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)I doubt it's a bug in ruby-macho, but I guess I have to go check that now 😢 |
|
Attached IRB confirms this: |
|
Never mind, I'm an idiot. Ruby-macho doesn't like |
0a8fd66 to
0802cb9
Compare
|
Nice. I like the approach. |
|
I've been away from my OS X box, but I'll try to fill this PR in soon. |
0802cb9 to
1e894f2
Compare
fd4de85 to
230606b
Compare
|
404ing on
|
|
Opened #8706 to fix |
yep. it would be nice to explicitly white list it so this stop happening. |
that's a brew bug. |
Do we already have a formula whitelist for
Yep, I figured 😄 |
|
There are a variety of whitelists in diagnostic.rb |
230606b to
4225a88
Compare
Those don't affect I can either tweak that regexp to be a little more discerning, or split the test in |
|
I was talking about pypy3 |
|
Oops, misread. Sorry! |
22b218e to
1b0ae89
Compare
I don't know if there's chance for a fix, but even if there is it probably won't be similar. Vim doesn't have a non-interactive mode, and for MacVim, that means however you call it, the GUI is launched, and whatever info we might need is displayed in the GUI. Anyway, not really a day to day vim user, so take my opinions with a grain of salt. |
Oh wait, actually, so I guess you can tell from |
|
@BrewTestBot test this please |
|
Sierra-only failure: |
|
That's the MMOSR. IIRC it won't be resolved until at least GHC 8.0.2 is released: commercialhaskell/stack#2577. |
|
This isn't tremendously high priority, so I'm fine with waiting until 8.0.2. |
|
That is normal. The point of the rpath manipulations in the haskell-stack formula is to allow the El Capitan bottle to be used on Sierra. I suggest you remove the revision bump from the Haskell-stack formula and merge this PR without pulling any bottles for any of the formulae. It doesn't need to go through CI again. |
|
Alrighty. Works for me 😄 |
1b0ae89 to
54b0209
Compare
54b0209 to
45fec72
Compare
|
I'm going to do the macvim |
|
🎉 |
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?Just replacing usages of
install_name_toolandotoolwith calls toruby-macho, where possible.There's still
quitea few more formulae to convert, so this is WIP.Remaining:
macvimNot applicable:
cctoolsucommon