-
-
Notifications
You must be signed in to change notification settings - Fork 397
Description
Reproduced in CI: https://github.com/haskell/ghcup-metadata/actions/runs/4205412241/jobs/7297468902#step:5:2946
Reported here: https://www.reddit.com/r/haskell/comments/1129ywb/comment/j8kd7wk/?utm_source=share&utm_medium=web2x&context=3
The issue lies in our CI:
haskell-language-server/.github/workflows/release.yaml
Lines 29 to 105 in 28a6aef
platform: [ { image: "debian:9" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Debian" | |
, ARTIFACT: "x86_64-linux-deb9" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "debian:10" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Debian" | |
, ARTIFACT: "x86_64-linux-deb10" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "debian:11" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Debian" | |
, ARTIFACT: "x86_64-linux-deb11" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "ubuntu:18.04" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Ubuntu" | |
, ARTIFACT: "x86_64-linux-ubuntu18.04" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "ubuntu:20.04" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Ubuntu" | |
, ARTIFACT: "x86_64-linux-ubuntu20.04" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "ubuntu:22.04" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Ubuntu" | |
, ARTIFACT: "x86_64-linux-ubuntu22.04" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "linuxmintd/mint19.3-amd64" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Mint" | |
, ARTIFACT: "x86_64-linux-mint19.3" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "linuxmintd/mint20.2-amd64" | |
, installCmd: "apt-get update && apt-get install -y" | |
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" | |
, DISTRO: "Mint" | |
, ARTIFACT: "x86_64-linux-mint20.2" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "fedora:27" | |
, installCmd: "dnf install -y" | |
, toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf" | |
, DISTRO: "Fedora" | |
, ARTIFACT: "x86_64-linux-fedora27" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "fedora:33" | |
, installCmd: "dnf install -y" | |
, toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf" | |
, DISTRO: "Fedora" | |
, ARTIFACT: "x86_64-linux-fedora33" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
}, | |
{ image: "centos:7" | |
, installCmd: "yum -y install epel-release && yum install -y" | |
, toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf" | |
, DISTRO: "CentOS" | |
, ARTIFACT: "x86_64-linux-centos7" | |
, ADD_CABAL_ARGS: "--enable-split-sections" | |
} |
We don't have a configuration for 'unknown linux' and then re-use the Fedora27 HLS bindist for unknown linux: https://github.com/haskell/ghcup-metadata/blob/2941394cb19ecc9772ac9b72f5d5ccb71a133355/ghcup-0.0.7.yaml#L4058-L4059
This is wrong, because the bindist of GHC-9.4.4 we install on Fedora27 is not the same as on "Unknown Linux". Because 9.4.4 stopped supporting Fedora27 bindists and the mappings diverged.
As such, we have to provide CI jobs for every single mapping and not re-use HLS bindists for other configurations.