-
-
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
tcl-tk: Fix KVO crash #141201
tcl-tk: Fix KVO crash #141201
Conversation
This crash has been reported several times, particularly by Tkinter users (see e.g. python/cpython#92603); it will be fixed in Tk 8.6.14.
I have opened https://github.com/orgs/Homebrew/discussions/4761 regarding the occasional CI failure when downloading the itk4 distfile from certain SourceForge mirrors. I noticed the same thing on #130971. |
patch :p0 do | ||
url "https://raw.githubusercontent.com/macports/macports-ports/6a93695d61d3/x11/tk/files/fix-kvo-crash.diff" | ||
sha256 "ec9a9234b4a326e5621fe78e078c29aa4784b6dc88c59a43d828639ebae0af41" | ||
end | ||
end | ||
|
||
resource "itk4" do |
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.
Not too sure about this one, but let's see if a mirror helps, like we do for the tk
resource:
mirror "https://src.fedoraproject.org/lookaside/extras/itk/itk4.1.0.tar.gz/sha512/1deed09daf66ae1d0cc88550be13814edff650f3ef2ecb5ae8d28daf92e37550b0e46921eb161da8ccc3886aaf62a4a3087df0f13610839b7c2d6f4b39c9f07e/itk4.1.0.tar.gz"
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.
It seems the error encountered for the main URL is fatal and does not lead to retrying with the mirror.
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.
Yea. But the bottles were built, so it's fine to merge this.
Still, would be nice to figure that out on brew
's side, though.
`Error: bad URI(is not URI?)` encountered for some SourceForge mirrors
patch :p0 do | ||
url "https://raw.githubusercontent.com/macports/macports-ports/6a93695d61d3/x11/tk/files/fix-kvo-crash.diff" | ||
sha256 "ec9a9234b4a326e5621fe78e078c29aa4784b6dc88c59a43d828639ebae0af41" | ||
end | ||
end | ||
|
||
resource "itk4" do |
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.
Yea. But the bottles were built, so it's fine to merge this.
Still, would be nice to figure that out on brew
's side, though.
Thanks for the fix @chrstphrchvz! Merging now. |
This crash has been reported several times, particularly by Tkinter users (see e.g. python/cpython#92603); it will be fixed in Tk 8.6.14.
HOMEBREW_NO_INSTALL_FROM_API=1 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 doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?