Skip to content

pngnq: fix with gcc 14 - #407972

Merged
Sigmanificient merged 1 commit into
NixOS:masterfrom
GrimmTheShrimp:pngnq-gcc
May 17, 2025
Merged

Sigmanificient merged 1 commit into
NixOS:masterfrom
GrimmTheShrimp:pngnq-gcc

Conversation

@GrimmTheShrimp

Copy link
Copy Markdown
Contributor

Various includes are missing.
The zlib include was being patched in before.
The string include is now needed with gcc 14.

Part of #403336
Part of #388196

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/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (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.

@GrimmTheShrimp GrimmTheShrimp added 0.kind: build failure A package fails to build 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign backport release-25.05 labels May 17, 2025

@Sigmanificient Sigmanificient left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nixfmt can be a bit peaky sometimes

Comment thread pkgs/by-name/pn/pngnq/package.nix Resolved
Various includes are missing.
The zlib include was being patched in before.
The string include is now needed with gcc 14.
@GrimmTheShrimp

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 407972


x86_64-linux

❌ 3 packages failed to build:
  • deliantra-arch
  • deliantra-maps
  • deliantra-server
✅ 1 package built:
  • pngnq

@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 17, 2025
@nix-owners
nix-owners Bot requested a review from pSub May 17, 2025 13:54
@GrimmTheShrimp

Copy link
Copy Markdown
Contributor Author

Sooo... revdep is broken for unrelated reasons. I won't be the one fixing that one, though it might make sense dropping the bunch tbh... But ehl, can fix it and drop later.

@niklaskorz

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 407972


aarch64-linux

❌ 3 packages failed to build:
  • deliantra-arch
  • deliantra-maps
  • deliantra-server
✅ 1 package built:
  • pngnq

@Sigmanificient
Sigmanificient merged commit 8026644 into NixOS:master May 17, 2025
@nixpkgs-ci

nixpkgs-ci Bot commented May 17, 2025

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-25.05:

@nixpkgs-ci nixpkgs-ci Bot added the 8.has: port to stable This PR already has a backport to the stable release. label May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: build failure A package fails to build 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants