Closed furrycatherder closed 1 year ago
There are several problems, one hiredis it does not find the ar:
https://github.com/redis/hiredis/pull/632
Then redis compiles the Makefile without passing hostcc to the configure flag:
MAKE jemalloc
cd jemalloc && ./configure --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS=""
configure: WARNING: unrecognized options: --enable-cc-silence
checking for xsltproc... false
checking for gcc... aarch64-unknown-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/nix-build-redis-5.0.1-aarch64-unknown-linux-gnu.drv-0/redis-5.0.1/deps/jemalloc':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** [Makefile:80: jemalloc] Error 1
The AR problem is fixed upstream now, but I have no time too look at the rest. I think they should be all fixable.
Should be fixed by #67694, which was written by me and just merged by @matthewbauer :smiley_cat:
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Issue description
Steps to reproduce
See above
default.nix
.Technical details
"x86_64-linux"
Linux 4.14.79, NixOS, 18.09.1381.c1427bf45ff (Jellyfish)
yes
yes
nix-env (Nix) 2.1.3
"nixos-18.09.1381.c1427bf45ff"
"nixpkgs-19.03pre159550.5ba0796bf2a, vertiv"
/home/sean/.nix-defexpr/channels/nixpkgs