Skip to content

Build failure: godot_4 #399818

Closed
Closed

Description

@BlastboomStrice

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

I tried to update and rebuild my system

• Updated input 'home-manager':
    'github:nix-community/home-manager/72526a5f7cde2ef9075637802a1e2a8d2d658f70?narHash=sha256-IJksPW32V9gid9vDxoloJMRk%2BYGjxq5drFHBFeBkKU8%3D' (2025-04-17)
  → 'github:nix-community/home-manager/5e6a8203cee7cc33b2e0d9a0adb7268f46447292?narHash=sha256-IVioWVz5qVtHiqosesW7CJW//m/yADr7cVdgF1P4N8s%3D' (2025-04-18)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2631b0b7abcea6e640ce31cd78ea58910d31e650?narHash=sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR%2BXhw3kr/3Xd0GPTM%3D' (2025-04-12)
  → 'github:nixos/nixpkgs/b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef?narHash=sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU%3D' (2025-04-17)
building the system configuration...

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/294741096

Relevant log output

Since it doesnt allow me to paste a ~3k lines log, I'll upload the whole drv log file: godot_4-drv.log

Additional context

I had godot_4 in my config, but I see that this package only exists in stable branch. Not sure why it let me use that.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.23, NixOS, 25.05 (Warbler), 25.05.20250412.2631b0b
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.1
  • nixpkgs: /nix/store/5ds20jm3x2s4z7wn3581r6lc9ybmh45b-source

Notify maintainers

@shiryel @corngood


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. zapoutix commented on Apr 19, 2025

    @zapoutix

    Hello since yestuday godot-mono does not build on unstable

    setting interpreter of /nix/store/an8df5flly3i12gd5248vza8gbcd9dvx-godot4-mono-4.4.1-stable-debug/lib/debug/.build-id/12/62adfcb7ac828e6837b7fc72ccd354f2b04b87.debug
    patchelf: patchelf.cc:795: void ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Verneed, Elf_Versym>::rewriteSectionsExecutable() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long unsigned int; Elf_Off = long unsigned int; Elf_Dyn = Elf64_Dyn; Elf_Sym = Elf64_Sym; Elf_Verneed = Elf64_Verneed; Elf_Versym = short unsigned int]: Assertion `startAddr % getPageSize() == startOffset % getPageSize()' failed.
    Traceback (most recent call last):
      File "/nix/store/cfykbaxf30y66h3nzwq8d5pg4zd4s5hi-auto-patchelf-0-unstable-2024-08-14/bin/auto-patchelf", line 467, in <module>
        main()
      File "/nix/store/cfykbaxf30y66h3nzwq8d5pg4zd4s5hi-auto-patchelf-0-unstable-2024-08-14/bin/auto-patchelf", line 440, in main
        auto_patchelf(
      File "/nix/store/cfykbaxf30y66h3nzwq8d5pg4zd4s5hi-auto-patchelf-0-unstable-2024-08-14/bin/auto-patchelf", line 339, in auto_patchelf
        dependencies += auto_patchelf_file(path, runtime_deps, append_rpaths, keep_libc, extra_args)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/nix/store/cfykbaxf30y66h3nzwq8d5pg4zd4s5hi-auto-patchelf-0-unstable-2024-08-14/bin/auto-patchelf", line 241, in auto_patchelf_file
        subprocess.run(
      File "/nix/store/fqm9bqqlmaqqr02qbalm1bazp810qfiw-python3-3.12.9/lib/python3.12/subprocess.py", line 573, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['patchelf', '--set-interpreter', '/nix/store/vbrdc5wgzn0w1zdp10xd2favkjn5fk7y-glibc-2.40-66/lib/ld-linux-x86-64.so.2', '/nix/store/an8df5flly3i12gd5248vza8gbcd9dvx-godot4-mono-4.4.1-stable-debug/lib/debug/.build-id/12/62adfcb7ac828e6837b7fc72ccd354f2b04b87.debug']' died with <Signals.SIGABRT: 6>.
    error: builder for '/nix/store/8fn913lfh1v22kl62r9qxq0c7acg76nb-godot4-mono-4.4.1-stable.drv' failed with exit code 1
    error: 1 dependencies of derivation '/nix/store/ifsim57b9gs7nrm355dzndai9k2mhmn7-system-path.drv' failed to build
    error: 1 dependencies of derivation '/nix/store/niw22zwibs4hhg4yl2pbyj7iaqnnqg61-nixos-system-xxxx-24.11.716947.26d499fc9f1d.drv' failed to build
    
    
  2. dimkauzh commented on Apr 20, 2025

    @dimkauzh
    Contributor

    Same issue here

  3. added a commit that references this issue on Apr 20, 2025
    e32a27e
  4. corngood commented on Apr 20, 2025

    @corngood
    Contributor

    I'm testing a fix in #400347

  5. superherointj commented on Apr 21, 2025

    @superherointj
    Contributor

    Bisect result: 6b9c4bbe1b2ab64767cda7b1a50 (#388157)

    Image

    I did check building this commit and previous commit and it confirms. Hope it proves useful.

  6. added a commit that references this issue on Apr 21, 2025
    b70c947
  7. corngood commented on May 2, 2025

    @corngood
    Contributor

    Sorry for the ping, but is anyone here interested in being looped in on changes to godot in nixpkgs, I've created a PR to add a godot team:

    #403631

    Even if you don't want to be part of the team, but are interested in reviewing godot changes, feel free to post on there to let me know and I'll try to make sure you get pinged directly for review.

    If you have any suggestions for improving godot in nixpkgs, feel free to open issues and @ me (or the team if it ends up being created).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions