Skip to content

postgresqlPackages: fixing multiple build failures#294457

Merged
fabianhjr merged 5 commits intoNixOS:masterfrom
wolfgangwalther:postgresql-ext
Mar 12, 2024
Merged

postgresqlPackages: fixing multiple build failures#294457
fabianhjr merged 5 commits intoNixOS:masterfrom
wolfgangwalther:postgresql-ext

Conversation

@wolfgangwalther
Copy link
Contributor

Description of changes

This PR fixes multiple broken postgresqlPackages and removes some version checks for legacy postgresql versions, which are not part of nixpkgs anymore.

Extension maintainers: @marsam @zimbatm @danbst

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

PostgreSQL older than v12 is not in nixpkgs anymore, so marking those as
still broken in that case doesn't make sense anymore.
This failed because libxcrypt, which pg12 is linked against, was missing as a
build input. In general, this is an indication that this extension needs the
same build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
This failed because libpam, which postgresql is now linked against, was missing as a
build input. In general, this is an indication that this extension needs the same
build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
This failed because libpam, which postgresql is now linked against, was missing as a
build input. In general, this is an indication that this extension needs the same
build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
https://github.com/plv8/plv8/blob/v3.1.10/Changes

3.1.10 is currently not the latest version - 3.2.2 is. However, the 3.2 branch needs
more changes to build successfully. The update to 3.1.10 makes this package build
with postgresql_16 for now.
@ofborg ofborg bot requested review from danbst and zimbatm March 9, 2024 09:16
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Mar 9, 2024
Copy link
Member

@zimbatm zimbatm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@delroth delroth added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Mar 9, 2024
@fabianhjr fabianhjr merged commit d5fe789 into NixOS:master Mar 12, 2024
@wolfgangwalther wolfgangwalther deleted the postgresql-ext branch March 15, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants