Help in testing Basho Riak port

Dimitry Andric dim at FreeBSD.org
Sun Sep 22 13:13:44 UTC 2013


On Sep 20, 2013, at 22:37, Bryan Drewery <bryan at shatow.net> wrote:
> On Fri, Sep 20, 2013 at 06:57:52PM +0100, Big Lebowski wrote:
>> Hi list!
>> 
>> I've been working for couple last days on porting Basho Riak database
>> (latest version 1.4.2) and finally I think it is ready to be presented:
>> https://www.dropbox.com/s/2ztu2bdiip1u2un/riak.tgz
> 
>  MASTER_SITES=   http://s3.amazonaws.com/downloads.basho.com/riak/1.4/1.4.2/ \
> 		  http://downloads.basho.com.s3.amazonaws.com/riak/1.4/1.4.2/
> 
> Use ${PORTVERSION} instead of 1.4.2
> 
>  USES=           ${GMAKE}
> 
> Use 'gmake', not ${GMAKE} here.
> 
> Fails to build on 8.3 i386:
> 
>  db/version_set.cc:59: warning: this decimal constant is unsigned only in ISO C90
>  db/version_set.cc:59: warning: this decimal constant is unsigned only in ISO C90
>  db/version_set.cc:60: error: integer constant is too large for 'long' type
>  db/version_set.cc:60: error: integer constant is too large for 'long' type
>  db/version_set.cc:61: error: integer constant is too large for 'long' type
>  db/version_set.cc:61: error: integer constant is too large for 'long' type
>  db/version_set.cc:62: error: integer constant is too large for 'long' type
>  db/version_set.cc:62: error: integer constant is too large for 'long' type
>  table/filter_block.cc: In member function 'bool leveldb::FilterBlockReader::KeyMayMatch(uint64_t, const leveldb::Slice&)':
>  table/filter_block.cc:112: warning: comparison between signed and unsigned integer expressions
>  util/env_posix.cc: In constructor 'leveldb::<unnamed>::PosixEnv::PosixEnv()':
>  util/env_posix.cc:788: warning: unused variable 'ts'

Yes, this only seems to occur when compiling the port with gcc, but the constants in that array are not defined in a portable way.  Please drop the attached patch file in databases/riak/files/, that should fix it.  Maybe it should go upstream, even.

-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-deps-eleveldb-c_src-leveldb-db-version_set.cc
Type: application/octet-stream
Size: 2325 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130922/ae5844c7/attachment.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130922/ae5844c7/attachment.sig>


More information about the freebsd-ports mailing list