Poetry2nix | 316 Members | |
| https://github.com/nix-community/poetry2nix | 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 25 Oct 2023 | ||
| Try building against nixpkgs master? | 15:00:31 | |
| Yeah grumble | 15:01:03 | |
| Trying it now | 15:01:07 | |
| Looks like some builds were fixed, but psutil and torch are still failing https://github.com/nix-community/poetry2nix/actions/runs/6642542326/job/18047563524?pr=1329 | 15:53:06 | |
| The netcdf build was fixed | 15:53:28 | |
| 15:57:20 | ||
-DPSUTIL_VERSION=596. I just caught that. That’s psutil 5.9.6? | 15:57:22 | |
`2023-10-25T15:27:19.0273590Z python3.11-psutil> In file included from psutil/arch/osx/net.c:12: 2023-10-25T15:27:19.0310490Z python3.11-psutil> /nix/store/z5qnbcqjy7hsvl8q5lr331g5k5rpr312-Libsystem-1238.60.2/include/net/ifdl.h:90:2: error: unknown type name 'uchar'; did you mean 'char'? 2023-10-25T15:27:19.0352800Z python3.11-psutil> uchar sdllen; / Total length of sockaddr / 2023-10-25T15:27:19.0363040Z python3.11-psutil> ^ 2023-10-25T15:27:19.0377880Z python3.11-psutil> /nix/store/z5qnbcqjy7hsvl8q5lr331g5k5rpr312-Libsystem-1238.60.2/include/net/ifdl.h:91:2: error: unknown type name 'uchar'; did you mean 'char'? 2023-10-25T15:27:19.0399510Z python3.11-psutil> uchar sdlfamily; / AF_LINK / 2023-10-25T15:27:19.0407700Z python3.11-psutil> ^ 2023-10-25T15:27:19.0460240Z python3.11-psutil> /nix/store/z5qnbcqjy7hsvl8q5lr331g5k5rpr312-Libsystem-1238.60.2/include/net/ifdl.h:92:2: error: unknown type name 'ushort'; did you mean 'short'? 2023-10-25T15:27:19.0472450Z python3.11-psutil> ushort sdlindex; / if != 0, system given index for interface / 2023-10-25T15:27:19.0486810Z python3.11-psutil> ^ 2023-10-25T15:27:19.0493540Z python3.11-psutil> /nix/store/z5qnbcqjy7hsvl8q5lr331g5k5rpr312-Libsystem-1238.60.2/include/net/ifdl.h:93:2: error: unknown type name 'uchar'; did you mean 'char'? 2023-10-25T15:27:19.0528550Z python3.11-psutil> uchar sdltype; / interface type / 2023-10-25T15:27:19.0543290Z python3.11-psutil> ^ 2023-10-25T15:27:19.0557360Z python3.11-psutil> /nix/store/z5qnbcqjy7hsvl8q5lr331g5k5rpr312-Libsystem-1238.60.2/include/net/ifdl.h:94:2: error: unknown type name 'uchar'; did you mean 'char'? 2023-10-25T15:27:19.0565710Z python3.11-psutil> uchar sdlnlen; / interface name length, no trailing 0 reqd. / 2023-10-25T15:27:19.0604280Z python3.11-psutil> ^ 2023-10-25T15:27:19.0641610Z python3.11-psutil> /nix/store/z5qnbcqjy7hsvl8q5lr331g5k5rpr312-Libsystem-1238.60.2/include/net/ifdl.h:95:2: error: unknown type name 'uchar'; did you mean 'char'? 2023-10-25T15:27:19.0644890Z python3.11-psutil> uchar sdlalen; / link level address length / 2023-10-25T15:27:19.0650530Z python3.11-psutil> ^ 2023-10-25T15:27:19.0652340Z python3.11-psutil> /nix/store/z5qnbcqjy7hsvl8q5lr331g5k5rpr312-Libsystem-1238.60.2/include/net/ifdl.h:96:2: error: unknown type name 'uchar'; did you mean 'char'? ` | 15:57:44 | |
| huh | 15:57:45 | |
| Oh dear god Cinny wtf | 15:57:52 | |
| nixpkgs has 5.9.5 …. | 15:58:04 | |
*
| 15:58:14 | |
*
| 15:58:17 | |
| This looks very sus | 15:58:26 | |
| https://github.com/giampaolo/psutil/compare/release-5.9.5...release-5.9.6 | 15:58:46 | |
| Looks like there were a lot of changes to the Mac support. | 15:58:57 | |
| I love Python versioning. Patch release? Include a massive refactor. | 15:59:11 | |
Anyway, it’s possible this is tripping over a gap in the source-based SDK. Is it only x86_64-darwin that’s failing to build 5.9.6? I’ve tried to improve the header coverage (e.g., just added missing math.h stuff), but there may be other parts of the source releases that are missing or actually not the right versions (because old headers are released sometimes). | 16:04:10 | |
| * Anyway, it’s possible this is tripping over a gap in the source-based SDK. Is it only x86_64-darwin that’s failing to build 5.9.6? I’ve tried to improve the header coverage (e.g., just added missing | 16:04:18 | |
| * Anyway, it’s possible this is tripping over a gap in the source-based SDK. Is it only x86_64-darwin that’s failing to build 5.9.6? I’ve tried to improve the header coverage (e.g., just added missing | 16:04:45 | |
| Where are the u_types supposed to be defined? | 16:09:45 | |
| 16:16:43 | |
*
That's the only arch we build in poetry2nix CI | 16:16:47 | |
| Since I don't think GitHub provides aarch64-darwin runners | 16:17:11 | |
In reply to @k900:0upti.meSeems to be sys/types.h, which includes some internal headers that define the types. | 16:17:50 | |
| But that's an Apple-ism, right? | 16:18:17 | |
It should be included by net/if.h, so I don’t know what’s happening. The 10.12 SDK has those definitions in it. | 16:19:25 | |
You’d have to check what header paths clang is searching. Maybe there’s a bad version of sys/types.h somewhere ahead of Libsystem on the search path. | 16:20:21 | |
| I can try pinning to 5.9.5, to see if it's related to something inside psutil | 16:20:22 | |
| No dice on the pinning | 16:42:13 | |