liblua5.4 missing from 'Focal' suite of Ubuntu packages
Trogluddite opened this issue · comments
Joe Burchett commented
Running a docker build for the Ubuntu image currently fails:
#7 208.7 E: Unable to locate package liblua5.4-dev
#7 208.7 E: Couldn't find any package by glob 'liblua5.4-dev'
#7 208.7 E: Couldn't find any package by regex 'liblua5.4-dev'
------
executor failed running [/bin/sh -c apt-get -q --no-allow-insecure-repositories update && if [ $base_image_version = "focal" ]; then apt-get install --assume-yes --no-install-recommends software-properties-common && add-apt-repository ppa:hvr/ghc && apt-get install --assume-yes --no-install-recommends ghc-8.8.4=\* cabal-install-3.0=\* && ln -s /opt/ghc/bin/ghc /usr/bin/ghc && ln -s /opt/cabal/bin/cabal /usr/bin/cabal; else apt-get install --assume-yes --no-install-recommends ghc=* cabal-install=*; fi && apt-get install --assume-yes --no-install-recommends build-essential=* ca-certificates=* curl=* fakeroot=* git libgmp-dev=2:6.* liblua$lua_version-dev=* pkg-config=* zlib1g-dev=1:1.2.11.* && rm -rf /var/lib/apt/lists/*]: exit code: 100
I attempted to downgrade the liblua version by setting ARG lua_version=5.3
(the latest version present in the Focal
suite), but the build fails later, on Cabal dependencies that expect version 5.4.
I think the fix here is to update the Ubuntu base image to Jammy
, which does include liblua @ 5.4.
Albert Krewinkel commented
Closed via #194.