Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48573 - [stack] expected minor version match with ghc-3.10.7

Attached to Project: Community Packages
Opened by Michael Koloberdin (mkoloberdin) - Sunday, 13 March 2016, 22:02 GMT
Last edited by Felix Yan (felixonmars) - Monday, 14 March 2016, 17:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Upgrade to stack 1.0.4.2-2 cases the following problem:

$ stack install ghc-mod
Run from outside a project, using implicit global project config
Using resolver: lts-5.8 from implicit global project's config file: /home/mike/.stack/global-project/stack.yaml
stack will almost certainly fail with GHC below version 7.8
Valiantly attempting to run anyway, but I know this is doomed
For more information, see: commercialhaskell/stack#648

Compiler version mismatched, found ghc-7.10.3 (x86_64), but expected minor version match with ghc-3.10.7 (x86_64) (based on resolver setting in /home/mike/.stack/global-project/stack.yaml).
Try running "stack setup" to install the correct GHC into /home/mike/.stack/programs/x86_64-linux/

$ stack --version
Version 1.0.4.2 x86_64

$ stack path
Run from outside a project, using implicit global project config
Using resolver: lts-5.8 from implicit global project's config file: /home/mike/.stack/global-project/stack.yaml
stack will almost certainly fail with GHC below version 7.8
Valiantly attempting to run anyway, but I know this is doomed
For more information, see: commercialhaskell/stack#648

Compiler version mismatched, found ghc-7.10.3 (x86_64), but expected minor version match with ghc-3.10.7 (x86_64) (based on resolver setting in /home/mike/.stack/global-project/stack.yaml).
Try running "stack setup" to install the correct GHC into /home/mike/.stack/programs/x86_64-linux/


Additional info: https://github.com/commercialhaskell/stack/issues/1903#issuecomment-196058428
The commit message for 1.0.4.2-2 says: "rebuild with conduit-1.2.6.4, http2-1.5.2, scientific-0.3.4.6, vector-binary-instances-0.2.3.0"
So this bug must have something to do with changes in one of those packages.

Steps to reproduce:
1. Update stack to 1.0.4.2-2
2. Get the above error message
3. Downgrade stack to 1.0.4.2-1
4. Stack works fine again.
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 14 March 2016, 17:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.0.4.2-3
Comment by Michael Koloberdin (mkoloberdin) - Sunday, 13 March 2016, 22:04 GMT
Admins, please change the title to "[stack] expected minor version match with ghc-3.10.7"
Comment by Felix Yan (felixonmars) - Monday, 14 March 2016, 14:45 GMT
Please try again with 1.0.4.2-3.
Comment by Michael Koloberdin (mkoloberdin) - Monday, 14 March 2016, 16:47 GMT
Thank you. 1.0.4.2-3 works fine.

Loading...