!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
15 Dec 2025
@ihar.hrachyshka:matrix.orgIhar Hrachyshka Duration: 8s - good candidate to debug if it's also 100% reproducible 20:36:37
@vcunat:matrix.orgvcunatYes, it does reproduce on a different machine.20:37:03
@vcunat:matrix.orgvcunatWhich is how I found that it's a SIGKILL.20:37:10
@reckenrode:matrix.orgRandy Eckenrode

checking for a BSD-compatible install...

As an aside, GNU coreutils install is not actually BSD-compatible. BSD install supports -l to create symlinks. GNU install does not.

20:40:35
@emilazy:matrix.orgemilyit looks like that package wraps Python20:44:42
@emilazy:matrix.orgemilyperhaps it is the Python derivation that needs rebuilding 🫠20:44:49
@emilazy:matrix.orgemily maybe nix run nixpkgs#bash -- -x /nix/store/a8d6nlfwqi3wzllvbxvjgx0316zxah3v-itstool-2.0.7/bin/itstool would be enlightening 20:45:39
@vcunat:matrix.orgvcunat
/nix/store/bb2dww8j5afza69c8drndbxcz6b1cf2v-python3-3.13.9/bin/python3.13 --help

This succeeds.

20:45:52
@emilazy:matrix.orgemilyI wonder why this previously extremely rare bug now seems to be happening often20:46:01
@emilazy:matrix.orgemily20:46:32
@emilazy:matrix.orgemilyOS upgrade, I bet.20:46:34
@emilazy:matrix.orgemilyon the builders.20:46:40
@vcunat:matrix.orgvcunat --help works but running with the python script does not. 20:47:21
@vcunat:matrix.orgvcunatand that's where the SIGKILL comes. The bash parts seem to pass just fine.20:47:44
@ihar.hrachyshka:matrix.orgIhar Hrachyshkai still have machines on 15 and 26, I could check if it makes a difference20:48:49
@ihar.hrachyshka:matrix.orgIhar Hrachyshka(later today)20:48:57
@emilazy:matrix.orgemilydebugging20:52:26
@emilazy:matrix.orgemily

vcunat:

shion:~
❭ log show --last 1h --predicate 'm:"CODE SIGNING"'
…
2025-12-15 20:55:10.515462+0000 0xff72dd   Default     0x0                  0      0    kernel: CODE SIGNING: cs_invalid_page(0x101594000): p=73322[python3.13] final status 0x23020200, denying page sending SIGKILL
2025-12-15 20:55:10.515472+0000 0xff72dd   Default     0x0                  0      0    kernel: CODE SIGNING: process 73322[python3.13]: rejecting invalid page at address 0x101594000 from offset 0x0 in file "/nix/store/ia2jjsl9ggscyy6ia8rn4k6pqd2zj12l-libxml2-2.15.1-py/lib/python3.13/site-packages/libxml2mod.cpython-313-darwin.so" (cs_mtime:1.0 == mtime:1.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
20:56:38
@emilazy:matrix.orgemily so, it's libxml2. 20:56:54
@emilazy:matrix.orgemily I'm a bit worried by seeing two of these in one cycle, though… and I expect libxml2 might throw away quite some rebuilds, if only the Python stuff is broken. 20:57:12
@vcunat:matrix.orgvcunatlibxml2 rebuilds darwin stdenv...20:58:39
@vcunat:matrix.orgvcunat And this is on staging-next-25.11 which I was about merge to release-25.11 in minutes. 20:59:11
@emilazy:matrix.orgemily the earlier libxml2s do 20:59:21
@emilazy:matrix.orgemily I think the latest libxml2 isn't part of the stdenv. 20:59:27
@vcunat:matrix.orgvcunatThese are usually not trivial to distinguish.20:59:59
@vcunat:matrix.orgvcunatThough it this case it would be worth a try if the alternative would be to rebuild everything.21:00:41
@emilazy:matrix.orgemily something like env.REBUILD_HACK = lib.optionalString (stdenv.name == "stdenv-darwin") "sigh";, I think? 21:00:57
@emilazy:matrix.orgemilyoh:21:01:30
@emilazy:matrix.orgemily
  pythonSupport ? false,
21:01:31
@emilazy:matrix.orgemilywe can probably just condition on that.21:01:37

Show newer messages


Back to Room ListRoom Version: 6