You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2014/11/18 14:48:34 UTC

[jira] [Closed] (THRIFT-2840) Cabal file points to LICENSE file outside the path of the Haskell project.

     [ https://issues.apache.org/jira/browse/THRIFT-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell closed THRIFT-2840.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.3
         Assignee: Sean Parsons

Committed, thanks for the patch

> Cabal file points to LICENSE file outside the path of the Haskell project.
> --------------------------------------------------------------------------
>
>                 Key: THRIFT-2840
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2840
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Library
>    Affects Versions: 0.9.2
>            Reporter: Sean Parsons
>            Assignee: Sean Parsons
>            Priority: Blocker
>             Fix For: 0.9.3
>
>
> Currently the Cabal file for the 0.9.2 package that is currently on Hackage will break when an attempt is made to install it:
> {code}
> Downloading thrift-0.9.2...
> Configuring thrift-0.9.2...
> Warning: The 'license-file' field refers to the file '../../LICENSE' which
> does not exist.
> Building thrift-0.9.2...
> Preprocessing library thrift-0.9.2...
> [ 1 of 14] Compiling Thrift.Transport.IOBuffer ( src/Thrift/Transport/IOBuffer.hs, dist/dist-sandbox-791868f2/build/Thrift/Transport/IOBuffer.o )
> [ 2 of 14] Compiling Thrift.Arbitraries ( src/Thrift/Arbitraries.hs, dist/dist-sandbox-791868f2/build/Thrift/Arbitraries.o )
> [ 3 of 14] Compiling Thrift.Types     ( src/Thrift/Types.hs, dist/dist-sandbox-791868f2/build/Thrift/Types.o )
> [ 4 of 14] Compiling Thrift.Transport ( src/Thrift/Transport.hs, dist/dist-sandbox-791868f2/build/Thrift/Transport.o )
> [ 5 of 14] Compiling Thrift.Protocol  ( src/Thrift/Protocol.hs, dist/dist-sandbox-791868f2/build/Thrift/Protocol.o )
> [ 6 of 14] Compiling Thrift.Protocol.Binary ( src/Thrift/Protocol/Binary.hs, dist/dist-sandbox-791868f2/build/Thrift/Protocol/Binary.o )
> [ 7 of 14] Compiling Thrift.Protocol.Compact ( src/Thrift/Protocol/Compact.hs, dist/dist-sandbox-791868f2/build/Thrift/Protocol/Compact.o )
> [ 8 of 14] Compiling Thrift.Protocol.JSON ( src/Thrift/Protocol/JSON.hs, dist/dist-sandbox-791868f2/build/Thrift/Protocol/JSON.o )
> [ 9 of 14] Compiling Thrift.Transport.Handle ( src/Thrift/Transport/Handle.hs, dist/dist-sandbox-791868f2/build/Thrift/Transport/Handle.o )
> [10 of 14] Compiling Thrift.Transport.Empty ( src/Thrift/Transport/Empty.hs, dist/dist-sandbox-791868f2/build/Thrift/Transport/Empty.o )
> [11 of 14] Compiling Thrift.Transport.Framed ( src/Thrift/Transport/Framed.hs, dist/dist-sandbox-791868f2/build/Thrift/Transport/Framed.o )
> [12 of 14] Compiling Thrift.Transport.HttpClient ( src/Thrift/Transport/HttpClient.hs, dist/dist-sandbox-791868f2/build/Thrift/Transport/HttpClient.o )
> [13 of 14] Compiling Thrift           ( src/Thrift.hs, dist/dist-sandbox-791868f2/build/Thrift.o )
> [14 of 14] Compiling Thrift.Server    ( src/Thrift/Server.hs, dist/dist-sandbox-791868f2/build/Thrift/Server.o )
> In-place registering thrift-0.9.2...
> Creating package registration file: /tmp/pkgConf-thrift-0.925204.2
> cabal: ../../LICENSE: does not exist
> Failed to install thrift-0.9.2
> cabal: Error: some packages failed to install:
> thrift-0.9.2 failed during the final install step. The exception was:
> ExitFailure 1
> {code}
> I've already created a pull request for this issue on Github which points the path to the file already inside the Haskell lib folder: https://github.com/apache/thrift/pull/272



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)