Skip to content

wesnoth: pin to boost-1.86.0#375266

Merged
FliegendeWurst merged 1 commit intoNixOS:masterfrom
trofi:wesnoth-fix-boost-failure-again
Jan 22, 2025
Merged

wesnoth: pin to boost-1.86.0#375266
FliegendeWurst merged 1 commit intoNixOS:masterfrom
trofi:wesnoth-fix-boost-failure-again

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Jan 20, 2025

Without the change wesnoth fails the build on master as https://hydra.nixos.org/build/285762986:

In file included from /build/source/src/server/common/server_base.cpp:16:
/build/source/src/server/common/server_base.hpp:33:10: fatal error: boost/asio/io_service.hpp: No such file or directory
   33 | #include <boost/asio/io_service.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Upstream fixed the build against boost-1.87.0, but only in development versions.

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 `wesnoth` fails the build on `master` as https://hydra.nixos.org/build/285762986:

    In file included from /build/source/src/server/common/server_base.cpp:16:
    /build/source/src/server/common/server_base.hpp:33:10: fatal error: boost/asio/io_service.hpp: No such file or directory
       33 | #include <boost/asio/io_service.hpp>
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Upstream fixed the build against boost-1.87.0, but only in development versions.
@trofi trofi mentioned this pull request Jan 20, 2025
13 tasks
@trofi
Copy link
Contributor Author

trofi commented Jan 20, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 375266


x86_64-linux

✅ 1 package built:
  • wesnoth

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 22, 2025
@FliegendeWurst FliegendeWurst merged commit 39b6023 into NixOS:master Jan 22, 2025
14 of 16 checks passed
@trofi trofi deleted the wesnoth-fix-boost-failure-again branch January 22, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants