You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% nix-shell -p libredirect
these derivations will be built:
/nix/store/cjpqz1r3z04lh16f6mfms47p7w93f2in-libredirect-0.drv
building '/nix/store/cjpqz1r3z04lh16f6mfms47p7w93f2in-libredirect-0.drv'...
unpacking sources
patching sources
configuring
no configure script, doing nothing
building
libredirect.c:90:27: warning: second argument to 'va_arg' is of promotable type 'mode_t' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
mode = va_arg(ap, mode_t);
^~~~~~
/nix/store/gsf62i0m9a3lbvnlvci9nlranvx7ncrw-clang-wrapper-7.1.0/resource-root/include/stdarg.h:35:50: note: expanded from macro 'va_arg'
#define va_arg(ap, type) __builtin_va_arg(ap, type)
^~~~
libredirect.c:104:27: warning: second argument to 'va_arg' is of promotable type 'mode_t' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
mode = va_arg(ap, mode_t);
^~~~~~
/nix/store/gsf62i0m9a3lbvnlvci9nlranvx7ncrw-clang-wrapper-7.1.0/resource-root/include/stdarg.h:35:50: note: expanded from macro 'va_arg'
#define va_arg(ap, type) __builtin_va_arg(ap, type)
^~~~
libredirect.c:118:27: warning: second argument to 'va_arg' is of promotable type 'mode_t' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
mode = va_arg(ap, mode_t);
^~~~~~
/nix/store/gsf62i0m9a3lbvnlvci9nlranvx7ncrw-clang-wrapper-7.1.0/resource-root/include/stdarg.h:35:50: note: expanded from macro 'va_arg'
#define va_arg(ap, type) __builtin_va_arg(ap, type)
^~~~
3 warnings generated.
installing
install: creating directory '/nix/store/vnn9n7qz6r6wk5rmkqzlmmv6kzy9yl46-libredirect-0'
install: creating directory '/nix/store/vnn9n7qz6r6wk5rmkqzlmmv6kzy9yl46-libredirect-0/lib'
'libredirect.dylib' -> '/nix/store/vnn9n7qz6r6wk5rmkqzlmmv6kzy9yl46-libredirect-0/lib/libredirect.dylib'
post-installation fixup
patching script interpreter paths in /nix/store/vnn9n7qz6r6wk5rmkqzlmmv6kzy9yl46-libredirect-0
patching script interpreter paths in /nix/store/4z4i62b2yq642kfl48zvxdwami3kzadj-libredirect-0-hook
running install tests
Assertion failed: (testfp != NULL), function main, file test.c, line 51.
Assertion failed: (system(SUBTEST) == 0), function test_subprocess, file test.c, line 41.
/nix/store/nanwchp2iifac622hl6ad22bnpkqk2ip-stdenv-darwin/setup: line 1355: 66325 Abort trap: 6 NIX_REDIRECTS="/foo/bar/test=/nix/store/yf7fdgv8lad2xwxh579lk607sy09kzph-coreutils-8.32/bin/true" ./test
builder for '/nix/store/cjpqz1r3z04lh16f6mfms47p7w93f2in-libredirect-0.drv' failed with exit code 134
error: build of '/nix/store/cjpqz1r3z04lh16f6mfms47p7w93f2in-libredirect-0.drv' failed
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Cannot reproduce, it builds for me. Your channels say you are on commit ee084c0 but the hash of the derivation /nix/store/cjpqz1r3z04lh16f6mfms47p7w93f2in-libredirect-0.drv is not correct for that commit. Can you figure out what commit you are building libredirect from?
Clone this repo locally, cd inside and run nix-build -A libredirect. You can check out different commits to build libredirect at different points in history.
Describe the bug
libredirect
is failed to buildSteps To Reproduce
Steps to reproduce the behavior:
nix-shell -p libredirect
Expected behavior
Build without errors.
Screenshots
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: