Browse Source

Fix CI build on github jammy VMs

Remove the libunwind-14-dev package before installing the PA
build dependencies, as this is incompatible with libunwind-dev
pull/87/head
matt335672 1 year ago
parent
commit
8e46b8f7b5
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      scripts/install_pulseaudio_sources_apt.sh

+ 9
- 0
scripts/install_pulseaudio_sources_apt.sh View File

@ -98,6 +98,15 @@ if [ ! -d "$PULSE_DIR" ]; then
sudo apt-get update sudo apt-get update
# For the CI build on 22.04, it was noted that an incompatible
# libunwind development package was installed.
if [ -f /usr/include/libunwind/libunwind.h ]; then
pkg=`dpkg -S /usr/include/libunwind/libunwind.h | sed -e 's/: .*//'`
if [ -n "$pkg" -a "$pkg" != libunwind-dev ]; then
echo "- Removing package $pkg"
sudo apt-get remove "$pkg"
fi
fi
sudo apt-get build-dep -y pulseaudio sudo apt-get build-dep -y pulseaudio
# Install any missing dependencies for this software release # Install any missing dependencies for this software release
case "$RELEASE" in case "$RELEASE" in


Loading…
Cancel
Save