Skip to content

Commit a9519c8

Browse files
committed
8259924: GitHub actions fail on Linux x86_32 with "Could not configure libc6:i386"
Reviewed-by: dholmes
1 parent 139f5d3 commit a9519c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/submit.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,12 +632,14 @@ jobs:
632632

633633
# Roll in the multilib environment and its dependencies.
634634
# Some multilib libraries do not have proper inter-dependencies, so we have to
635-
# install their dependencies manually.
635+
# install their dependencies manually. Additionally, installing libc6 libraries
636+
# ahead of the bulk of other packages solves potential circularity problems.
636637
- name: Install dependencies
637638
run: |
638639
sudo dpkg --add-architecture i386
639640
sudo apt-get update
640-
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
641+
sudo apt-get install gcc-10-multilib g++-10-multilib libc6:i386 libc6-dev:i386
642+
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
641643
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
642644
643645
- name: Configure

0 commit comments

Comments
 (0)