Repository navigation
pango: fix errors building with Clang 23 - #593134
Conversation
| # Upstream MR: https://gitlab.gnome.org/GNOME/pango/-/merge_requests/947 | ||
| ./coretext-fix-incompatible-pointer-type-error-with-clang.patch | ||
| # Fix build failure with Clang 23. | ||
| (fetchpatch2 { |
There was a problem hiding this comment.
Shouldn't we use either fetchpatch or .diff (TIL, thanks 👀) here?
See also the warning in pkgs/README.md.
There was a problem hiding this comment.
I switched it to .diff, but GNOME’s GitLab instance is down right now. I’ll push an update once I can get a new hash.
What’s failing to build? I’ve opened a few other PRs to fix Clang 23 issues, but none of those were Pango dependencies as far as I know. |
|
It’s Kyua …. My dev branch is testing another attempt at #238993, so it doesn’t build Kyua. I’ll work on a fix and confirm Apple’s libiconv also builds. Edit: Nope, random test failure. That’s not good, but it’s probably not the issue. |
db51481 to
0f5b950
Compare
GNOME’s GitLab is working again, so I updated the PR to use |
There was a problem hiding this comment.
Thanks! I haven't attempted another clang 23 build, but your build log looks fine and I've corroborated the changes with the clang 22 and 23 release notes. Also, thanks for sending the fix upstream!
- Diff LGTM
- After rebasing on the merge base between
masterandstaging(cf0cf54 at the time of writing):- Verified that
pangoandpango.testsbuild on all 3 major platforms - Verified basic functionality of all binaries in
$bin/binonx86_64-linux
- Verified that
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.