Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on Ubuntu 19.04 #393

elliottslaughter opened this issue Sep 3, 2019 · 0 comments · Fixed by #412

Build failure on Ubuntu 19.04 #393

elliottslaughter opened this issue Sep 3, 2019 · 0 comments · Fixed by #412


Copy link

@elliottslaughter elliottslaughter commented Sep 3, 2019

Build fails with:

# extract needed LLVM objects based on a dummy linker invocation
< build/llvm_objects/llvm_list build/bin/luajit-2.0.5 src/unpacklibraries.lua build/llvm_objects
build/bin/luajit-2.0.5: src/unpacklibraries.lua:20: attempt to index local 'archivepath' (a nil value)
stack traceback:
	src/unpacklibraries.lua:20: in main chunk
	[C]: at 0x55e5b2b97040
make: *** [Makefile:223: build/llvm_objects/llvm_list] Error 1

Repro steps:

Get an Ubuntu 19.04 shell via Docker:

docker run -ti ubuntu:19.04

Then run:

apt install build-essential git cmake wget llvm-6.0-dev libclang-6.0-dev clang-6.0
git clone
cd terra
LLVM_CONFIG=llvm-config-6.0 CLANG=clang-6.0 make

Build works ok with CMake, though you do additionally need to install libedit-dev zlib1g-dev (which again for some reason do not seem to get pulled along with the LLVM dependency).

Perhaps another reason to do #383.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant