python312Packages.pygame: mark as broken on darwin#399467
python312Packages.pygame: mark as broken on darwin#399467GaetanLepage merged 1 commit intoNixOS:masterfrom
Conversation
| badPlatforms = [ | ||
| # Several tests segfault | ||
| lib.systems.inspect.patterns.isDarwin | ||
| ]; |
There was a problem hiding this comment.
What happened to the good ol' broken = stdenv.hostPlatform.isDarwin 😄 ?
There was a problem hiding this comment.
This is functionally the same but provides a slightly more helpful error message. It is thus preferred AFAIK.
There was a problem hiding this comment.
What is the difference in error message?
Details
Details |
|
You like how the message states that it is broken only for Darwin? |
doronbehar
left a comment
There was a problem hiding this comment.
I totally agree that we should make an effort to make such evaluation errors more informative, and there are many common reasons one may encounter and that it'd have been nice if we could have use Nix to declare them etc. But that's a topic for an RFC.
|
Would have been nice to link an issue or hydra log of this failing, if only just for better searchability later |
Sure! Opened #399729. I was not able to get hydra logs as I am getting 500 errors. |
|
It looks like the I'm currently bisecting |
|
…I may have just told you the wrong thing. I thought it was having the same problem, since it was getting a segfault during the tests. However, according to Hydra, |
Yes, you want 1435e1e from #400338 to unbrick pygame-ce. Try your darwin tests against that PR, see if that fixes it - it does fix linux platforms. |
I have tried it just now. This error is unrelated and we should merge your PR nonetheless. |
|
Edit: Still working on tracking down the issue - Edit 2: Nope, it was just failing earlier than I thought. This may take a while… |
Yes exactly. |
|
Update: I'm getting the To reproduce: $ git clone https://github.com/NixOS/nixpkgs
[...]
$ cd nixpkgs
$ git checkout 623c61704e5f642d85f94757ee1f63343768c34c pkgs/development/python-modules/pygame
Updated 2 paths from 2becbb829bc6
$ sed -E -i.bak '
quote> /"/! s/SDL2($|[^_])/_classic\1/g
quote> s/AppKit/apple-sdk/g
quote> ' pkgs/development/python-modules/pygame/default.nix
$ nix-build -A python3Packages.pygame
[many lines of output, followed by a segfault in pygame.tests.font_test]I tried Continuing to investigate… |
Things done
cc @emilytrau @LordGrimmauld
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.