Re: ANN: stack-1.7.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: ANN: stack-1.7.1

Sven Panne-2
2018-04-28 15:31 GMT+02:00 Emanuel Borsboom <[hidden email]>:
See https://haskellstack.org for installation and upgrade instructions. [...]

The download links for the Windows installers on https://docs.haskellstack.org/en/stable/install_and_upgrade/#windows are broken. The GitHub release pages only mention ZIP files. Is this intentional?

Cheers,
   S.

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Reply | Threaded
Open this post in threaded view
|

Re: ANN: stack-1.7.1

Viktor Dukhovni


> On Apr 28, 2018, at 9:31 AM, Emanuel Borsboom <[hidden email]> wrote:
>
> See https://haskellstack.org for installation and upgrade instructions.

When I try to use the nightly-2018-04-28 snapshot on a FreeBSD11 system,
I get:

  $ stack build
  No setup information found for ghc-8.4.2 on your platform.
  This probably means a GHC bindist has not yet been added for OS key 'freebsd64'.
  Supported versions: ghc-7.8.4, ghc-7.10.1, ghc-7.10.2, ghc-7.10.3, ghc-8.0.1,
  ghc-8.0.2, ghc-8.2.1, ghc-8.2.2

Is that expected?  FWIW, at:

  https://github.com/commercialhaskell/ghc/releases/

there's a link:

  * ghc-8.4.2-x86_64-portbld-freebsd.tar.xz

to:

   https://github.com/commercialhaskell/ghc/releases/download/ghc-8.4.2-release/ghc-8.4.2-x86_64-portbld-freebsd.tar.xz

--
        Viktor.

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Reply | Threaded
Open this post in threaded view
|

Re: ANN: stack-1.7.1

Emanuel Borsboom
This should be fixed now.  The GHC 8.4.x bindists weren't under the right OS key in the GHC setup metadata.  That said, this shouldn't behave any differently on stack-1.7.x than it did with stack-1.6.x.

I'm curious if this will work for you though.  I just tried it on a FreeBSD 11 VM and GHC 8.4.2 failed stack's post-install sanity check with a bunch of errors like this:

/usr/local/bin/ld.gold: error: /home/vagrant/.stack/programs/x86_64-freebsd/ghc-8.4.2/lib/ghc-8.4.2/rts/libHSrts.a(RTS.o): unexpected reloc 8 in object file
/home/vagrant/.stack/programs/x86_64-freebsd/ghc-8.4.2/lib/ghc-8.4.2/rts/libHSrts.a(RTS.o):/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file
collect2: error: ld returned 1 exit status

GHC 8.2.2 seems to work alright, so not sure what changed in the bindists.

> On Apr 28, 2018, at 11:12 AM, Viktor Dukhovni <[hidden email]> wrote:
>
> When I try to use the nightly-2018-04-28 snapshot on a FreeBSD11 system,
> I get:
>
>  $ stack build
>  No setup information found for ghc-8.4.2 on your platform.
>  This probably means a GHC bindist has not yet been added for OS key 'freebsd64'.
>  Supported versions: ghc-7.8.4, ghc-7.10.1, ghc-7.10.2, ghc-7.10.3, ghc-8.0.1,
>  ghc-8.0.2, ghc-8.2.1, ghc-8.2.2
>
> Is that expected?  FWIW, at:
>
>  https://github.com/commercialhaskell/ghc/releases/
>
> there's a link:
>
>  * ghc-8.4.2-x86_64-portbld-freebsd.tar.xz
>
> to:
>
>   https://github.com/commercialhaskell/ghc/releases/download/ghc-8.4.2-release/ghc-8.4.2-x86_64-portbld-freebsd.tar.xz
>
> --
> Viktor.
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Reply | Threaded
Open this post in threaded view
|

Re: ANN: stack-1.7.1

Viktor Dukhovni


> On Apr 28, 2018, at 5:53 PM, Emanuel Borsboom <[hidden email]> wrote:
>
> This should be fixed now.  The GHC 8.4.x bindists weren't under the right OS key in the GHC setup metadata.  That said, this shouldn't behave any differently on stack-1.7.x than it did with stack-1.6.x.

Yes, the same problem with stack 1.6, I just updated stack and tried the snapshot at the same time.

> I'm curious if this will work for you though.  I just tried it on a FreeBSD 11 VM and GHC 8.4.2 failed stack's post-install sanity check with a bunch of errors

I'll let you know.  For some reason running "strip" on the various ".a" files extracted from the archive is taking a very long time...  For example, still running as I write:

$ ps -wwww -o pid,etime,args -p $(pgrep strip)
  PID ELAPSED COMMAND
72558   05:49 strip --strip-unneeded /usr/home/viktor/.stack/programs/x86_64-freebsd/ghc-8.4.2/lib/ghc-8.4.2/Cabal-2.2.0.1/libHSCabal-2.2.0.1_p.a

--
        Viktor.

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Reply | Threaded
Open this post in threaded view
|

Re: ANN: stack-1.7.1

arrowdodger


On Sun, Apr 29, 2018 at 1:14 AM, Viktor Dukhovni <[hidden email]> wrote:


> On Apr 28, 2018, at 5:53 PM, Emanuel Borsboom <[hidden email]> wrote:
>
> This should be fixed now.  The GHC 8.4.x bindists weren't under the right OS key in the GHC setup metadata.  That said, this shouldn't behave any differently on stack-1.7.x than it did with stack-1.6.x.

Yes, the same problem with stack 1.6, I just updated stack and tried the snapshot at the same time.

> I'm curious if this will work for you though.  I just tried it on a FreeBSD 11 VM and GHC 8.4.2 failed stack's post-install sanity check with a bunch of errors

I'll let you know.  For some reason running "strip" on the various ".a" files extracted from the archive is taking a very long time...  For example, still running as I write:

Yep, I also have this problem on 12-CURRENT.
 

$ ps -wwww -o pid,etime,args -p $(pgrep strip)
  PID ELAPSED COMMAND
72558   05:49 strip --strip-unneeded /usr/home/viktor/.stack/programs/x86_64-freebsd/ghc-8.4.2/lib/ghc-8.4.2/Cabal-2.2.0.1/libHSCabal-2.2.0.1_p.a

--
        Viktor.

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.


_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.