Open hbjydev opened 5 months ago
Saw related messages from you on matrix and that somebody built it successfully from same commit (and another person went with build past that file). Not sure if it's worth leaving this issue open, unless somebody else wants to build it or investigate where this strange error comes from.
I think the outcome of this was essentially that MongoDB needs a stupidly beefy machine to build. I can't really do anything about that because we refuse to build unfree (though redistributable) packages in Hydra (i.e. they don't land on cache.nixos.org). Not really sure what the fix here is.
On NixOS you can override the build directory to be one that isn't tmpfs backed, so disk space rather than memory becomes the limit.
systemd.services.nix-daemon.serviceConfig.Environment = "TMPDIR=/swap/build";
Building mongodb got much much worse in April, but that seems to be fixed and back to just "bad" about a week ago.
On unstable now it seems to run into Python3.12 issues and doesn't build at all as mentioned in https://stackoverflow.com/questions/77401730/modulenotfounderror-no-module-named-imp
Building mongodb got much much worse in April, but that seems to be fixed and back to just "bad" about a week ago.
On unstable now it seems to run into Python3.12 issues and doesn't build at all as mentioned in https://stackoverflow.com/questions/77401730/modulenotfounderror-no-module-named-imp
I opened a PR https://github.com/NixOS/nixpkgs/issues/325961
module issue now https://github.com/NixOS/nixpkgs/issues/330060
For you that are interested in MongoDB, I needed MongoDB 7 and did this: https://github.com/NixOS/nixpkgs/pull/333623 I hope that at some time we'll be able to use it from the source, but to be honest, I've already dedicated too much time in it, without luck yet... https://github.com/NixOS/nixpkgs/pull/333258
Steps To Reproduce
Steps to reproduce the behavior:
mongodb
from unstableBuild log
This is the last few lines of the log:
Additional context
I need this for the Unifi Controller, but it's failing to compile which makes this hard.
Notify maintainers
@bluescreen303 @offline
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.