NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.53k stars 13.71k forks source link

Build failure: Netmaker #243641

Closed wexder closed 11 months ago

wexder commented 1 year ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build netmaker-full

Build log

installing
building '/nix/store/92b1dawip64idhpzawgbi7cknmjnf4rf-netmaker-0.20.3.drv'...
unpacking sources
unpacking source archive /nix/store/wwrpi7kf38wn1nk2pg197f69h233zxd3-source
source root is source
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
building
Building subPackage ./.
Building subPackage ./netclient
no Go files in /build/source/netclient
running tests
?       github.com/gravitl/netmaker     [no test files]
no Go files in /build/source/netclient
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/g5w12f2pfsr3xczc82ci6rzfdnbq4yfn-netmaker-0.20.3
shrinking /nix/store/g5w12f2pfsr3xczc82ci6rzfdnbq4yfn-netmaker-0.20.3/bin/netmaker
checking for references to /build/ in /nix/store/g5w12f2pfsr3xczc82ci6rzfdnbq4yfn-netmaker-0.20.3...
patching script interpreter paths in /nix/store/g5w12f2pfsr3xczc82ci6rzfdnbq4yfn-netmaker-0.20.3
stripping (with command strip and flags -S -p) in  /nix/store/g5w12f2pfsr3xczc82ci6rzfdnbq4yfn-netmaker-0.20.3/bin
building '/nix/store/ajx408s7aprdjfh604acbqjjlh6v8ccd-user-environment.drv'...

Additional context

The netmaker package installs. But netclient subpackages fails to install. Note: This happens also on totally clean Nixos installation, not just on Arch.

Notify maintainers

@urandom2

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
these 2 paths will be fetched (1.10 MiB download, 6.93 MiB unpacked):
  /nix/store/148x9bca5p18var9kj79pc3d589djrk8-bash-interactive-5.2-p15
  /nix/store/k57fgpvjv1z5lk7w5p5lhp9ikvj04i0i-nix-info
copying path '/nix/store/148x9bca5p18var9kj79pc3d589djrk8-bash-interactive-5.2-p15' from 'https://cache.nixos.org'...
copying path '/nix/store/k57fgpvjv1z5lk7w5p5lhp9ikvj04i0i-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.4.2-zen1-1-zen, Arch Linux, noversion, rolling`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.16.1`
 - nixpkgs: `/home/wexder/.nix-defexpr/channels/nixpkgs`
wexder commented 1 year ago

It seems like they recently split the repository for netmaker and netclient. This is causing issue. I'm already working on PR to create separate netclient package here to fix this issue

wexder commented 11 months ago

This was fixed in https://github.com/NixOS/nixpkgs/pull/244197