Created attachment 901518 [details] build.log test_fcntl is the only failure I meet.
Created attachment 901519 [details] Output of emerge --info dev-lang/python
This is with gcc-15, can you test with earlier gcc please and if it doesn't show up there also block bug 932474 Also can you get rid of mold and the aggressive flags, see if either of those is the cause?
Sorry about that. I built twice with aggressive and safe flags and I uploaded the wrong build.log. Let me rebuilt it.
Created attachment 901523 [details] build.log
Do you have CONFIG_DNOTIFY set in your kernel? Try flipping that on if not.
Test succeeds with CONFIG_DNOTIFY, thank you! Can you consider add a kernel config check for that?
Warning added to python ebuild.
Is it really necessary to resurrect the obsolete dnotify system, or was this just an unfortunate and temporary throwback for the release candidate? Building =dev-lang/python-3.13.2 passes all tests here with CONFIG_DNOTIFY=n.
I don't see what upstream change would've fixed it at a glance.