8259924: GitHub actions fail on Linux x86_32 with "Could not configure libc6:i386"

Reviewed-by: dholmes
This commit is contained in:
Aleksey Shipilev 2021-01-19 09:38:36 +00:00
parent 139f5d33e1
commit a9519c83b8

View File

@ -632,12 +632,14 @@ jobs:
# Roll in the multilib environment and its dependencies.
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
# install their dependencies manually. Additionally, installing libc6 libraries
# ahead of the bulk of other packages solves potential circularity problems.
- name: Install dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install gcc-10-multilib g++-10-multilib libfreetype6-dev:i386 libxrandr-dev:i386 libxtst-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libcups2-dev:i386 libasound2-dev:i386
sudo apt-get install gcc-10-multilib g++-10-multilib libc6:i386 libc6-dev:i386
sudo apt-get install libfreetype6-dev:i386 libxrandr-dev:i386 libxtst-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libcups2-dev:i386 libasound2-dev:i386
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
- name: Configure