From owner-freebsd-ports@FreeBSD.ORG Sat Sep 21 22:08:25 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 99F4230A for ; Sat, 21 Sep 2013 22:08:25 +0000 (UTC) (envelope-from spankthespam@gmail.com) Received: from mail-qe0-x22c.google.com (mail-qe0-x22c.google.com [IPv6:2607:f8b0:400d:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 587822B2A for ; Sat, 21 Sep 2013 22:08:25 +0000 (UTC) Received: by mail-qe0-f44.google.com with SMTP id 3so1192337qeb.3 for ; Sat, 21 Sep 2013 15:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=t9wjcIh5lYxIvbqUqSu+FkLTwnU4Vy7FMRph6Lh3lR4=; b=EunL+7ujCwY7tQtuzhiCV4VI2URorv375MQq/KDdA08TFX0SZB7gcJAHKupjTrrXYx nUot6iPPgOeFSg2IMI8pT5YZvHB4sbl8DjJMMqt4XgJTd2K/z2KiE2JVfMOaZYPRSOhs rA0XMMR8/YdZFvOeEs1GqJaKDMdDZXDUhn+jSIpdK1boMDFfq5PZBC3s4LVpL06nFNS1 Bepw8a4dbOVM6IrY2CfhbkbXYikmQYV4/f/Z/MCQKipvIXWn7oCTd1T+P2ZgyYEFrpGL SEVnV5lI3nx2b8f/EFlL8jR1kNBm80lOps+c06rMaOFVs7rUjxAMhpzQ9GmF28XjzXt7 QZeA== MIME-Version: 1.0 X-Received: by 10.224.103.194 with SMTP id l2mr14011116qao.52.1379801304482; Sat, 21 Sep 2013 15:08:24 -0700 (PDT) Received: by 10.229.205.71 with HTTP; Sat, 21 Sep 2013 15:08:24 -0700 (PDT) In-Reply-To: References: <20130920203737.GE74496@admin.xzibition.com> Date: Sat, 21 Sep 2013 23:08:24 +0100 Message-ID: Subject: Fwd: Help in testing Basho Riak port From: Big Lebowski To: freebsd-ports Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2013 22:08:25 -0000 Hi, Thanks for your comments, see mine below. On Fri, Sep 20, 2013 at 9:37 PM, Bryan Drewery 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 > Fixed. > > USES= ${GMAKE} > > Use 'gmake', not ${GMAKE} here. > Fixed. > > 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::::PosixEnv::PosixEnv()': > util/env_posix.cc:788: warning: unused variable 'ts' > > > gmake[1]: *** [libleveldb.so.1.9] Error 1 > gmake[1]: Leaving directory > `/wrkdirs/usr/ports/databases/riak/work/riak-1.4.2/deps/eleveldb/c_src/leveldb' > Can you provide any more details on your testing environment, like 32/64 bit, GCC version, any compile optimizations in make.conf and so on? Unfortunately, I dont have any 8.x machine to test it, so I wasnt able to see that before. Could you also try to build it on 8.3 using CLANG? > > > Instead of bsd.port.pre.mk ... bsd.port.post.mk, use bsd.port.options.mk... > bsd.port.mk. Although, it doesn't look like you even need that. Just use > bsd.port.mk at the end, no 2nd include. > I dont think I can get away with only using bsd.port.mk - I've tried that, and the port fails miserably, somwhere on the level of interpretation of the Makefile, where it is missing many macros, so I've stayed with two includes. > > > Otherwise, good work. I will pkg-build test any updates you send out. > Thanks, great to hear that. Latest version will be posted in response to my original message. B. > > > > > Please, grab the port and test it on anything you can, break it in any > way > > possible, and comment on anything you see that's been done wrong - I am > > open to any suggestion on how to make it worthy candidate for send-pr > with > > port submission. > > > > Any help will be highly appreciated and will motivate me to port more > cool > > software to FreeBSD! ;) > > > > Kind regards, > > S. > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >