Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2994

Trouble Compiling couchdb-snappy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.0
    • 2.0.1
    • Build System
    • None

    Description

      I am trying to build CouchDB (master) on a smartos base64-lts zone. I'm getting the following output from couchdb-snappy:

      root@441920aa-c373-40a0-a990-a6b8ce0d8dd4 /opt/local/src/couchdb/src/snappy]# /opt/local/src/couchdb/bin/rebar clean
      ==> snappy (clean)
      [root@441920aa-c373-40a0-a990-a6b8ce0d8dd4 /opt/local/src/couchdb/src/snappy]# /opt/local/src/couchdb/bin/rebar co
      ==> snappy (compile)
      Compiled src/snappy.erl
      Compiling c_src/snappy_nif.cc
      Compiling c_src/snappy/snappy-sinksource.cc
      Compiling c_src/snappy/snappy-stubs-internal.cc
      Compiling c_src/snappy/snappy.cc
      c_src/snappy/snappy.cc: In member function 'bool snappy::SnappyDecompressor::RefillTag()':
      c_src/snappy/snappy.cc:834:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      c_src/snappy/snappy.cc: In instantiation of 'bool snappy::SnappyScatteredWriter<Allocator>::AppendFromSelf(std::size_t, std::size_t) [with Allocator = snappy::SnappySinkAllocator; std::size_t = long unsigned int]':
      c_src/snappy/snappy.cc:779:9: required from 'void snappy::SnappyDecompressor::DecompressAllTags(Writer*) [with Writer = snappy::SnappyScatteredWriter<snappy::SnappySinkAllocator>]'
      c_src/snappy/snappy.cc:865:3: required from 'bool snappy::InternalUncompressAllTags(snappy::SnappyDecompressor*, Writer*, snappy::uint32) [with Writer = snappy::SnappyScatteredWriter<snappy::SnappySinkAllocator>; snappy::uint32 = unsigned int]'
      c_src/snappy/snappy.cc:1549:78: required from here
      c_src/snappy/snappy.cc:1401:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

      Any help would be appreciated. Thanks!

      Attachments

        Activity

          People

            Unassigned Unassigned
            noahmehl Noah Mehl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: