Skip to content

prelink: unstable-2019-06-24 -> 20151030-unstable-2024-07-02 - #402659

Merged
philiptaron merged 1 commit into
NixOS:masterfrom
trofi:prelink-gcc-14-fix
Jun 2, 2025
Merged

philiptaron merged 1 commit into
NixOS:masterfrom
trofi:prelink-gcc-14-fix

Conversation

@trofi

@trofi trofi commented Apr 28, 2025 •

Copy link
Copy Markdown
Contributor

Without the change build fails on gcc-14 as
https://hydra.nixos.org/build/294837353:

execstack.c: In function 'execstack_make_rdwr':
execstack.c:138:17: error: passing argument 1 of 'asprintf' from incompatible pointer type []
  138 |       asprintf (&prelink_path, "%s/%s", dirname, PRELINK_PROG EXEEXT);
      |                 ^~~~~~~~~~~~~
      |                 |
      |                 const char **

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 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.

Without the change build fails on `gcc-14` as
https://hydra.nixos.org/build/294837353:

    execstack.c: In function 'execstack_make_rdwr':
    execstack.c:138:17: error: passing argument 1 of 'asprintf' from incompatible pointer type []
      138 |       asprintf (&prelink_path, "%s/%s", dirname, PRELINK_PROG EXEEXT);
          |                 ^~~~~~~~~~~~~
          |                 |
          |                 const char **
@trofi

trofi commented Apr 28, 2025

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 402659


x86_64-linux

✅ 1 package built:
  • prelink

@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 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Apr 28, 2025
@nix-owners
nix-owners Bot requested a review from Artturin April 28, 2025 22:09
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/5509

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/5538

@philiptaron philiptaron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yep. Doing a build.

@philiptaron

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 402659 --package prelink
Commit: 22d5893faec01fce7b9abbe9f9ba415f924c21b0


x86_64-linux

✅ 1 package built:
  • prelink

@philiptaron
philiptaron merged commit bdbe3ae into NixOS:master Jun 2, 2025
@trofi
trofi deleted the prelink-gcc-14-fix branch June 3, 2025 05:19
@mdaniels5757 mdaniels5757 mentioned this pull request Jun 18, 2025
27 of 28 tasks
@nixpkgs-ci

nixpkgs-ci Bot commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-25.05:

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

Labels

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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants