Skip to content

Instantly share code, notes, and snippets.

@agam
Last active May 28, 2020 21:35
Show Gist options
  • Save agam/daaf6b2e76256906ba7d44880c0a6cfd to your computer and use it in GitHub Desktop.
Save agam/daaf6b2e76256906ba7d44880c0a6cfd to your computer and use it in GitHub Desktop.
Julia install failure on Nix (1)
LINK src/support/libsupport.a
Warning: git information unavailable; versioning information limited
CC src/flisp/flisp.o
In file included from /build/source/usr/include/llvm/IR/IRBuilder.h:19,
from /build/source/src/llvmcalltest.cpp:7:
/build/source/usr/include/llvm/ADT/ArrayRef.h: In instantiation of 'llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]':
/build/source/src/llvmcalltest.cpp:20:42: required from here
/build/source/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing 'llvm::ArrayRef<llvm::Type*>::Data' from 'std::initializer_list<llvm::Type*>::begin' does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
Warning: git information unavailable; versioning information limited
PERL base/pcre_h.jl
PERL base/errno_h.jl
PERL base/build_h.jl.phony
PERL base/file_constants.jl
PERL base/uv_constants.jl
ln -sf /nix/store/9j332ns6w3wdidnfvwq62g4vww7knkb8-openlibm-0.7.0/lib/libopenlibm.so.3 /build/source/usr/lib/julia/libopenlibm.so
ln -sf /nix/store/sd48hksc3cqn2pk2zw1s7vvkzqxh5hi2-pcre2-10.34/lib/libpcre2-8.so.0 /build/source/usr/lib/julia/libpcre2-8.so
ln -sf /nix/store/bb7788mi3ypx2zr0qb91a8wwsk7ahymn-blas-3/lib/libblas.so.3 /build/source/usr/lib/julia/libblas.so
make[1]: *** [Makefile:187: /build/source/usr/lib/julia/liblapack.so] Error 1
make: *** [Makefile:66: julia-base] Error 2
make: *** Waiting for unfinished jobs....
CC src/flisp/builtins.o
CC src/flisp/string.o
CC src/flisp/equalhash.o
CC src/flisp/table.o
CC src/flisp/iostream.o
CC src/flisp/julia_extensions.o
make[2]: Circular /build/source/src/flisp/flisp.boot <- /build/source/src/flisp/flisp.boot dependency dropped.
CC src/flisp/flmain.o
LINK src/flisp/libflisp.a
LINK src/flisp/flisp
Warning: git information unavailable; versioning information limited
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
builder for '/nix/store/wv1bk4nazi77ysk11640jcwknd956mrg-julia-1.3.1.drv' failed with exit code 2
error: build of '/nix/store/wv1bk4nazi77ysk11640jcwknd956mrg-julia-1.3.1.drv' failed
Traceback (most recent call last):
File "/nix/store/rqfkrlzh5biidm02grd6cm76acm7mkgd-nox-0.0.6/bin/.nox-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/1q00pvv5clg5xks5225l6h46mvqmmc3l-python3.7-click-7.1.1/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/nix/store/1q00pvv5clg5xks5225l6h46mvqmmc3l-python3.7-click-7.1.1/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/nix/store/1q00pvv5clg5xks5225l6h46mvqmmc3l-python3.7-click-7.1.1/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/nix/store/1q00pvv5clg5xks5225l6h46mvqmmc3l-python3.7-click-7.1.1/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/nix/store/rqfkrlzh5biidm02grd6cm76acm7mkgd-nox-0.0.6/lib/python3.7/site-packages/nox/search.py", line 91, in main
subprocess.check_call(['nix-env', '-iA', '--show-trace'] + attributes)
File "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nix-env', '-iA', '--show-trace', 'nixpkgs.julia_13']' returned non-zero exit status 100.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment