downloading ghc head version

Matthew Pickering matthewtpickering at gmail.com
Tue Feb 1 11:58:57 UTC 2022


Right, it appears the problem was we stopped producing the deb9
bindists due to deb9 being EOL.

https://gitlab.haskell.org/ghc/ghc/-/commit/871ce2a300ed35639a39a86f4c85fbcb605c5d7d

Is your problem sorted now?

Matt

On Tue, Feb 1, 2022 at 12:09 AM Harendra Kumar <harendra.kumar at gmail.com> wrote:
>
> I replaced deb9 with deb10 in the URL that ghcup install was using
> earlier in the CI and it seems to work. The following command
> installed ghc successfully:
>
> $ ghcup install ghc -u
> https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-deb10-linux-integer-simple.tar.xz?job=validate-x86_64-linux-deb10-integer-simple
> head
> $ ghc-head --version
> The Glorious Glasgow Haskell Compilation System, version 9.3.20220130
>
> Maybe the deb9 build has been retired now? It worked once in our CI a
> few days and then never worked.
>
> -harendra
>
> On Tue, 1 Feb 2022 at 05:24, Harendra Kumar <harendra.kumar at gmail.com> wrote:
> >
> > Ah, nice. That looks like a useful repo. Thanks!
> >
> > I tried the nix expression:
> >
> > nix run -f https://github.com/mpickering/ghc-artefact-nix/archive/master.tar.gz
> > ghcHEAD
> >
> > on my debian linux, but it is trying to download the fedora tar from
> > https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-fedora33-linux.tar.xz?job=validate-x86_64-linux-fedora33
> > . ghc-head-from.sh also downloads from the same link. Is it supposed
> > to work on debian as well? The nix expression as well as
> > ghc-head-from.sh finally failed with the followinf error on my
> > machine:
> >
> > utils/ghc-cabal/dist-install/build/tmp/ghc-cabal: error while loading
> > shared libraries: libstdc++.so.6: cannot open shared object file: No
> > such file or directory
> >
> > I looked at https://github.com/mpickering/ghc-artefact-nix/blob/master/gitlab-artifact.nix,
> > but it does not seem to have a debian x86_64 config.
> >
> > -harendra
> >
> > On Tue, 1 Feb 2022 at 05:00, Matthew Pickering
> > <matthewtpickering at gmail.com> wrote:
> > >
> > > I will look tomorrow but see where ghc-head-from gets the bindist from
> > >
> > > https://github.com/mpickering/ghc-artefact-nix/blob/master/ghc-head-from.sh
> > >
> > > On Mon, Jan 31, 2022 at 10:43 PM Harendra Kumar
> > > <harendra.kumar at gmail.com> wrote:
> > > >
> > > > It seems the latest artifacts download link
> > > > (https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/...) at GHC
> > > > gitlab is not working.
> > > >
> > > > If this is not the right place to ask this, can someone point me to
> > > > the right place?
> > > >
> > > > -harendra
> > > >
> > > > On Wed, 26 Jan 2022 at 18:38, Harendra Kumar <harendra.kumar at gmail.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I am trying to set up a CI for ghc head version. I am not sure what is
> > > > > the official supported method to install a nightly/head version of
> > > > > GHC. haskell/actions/setup on github seems to support it via ghcup.
> > > > > But it almost always fails, I saw it succeeding once till now. It
> > > > > tries to download it from the following URL, but fails with 404 not
> > > > > found:
> > > > >
> > > > > downloading: https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-deb9-linux-integer-simple.tar.xz?job=validate-x86_64-linux-deb9-integer-simple
> > > > >
> > > > > I tried this link in the browser and I get the same error. Is that the
> > > > > right way to install it? If not, can someone suggest a reliable way to
> > > > > get the head version, other than building it myself?
> > > > >
> > > > > Thanks,
> > > > > Harendra
> > > > _______________________________________________
> > > > ghc-devs mailing list
> > > > ghc-devs at haskell.org
> > > > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list