theia-ide / theia-apps

Theia applications examples - docker images, desktop apps, packagings
Apache License 2.0
1.04k stars 346 forks source link

[cpp, full] Problem fetching LLVM tools DEBIAN packages #386

Closed marcdumais-work closed 4 years ago

marcdumais-work commented 4 years ago

Since apparently earlier today, our Docker images that setup the LLVM Debian repo and attempt to install clangd, clang-tidy and related tool, have started failing (some were passing when yesterday's nightly build ran).

Maybe something changed and we'll need to update or it could be a momentary issue that will go away on its own. Here's the log:


Reading package lists...
Building dependency tree...
Reading state information...
Package clang-tidy-11 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package clangd-11 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package clang-tools-11
E: Package 'clangd-11' has no installation candidate
E: Package 'clang-tidy-11' has no installation candidate
The command '/bin/sh -c wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - &&     echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main" > /etc/apt/sources.list.d/llvm.list &&     apt-get update &&     apt-get install -y                        clang-tools-$LLVM                        clangd-$LLVM                        clang-tidy-$LLVM                        gcc-multilib                        g++-multilib                        gdb &&     ln -s /usr/bin/clang-$LLVM /usr/bin/clang &&     ln -s /usr/bin/clang++-$LLVM /usr/bin/clang++ &&     ln -s /usr/bin/clang-cl-$LLVM /usr/bin/clang-cl &&     ln -s /usr/bin/clang-cpp-$LLVM /usr/bin/clang-cpp &&     ln -s /usr/bin/clang-tidy-$LLVM /usr/bin/clang-tidy &&     ln -s /usr/bin/clangd-$LLVM /usr/bin/clangd' returned a non-zero code: 100
The command "./build_container.sh $NPM_TAG $IMAGE_NAME $NODE_VERSION $PORT $ENV_VARS" failed and exited with 100 during .
Your build has been stopped.
marcdumais-work commented 4 years ago

Looks like they're in the process to switch to LLVM 12. It almost works when I set ARG LLVM=12, but it looks like clang-tidy-12 is not yet available.