-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
0.kind: build failureA package fails to buildA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Steps To Reproduce
postgresql currently fails to build for all versions 15+ on x86_64-darwin. It fails in the installCheckPhase and versions 13 and 14 have the tests disabled anyway, thus they pass.
Build log
Adding the following debug statement gives some insight into the failure:
failureHook = ''
find . -iname 'initdb.log' -print0 | xargs -0 cat
'';> running bootstrap script ... 2025-01-05 19:25:16.852 UTC [59779] FATAL: could not create shared memory segment: Cannot allocate memory
> 2025-01-05 19:25:16.852 UTC [59779] DETAIL: Failed system call was shmget(key=37036594, size=56, 03600).
> 2025-01-05 19:25:16.852 UTC [59779] HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMALL parameter. You might need to reconfigure the kernel with larger SHMALL.
> The PostgreSQL documentation contains more information about shared memory configuration.
> child process exited with exit code 1
> initdb: data directory "/private/tmp/nix-build-postgresql-15.10.drv-0/postgresql-15.10/src/interfaces/ecpg/test/tmp_check/data" not removed at user's request
Additional context
Hydra failures:
- postgresql_15: https://hydra.nixos.org/build/281889361
- postgresql_15_jit: https://hydra.nixos.org/build/282031033
- postgresql_16: https://hydra.nixos.org/build/282021505
- postgresql_16_jit: https://hydra.nixos.org/build/281862052
- postgresql_17: ???
- postgresql_17_jit: https://hydra.nixos.org/build/282017521
Notify maintainers
@NixOS/postgres @NixOS/darwin-maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md