Skip to content

x2goserver: Build failure due to broken symlinks #413544

@N-Parsons

Description

@N-Parsons

Nixpkgs version

  • Stable (25.05)

Describe the bug

I'm having trouble building x2goserver on multiple machines using the 25.05 channel. Build attempts error out due to broken symlinks.

Steps to reproduce

  1. Attempt to package with nix-build '<nixpkgs>' -A x2goserver -K -vv --show-trace

Expected behaviour

Package builds without errors

Screenshots

No response

Relevant log output

Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
shrinking RPATHs of ELF executables and libraries in /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3
shrinking /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/lib/x2go/libx2go-server-db-sqlite3-wrapper
checking for references to /build/ in /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3...
gzipping man pages under /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/share/man/
moving /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/sbin/* to /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/bin
patching script interpreter paths in /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3
/nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/lib/x2go/x2gocheckport: interpreter directive changed from "#!/bin/bash" to "/nix/store/1q9lw4r2mbap8rsr8cja46nap6wvrw2p-bash-interactive-5.2p37/bin/bash"
stripping (with command strip and flags -S -p) in  /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/lib /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/bin /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/sbin
ERROR: noBrokenSymlinks: the symlink /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/nix/store/g0f6kj9lb0nmcahpr4gl1lvnxkwkpljh-nx-libs-3.5.99.26/lib/nx/bin/x2goagent points to a missing target: /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/nix/store/g0f6kj9lb0nmcahpr4gl1lvnxkwkpljh-nx-libs-3.5.99.26/lib/nx/bin/nxagent
ERROR: noBrokenSymlinks: the symlink /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/share/x2go/versions/VERSION.x2goserver-x2goagent points to a missing target: /nix/store/0mpaqbfxrhkp6i54wzcpid49fc5f4jdc-x2goserver-4.1.0.3/share/nx/VERSION.nxagent
ERROR: noBrokenSymlinks: found 2 dangling symlinks, 0 reflexive symlinks and 0 unreadable symlinks

Additional context

The package builds as expected using the nixos-24.11 channel.

System metadata

Machine 1:

  • system: "x86_64-linux"
  • host os: Linux 6.6.90, NixOS, 24.11 (Vicuna), 24.11.718051.9b5ac7ad4529
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.14
  • channels(root): "nixos-25.05"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Machine 2:

  • system: "x86_64-linux"
  • host os: Linux 6.14.8, NixOS, 25.05 (Warbler), 25.05.802491.7c43f080a7f2
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.3
  • channels(root): "agenix, nixos-25.05, nixos-unstable"
  • nixpkgs: /nix/store/8fbwrdjnkysqayqwc19y2gcw082jd5rq-nixos-25.05/nixos

Notify maintainers


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions