Skip to content

curl + ssl problems #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PiotrJustyna opened this issue Nov 22, 2022 · 14 comments
Closed

curl + ssl problems #696

PiotrJustyna opened this issue Nov 22, 2022 · 14 comments

Comments

@PiotrJustyna
Copy link

I'm trying to use this tool in a devcontainer, but facing the following issue: microsoft/vscode-dev-containers#1692 Looks like I could be missing a setting where ghcup's curl command is instructed to ignore the certificate? Is my understanding correct?

@hasufell
Copy link
Member

@PiotrJustyna
Copy link
Author

Thanks @hasufell, this is promising, but it looks like ghcup itself is using curl and I can't find a way of passing that "-k" there. I already have ghcup downloaded having instructed my dockerfile's curl command to use "-k" to download ghcup if that makes sense.

Is there a way to provide that "-k" to an already installed ghcup?

@PiotrJustyna
Copy link
Author

I visited main ghcup page and tried simply using the recommend installation command in my dockerfile:

RUN mkdir -p "$HOME/.ghcup/bin" \
    && curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

but it's failing on (I think) a similar problem with ghcup's built in curl:

------
 > [dev_container_auto_added_stage_label 4/5] RUN mkdir -p "$HOME/.ghcup/bin"     && curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh:
#0 1.209 
#0 1.209 Welcome to Haskell!
#0 1.209 
#0 1.209 This script can download and install the following binaries:
#0 1.209   * ghcup - The Haskell toolchain installer
#0 1.209   * ghc   - The Glasgow Haskell Com
[2022-11-23T21:16:35.176Z] piler
#0 1.209   * cabal - The Cabal build tool for managing Haskell software
#0 1.209   * stack - A cross-platform program for developing Haskell projects (similar to cabal)
#0 1.209   * hls   - (optional) A language server for developers to integrate with their editor/IDE
#0 1.209 
#0 1.209 ghcup installs only into the following directory,
#0 1.209 which can be removed anytime:
#0 1.209   /home/vscode/.ghcup
#0 1.209 
#0 1.210 Press ENTER to proceed or ctrl-c to abort.
#0 1.212 Note that this script can be re-run at any given time.
#0 1.212 -------------------------------------------------------------------------------
#0 1.212 Do you want to install haskell-language-server (HLS)?
#0 1.212 HLS is a language-server that provides IDE-like functionality
#0 1.212 and can integrate with different editors, such as Vim, Emacs, VS Code, Atom, ...
#0 1.212 Also see https://haskell-language-server.readthedocs.io/en/stable/
#0 1.212 �[0;
[2022-11-23T21:16:35.176Z] 35m
#0 1.212 [Y] Yes  [N] No  [?] Help (default is "N").
#0 1.212 
#0 1.212 -------------------------------------------------------------------------------
#0 1.212 Do you want to enable better integration of stack with GHCup?
#0 1.212 This means that stack won't install its own GHC versions, but uses GHCup's.
#0 1.212 For more information see:
[2022-11-23T21:16:35.176Z] 
#0 1.212   https://docs.haskellstack.org/en/stable/yaml_configuration/#ghc-installation-customisation-experimental
#0 1.212 If you want to keep stacks vanilla behavior, answer 'No'.
#0 1.212 
#0 1.212 [Y] Yes  [N] No  [?] Help (default is "Y").
#0 1.212 
#0 1.213 sh: 779: cannot open /dev/tty: No such device or address
#0 1.213 sh: 673: cannot open /dev/tty: No such device or address
#0 1.213 sh: 719: cannot open /dev/tty: No such device or address
#0 1.231   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#0 1.231                                  Dload  Upload   Total   Spent    Left  Speed
#0 1.231 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
#0 1.572 curl: (60) SSL certificate problem: unable to get local issuer certific
[2022-11-23T21:16:35.177Z] ate
#0 1.575 More details here: https://curl.se/docs/sslcerts.html
#0 1.575 
#0 1.575 curl failed to verify the legitimacy of the server and therefore could not
#0 1.575 establish a secure connection to it. To learn more about this situation and
#0 1.575 how to fix it, please visit the web page mentioned above.
#0 1.580 "curl -Lf https://downloads.haskell.org/~ghcup/0.1.18.0/aarch64-linux-ghcup-0.1.18.0" failed!
------
[2022-11-23T21:16:35.177Z] ERROR: failed to solve: executor failed running [/bin/sh -c mkdir -p "$HOME/.ghcup/bin"     && curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh]: exit code: 2
[2022-11-23T21:16:35.191Z] Stop (53138 ms): Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /var/folders/7n/brvdl9m17dd2v2j6xk495z3c0000gq/T/devcontainercli/container-features/0.23.2-1669238142015/Dockerfile-with-features -t vsc-haskell-sandbox-23279f8617b97768867d4d6fa0727610 --target dev_containers_target_stage --no-cache --pull --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /Users/piotrjustyna/Documents/code/haskell-sandbox/.devcontainer
[2022-11-23T21:16:35.192Z] Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /var/folders/7n/brvdl9m17dd2v2j6xk495z3c0000gq/T/devcontainercli/container-features/0.23.2-1669238142015/Dockerfile-with-features -t vsc-haskell-sandbox-23279f8617b97768867d4d6fa0727610 --target dev_containers_target_stage --no-cache --pull --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /Users/piotrjustyna/Documents/code/haskell-sandbox/.devcontainer
[2022-11-23T21:16:35.192Z]     at doe (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js:1888:1635)
[2022-11-23T21:16:35.192Z]     at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-11-23T21:16:35.192Z]     at async pF (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js:1887:1973)
[2022-11-23T21:16:35.192Z]     at async eT (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js:1887:901)
[2022-11-23T21:16:35.192Z]     at async voe (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js:1893:2049)
[2022-11-23T21:16:35.192Z]     at async Xf (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js:1893:3212)
[2022-11-23T21:16:35.192Z]     at async Jae (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js:2013:15058)
[2022-11-23T21:16:35.192Z]     at async Wae (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js:2013:14812)
[2022-11-23T21:16:35.194Z] Stop (55626 ms): Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/piotrjustyna/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/piotrjustyna/Documents/code/haskell-sandbox --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/piotrjustyna/Documents/code/haskell-sandbox --log-level debug --log-format json --config /Users/piotrjustyna/Documents/code/haskell-sandbox/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2022-11-23T21:16:35.194Z] Exit code 1
[2022-11-23T21:16:35.196Z] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.262.3/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/piotrjustyna/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/piotrjustyna/Documents/code/haskell-sandbox --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/piotrjustyna/Documents/code/haskell-sandbox --log-level debug --log-format json --config /Users/piotrjustyna/Documents/code/haskell-sandbox/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2022-11-23T21:16:35.196Z] Exit code 1

@hasufell
Copy link
Member

Thanks @hasufell, this is promising, but it looks like ghcup itself is using curl and I can't find a way of passing that "-k" there. I already have ghcup downloaded having instructed my dockerfile's curl command to use "-k" to download ghcup if that makes sense.

Is there a way to provide that "-k" to an already installed ghcup?

GHCUP_CURL_OPTS

https://www.haskell.org/ghcup/guide/#env-variables

@PiotrJustyna
Copy link
Author

Yes! I added that last night and was just about to update the issue and saw your comment. Here's my devcontainer dockerfile today:

FROM debian:bullseye-slim

ENV LANG C.UTF-8

# [Option] Install zsh
ARG INSTALL_ZSH="true"
# [Option] Upgrade OS packages to their latest versions
ARG UPGRADE_PACKAGES="false"

# Install needed packages and setup non-root user.
# Use a separate RUN statement to add your own dependencies
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
COPY library-scripts/*.sh /tmp/library-scripts/
RUN apt-get update \
    && export DEBIAN_FRONTEND=noninteractive \
    && /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true"\
    && rm -rf /tmp/library-scripts \
    && apt-get install -y --no-install-recommends \
        dpkg-dev \
        gcc \
        libc6-dev \
        libffi-dev \
        libgmp-dev \
        libnuma-dev \
        libtinfo-dev \
        zlib1g-dev \
    && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

# Install latest GHCup in the non-root user home
USER $USERNAME

RUN mkdir -p "$HOME/.ghcup/bin" \
    && curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | GHCUP_CURL_OPTS="-k" sh

ENV PATH="/home/$USERNAME/.cabal/bin:/home/$USERNAME/.ghcup/bin:$PATH"

# [Choice] GHC version: recommended, latest, 9.2, 9.0, 8.10, 8.8, 8.6
ARG GHC_VERSION="recommended"

@hasufell
Copy link
Member

So does it work?

@PiotrJustyna
Copy link
Author

Sorry @hasufell tight schedule at work, had to drop my comment half way through writing it.

Yes, it does work, and I’m happy with it, but…

the whole reason for starting this issue is that the dev container’s dockerfile I linked to in my first comment allows users to specify versions of e.g. ghc, cabal, etc. during the installation while what I have now just installs everything in the latest version. If I have a moment tonight, I’ll show you how the original dockerfile looks like.

@PiotrJustyna
Copy link
Author

I want to basically fix the official ms vs code devcontainer by allowing to select specific versions of whatever ghcup can install by fixing the curl problems.

@hasufell
Copy link
Member

@PiotrJustyna
Copy link
Author

OK, it is not working, I am not sure what I did that gave me the impression of ghcup working fine. The community Haskell devcontainer for vscode uses a version of Debian which ghcup is not out of the box compatible with. Below is my dockerfile for the devcontainer. Not installing anything through ghcup yet in the actual dockerfile, running the ghcup commands while connected to the container built from that dockerfile, troubleshooting step by step. For now, when ghcup tries to install ghc, gmake complains that it cannot determine build type:

checking build system type... config.guess: cannot create a temporary directory in /tmp
cannot guess build type; you must specify one

Dockerfile:

FROM debian:bullseye-slim

ENV LANG C.UTF-8

# [Option] Install zsh
ARG INSTALL_ZSH="true"
# [Option] Upgrade OS packages to their latest versions
ARG UPGRADE_PACKAGES="false"

# Install needed packages and setup non-root user.
# Use a separate RUN statement to add your own dependencies
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
COPY library-scripts/*.sh /tmp/library-scripts/
RUN apt-get update \
    && export DEBIAN_FRONTEND=noninteractive \
    && /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true"\
    && rm -rf /tmp/library-scripts \
    && apt-get install -y --no-install-recommends \
        dpkg-dev \
        gcc \
        libc6-dev \
        libffi-dev \
        libgmp-dev \
        libnuma-dev \
        libtinfo-dev \
        zlib1g-dev \
    && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

# Install latest GHCup in the non-root user home
USER $USERNAME

# RUN curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | GHCUP_CURL_OPTS="-k" BOOTSTRAP_HASKELL_NONINTERACTIVE="1" sh

RUN mkdir -p "$HOME/.ghcup/bin" \
    && curl -kLJ "https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup" -o "$HOME/.ghcup/bin/ghcup" \
    && chmod +x "$HOME/.ghcup/bin/ghcup"
ENV PATH="/home/$USERNAME/.cabal/bin:/home/$USERNAME/.ghcup/bin:$PATH"

# # [Choice] GHC version: recommended, latest, 9.2, 9.0, 8.10, 8.8, 8.6
ARG GHC_VERSION="recommended"

ENV GHCUP_CURL_OPTS="-k"

# Use GHCup to install versions of main utilities
# If you prefer to let the Haskell extension install everything on demand,
# comment out the lines below. In that case, you may need to manually run "cabal update""."
# RUN ghcup install ghc "${GHC_VERSION}" --set
#     && ghcup install cabal recommended --set \
#     && ghcup install stack recommended --set \
#     && ghcup install hls recommended --set \
#     && cabal update

I think I can figure this out, it will just take a while.

@PiotrJustyna
Copy link
Author

I am aware of this url: https://www.haskell.org/ghcup/install/#linux-debian and some packages for Debian are not supported anymore. One example: at the time of writing this, the base devcontainer image is debian:bullseye-slim only supports libffi7, not libffi6. I don't suspect that is the cause of my problems, but still a good thing to learn.

@PiotrJustyna
Copy link
Author

PiotrJustyna commented Nov 29, 2022

OK, after updating my dockerfile and adding all packages outlined as required here: https://www.haskell.org/ghcup/install/#linux-debian

RUN apt-get update \
    && export DEBIAN_FRONTEND=noninteractive \
    && /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true"\
    && rm -rf /tmp/library-scripts \
    && apt-get install -y --no-install-recommends \
        build-essential \
        dpkg-dev \
        gcc \
        libc6-dev \
        libffi-dev \
        libffi7 \
        libgmp-dev \
        libgmp10 \
        libncurses-dev \
        libncurses5 \
        libnuma-dev \
        libtinfo-dev \
        libtinfo5 \
        zlib1g-dev \
    && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

I am getting the following error:

[ Info  ] Unpacking: ghc-9.2.5-x86_64-deb10-linux.tar.xz to /home/vscode/.ghcup/tmp/ghcup-5e2a678b5859051a
[ Info  ] Installing GHC (this may take a while)
[ ghc-make ] /usr/bin/install -c -m 755 -d  "/home/vscode/.ghcup/tmp/ghcup-d0cab0288bbb2394/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts"
[ ghc-make ] for i in  rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a rts/dist/build/libHSrts-ghc9.2.5.so rts/dist/build/libHSrts_l.a rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a rts/dist/build/libHS...
[ ghc-make ] "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '/home/vscode/.ghcup/tmp/ghcup-d0cab0288bbb2394' '/home/vscode/.ghcup/ghc/9.2.5' '/home/vscode/.ghcup/ghc/...
[ ghc-make ] qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
[ ghc-make ] gmake[1]: *** [ghc.mk:988: install_packages] Error 255
[ ghc-make ] gmake: *** [Makefile:51: install] Error 2

This is my only blocker for now and I will focus on it.

@PiotrJustyna
Copy link
Author

PiotrJustyna commented Nov 29, 2022

OK, this is where I'm parking this for today. Dockerfile:

# 2022-11-29 pj:
# --------------
# --platform=linux/amd64
FROM --platform=linux/amd64 debian:bullseye-slim

ENV LANG C.UTF-8

# [Option] Install zsh
ARG INSTALL_ZSH="true"
# [Option] Upgrade OS packages to their latest versions
ARG UPGRADE_PACKAGES="true"

# Install needed packages and setup non-root user.
# Use a separate RUN statement to add your own dependencies
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
COPY library-scripts/*.sh /tmp/library-scripts/
# 2022-11-29 pj:
# --------------
# new packages from here: https://www.haskell.org/ghcup/install/#linux-debian
RUN apt-get update \
    && export DEBIAN_FRONTEND=noninteractive \
    && /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true"\
    && rm -rf /tmp/library-scripts \
    && apt-get install -y --no-install-recommends \
        build-essential \
        dpkg-dev \
        gcc \
        libc6-dev \
        libffi-dev \
        libffi7 \
        libgmp-dev \
        libgmp10 \
        libncurses-dev \
        libncurses5 \
        libnuma-dev \
        libtinfo-dev \
        libtinfo5 \
        zlib1g-dev \
    && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

# Install latest GHCup in the non-root user home
USER $USERNAME

RUN mkdir -p "$HOME/.ghcup/bin" \
    # 2022-11-29 pj:
    # --------------
    # -k
    && curl -kLJ "https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup" -o "$HOME/.ghcup/bin/ghcup" \
    && chmod +x "$HOME/.ghcup/bin/ghcup"
ENV PATH="/home/$USERNAME/.cabal/bin:/home/$USERNAME/.ghcup/bin:$PATH"

# [Choice] GHC version: recommended, latest, 9.2, 9.0, 8.10, 8.8, 8.6
ARG GHC_VERSION="recommended"

# 2022-11-29 pj:
# --------------
ENV GHCUP_CURL_OPTS="-k"

# Use GHCup to install versions of main utilities
# If you prefer to let the Haskell extension install everything on demand,
# comment out the lines below. In that case, you may need to manually run "cabal update""."
# RUN ghcup -v install ghc "${GHC_VERSION}" --set
#     && ghcup install cabal recommended --set \
#     && ghcup install stack recommended --set \
#     && ghcup install hls recommended --set \
#     && cabal update

creates the container no problems with ghcup installed, but ghcup gives me the following output trying to install ghc:

vscode ➜ /workspaces/haskell-sandbox $ ghcup -v install ghc recommended --set
[ Debug ] Identified Platform as: Linux Debian, 11
[ Info  ] downloading: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.7.yaml as file /home/vscode/.ghcup/cache/ghcup-0.0.7.yaml
[ Debug ] Skipping and deleting etags file because destination file /home/vscode/.ghcup/cache/ghcup-0.0.7.yaml doesn't exist
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  191k  100  191k    0     0   338k      0 --:--:-- --:--:-- --:--:--  341k
[ Debug ] Status code was 200, overwriting
[ Debug ] Parsed etag: "77092cd6b363b4dd60391659283a09b1d6a6ad83266ee9831f54a0a3be22ca3f"
[ Debug ] Writing etagsFile /home/vscode/.ghcup/cache/ghcup-0.0.7.yaml.etags
[ Debug ] Decoding yaml at: /home/vscode/.ghcup/cache/ghcup-0.0.7.yaml
[ Debug ] Requested to install GHC with 9.2.5
[ Info  ] downloading: https://downloads.haskell.org/~ghc/9.2.5/ghc-9.2.5-x86_64-deb10-linux.tar.xz as file /home/vscode/.ghcup/tmp/ghcup-912fddca9ad01056/ghc-9.2.5-x86_64-deb10-linux.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   188  100   188    0     0    610      0 --:--:-- --:--:-- --:--:--   624
100   188  100   188    0     0    309      0 --:--:-- --:--:-- --:--:--  3760
100  231M  100  231M    0     0  9618k      0  0:00:24  0:00:24 --:--:-- 1734k
[ Info  ] verifying digest of: ghc-9.2.5-x86_64-deb10-linux.tar.xz
[ Info  ] Unpacking: ghc-9.2.5-x86_64-deb10-linux.tar.xz to /home/vscode/.ghcup/tmp/ghcup-80f645cdf87d7724
[ Info  ] Installing GHC (this may take a while)
[ Debug ] Running sh with arguments ["./configure","--prefix=/home/vscode/.ghcup/ghc/9.2.5"]
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Build platform inferred as: x86_64-unknown-linux
Host platform inferred as: x86_64-unknown-linux
Target platform inferred as: x86_64-unknown-linux
GHC build  : x86_64-unknown-linux
GHC host   : x86_64-unknown-linux
GHC target : x86_64-unknown-linux
LLVM target: x86_64-unknown-linux
checking for path to top of build tree... /home/vscode/.ghcup/tmp/ghcup-80f645cdf87d7724/ghc-9.2.5
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gsed... sed
checking for python3... /usr/bin/python3
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking whether GCC supports -no-pie... yes
checking for -ld.lld... no
checking for ld.lld... no
checking for -ld.gold... no
checking for ld.gold... ld.gold
checking whether C compiler supports -fuse-ld=gold... yes
checking whether ld.gold exhibits weak relocation bug (binutils 23856)... not affected
checking for ld.gold object merging bug (binutils 22266)... not affected
checking whether ld is GNU ld... YES
checking whether ld understands --build-id... yes
checking whether ld understands -no_compact_unwind... yes
checking whether ld understands -filelist... no
checking for -strip... no
checking for strip... strip
checking for gawk... no
checking for mawk... mawk
checking for llc-13... no
checking for llc-13.0... no
checking for llc-12... no
checking for llc-12.0... no
checking for llc-11... no
checking for llc-11.0... no
checking for llc-10... no
checking for llc-10.0... no
checking for llc-9... no
checking for llc-9.0... no
checking for llc... no
checking for opt-13... no
checking for opt-13.0... no
checking for opt-12... no
checking for opt-12.0... no
checking for opt-11... no
checking for opt-11.0... no
checking for opt-10... no
checking for opt-10.0... no
checking for opt-9... no
checking for opt-9.0... no
checking for opt... no
checking version of gcc... checking version of gcc... 10.2.1
10.2.1
checking whether GCC supports -no-pie... yes
checking for extra options to pass gcc when compiling via C... 
checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
checking for .subsections_via_symbols... no
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... yes
checking whether  CC supports --target... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking whether byte ordering is bigendian... no
checking for -ar... no
checking for ar... ar
checking whether ar is GNU ar... yes
checking for ar arguments... q
checking whether ar supports @file... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating mk/config.mk
config.status: creating mk/install.mk
****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
[ Debug ] Running gmake with arguments ["DESTDIR=/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c","install"]
gmake --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES
"rm" -f libraries/ghc-boot/dist-install/build/GHC/Version.hs  
done.
"rm" -f libraries/ghc-boot/dist-install/build/GHC/Platform/Host.hs  
done.
"inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC//.
"rm" -f libraries/ghc-boot/dist-boot/build/GHC/Version.hs  
done.
"inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC/Platform//.
"rm" -f libraries/ghc-boot/dist-boot/build/GHC/Platform/Host.hs  
done.
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                           "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
echo '#!/bin/sh'                                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
echo 'exedir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"'                    >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
echo 'exeprog="hp2ps"'                          >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
echo 'executablename="$exedir/$exeprog"'           >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
echo 'datadir="/home/vscode/.ghcup/ghc/9.2.5/share"'                             >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
echo 'bindir="/home/vscode/.ghcup/ghc/9.2.5/bin"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
echo 'topdir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
cat utils/hp2ps/hp2ps.wrapper                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
chmod +x                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hp2ps"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghci-9.2.5"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                   "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghci-9.2.5"
echo '#!/bin/sh'                                   >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghci-9.2.5"
echo 'exec "/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5" --interactive "$@"' >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghci-9.2.5"
chmod +x                                 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghci-9.2.5"
"rm" -f "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghci"  
ln -s ghci-9.2.5 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghci"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/." && /usr/bin/install -c -m 644  includes/./*.h "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/./" &&   /usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/rts" && /usr/bin/install -c -m 644  includes/rts/*.h "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/rts/" &&   /usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/rts/prof" && /usr/bin/install -c -m 644  includes/rts/prof/*.h "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/rts/prof/" &&   /usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/rts/storage" && /usr/bin/install -c -m 644  includes/rts/storage/*.h "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/rts/storage/" &&   /usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/stg" && /usr/bin/install -c -m 644  includes/stg/*.h "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/stg/" &&  true
/usr/bin/install -c -m 644  \
        includes/dist-install/build/ghcautoconf.h includes/dist-install/build/ghcplatform.h includes/dist-install/build/ghcversion.h \
        includes/dist-derivedconstants/header/DerivedConstants.h \
        "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include"
/usr/bin/install -c -m 644  rts/dist/build/ffi.h rts/dist/build/ffitarget.h "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include/"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                           "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
echo '#!/bin/sh'                                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
echo 'exedir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"'                    >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
echo 'exeprog="haddock"'                          >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
echo 'executablename="$exedir/$exeprog"'           >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
echo 'datadir="/home/vscode/.ghcup/ghc/9.2.5/share"'                             >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
echo 'bindir="/home/vscode/.ghcup/ghc/9.2.5/bin"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
echo 'topdir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
cat utils/haddock/haddock.wrapper                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
chmod +x                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock-ghc-9.2.5"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/"  
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Classic.theme/"  
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Linuwial.std-theme/"  
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Ocean.theme/"  
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/latex/"
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/quick-jump.min.js "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/quick-jump.css "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/haddock-bundle.min.js "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Classic.theme/haskell_icon.gif "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Classic.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Classic.theme/minus.gif "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Classic.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Classic.theme/plus.gif "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Classic.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Classic.theme/xhaddock.css "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Classic.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Ocean.theme/hslogo-16.png "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Ocean.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Ocean.theme/minus.gif "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Ocean.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Ocean.theme/ocean.css "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Ocean.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Ocean.theme/plus.gif "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Ocean.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Ocean.theme/synopsis.png "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Ocean.theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Linuwial.std-theme/linuwial.css "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Linuwial.std-theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/Linuwial.std-theme/synopsis.png "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/Linuwial.std-theme/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/solarized.css "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/html/highlight.js "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/html/"  
/usr/bin/install -c -m 644  utils/haddock/haddock-api/resources/latex/haddock.sty "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/latex/"
"rm" -f "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock"  
ln -s haddock-ghc-9.2.5 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/haddock"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                           "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo '#!/bin/sh'                                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo 'exedir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"'                    >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo 'exeprog="hsc2hs"'                          >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo 'executablename="$exedir/$exeprog"'           >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo 'datadir="/home/vscode/.ghcup/ghc/9.2.5/share"'                             >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo 'bindir="/home/vscode/.ghcup/ghc/9.2.5/bin"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo 'topdir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
echo 'HSC2HS_EXTRA=" --lflag=-fuse-ld=gold"' >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
cat utils/hsc2hs/hsc2hs.wrapper                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
chmod +x                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hsc2hs"
/usr/bin/install -c -m 644  utils/hsc2hs/data/template-hsc.h "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                           "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
echo '#!/bin/sh'                                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
echo 'exedir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"'                    >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
echo 'exeprog="ghc-pkg"'                          >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
echo 'executablename="$exedir/$exeprog"'           >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
echo 'datadir="/home/vscode/.ghcup/ghc/9.2.5/share"'                             >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
echo 'bindir="/home/vscode/.ghcup/ghc/9.2.5/bin"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
echo 'topdir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
cat utils/ghc-pkg/ghc-pkg.wrapper                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
chmod +x                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg"  
ln -s ghc-pkg-9.2.5 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-pkg"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                           "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
echo '#!/bin/sh'                                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
echo 'exedir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"'                    >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
echo 'exeprog="hpc"'                          >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
echo 'executablename="$exedir/$exeprog"'           >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
echo 'datadir="/home/vscode/.ghcup/ghc/9.2.5/share"'                             >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
echo 'bindir="/home/vscode/.ghcup/ghc/9.2.5/bin"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
echo 'topdir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
cat utils/hpc/hpc.wrapper                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
chmod +x                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/hpc"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                           "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo '#!/bin/sh'                                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo 'exedir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"'                    >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo 'exeprog="runghc"'                          >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo 'executablename="$exedir/$exeprog"'           >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo 'datadir="/home/vscode/.ghcup/ghc/9.2.5/share"'                             >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo 'bindir="/home/vscode/.ghcup/ghc/9.2.5/bin"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo 'topdir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
echo 'ghcprog="ghc-9.2.5"' >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
cat utils/runghc/runghc.wrapper                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
chmod +x                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc-9.2.5"
"rm" -f "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runhaskell"  
ln -s runghc "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runhaskell"
"rm" -f "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc"  
ln -s runghc-9.2.5 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/runghc"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin"
"rm" -f                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"  
create () { touch "$1" && chmod 755 "$1" ; } && create                                           "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo '#!/bin/sh'                                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo 'exedir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"'                    >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo 'exeprog="ghc-stage2"'                          >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo 'executablename="$exedir/$exeprog"'           >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo 'datadir="/home/vscode/.ghcup/ghc/9.2.5/share"'                             >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo 'bindir="/home/vscode/.ghcup/ghc/9.2.5/bin"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo 'topdir="/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"'                               >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
echo 'executablename="$exedir/ghc"' >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
cat ghc/ghc.wrapper                         >> "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
chmod +x                                         "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"
"rm" -f "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc"  
ln -s ghc-9.2.5 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/bin/ghc"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/share/man"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/share/man/man1"
/usr/bin/install -c -m 644  docs/users_guide/build-man/ghc.1 "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/share/man/man1"
"inplace/bin/mkdirhier" includes/dist/build//.
"rm" -f includes/dist/build/settings  

#  driver/ghc-usage.txt driver/ghci-usage.txt includes/dist/build/settings llvm-targets llvm-passes = libraries to install
#  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5" = directory to install to
#
# The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because
# on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
# For some reason, this means the DLLs end up non-executable, which means
# executables that use them just segfault.
/usr/bin/install -c -m 755 -d  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"
for i in  driver/ghc-usage.txt driver/ghci-usage.txt includes/dist/build/settings llvm-targets llvm-passes; do case $i in *.a) /usr/bin/install -c -m 644  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"; true  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5" ; strip  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"/`basename $i` ;; *.so) /usr/bin/install -c -m 755  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5" ;; *.dylib) /usr/bin/install -c -m 755  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5";; *) /usr/bin/install -c -m 644  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"; esac; done
gcc -E -undef -traditional -P -DINSTALLING -DLIB_DIR='"/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"' -DINCLUDE_DIR='"/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/include"' -DFFI_INCLUDE_DIR= -DFFI_LIB_DIR= '-DFFI_LIB="Cffi"' -DLIBDW_INCLUDE_DIR= -DLIBDW_LIB_DIR= -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Iincludes/dist-install/build -x c rts/package.conf.in -o rts/dist/package.conf.install.raw
grep -v '^#pragma GCC' rts/dist/package.conf.install.raw | sed -e 's/""//g' -e 's/:[    ]*,/: /g' >rts/dist/package.conf.install
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"
for i in utils/unlit/dist-install/build/tmp/unlit utils/hp2ps/dist-install/build/tmp/hp2ps utils/hp2ps/dist-install/build/tmp/hp2ps utils/haddock/dist/build/tmp/haddock utils/haddock/dist/build/tmp/haddock utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/hpc/dist-install/build/tmp/hpc utils/hpc/dist-install/build/tmp/hpc utils/runghc/dist-install/build/tmp/runghc utils/runghc/dist-install/build/tmp/runghc ghc/stage2/build/tmp/ghc-stage2 ghc/stage2/build/tmp/ghc-stage2 utils/iserv/stage2/build/tmp/ghc-iserv utils/iserv/stage2_p/build/tmp/ghc-iserv-prof utils/iserv/stage2_dyn/build/tmp/ghc-iserv-dyn; do \
        /usr/bin/install -c -m 755  $i "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin"; \
done
"mv" "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin/ghc-stage2" "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/bin/ghc"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5"
"rm" -rf "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/package.conf.d"  
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/package.conf.d"
/usr/bin/install -c -m 755 -d "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts"
#  rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a rts/dist/build/libHSrts-ghc9.2.5.so rts/dist/build/libHSrts_l.a rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a rts/dist/build/libHSrts_thr_debug.a rts/dist/build/libHSrts_thr_l.a rts/dist/build/libHSrts_thr_p.a rts/dist/build/libHSrts_debug-ghc9.2.5.so rts/dist/build/libHSrts_thr-ghc9.2.5.so rts/dist/build/libHSrts_thr_debug-ghc9.2.5.so rts/dist/build/libHSrts_l-ghc9.2.5.so rts/dist/build/libHSrts_thr_l-ghc9.2.5.so rts/dist/build/libHSrts_thr_debug_p.a rts/dist/build/libHSrts_debug_p.a rts/dist/build/libffi.so rts/dist/build/libffi.so.7 rts/dist/build/libffi.so.7.1.0 rts/dist/build/libCffi.a rts/dist/build/libCffi_p.a rts/dist/build/libCffi_l.a rts/dist/build/libCffi_debug.a rts/dist/build/libCffi_thr.a rts/dist/build/libCffi_thr_debug.a rts/dist/build/libCffi_thr_l.a rts/dist/build/libCffi_thr_p.a rts/dist/build/libCffi_thr_debug_p.a rts/dist/build/libCffi_debug_p.a = libraries to install
#  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts" = directory to install to
#
# The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because
# on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
# For some reason, this means the DLLs end up non-executable, which means
# executables that use them just segfault.
/usr/bin/install -c -m 755 -d  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts"
for i in  rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a rts/dist/build/libHSrts-ghc9.2.5.so rts/dist/build/libHSrts_l.a rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a rts/dist/build/libHSrts_thr_debug.a rts/dist/build/libHSrts_thr_l.a rts/dist/build/libHSrts_thr_p.a rts/dist/build/libHSrts_debug-ghc9.2.5.so rts/dist/build/libHSrts_thr-ghc9.2.5.so rts/dist/build/libHSrts_thr_debug-ghc9.2.5.so rts/dist/build/libHSrts_l-ghc9.2.5.so rts/dist/build/libHSrts_thr_l-ghc9.2.5.so rts/dist/build/libHSrts_thr_debug_p.a rts/dist/build/libHSrts_debug_p.a rts/dist/build/libffi.so rts/dist/build/libffi.so.7 rts/dist/build/libffi.so.7.1.0 rts/dist/build/libCffi.a rts/dist/build/libCffi_p.a rts/dist/build/libCffi_l.a rts/dist/build/libCffi_debug.a rts/dist/build/libCffi_thr.a rts/dist/build/libCffi_thr_debug.a rts/dist/build/libCffi_thr_l.a rts/dist/build/libCffi_thr_p.a rts/dist/build/libCffi_thr_debug_p.a rts/dist/build/libCffi_debug_p.a; do case $i in *.a) /usr/bin/install -c -m 644  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts"; true  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts" ; strip  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts"/`basename $i` ;; *.so) /usr/bin/install -c -m 755  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts" ;; *.dylib) /usr/bin/install -c -m 755  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts";; *) /usr/bin/install -c -m 644  $i  "/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5/rts"; esac; done
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '/home/vscode/.ghcup/tmp/ghcup-6fd77699a6c5473c' '/home/vscode/.ghcup/ghc/9.2.5' '/home/vscode/.ghcup/ghc/9.2.5/lib/ghc-9.2.5' '/home/vscode/.ghcup/ghc/9.2.5/share/doc/ghc-9.2.5/html/libraries' 'v p dyn'  
Killed

@PiotrJustyna
Copy link
Author

Just a quick comment from phone: tempted to close this issue (as it’s no longer about curl and ssl) and to open a new one. I am not sure what the problem actually is, though…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants