Conversation
python3Packages.zstd: 1.5.4.0 -> 1.5.5.1
s2n-tls: 1.3.45 -> 1.3.46
orc: 0.4.33 -> 0.4.34
util-linux: split mount, login and swap utils into their own outputs
graphviz: 7.1.0 -> 8.0.5
This was removed upstream in: gpg/gnupg@eae28f1
This reverts commit 87681f7.
That There are also a couple of PRs fixing things (build2 #243440, GHC 9.6.2 #243478) that were broken by the switch to llvm-ar. |
|
If it's possible that RAM consumption during linking could increase a lot on x86_64-darwin, that might explain why nodejs is failing repeatedly on Hydra now. |
The switch to cctools-llvm made several LLVM tools the default on Darwin, which includes llvm-ar. GHC will try to use `-L` with `ar` when it is `llvm-ar`, but that doesn’t work currently on Darwin. See https://gitlab.haskell.org/ghc/ghc/-/issues/23188.
This fixes the Hydra build failure on staging-next. NixOS#241951 (comment)
stdenvBootstrapTools: in darwin, only run install_name_tool on Mach-O files
..into staging-next. This is a topologically earlier re-merge, as it seems fairly important security fix and not that huge rebuild.
|
I might have a fix for the nodejs timeout. It’s trying to create a static archive in |
nodejs produces a static archive in its `postInstall`. It detects if the `ar` is GNU ar and uses a response file. Otherwise, it adds the files individually. This is apparently very slow with `llvm-ar`, which Darwin now uses by default. Fortunately, `llvm-ar` also supports response files, so detect whether the `ar` is `llvm-ar` and use a response file. I tested the build on aarch64-darwin. `postInstall` took less than a minute to generate a 59 MiB static archive. Comparing to the build on master, the only difference between the two archives is `llvm-ar` zeroes out the dates, uids, and gids by default. Compared disassembly of the archives appeared identical. This fixes the timeouts on staging-next. NixOS#241951 https://hydra.nixos.org/build/227170390
...after stdenv rework merge; merge into staging-next
|
Anyway, I believe it's time to move on, so that we get better feedback loop for the PRs, the security fixes, etc. |
Helpful links
https://hydra.nixos.org/job/nixpkgs/staging-next/unstable#tabs-constituents
https://hydra.nixos.org/job/nixos/staging-next-small/tested
https://hydra.nixos.org/jobset/nixpkgs/staging-next
https://hydra.nixos.org/jobset/nixos/staging-next-small
Mass breakages
(will be edited based on progress; some resolved ones not included)
util-linuxfallout: link to below