| 26 Feb 2026 |
Randy Eckenrode | * | 03:22:13 |
Randy Eckenrode | Second one also has dependencies built by Clang 22 and not the bootstrap tools. | 03:23:27 |
alexfmpe | hmm building llvm_22 with 21 as default yields https://github.com/NixOS/nixpkgs/pull/493742#issuecomment-3960673424 | 03:23:31 |
alexfmpe | should I try 22.1.0-rc3 with 21, or 22 with 22 | 03:23:56 |
alexfmpe | guess the later | 03:24:07 |
alexfmpe | hope it doesn't hit the same test failure | 03:24:22 |
Randy Eckenrode | IIRC some new tests aren’t getting DYLD_LIBRARY_PATH set up to find the required dylibs in the build folder instead of in $lib. | 03:24:52 |
Randy Eckenrode | I ran into something similar with Swift’s LLVM fork, but I just disabled tests for now because I’d rather prioritize getting Swift updated. | 03:29:30 |
Randy Eckenrode | * | 03:29:41 |
Lun | i think we just want to turn off the one failing test there (llvm 22 pr), commented that. it's a regression test for specifically empty env array so if we patch it to pass DYLD_LIBRARY_PATH it isn't even testing the thing it wants to test any more, it kinda just doesn't work for us. | 04:23:40 |
Alyssa Ross | We already fixed this https://github.com/NixOS/nixpkgs/pull/487407 | 08:22:08 |
alexfmpe | fails on darwin.adv_cmds | 13:24:14 |
alexfmpe | ../localedef/parser.y:232:18: error: incompatible pointer types passing 'wchar_t[2]' (aka 'int[2]') to parameter of type 'char *' [-Wincompatible-pointer-types]
232 | copy_category(w);
| ^
| 13:24:20 |
alexfmpe | got through 200 rebuilds, last 100 depend on this one | 13:25:06 |
| telent left the room. | 13:40:53 |
Randy Eckenrode | Any details on what’s failing? | 13:44:53 |
Randy Eckenrode | .y suggests the Bison step is failing for some reason. | 13:46:40 |
| @himazawa:matrix.org left the room. | 15:23:05 |
alexfmpe | full log: https://pastebin.com/Zci1EtBT | 19:08:36 |
alexfmpe | the .y file doesn't seem to have changed in 2 years
https://github.com/apple-oss-distributions/adv_cmds/blob/main/localedef/parser.y#L227 | 19:09:21 |
alexfmpe | * the .y file doesn't seem to have changed in 2 years
https://github.com/apple-oss-distributions/adv_cmds/blob/main/localedef/parser.y#L232 | 19:09:36 |
alexfmpe | ok so the same build with llvm 21 yields this as warning rather than error | 19:12:48 |
alexfmpe | ../localedef/parser.y:232:18: warning: incompatible pointer types passing 'wchar_t[2]' (aka 'int[2]') to parameter of type 'char *' [-Wincompatible-pointer-types]
232 | copy_category(w);
| ^
| 19:12:55 |
alexfmpe | maybe clang 22 got stricter with -Wincompatible-pointer-types ? | 19:13:19 |
alexfmpe | curiously I ran into a similar "incompatible-error-types is now error" last year with nixpkgs-built ghc | 19:17:02 |
Randy Eckenrode | They made it an error in Clang 22. | 19:17:05 |
alexfmpe | so I'm surprised it wasn't already an error | 19:17:13 |
alexfmpe | ah but I think that was gcc | 19:17:40 |
alexfmpe | because I was doing linux->ucrt64 | 19:17:49 |
alexfmpe | kay this fixes it
- env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include";
+ env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include -Wno-error-incompatible-pointer-types";
| 19:19:40 |