Skip to content

db{53,60,63,}: fix build against gcc 15#442648

Closed
Sigmanificient wants to merge 1 commit into
NixOS:stagingfrom
Sigmanificient:db-fix-gcc-15
Closed

db{53,60,63,}: fix build against gcc 15#442648
Sigmanificient wants to merge 1 commit into
NixOS:stagingfrom
Sigmanificient:db-fix-gcc-15

Conversation

@Sigmanificient

@Sigmanificient Sigmanificient commented Sep 13, 2025

Copy link
Copy Markdown
Member
nix-build -E '
  { p }: let
    pkgs = (import ./. {});
  in pkgs.${p}.override { stdenv = pkgs.gcc15Stdenv; }
' --argstr p "db" # and friends

Things done

I could not find a way to merge those patches

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. labels Sep 13, 2025
@Sigmanificient Sigmanificient mentioned this pull request Sep 13, 2025
13 tasks
@Sigmanificient Sigmanificient changed the base branch from master to staging September 13, 2025 15:32
@nixpkgs-ci nixpkgs-ci Bot closed this Sep 13, 2025
@nixpkgs-ci nixpkgs-ci Bot reopened this Sep 13, 2025
@nixpkgs-ci nixpkgs-ci Bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Sep 13, 2025
@emilazy

emilazy commented Sep 13, 2025

Copy link
Copy Markdown
Member

Are these patches from elsewhere?

Arch seems to apply a smaller fix.

@Sigmanificient

Sigmanificient commented Sep 13, 2025

Copy link
Copy Markdown
Member Author

@emilazy I wrote them by looking at the compiler errors

@ghpzin

ghpzin commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

Maybe I am doing something wrong, but db53 does not build with this on either staging or master for me.
Log (basically fails in a lot of places with incompatible-pointer-types):
https://gist.github.com/ghpzin/538a0831e2131b15752876821f33989e
db6 and db62 build fine.
Seems like ofborg managed to build it too, so maybe something changed in these 2 days.
Never mind last part, gcc15 PR is not merged so ofborg just built it with gcc14.

@fabianhjr

Copy link
Copy Markdown
Member

db53 doesn't build for me neither on gcc 15

@fabianhjr

Copy link
Copy Markdown
Member

Addressed in #466885

@fabianhjr fabianhjr closed this Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants