You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Isaac Sheff (JIRA)" <ji...@apache.org> on 2017/08/16 23:15:02 UTC
[jira] [Commented] (THRIFT-4044) Build job 17 failing on every pull
request; hspec core (haskell) 2.4 issue
[ https://issues.apache.org/jira/browse/THRIFT-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16129595#comment-16129595 ]
Isaac Sheff commented on THRIFT-4044:
-------------------------------------
Has hspec-core-2.4.4 or Travis CI resolved this issue? The make -k check test suite doesn't add any failures if you compile without the hspec-core < 2.4.0 requirement, and it would be nice if my project could use thrift and a more up-to-date hspec-core.
> Build job 17 failing on every pull request; hspec core (haskell) 2.4 issue
> --------------------------------------------------------------------------
>
> Key: THRIFT-4044
> URL: https://issues.apache.org/jira/browse/THRIFT-4044
> Project: Thrift
> Issue Type: Bug
> Components: Build Process, Haskell - Library
> Affects Versions: 0.10.0
> Environment: Travis CI
> Reporter: James E. King, III
> Assignee: James E. King, III
> Priority: Blocker
> Fix For: 0.11.0
>
>
> Every Travis CI build job has been failing for weeks with:
> {noformat}
> Downloading hspec-core-2.4.0...
> Configuring hspec-core-2.4.0...
> Building hspec-core-2.4.0...
> Preprocessing library hspec-core-2.4.0...
> [ 1 of 22] Compiling Paths_hspec_core ( dist/build/autogen/Paths_hspec_core.hs, dist/build/Paths_hspec_core.o )
> [ 2 of 22] Compiling Test.Hspec.Core.Timer ( src/Test/Hspec/Core/Timer.hs, dist/build/Test/Hspec/Core/Timer.o )
> [ 3 of 22] Compiling Data.Algorithm.Diff ( vendor/Data/Algorithm/Diff.hs, dist/build/Data/Algorithm/Diff.o )
> [ 4 of 22] Compiling Test.Hspec.Core.Formatters.Diff ( src/Test/Hspec/Core/Formatters/Diff.hs, dist/build/Test/Hspec/Core/Formatters/Diff.o )
> [ 5 of 22] Compiling Test.Hspec.Core.Compat ( src/Test/Hspec/Core/Compat.hs, dist/build/Test/Hspec/Core/Compat.o )
> [ 6 of 22] Compiling Test.Hspec.Core.Util ( src/Test/Hspec/Core/Util.hs, dist/build/Test/Hspec/Core/Util.o )
> [ 7 of 22] Compiling Test.Hspec.Core.FailureReport ( src/Test/Hspec/Core/FailureReport.hs, dist/build/Test/Hspec/Core/FailureReport.o )
> [ 8 of 22] Compiling Test.Hspec.Core.QuickCheckUtil ( src/Test/Hspec/Core/QuickCheckUtil.hs, dist/build/Test/Hspec/Core/QuickCheckUtil.o )
> [ 9 of 22] Compiling Test.Hspec.Core.Formatters.Free ( src/Test/Hspec/Core/Formatters/Free.hs, dist/build/Test/Hspec/Core/Formatters/Free.o )
> [10 of 22] Compiling Test.Hspec.Core.Example ( src/Test/Hspec/Core/Example.hs, dist/build/Test/Hspec/Core/Example.o )
> src/Test/Hspec/Core/Example.hs:156:45:
> Couldn't match type `[Char]' with `FailureReason'
> Expected type: FailureReason
> Actual type: String
> In the second argument of `Failure', namely `err'
> In the expression: Failure Nothing err
> In a case alternative:
> HUnit.HUnitFailure err -> Failure Nothing err
> Failed to install hspec-core-2.4.0
> cabal: Error: some packages failed to install:
> hspec-2.4.0 depends on hspec-core-2.4.0 which failed to install.
> hspec-core-2.4.0 failed during the building phase. The exception was:
> ExitFailure 1
> make[2]: *** [lib/hs/thrift_cabal.stamp] Error 1
> make[1]: *** [lib/hs/CMakeFiles/haskell_library.dir/all] Error 2
> make: *** [all] Error 2
> {noformat}
> Sample:
> https://travis-ci.org/apache/thrift/jobs/196107764
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)