Noah Mehl created COUCHDB-2994:
----------------------------------

             Summary: Trouble Compiling couchdb-snappy
                 Key: COUCHDB-2994
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2994
             Project: CouchDB
          Issue Type: Bug
          Components: Build System
            Reporter: Noah Mehl


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!



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

Reply via email to