| 14 Dec 2025 |
Jan Kvapil | fetching dependencies for bitcoinfuzz-nbitcoin
Running phase: unpackPhase
unpacking source archive /nix/store/lqaq6biab3kvs0fx951r91sqwiv1licv-source
source root is source/modules/nbitcoin
Running phase: patchPhase
Running phase: configureNuget
The template "NuGet Config" was created successfully.
Processing post-creation actions...
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Executing dotnetConfigureHoo
| 17:48:30 |
Corngood | In reply to @x408788:fi.muni.cz Would be nice to be able to use the lock file generated by the dotnet restore --use-lock-file... that one is almost immediate. Is the problem that it's not using the lockfile during the build? | 18:30:21 |
Jan Kvapil | That one is not in the correct format, not a list. I haven't investigated further. | 18:37:51 |
Jan Kvapil | I am re-trying fetch-deps with dotnet 10, but so far it got "stuck" on the same dotnetConfigureHook. | 18:38:32 |
Emma [it/its] | could be taking a while because it has to redownload all dependencies cleanly | 18:39:41 |
Jan Kvapil | Maybe, but that seems to have been already done. At least the very first line was these 36 derivations will be built and it finished rather quickly. | 18:40:44 |
Emma [it/its] | fairly certain that's for building the script itself | 18:41:04 |
Jan Kvapil | Dotnet RAM's usage is peaking around 20+GB. | 18:42:59 |
Jan Kvapil | * Dotnet's RAM usage is peaking around 20+GB. | 18:43:06 |
Jan Kvapil | And swap also full (there's not much else running). | 18:43:59 |
Jan Kvapil | * And swap also full (there's not much else running other than dotnet). | 18:44:06 |
Emma [it/its] | sounds like something is going horifically wrong 👀 | 18:44:12 |
Jan Kvapil | I guess this could explain the fact that it does not end, but get's killed. | 18:44:45 |
Emma [it/its] | as far as i can tell it just uses nuget-to-json | 18:45:58 |
Jan Kvapil | https://github.com/NixOS/nixpkgs/blob/4f9edc162689feca1e63212e7d510679258bd12b/pkgs/build-support/dotnet/add-nuget-deps/fetch-deps.sh, there's the genericBuild. | 18:48:09 |
Jan Kvapil | Which somehow ends up running https://github.com/NixOS/nixpkgs/blob/4f9edc162689feca1e63212e7d510679258bd12b/pkgs/build-support/dotnet/build-dotnet-module/hook/dotnet-hook.sh#L7-L70
Executing dotnetConfigureHook is the last output I get. | 18:48:38 |
Jan Kvapil | This is the running dotnet process
dotnetrestore/nix/store/85fkamr6na3xjznqa70hasdzrlxqgbrr-NBitcoin.CppBridge.csproj-p:ContinuousIntegrationBuild=true-p:Deterministic=true-p:NuGetAudit=false--runtimeosx-x64-p:SelfContained=true
| 18:50:40 |
Emma [it/its] | yeah, seems to be hanging on trying to restore your project | 18:52:10 |
Jan Kvapil | I dunno if the --runtime osx-x64 should be the one. | 18:53:17 |
Emma [it/its] | let me try to reproduce on spare hardware | 18:53:19 |
Emma [it/its] |  Download clipboard.png | 18:53:25 |
Jan Kvapil | Hmm. Is this such a convoluted thing, because I am using flake-utils and it runs fetch-deps for evey system? | 18:53:43 |
Jan Kvapil | I am running NixOS/Linux, no osx. | 18:53:52 |
Jan Kvapil | Running this directly within nix-shell finishes quickly. | 18:55:24 |
Corngood | It will run a restore for each platform in meta.platforms, or default to the ones supported by the sdk | 18:55:50 |
Jan Kvapil | I don't define any meta and there is dotnet-runtime set, so should run only once? https://github.com/quapka/bitcoinfuzz/blob/build-with-nix/modules/nbitcoin/default.nix#L20 | 18:57:44 |
Corngood | No, it'll still default to the 4 available platforms from the sdk meta.platforms | 18:58:34 |
Jan Kvapil | Ok, I'll set:
meta = {
platforms = lib.platforms.linux;
};
And try again.
| 19:00:36 |
Corngood | That'll still be two platforms. You can limit it to one arch if you want | 19:01:23 |
Corngood | "x86_64-linux" probably | 19:01:39 |