Skip to content

Build failure: postgresql on darwin #371242

@wolfgangwalther

Description

@wolfgangwalther

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions