Skip to content

Build failure: openmw #370061

Closed
Closed

Description

@Sirius902

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build openmw for nixpkgs master (currently e3971d5) using the following.

nix build 'github:nixos/nixpkgs?rev=e3971d53ab8229477aca688b45a94d8c4babf5d8#openmw'

Build log

Had to upload to hastebin due to Comment is too long (maximum is 65536 characters).

https://hastebin.com/share/uxumuridaw.bash

Additional context

Currently in the process of git bisect-ing to find out when this issue was introduced. I think this was probably due to a compiler upgrade at some point and the algorithm header was included by chance but now it isn't. I noticed the algorithm header is included explicitly in openmw master but not in the release the nix package is currently based on so I suspect using a newer version of the openmw source would probably work.

https://github.com/OpenMW/openmw/blob/6ac0880cf367de07a1c7a8218a94f31c13902f12/components/bsa/bsa_file.cpp#L29

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.11, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - nixpkgs: `/nix/store/8fwsiv0hd7nw1brkvka0jf1frk3m7qkr-source`

Notify maintainers

@abbradar @marius851000


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: build failure
    on Jan 1, 2025
  2. self-assigned this
    on Jan 2, 2025
  3. SigmaSquadron commented on Jan 2, 2025

    @SigmaSquadron
    Contributor

    The <algorithm> backport does indeed fix bsa_file.cpp. I'm running a build to see if it there are more out of scope function calls.

  4. SigmaSquadron commented on Jan 2, 2025

    @SigmaSquadron
    Contributor

    Another one in charactermanager.hpp: std::list. Rebuilding.

  5. SigmaSquadron commented on Jan 2, 2025

    @SigmaSquadron
    Contributor

    Build succeeded! #370126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

0.kind: build failure6.topic: games

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions