Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640370 - Fail to compile dev-haskell/stack-1.3.2
Summary: Fail to compile dev-haskell/stack-1.3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-09 13:57 UTC by Jappie Klooster
Modified: 2017-12-09 14:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full stacktrace (bug.txt,21.46 KB, text/plain)
2017-12-09 13:57 UTC, Jappie Klooster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jappie Klooster 2017-12-09 13:57:58 UTC
Created attachment 509028 [details]
full stacktrace

Compiling stack fails.. I could compile the dependencies after several attempts (and running the haskell-updater several times). But stack itself fails now:


[ 15 of 121] Compiling Network.HTTP.Download.Verified ( src/Network/HTTP/Download/Verified.hs, dist/build/Network/HTTP/Download/Verified.o )
[ 16 of 121] Compiling Network.HTTP.Download ( src/Network/HTTP/Download.hs, dist/build/Network/HTTP/Download.o )

src/Network/HTTP/Download.hs:105:50: error:
    Not in scope: ‘CB.sinkFileCautious’
    Module ‘Data.Conduit.Binary’ does not export ‘sinkFileCautious’.

src/Network/HTTP/Download.hs:108:40: error:
    Not in scope: ‘CB.sinkFileCautious’
    Module ‘Data.Conduit.Binary’ does not export ‘sinkFileCautious’.


Not sure what to do about this. conduit version is 1.2.8, I'm going to try and downgrade that.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-12-09 14:09:29 UTC
The error here is

  src/Network/HTTP/Download.hs:105:50: error:
    Not in scope: ‘CB.sinkFileCautious’
    Module ‘Data.Conduit.Binary’ does not export ‘sinkFileCautious’.

sinkFileCautious was added in >=dev-haskell/conduit-1.2.9.

I'm adding new conduit and fixing lower bound.
Comment 2 Larry the Git Cow gentoo-dev 2017-12-09 14:14:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4ecf092e52175f8d435f86702700add023963d

commit 6e4ecf092e52175f8d435f86702700add023963d
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-12-09 14:13:50 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-12-09 14:13:59 +0000

    dev-haskell/stack: fix lower conduit bound, bug #640370 by Jappie Klooster
    
    Bug: https://bugs.gentoo.org/640370
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-haskell/stack/stack-1.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d33e22e033534e3c6d2d9d9629e871f4217e5b6

commit 3d33e22e033534e3c6d2d9d9629e871f4217e5b6
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-12-09 14:13:04 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-12-09 14:13:59 +0000

    dev-haskell/conduit: bump up to 1.2.12.1, bug #640370
    
    Bug: https://bugs.gentoo.org/640370
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-haskell/conduit/Manifest                |  1 +
 dev-haskell/conduit/conduit-1.2.12.1.ebuild | 38 +++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)}