CMake build from source staggers to a halt with cmComputeLinkInformation.cxx.o

Hello, I hope someone can help me with this. I am new to CMake and I am trying to build CMake from the cmake-3.30.3 tarball (cmake-3.30.3.tar.gz) on Debian Gnu/Linux.

Its an older 32-bit machine, so building from source was my only option. Anyway, I ran “…/bootstrap && make” and got to 56% of the build when things just stopped:

[ 56%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmComputeLinkInformation.cxx.o

What should I do? This is the kind of problem where I fear “nobody has ever seen this before” will be the replies. Should I go back to an earlier release and try building that?
EDIT: sorry, I should have specified the toolchain too. It’s g++ (Debian 8.3.0-6) 8.3.0. The OS release is Debian “Buster”. CMake is of course available as a package for Debian, but I wanted the newest release.
Whatever the reply, thanks for your attention.

Soren A.

I just tried building from source in a container started from:

docker run -it --platform linux/i386 debian:buster

CMake built cleanly in just a couple of minutes.

I fear “nobody has ever seen this before” will be the replies

Yes, sorry.

Should I go back to an earlier release and try building that?

Debian buster packages CMake 3.13.4. You could try building that version from source to see if you can get farther. If so, then bisect the versions.

Brad King wrote:

I just tried building from source in a container started from:

docker run -it --platform linux/i386 debian:buster
CMake built cleanly in just a couple of minutes.

Ok, I feel profoundly behind the times; I have never heard of docker and I am not entirely sure what a container is (I am familiar with virtual machines, e.g. VMWare, though.) I’ll look into docker though. I am always hungry to learn new things. Anyway, I am astonished that CMake built so fast for you. Here, it was probably the longest build I’ve every seen.

I wrote:

Should I go back to an earlier release and try building that?

Debian buster packages CMake 3.13.4. You could try building that version from source to
see if you can get farther. If so, then bisect the versions.

That’s a good suggestion. Before receiving your reply, I tried the previous release of cmake, 3.29.8. It also took a very long time to build (I am trying to get distcc to work for exactly this kind of scenario), but the binary targets did all build. I ran test and got a lot of errors (73% success). But the next thing I tried was to build the man pages and I’ve posted a separate message about the failure to build the documentation.

Thank you for your reply, Brad.