!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1192 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org202 Servers

Load older messages


SenderMessageTime
26 Feb 2026
@reckenrode:matrix.orgRandy Eckenrode * 03:22:13
@reckenrode:matrix.orgRandy EckenrodeSecond one also has dependencies built by Clang 22 and not the bootstrap tools.03:23:27
@alexfmpe:matrix.orgalexfmpehmm building llvm_22 with 21 as default yields https://github.com/NixOS/nixpkgs/pull/493742#issuecomment-396067342403:23:31
@alexfmpe:matrix.orgalexfmpeshould I try 22.1.0-rc3 with 21, or 22 with 2203:23:56
@alexfmpe:matrix.orgalexfmpeguess the later03:24:07
@alexfmpe:matrix.orgalexfmpehope it doesn't hit the same test failure03:24:22
@reckenrode:matrix.orgRandy 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
@reckenrode:matrix.orgRandy EckenrodeI 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
@reckenrode:matrix.orgRandy Eckenrode * 03:29:41
@lt1379:matrix.orgLuni 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
@qyliss:fairydust.spaceAlyssa RossWe already fixed this https://github.com/NixOS/nixpkgs/pull/48740708:22:08
@alexfmpe:matrix.orgalexfmpe fails on darwin.adv_cmds 13:24:14
@alexfmpe:matrix.orgalexfmpe
../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:matrix.orgalexfmpegot through 200 rebuilds, last 100 depend on this one13:25:06
@telent:matrix.orgtelent left the room.13:40:53
@reckenrode:matrix.orgRandy EckenrodeAny details on what’s failing?13:44:53
@reckenrode:matrix.orgRandy Eckenrode .y suggests the Bison step is failing for some reason. 13:46:40
@himazawa:matrix.org@himazawa:matrix.org left the room.15:23:05
@alexfmpe:matrix.orgalexfmpefull log: https://pastebin.com/Zci1EtBT19:08:36
@alexfmpe:matrix.orgalexfmpethe .y file doesn't seem to have changed in 2 years https://github.com/apple-oss-distributions/adv_cmds/blob/main/localedef/parser.y#L22719:09:21
@alexfmpe:matrix.orgalexfmpe * 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:matrix.orgalexfmpeok so the same build with llvm 21 yields this as warning rather than error19:12:48
@alexfmpe:matrix.orgalexfmpe
../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:matrix.orgalexfmpemaybe clang 22 got stricter with -Wincompatible-pointer-types ?19:13:19
@alexfmpe:matrix.orgalexfmpecuriously I ran into a similar "incompatible-error-types is now error" last year with nixpkgs-built ghc19:17:02
@reckenrode:matrix.orgRandy EckenrodeThey made it an error in Clang 22.19:17:05
@alexfmpe:matrix.orgalexfmpeso I'm surprised it wasn't already an error19:17:13
@alexfmpe:matrix.orgalexfmpeah but I think that was gcc19:17:40
@alexfmpe:matrix.orgalexfmpebecause I was doing linux->ucrt6419:17:49
@alexfmpe:matrix.orgalexfmpe

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

Show newer messages


Back to Room ListRoom Version: 6