[ 
https://issues.apache.org/jira/browse/THRIFT-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615152#comment-16615152
 ] 

ASF GitHub Bot commented on THRIFT-4634:
----------------------------------------

jeking3 opened a new pull request #1594: THRIFT-4634: work around cabal 1.22 
dependency bug breaking CI job for Xenial
URL: https://github.com/apache/thrift/pull/1594
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Haskell builds with older cabal cannot reconcile complex version requirements
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-4634
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4634
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Library
>    Affects Versions: 0.11.0
>            Reporter: James E. King III
>            Assignee: James E. King III
>            Priority: Minor
>
> The cabal version in Ubuntu Xenial is 1.22.6.0 and it has been failing on CI 
> since HTTP-4000 changed to allow "network < 2.8" - the resulting output is:
> {noformat}
> root@48ae26f5e4f3:/thrift/src/lib/hs# make
> /usr/bin/cabal update
> Downloading the latest package list from hackage.haskell.org
> Skipping download: Local and remote files match.
> /usr/bin/cabal install
> Resolving dependencies...
> cabal: Could not resolve dependencies:
> trying: thrift-1.0.0 (user goal)
> trying: network-2.8.0.0 (dependency of thrift-1.0.0)
> trying: HTTP-4000.3.12 (dependency of thrift-1.0.0)
> trying: HTTP-4000.3.12:-conduit10
> trying: HTTP-4000.3.12:-mtl1
> rejecting: HTTP-4000.3.12:+network-uri (conflict: network==2.8.0.0,
> HTTP-4000.3.12:network-uri => network>=2.6 && <2.8)
> rejecting: HTTP-4000.3.12:-network-uri (conflict: network==2.8.0.0,
> HTTP-4000.3.12:network-uri => network>=2.2.1.8 && <2.6)
> Backjump limit reached (change with --max-backjumps).
> Makefile:639: recipe for target 'all-local' failed
> make: *** [all-local] Error 1
> {noformat}
> thrift has no direct dependency on network 2.8.0.0 - why it is being selected 
> first is beyond me.  It should back off to 2.7.0.2 once it sees the 
> network-uri set of dependencies.  It looks like the cabal in Ubuntu Bionic 
> doesn't have this problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to