!UNVBThoJtlIiVwiDjU:nixos.org

Staging

315 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/108 Servers

Load older messages


SenderMessageTime
14 Oct 2025
@ivy:faggot.shivynow this oops https://github.com/NixOS/nixpkgs/pull/45187105:31:40
@jtojnar:matrix.orgJan Tojnar any tips why sincos function would suddenly not be present on Darwin? 16:46:30
@jtojnar:matrix.orgJan Tojnar The build is still defining _GNU_SOURCE 16:46:32
@jtojnar:matrix.orgJan Tojnarregarding https://github.com/NixOS/nixpkgs/pull/44968916:46:41
@emilazy:matrix.orgemilyyes16:47:49
@emilazy:matrix.orgemily the LLVM update added __builtin_sincos or something 16:47:55
@emilazy:matrix.orgemilythe Meson check checks for this, but the GTK code can't use it16:48:00
@emilazy:matrix.orgemilythis came up in the macOS room let me dig up the correct fix16:48:08
@emilazy:matrix.orgemily

Jan Tojnar:

https://github.com/mesonbuild/meson/issues/3740

https://matrix.to/#/!lheuhImcToQZYTQTuI:nixos.org/$JJBUjNnTLa7Ii2Dy5f7hCCFcbWlnIawrx4sWNwx1AXo?via=nixos.org&via=matrix.org&via=nixos.dev

upstream should pass e.g. prefix : '#include <math.h>', args: '-D_GNU_SOURCE' to has_function

16:49:26
@emilazy:matrix.orgemilyrather than special-casing Clang16:49:36
@emilazy:matrix.orgemily it is arguably a Meson bug to accept __builtin_foo when you asked to check for foo 16:50:06
@emilazy:matrix.orgemilyIMO16:50:13
@jtojnar:matrix.orgJan TojnarThanks, forwarded that.17:09:22
15 Oct 2025
@vcunat:matrix.orgVladimír Čunát I anticipate significant trouble with bmake on darwin in the current staging-next. A test is failing reliably there now, and it blocks important packages (including the channel). But changing bmake will normally rebuild darwin stdenv... 10:36:53
@vcunat:matrix.orgVladimír Čunát(the build during stdenv bootstrap did pass but the later one does not)10:37:52
@reckenrode:matrix.orgRandy Eckenrodebmake is built only once during the bootstrap. You can detect the stage from the stdenv name to do a staging-next fix that avoids a rebuild then drop the condition in staging.11:20:55
@reckenrode:matrix.orgRandy EckenrodeThere are a couple of open issues about it. Meson devs might take patches, but they’re not actively working on a fix.11:22:24
@reckenrode:matrix.orgRandy Eckenrode Darwin has sincos, but it’s prefixed with an underscore. I’m not sure how the _GNU_SOURCE thing solves the problem on Darwin, but if it does …. 11:23:39
@vcunat:matrix.orgVladimír ČunátDo you have a reference at hand for how to best do this detection?11:23:53
@reckenrode:matrix.orgRandy Eckenrode (I fixed this on my working branch by defining sincos to __builtin_sincos.) 11:24:13
@vcunat:matrix.orgVladimír Čunát (I'd probably do at least quick bmake fixup to try at least building the blockers.) 11:24:32
@vcunat:matrix.orgVladimír Čunát * (I'd probably do at least quick bmake fixup to try at least building the blockers depending on it.) 11:24:37
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/llvm/common/llvm/default.nix#L4911:25:43
@reckenrode:matrix.orgRandy Eckenrode Except it would be stage1 not stage-xclang. 11:27:06
@vcunat:matrix.orgVladimír Čunát Oh right, I could've used lib.trace to find the names. 11:37:00
@reckenrode:matrix.orgRandy EckenrodeOnce the LLVM stuff lands that makes overriding work, it should be possible to move that check to an override in the bootstrap.11:38:41
@dramforever:matrix.orgdramforevermaybe it's os dependent?11:39:16
@dramforever:matrix.orgdramforeverwhat if it just fails on intense-heron but works on maximum-snail11:39:43
@vcunat:matrix.orgVladimír Čunát The bmake issue is triggered by existence of some file, if I googled fast right. We've encountered this one already, apparently. 11:41:11
@dramforever:matrix.orgdramforeveri saw some stuff that say that but i can't reproduce11:42:40

Show newer messages


Back to Room ListRoom Version: 6