View Issue Details

IDProjectCategoryView StatusLast Update
0017085CentOS-8ncursespublic2020-02-25 08:46
Reportermark_stopka 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.1.1911 
Target VersionFixed in Version 
Summary0017085: ncurses-libs-6.1-7.20180224.el8.x86_64 does not contain /usr/lib64/libtinfo.so symlink
DescriptionSome packages, in particular Haskell vty-5.25.1 installed using Haskell Stack require presence of an object file %{LIBDIR}/libtinfo.so, currently ncurses-libs contain only versioned object files

- libtinfo.so.6 - this is already a symlink to libtinfo.so.6.1
- libtinfo.so.6.1

RPM package ncurses-libs should also contain symlink %{_LIBDIR}/libtinfo.so -> %{_LIBDIR}/libtinfo.so.6.1
Steps To ReproduceTry to build following Dockerfile

FROM perlur/centos-haskell-stack AS builder

ENV CARDANO_NODE_VERSION="1.6.0"

RUN yum update -y && \
    yum install -y openssl-devel systemd-devel zlib-devel
WORKDIR /usr/src
RUN git clone --recurse-submodules https://github.com/input-output-hk/cardano-node
WORKDIR cardano-node
RUN git fetch --tags
RUN git checkout ${CARDANO_NODE_VERSION}

RUN stack install --local-bin-path=/usr/local/bin

observe fail, then add following lines prior to RUN stack install --local-bin-path=/usr/local/bin step and build again without error...

# Ugly workaround for vty-5.25.1
RUN ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so

Tagshaskell, haskell-stack, ncurses-libs

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-02-25 08:45 mark_stopka New Issue
2020-02-25 08:46 mark_stopka Tag Attached: haskell
2020-02-25 08:46 mark_stopka Tag Attached: ncurses-libs
2020-02-25 08:46 mark_stopka Tag Attached: haskell-stack