!UNVBThoJtlIiVwiDjU:nixos.org

Staging

317 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen109 Servers

Load older messages


SenderMessageTime
22 Sep 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but also maybe cmake19:50:18
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) its looking for llvm-config and not finding it 19:50:34
@emilazy:matrix.orgemilylink to the relevant CMake file?19:50:37
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)its a meson build, but it then tries to find llvm via cmake? no idea how that works thoughä19:51:56
@k900:0upti.meK900That's because LLVM has no pkg-confog19:52:09
@k900:0upti.meK900 * 19:52:15
@k900:0upti.meK900 * 19:52:20
@k900:0upti.meK900 So meson will use llvm-config and cmake, I think in that order? 19:52:29
@emilazy:matrix.orgemilycross, perchance?19:54:59
@emilazy:matrix.orgemily or strictDeps? 19:55:02
@emilazy:matrix.orgemilyanyway it's probably https://github.com/mesonbuild/meson/commit/8b3c6c9fb4b27c1a5635d2b498275ed2eb326a8f19:55:12
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)no, native build19:55:10
@emilazy:matrix.orgemilyran into this today19:55:17
@emilazy:matrix.orgemily Alyssa Ross: (I'll ask you to backport ^ on the bump, so might want to do it now) 19:55:48
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/blob/8eaee110344796db060382e15d3af0a9fc396e0e/pkgs/development/tools/language-servers/nixd/default.nix#L43 strict deps yes19:55:55
@emilazy:matrix.orgemilyyes, so it's "LLVM 21" but actually it's Meson. very annoying19:56:15
@qyliss:fairydust.spaceAlyssa Ross
In reply to @emilazy:matrix.org
Alyssa Ross: (I'll ask you to backport ^ on the bump, so might want to do it now)
Too late, bedtime
19:56:21
@emilazy:matrix.orgemily adding llvm to nativeBuildInputs will make it fall back to llvm-config 19:56:32
@emilazy:matrix.orgemily or turning off strictDeps of course 19:56:38
@emilazy:matrix.orgemily since technically you want that llvm-config 19:56:39
@emilazy:matrix.orgemilywe should fix it in Meson though19:56:46
@emilazy:matrix.orgemilybut too late for this cycle19:56:48
@lt1379:matrix.orgLun

Problem: electron/chromium seem to be broken
Pinning an earlier LLVM builds for me but it looks like rust having a newer LLVM risks incompatible bitcode errors so isn't a correct fix

  • earlier patch ensuring chromium always uses same LLVM version as rust https://github.com/NixOS/nixpkgs/commit/a71762621bb17c2c19a31fa50926c78007907d76
  • patch to pin to 20 that's probably wrong and logs of the failure https://gist.github.com/LunNova/219767a842bdbda4e43d3766db199d4d
20:45:14
@lt1379:matrix.orgLun *

Problem: electron/chromium seem to be broken in staging-next
Pinning an earlier LLVM builds for me but it looks like rust having a newer LLVM risks incompatible bitcode errors so isn't a correct fix

  • earlier patch ensuring chromium always uses same LLVM version as rust https://github.com/NixOS/nixpkgs/commit/a71762621bb17c2c19a31fa50926c78007907d76
  • patch to pin to 20 that's probably wrong and logs of the failure https://gist.github.com/LunNova/219767a842bdbda4e43d3766db199d4d
20:45:21
@emilazy:matrix.orgemilywe can probably backport a patch20:47:57
@emilazy:matrix.orgemily"chromium relies on these invalid enum values to represent histogram data" 🙃20:48:12
@lt1379:matrix.orgLun I think patching the enums used with the UMA_HISTOGRAM_ENUMERATION macro to have an underlying type makes it not UB but there are a lot of different enums used with UMA_HISTOGRAM_ENUMERATION. I failed to find a patch in the chromium repo so I may be missing something silly. 20:48:15
@lt1379:matrix.orgLun * I think patching the enums used with the UMA_HISTOGRAM_ENUMERATION macro to have a specific underlying numeric type makes it not UB but there are a lot of different enums used with UMA_HISTOGRAM_ENUMERATION. I failed to find a patch in the chromium repo so I may be missing something silly. 20:48:48
@emilazy:matrix.orgemilyno upstream report?20:50:23
@emilazy:matrix.orgemily cc emily 20:50:29

Show newer messages


Back to Room ListRoom Version: 6