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

Sean Parsons commented on THRIFT-3003:
--------------------------------------

I genuinely don't understand why this is the way it is, it's quite literally 
stopping people from using Thrift with Haskell. I'm at the point where I'll 
probably just be rolling my own completely custom implementation soon.

> Missing LICENSE file prevents package from being installed
> ----------------------------------------------------------
>
>                 Key: THRIFT-3003
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3003
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Library
>    Affects Versions: 0.9.2
>            Reporter: Geraud Boyer
>            Assignee: Jake Farrell
>
> When installing the package, the compilation fails because the LICENSE file 
> is missing.
> {code:none}
> $ mkdir thrift
> $ cd thrift
> $ cabal sandbox init
> $ cabal install thrift==0.9.2
> Resolving dependencies...
> Notice: installing into a sandbox located at
> [...]/thrift/.cabal-sandbox
> Configuring thrift-0.9.2...
> Building thrift-0.9.2...
> Failed to install thrift-0.9.2
> Build log ( [...]/thrift/.cabal-sandbox/logs/thrift-0.9.2.log ):
> 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-b6b86a31/build/Thrift/Transport/IOBuffer.o )
> [ 2 of 14] Compiling Thrift.Arbitraries ( src/Thrift/Arbitraries.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Arbitraries.o )
> [ 3 of 14] Compiling Thrift.Types     ( src/Thrift/Types.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Types.o )
> [ 4 of 14] Compiling Thrift.Transport ( src/Thrift/Transport.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Transport.o )
> [ 5 of 14] Compiling Thrift.Protocol  ( src/Thrift/Protocol.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Protocol.o )
> [ 6 of 14] Compiling Thrift.Protocol.Binary ( src/Thrift/Protocol/Binary.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Protocol/Binary.o )
> [ 7 of 14] Compiling Thrift.Protocol.Compact ( 
> src/Thrift/Protocol/Compact.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Protocol/Compact.o )
> src/Thrift/Protocol/Compact.hs:59:15: Warning:
>     Literal 130 is out of the Int8 range -128..127
> src/Thrift/Protocol/Compact.hs:62:15: Warning:
>     Literal 224 is out of the Int8 range -128..127
> [ 8 of 14] Compiling Thrift.Protocol.JSON ( src/Thrift/Protocol/JSON.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Protocol/JSON.o )
> [ 9 of 14] Compiling Thrift.Transport.Handle ( 
> src/Thrift/Transport/Handle.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Transport/Handle.o )
> [10 of 14] Compiling Thrift.Transport.Empty ( src/Thrift/Transport/Empty.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Transport/Empty.o )
> [11 of 14] Compiling Thrift.Transport.Framed ( 
> src/Thrift/Transport/Framed.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Transport/Framed.o )
> [12 of 14] Compiling Thrift.Transport.HttpClient ( 
> src/Thrift/Transport/HttpClient.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Transport/HttpClient.o )
> [13 of 14] Compiling Thrift           ( src/Thrift.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift.o )
> [14 of 14] Compiling Thrift.Server    ( src/Thrift/Server.hs, 
> dist/dist-sandbox-b6b86a31/build/Thrift/Server.o )
> In-place registering thrift-0.9.2...
> Creating package registration file:
> /var/folders/w9/qpxdhlxd6xqc7nhhk0lrj_xc0000gn/T/pkgConf-thrift-0.917566.2
> setup-Simple-Cabal-1.20.0.2-x86_64-osx-ghc-7.8.3: ../../LICENSE: does not
> exist
> cabal: Error: some packages failed to install:
> thrift-0.9.2 failed during the final install step. The exception was:
> ExitFailure 1
> {code}



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

Reply via email to