Nix on macOS | 1167 Members | |
| “There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org | 189 Servers |
| Sender | Message | Time |
|---|---|---|
| 28 Nov 2025 | ||
| The non-deterministic build? | 22:03:27 | |
| Or the sentencepiece crash? (In which case I would mark Darwin as a bad platform) | 22:03:52 | |
| This. | 22:08:35 | |
| OK, so it's non-causal. | 22:09:25 | |
| Here's the import crash:
| 22:09:42 | |
| Looking through sentencepiece's issues, they finger SWIG as the culprit (potentially fixed in SWIG 4.4.0). There may be a patch to apply in the meantime without bumping SWIG. | 23:20:51 | |
| 29 Nov 2025 | ||
| I'll just link the ongoing saga here https://github.com/NixOS/nixpkgs/issues/466092 | 00:41:37 | |
🤨 | 01:13:02 | |
Oh, you have to explicitly disable SWIFT_ENABLE_SWIFT_IN_SWIFT now to get the C++-only compiler. | 01:30:53 | |
| 02:27:20 | |
| Looks like I’m also hitting unguarded availability errors. 🫠 | 02:27:50 | |
| 03:20:11 | |
| That’s a weird one. | 03:20:15 | |
| samasaur: Have you seen anything like that? | 04:41:51 | |
| Hmm. Actually, it might be similar to https://github.com/swiftlang/swift/pull/84413 | 04:45:13 | |
| I applied a similar patch and got further.
| 05:07:17 | |
| I’m starting to think my time might be better spent on getting 5.10.1 refactored and then add 6.2.1. | 05:11:59 | |
| (One issue is the SDK ….) | 05:13:27 | |
| that is not an error i am familiar with so im glad you found something similar | 05:15:22 | |
| https://github.com/search?q=repo%3Aswiftlang%2Fswift%20-O3&type=code | 05:17:39 | |
| I wonder if I’m hitting the LLVM 21 codegen bug. | 05:17:48 | |
| Nope, hitting https://github.com/swiftlang/swift/pull/80920#issuecomment-2830656229 | 18:05:40 | |
| I really didn’t want to have to maintain Swift 5.x just to bootstrap Swift 6.x, especially with the 14.4 SDK due for removal in the future. | 18:07:12 | |
| * | 18:07:30 | |
| * | 18:07:45 | |
| 19:18:34 | |
| Progress! | 19:18:53 | |
| 19:23:51 | |
| Next is swift-driver and swiftpm. Also, the bootstrap story. | 20:23:55 | |
One thing I am doing differently is (trying to) build dependencies as packages. I also want to see if I can have actual swift-driver and swift-syntax packages. swiftPackages.swift will just symlink together swiftc and swift-driver. | 20:25:55 | |