nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

dmd fails to pass tests at build on NixOS 20.09

Open Alderaeney opened this issue 6 years ago • 1 comments

Describe the bug dmd package fails to build at test phase, this is a dependency from tilix making it impossible to install.

Error message:

Test runnable/test18076.sh failed. The logged output:
impure path `/tmp/dmd_runFwTyCx' used in link
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
==============================
Test runnable/test18076.sh failed. The xtrace output:
+ source runnable/test18076.sh
++ output_file=test_results/runnable/test18076.log
++ /build/dmd/generated/linux/release/64/dmd -m64 -run -
++ echo 'import std.stdio; void main() { writeln("Success"); }'
+ finish 1
+ set +x
make[1]: *** [Makefile:156: test_results/runnable/test18076.sh.out] Error 1
make[1]: *** Waiting for unfinished jobs....
 ... runnable/variadic.d            -fPIC (-inline -release -g -O)
 ... runnable/uniformctor.d         -fPIC (-inline -release -g -O)
 ... runnable/testconst.d           -fPIC (-inline -release -g -O)
 ... runnable/ufcs.d                -fPIC (-inline -release -g -O)
 ... runnable/traits_getPointerBitmap.d -fPIC (-inline -release -g -O)
 ... runnable/xtest46_gc.d          -lowmem -Jrunnable -preview=rvaluerefparam -fPIC (-inline -release -g -O)
make: *** [Makefile:188: start_runnable_tests] Error 2
make: Leaving directory '/build/dmd/test'
builder for '/nix/store/appczid7m57m2id3xn54zjh21hzx19i0-dmd-2.091.1.drv' failed with exit code 2
cannot build derivation '/nix/store/ip7qd00n9r95d4f9zvq5wjy193qrjyxj-tilix-unstable-2019-10-02.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jd9xdcp90ma1axjc7bmlfp24szl58glp-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bxn5wr7ps7sha922blljf1vgl1jw0p25-nixos-system-link-gl63-8rc-20.09pre242769.61525137fd1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/bxn5wr7ps7sha922blljf1vgl1jw0p25-nixos-system-link-gl63-8rc-20.09pre242769.61525137fd1.drv' failed

To Reproduce Steps to reproduce the behavior: 1.Run nixos-rebuild switch --upgrade

Expected behavior Package builds successfully.

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

  • system: "x86_64-linux"
  • host os: Linux 5.8.6, NixOS, 20.09pre242769.61525137fd1 (Nightingale)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.7
  • channels(root): "nixos-20.09pre242769.61525137fd1"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Alderaeney avatar Sep 09 '20 15:09 Alderaeney

fixed in b55a44dd6687937fb0ad6b516426515d9eb0294f

worldofpeace avatar Sep 09 '20 15:09 worldofpeace