gobject-introspection: fix library search on Silicon#76383
gobject-introspection: fix library search on Silicon#76383tschoonj wants to merge 1 commit intoHomebrew:masterfrom
Conversation
|
Since this probably affects a lot of formulae on Apple Silicon, and we had a runner that was idling, I took the liberty of testing this out on our CI. Using the example from #75020:
@DocEpsilon, please try this out and see if it works for you. |
Could you elaborate on this a bit more? e.g. can you get a backtrace? |
In the terminal there's really no backtracing information from python. Just segm fault. If nessecary I can share the apple error report. It's 960 lines. |
You can get a backtrace by attaching the process to a debugger. However,
this will do. You can stick it in a gist. |
There you go: https://gist.github.com/DocEpsilon/f757370f2d804df10ea0c6e33cc792ea |
|
@carlocab were you able to look at the log? |
|
can this be merged? |
|
I opened a merge request in the upstream repo. Let's see what they say about this. |
|
@tschoonj thanks for the fix. I'm getting this with virt-manager on M1 Macs, same dependency error. It seems your pull request didn't go through. Maybe you could reissue it? |
|
@carlocab upstream appears to be ignoring my PR... feel free to merge it in though, several people have confirmed that it works nicely. |
Formula/gobject-introspection.rb
Outdated
|
Hmmm something went wrong on the path creation: |
|
This is your problem: You probably have root-owned files in your cellar. |
|
brew uninstall + reinstall fixed it. Thanks! |
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>)?