Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3003

Missing LICENSE file prevents package from being installed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.9.2
    • 0.9.3
    • Haskell - Library
    • None

    Description

      When installing the package, the compilation fails because the LICENSE file is missing.

      $ 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
      

      Attachments

        Issue Links

          Activity

            People

              jfarrell Jake Farrell
              geraud Geraud Boyer
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: