Skip to content

Comments

SDL_compat: re-export PKG_CHECK_MODULES macro as a build depend#391687

Merged
K900 merged 1 commit intoNixOS:staging-nextfrom
trofi:SDL_compat-add-m4-deps
Mar 21, 2025
Merged

SDL_compat: re-export PKG_CHECK_MODULES macro as a build depend#391687
K900 merged 1 commit intoNixOS:staging-nextfrom
trofi:SDL_compat-add-m4-deps

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Mar 20, 2025

Without the change powermanga build fails on staging-next as https://hydra.nixos.org/build/292745998:

./configure: line 5413: syntax error near unexpected token `SDL,'
./configure: line 5413: `    PKG_CHECK_MODULES(SDL, sdl >= $min_sdl_version,'

This happens because PKG_CHECK_MODULES definition is missing.

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 `powermanga` build fails on `staging-next` as
https://hydra.nixos.org/build/292745998:

    ./configure: line 5413: syntax error near unexpected token `SDL,'
    ./configure: line 5413: `    PKG_CHECK_MODULES(SDL, sdl >= $min_sdl_version,'

This happens because `PKG_CHECK_MODULES` definition is missing.
@github-actions github-actions bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Mar 20, 2025
@nix-owners nix-owners bot requested a review from peterhoeg March 20, 2025 22:34
@trofi trofi mentioned this pull request Mar 20, 2025
13 tasks
@K900 K900 merged commit 7d69181 into NixOS:staging-next Mar 21, 2025
42 of 43 checks passed
@trofi trofi deleted the SDL_compat-add-m4-deps branch March 21, 2025 06:11
@LordGrimmauld
Copy link
Contributor

Good find! I saw the failing build but didn't realize this was actually caused by my SDL changes. Thank you for finding and fixing this, appreciated 👍

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: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants