]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: explicitly install python3-lldb-$COMPILER_VERSION
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 27 Jul 2023 11:20:17 +0000 (13:20 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 27 Jul 2023 12:45:00 +0000 (13:45 +0100)
To avoid apt complaining:

 + apt-get -y install clang-15 lldb-15 lld-15 clangd-15
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-lldb-14 : Conflicts: python3-lldb-x.y
 python3-lldb-15 : Conflicts: python3-lldb-x.y
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

.github/workflows/build_test.sh

index 438bc0988db92f6bc7a4af9e33c7fccbddc43953..5ffff1952172b85bb0cbead4f1f179f2ea3c40f4 100755 (executable)
@@ -87,7 +87,7 @@ if [[ "$COMPILER" == clang ]]; then
                "$RELEASE" "$RELEASE" "$COMPILER_VERSION" >/etc/apt/sources.list.d/llvm-toolchain.list
     fi
 
-    PACKAGES+=("clang-$COMPILER_VERSION" "lldb-$COMPILER_VERSION" "lld-$COMPILER_VERSION" "clangd-$COMPILER_VERSION")
+    PACKAGES+=("clang-$COMPILER_VERSION" "lldb-$COMPILER_VERSION" "python3-lldb-$COMPILER_VERSION" "lld-$COMPILER_VERSION" "clangd-$COMPILER_VERSION")
 elif [[ "$COMPILER" == gcc ]]; then
     CC="gcc-$COMPILER_VERSION"
     CXX="g++-$COMPILER_VERSION"