You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/01/28 20:28:24 UTC

[jira] [Comment Edited] (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=15844181#comment-15844181 ] 

James E. King, III edited comment on THRIFT-4044 at 1/28/17 8:27 PM:
---------------------------------------------------------------------

The root cause will be tracked here:

https://github.com/hspec/hspec/issues/306

I believe this is a bug in hspec-core 2.4.0.
I tweaked the cabal file to use something before 2.4.0 and this worked locally so I will submit a PR.


was (Author: jking3):
The root cause will be tracked here:


> 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
>
> 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.3.4#6332)