Skip to content
Permalink
Browse files

8259924: GitHub actions fail on Linux x86_32 with "Could not configur…

…e libc6:i386"

Reviewed-by: dholmes
  • Loading branch information
shipilev committed Jan 19, 2021
1 parent 139f5d3 commit a9519c83b8f118f62190a3956fca6c45387c7d6b
Showing with 4 additions and 2 deletions.
  1. +4 −2 .github/workflows/submit.yml
@@ -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

1 comment on commit a9519c8

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on a9519c8 Jan 19, 2021

Please sign in to comment.