llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.95k stars 11.94k forks source link

libtinfo5 problems with the pre-built assets #106393

Open svenpanne opened 2 months ago

svenpanne commented 2 months ago

The x86_64 pre-built assets for Linux, e.g. https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04.tar.xz, are built on Ubuntu 18.04. That has already reached its EOL for the standard support some time ago, which is already a bit strange in itself, but there is a much more urgent problem for people on more modern distros: It is linked against libtinfo.so.5, which has been kicked out of Ubuntu somewhere between Jammy and Mantic.

So in a nutshell: Those precompiled tools simply don't run anymore on the current Ubuntu LTS (and some versions before that). One can do some contortions like installing "foreign" packages, e.g. the libtinfo5_6.4-4_amd64.deb from Debian Bookworm, but this doesn't feel right. I understand the reasoning behind compiling on ancient distros to support older distros, but this has currently the effect that it breaks support for newer distros.

My proposal would be to build at least on Focal (already 4 years old), it already has libtinfo.so.6. BTW: Who exactly builds the assets and via which scripts/containers/etc.?

keith commented 4 weeks ago

Note that with the 19.x releases this is no longer an issue

gresskar commented 6 days ago

Note that with the 19.x releases this is no longer an issue

This would be great if the 19.x release actually provided the clang+llvm packages (some of them only have it for Windows)