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

Zig fails to build from source on latest Debian/Ubuntu against system LLVM package #2076

Open
andrewrk opened this Issue Mar 19, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@andrewrk
Copy link
Member

commented Mar 19, 2019

[ 11%] Building CXX object CMakeFiles/zig_cpp.dir/src/zig_llvm.cpp.o
/home/vsts/work/1/s/src/zig_llvm.cpp:1037:59: error: ‘KFreeBSD’ is not a member of ‘llvm::Triple’
 static_assert((Triple::OSType)ZigLLVM_KFreeBSD == Triple::KFreeBSD, "");
                                                           ^~~~~~~~

See https://dev.azure.com/ziglang/zig/_build/results?buildId=966

See #2001

This appears to be an accident in the packaging process and I have filed a Debian bug.

As a workaround, one can use http://apt.llvm.org/.

@andrewrk andrewrk added this to the 0.5.0 milestone Mar 19, 2019

andrewrk added a commit that referenced this issue Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.