Zulip Chat Archive

Stream: lean4 dev

Topic: Lean4 build fails on Linux x86-64


Maximus (Feb 26 2026 at 19:55):

I have tried building Lean 4.27.0 and 4.28.0 using clang
To build I am running:

cmake --preset release -G 'Unix Makefiles' -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=MINSIZEREL
make -j 4 -C build/release

Error log

I am a bit lost on what to do, because I can't figure out what the error is trying to tell me.
Using VERBOSE=1 does not give more either.
The libc impl is musl 1.2.5 in case that is relevant
Hope someone has an idea how to fix this :smile:

Eric Wieser (Feb 26 2026 at 20:14):

I think you've truncated the important part of the error

Maximus (Feb 26 2026 at 21:02):

Unfortunately that's the entire error
Screenshot

Eric Wieser (Feb 26 2026 at 21:42):

I meant the ... at the top of your message

Maximus (Feb 26 2026 at 22:13):

I have uploaded everything still in the buffer to pastebin https://pastebin.com/u0fD0AVT
If you need the entire thing I can rerun the build.


Last updated: Feb 28 2026 at 14:05 UTC