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
wxGTK32: 3.2.3 -> 3.2.4 #266945
wxGTK32: 3.2.3 -> 3.2.4 #266945
Conversation
Thanks, I'm taking a look at the tenacity issue. According to wxGTK upstream this shouldn't be a breaking change, so perhaps tenacity's build system has something hardcoded. |
wxWidgets/wxWidgets@425d945 must be reverted for Audacity to build. Something like this should work: diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e120ee67b902..be39c88bbea6 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -30467,6 +30467,16 @@ with pkgs;
audacity = callPackage ../applications/audio/audacity {
inherit (darwin.apple_sdk.frameworks) AppKit CoreAudioKit;
+ wxGTK32 = wxGTK32.overrideAttrs {
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/wxWidgets/wxWidgets/commit/425d9455e8307c1267a79d47d77e3dafeb4d86de.patch";
+ excludes = [ "docs/changes.txt" ];
+ revert = true;
+ hash = "sha256-6LOYLDLtVCHxNdHAWv3zhlCsljIpi//RJb9XVLGD5hM=";
+ })
+ ];
+ };
};
audio-recorder = callPackage ../applications/audio/audio-recorder { }; |
in the case of Tenacity, the problem is caused by wxGTK having implemented initializer_list support for wxArrayString. this caused a few bits of code that were written on the assumption it didn't exist to misbehave. I have prepared a two-line patch to the Tenacity code. I am happy to add that patch to the nix Tenacity package, and to drive the process of getting it upstreamed. Fortunately, it's a backwards-compatible fix, so there's nothing stopping it from being applied either before or after the wxGTK update. This is my first time getting a notification about breakage in one of my packages. What's the procedure here, do you want to add my changes to your PR or should they be their own? |
i opened this PR as a draft because we're in ZHF and this introduces failures
i don't think there's a set procedure if you were to open a separate PR i'd probably add your change to this PR and mark this one as closing yours |
Thanks for notifying! With the updated config for |
Hello everyone! This issue has already been fixed in Tenacity. We will be releasing 1.3.3 soon that will contain a fix. |
oh how lovely, thanks @generic-pers0n ! it sounds like the timeframe works out such that we can just wait for that here's my changes, in case they're useful just in moving up the timeline or anything like that. I don't think they're particularly idiomatic, I only ever intended them to be temporary
(edit: syntax) |
@IreneKnapp I created a small PR here: https://codeberg.org/tenacityteam/tenacity/pulls/325. If you approve, I'll merge it ASAP. |
@evils just so you know, there's discussion over on wxWidgets/wxWidgets#23309 of making sure to announce this kind of thing in advance going forward, so it can be tested. since you're the maintainer for the nix wxGTK package I thought you might want to be involved. (if you got @'d for this twice, sorry, I have a bunch of PRs open in tabs and got the wrong one...) |
no double ping, though the email i got had a different name tagged there i'm not actually the wxGTK package maintainer, but the KiCad package maintainer |
Tenacity 1.3.3 has just been released with improved compatibility with wxWidgets 3.2.4. |
Thanks for the heads up, erlang-ls built fine, just tested it on linux-x86_64. So all good on that this. |
wxWidgets has introduced a breaking API change with wxWidgets/wxWidgets#23309 This issues is also discussed here: NixOS/nixpkgs#266945 (comment)
wxWidgets has introduced a breaking API change with wxWidgets/wxWidgets#23309 This issues is also discussed here: NixOS/nixpkgs#266945 (comment)
the fixed Tenacity is now merged (thanks all!), so I think that removes it from the list of things that break |
I also think that means if you fix slade, you could have this merged in time for 23.11. of course, it's up to you whether you want that! |
added wegank's workaround to audacity and slade (thanks!) |
with #267070 it's down to just
|
ok, i just confirmed this resolves an issue i've been having with so if anyone wants to review or merge this PR, please do! |
Description of changes
https://github.com/wxWidgets/wxWidgets/releases/tag/v3.2.4
wxWidgets/wxWidgets@v3.2.3...v3.2.4
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)result of nixpkgs-review
kicad
seems to work with this update, butpinging maintainers of packages broken by this change:
audacity
: @lheckemann @veprbl @wegank (note:nix-update
to 3.4.1 didn't fix it)erlang-ls
: none available, @dlesl authored anderlang
maintainer @happysalada seems involved (note: doesn't fail on my branch based on nixos-unstable)slade
: @ertestenacity
: @IreneKnapp @lheckemanndisplaycal
andklipper-firmware
currently fail on master anywaybut pinging their maintainers to make sure they're aware of that:
displaycal
: @toastalklipper-firmware
: @vtuan10 (note: updating to 0.12.0 didn't fix it)