From owner-freebsd-pkg-fallout@freebsd.org Thu Dec 24 02:16:15 2015 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D62F2A4EFC2 for ; Thu, 24 Dec 2015 02:16:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C4EDF1CC0 for ; Thu, 24 Dec 2015 02:16:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id C26EBA4EFC1; Thu, 24 Dec 2015 02:16:15 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0E81A4EFC0 for ; Thu, 24 Dec 2015 02:16:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy1.nyi.freebsd.org (beefy1.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72A611CBF; Thu, 24 Dec 2015 02:16:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy1.nyi.freebsd.org (localhost [127.0.0.1]) by beefy1.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id tBO2GE6p090010; Thu, 24 Dec 2015 02:16:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id tBO2GEnG089998; Thu, 24 Dec 2015 02:16:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 24 Dec 2015 02:16:14 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201512240216.tBO2GEnG089998@beefy1.nyi.freebsd.org> To: wg@FreeBSD.org Subject: [package - 101i386-quarterly][databases/riak2] Failed for riak2-2.1.1 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2015 02:16:15 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: wg@FreeBSD.org Last committer: wg@FreeBSD.org Ident: $FreeBSD: branches/2015Q4/databases/riak2/Makefile 397759 2015-09-24 20:53:21Z wg $ Log URL: http://beefy1.nyi.freebsd.org/data/101i386-quarterly/404319/logs/riak2-2.1.1.log Build URL: http://beefy1.nyi.freebsd.org/build.html?mastername=101i386-quarterly&build=404319 Log: ====>> Building databases/riak2 build started at Thu Dec 24 02:12:34 UTC 2015 port directory: /usr/ports/databases/riak2 building for: FreeBSD 101i386-quarterly-job-13 10.1-RELEASE-p25 FreeBSD 10.1-RELEASE-p25 i386 maintained by: wg@FreeBSD.org Makefile ident: $FreeBSD: branches/2015Q4/databases/riak2/Makefile 397759 2015-09-24 20:53:21Z wg $ Poudriere version: 3.1.10 Host OSVERSION: 1100085 Jail OSVERSION: 1001000 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1001000 UNAME_v=FreeBSD 10.1-RELEASE-p25 UNAME_r=10.1-RELEASE-p25 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/101i386-quarterly/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=riak2-2.1.1 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/101i386-quarterly/ref/.p/pool MASTERNAME=101i386-quarterly SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.10 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/riak2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/riak2/work HOME=/wrkdirs/usr/ports/databases/riak2/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- PATH=/usr/local/lib/riak-erlang/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin XDG_DATA_HOME=/wrkdirs/usr/ports/databases/riak2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/riak2/work HOME=/wrkdirs/usr/ports/databases/riak2/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="gcc48" CFLAGS="-O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing" CPP="cpp48" CPPFLAGS="" LDFLAGS=" -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -L/usr/local/lib/gcc48" LIBS="" CXX="g++48 " CXXFLAGS="-O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- RIAK_CONFDIR=/usr/local/etc/riak RIAK_DBDIR=/var/db/riak RIAK_HOMEDIR=/usr/local/lib/riak RIAK_LIBDIR=/usr/local/lib/riak/lib RIAK_LOGDIR=/var/log/riak USERS=riak GROUPS=riak OSREL=10.1 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/riak2" EXAMPLESDIR="share/examples/riak2" DATADIR="share/riak2" WWWDIR="www/riak2" ETCDIR="etc/riak2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/riak2 DOCSDIR=/usr/local/share/doc/riak2 EXAMPLESDIR=/usr/local/share/examples/riak2 WWWDIR=/usr/local/www/riak2 ETCDIR=/usr/local/etc/riak2 --End SUB_LIST-- ---Begin make.conf--- MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =================================================== ===> License APACHE20 accepted by the user =========================================================================== =================================================== ===> riak2-2.1.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.6.1.txz [101i386-quarterly-job-13] Installing pkg-1.6.1... [101i386-quarterly-job-13] Extracting pkg-1.6.1: .......... done Message from pkg-1.6.1: If you are upgrading from the old package format, first run: # pkg2ng ===> riak2-2.1.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of riak2-2.1.1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by riak2-2.1.1 for building =========================================================================== =================================================== ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by riak2-2.1.1 for building => SHA256 Checksum OK for riak-2.1.1.tar.gz. => SHA256 Checksum OK for solr-4.7.0-yz-1.tgz. => SHA256 Checksum OK for yokozuna-1.jar. => SHA256 Checksum OK for yz_monitor-1.jar. =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by riak2-2.1.1 for building ===> Extracting for riak2-2.1.1 => SHA256 Checksum OK for riak-2.1.1.tar.gz. => SHA256 Checksum OK for solr-4.7.0-yz-1.tgz. => SHA256 Checksum OK for yokozuna-1.jar. => SHA256 Checksum OK for yz_monitor-1.jar. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for riak2-2.1.1 ===> Applying FreeBSD patches for riak2-2.1.1 =========================================================================== =================================================== ===> riak2-2.1.1 depends on file: /usr/local/lib/riak-erlang/bin/erlc - not found ===> Installing existing package /packages/All/erlang-riak-16.b.02.txz [101i386-quarterly-job-13] Installing erlang-riak-16.b.02... [101i386-quarterly-job-13] Extracting erlang-riak-16.b.02: .......... done ===> riak2-2.1.1 depends on file: /usr/local/lib/riak-erlang/bin/erlc - found ===> Returning to build of riak2-2.1.1 ===> riak2-2.1.1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.1_2.txz [101i386-quarterly-job-13] Installing gmake-4.1_2... [101i386-quarterly-job-13] `-- Installing indexinfo-0.2.3... [101i386-quarterly-job-13] `-- Extracting indexinfo-0.2.3: .... done [101i386-quarterly-job-13] `-- Installing gettext-runtime-0.19.5.1... [101i386-quarterly-job-13] `-- Extracting gettext-runtime-0.19.5.1: .......... done [101i386-quarterly-job-13] Extracting gmake-4.1_2: .......... done ===> riak2-2.1.1 depends on executable: gmake - found ===> Returning to build of riak2-2.1.1 ===> riak2-2.1.1 depends on executable: gcc48 - not found ===> Installing existing package /packages/All/gcc-4.8.5.txz [101i386-quarterly-job-13] Installing gcc-4.8.5... [101i386-quarterly-job-13] `-- Installing mpc-1.0.3... [101i386-quarterly-job-13] | `-- Installing gmp-5.1.3_2... [101i386-quarterly-job-13] | `-- Extracting gmp-5.1.3_2: .......... done [101i386-quarterly-job-13] | `-- Installing mpfr-3.1.2_2... [101i386-quarterly-job-13] | `-- Extracting mpfr-3.1.2_2: .......... done [101i386-quarterly-job-13] `-- Extracting mpc-1.0.3: ...... done [101i386-quarterly-job-13] `-- Installing binutils-2.25.1... [101i386-quarterly-job-13] `-- Extracting binutils-2.25.1: .......... done [101i386-quarterly-job-13] `-- Installing gcc-ecj-4.5... [101i386-quarterly-job-13] `-- Extracting gcc-ecj-4.5: . done [101i386-quarterly-job-13] Extracting gcc-4.8.5: .......... done Message from gcc-4.8.5: To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc48 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===> riak2-2.1.1 depends on executable: gcc48 - found ===> Returning to build of riak2-2.1.1 ===> riak2-2.1.1 depends on file: /usr/local/bin/as - found =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for riak2-2.1.1 =========================================================================== =================================================== ===> Building for riak2-2.1.1 gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1' gmake[1]: git: Command not found Using rebar.config.lock file to fetch dependencies ./rebar -C rebar.config.lock get-deps WARN: Missing plugins: [rebar_lock_deps_plugin] if (limit.rlim_max < flex::kRlimSizeIsSmall) ^ In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from ./util/thread_tasks.h:33, from util/hot_threads.cc:37: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ In file included from ./util/cache2.h:31:0, from util/options.cc:13: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from util/throttle.cc:28: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ ln -fs libleveldb.so.1.9 libleveldb.so ln -fs libleveldb.so.1.9 libleveldb.so.1 g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/builder.cc -o db/builder.o In file included from ./util/cache2.h:31:0, from ./db/table_cache.h:16, from db/builder.cc:12: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/c.cc -o db/c.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/db_impl.cc -o db/db_impl.o In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from db/db_impl.cc:5: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/db_iter.cc -o db/db_iter.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/dbformat.cc -o db/dbformat.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/filename.cc -o db/filename.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/log_reader.cc -o db/log_reader.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/log_writer.cc -o db/log_writer.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/memtable.cc -o db/memtable.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/repair.cc -o db/repair.o In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from db/repair.cc:28: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/table_cache.cc -o db/table_cache.o In file included from ./util/cache2.h:31:0, from ./db/table_cache.h:16, from db/table_cache.cc:5: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/version_edit.cc -o db/version_edit.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/version_set.cc -o db/version_set.o db/version_set.cc:62:5: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] {10485760, 314572800, 57671680, 3082813440, 200000000, 314572800, false}, ^ In file included from ./util/cache2.h:31:0, from ./db/table_cache.h:16, from db/version_set.cc:13: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/write_batch.cc -o db/write_batch.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/block.cc -o table/block.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/block_builder.cc -o table/block_builder.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/filter_block.cc -o table/filter_block.o table/filter_block.cc: In member function 'bool leveldb::FilterBlockReader::KeyMayMatch(uint64_t, const leveldb::Slice&)': table/filter_block.cc:112:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (start <= limit && limit <= (offset_ - data_)) { ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/format.cc -o table/format.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/iterator.cc -o table/iterator.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/merger.cc -o table/merger.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/table.cc -o table/table.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/table_builder.cc -o table/table_builder.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/two_level_iterator.cc -o table/two_level_iterator.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/arena.cc -o util/arena.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/bloom.cc -o util/bloom.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/bloom2.cc -o util/bloom2.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/cache.cc -o util/cache.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/cache2.cc -o util/cache2.o In file included from ./util/cache2.h:31:0, from util/cache2.cc:17: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/coding.cc -o util/coding.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/comparator.cc -o util/comparator.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/crc32c.cc -o util/crc32c.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/db_list.cc -o util/db_list.o In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from ./util/db_list.h:23, from util/db_list.cc:26: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/env.cc -o util/env.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/env_posix.cc -o util/env_posix.o In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from ./util/db_list.h:23, from util/env_posix.cc:31: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ util/env_posix.cc: In constructor 'leveldb::{anonymous}::PosixEnv::PosixEnv()': util/env_posix.cc:880:19: warning: unused variable 'ts' [-Wunused-variable] struct timespec ts; ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/filter_policy.cc -o util/filter_policy.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/flexcache.cc -o util/flexcache.o In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from ./util/db_list.h:23, from util/flexcache.cc:26: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ util/flexcache.cc: In constructor 'leveldb::FlexCache::FlexCache()': util/flexcache.cc:51:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (limit.rlim_max < flex::kRlimSizeIsSmall) ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/hash.cc -o util/hash.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/histogram.cc -o util/histogram.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/hot_threads.cc -o util/hot_threads.o In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from ./util/thread_tasks.h:33, from util/hot_threads.cc:37: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/logging.cc -o util/logging.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/murmurhash.cc -o util/murmurhash.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/options.cc -o util/options.o In file included from ./util/cache2.h:31:0, from util/options.cc:13: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/perf_count.cc -o util/perf_count.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/status.cc -o util/status.o g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/throttle.cc -o util/throttle.o In file included from ./util/cache2.h:31:0, from ./db/db_impl.h:16, from util/throttle.cc:28: ./util/flexcache.h:35:57: warning: integer overflow in expression [-Woverflow] static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L; // above 2G is lots of ram ^ g++48 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48 -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/system/include -I. -I./include -fno-builtin-memcmp -D_REENTRANT -DOS_FREEBSD -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c port/port_posix.cc -o port/port_posix.o rm -f libleveldb.a /usr/local/bin/ar -rs libleveldb.a db/builder.o db/c.o db/db_impl.o db/db_iter.o db/dbformat.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o db/repair.o db/table_cache.o db/version_edit.o db/version_set.o db/write_batch.o table/block.o table/block_builder.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table.o table/table_builder.o table/two_level_iterator.o util/arena.o util/bloom.o util/bloom2.o util/cache.o util/cache2.o util/coding.o util/comparator.o util/crc32c.o util/db_list.o util/env.o util/env_posix.o util/filter_policy.o util/flexcache.o util/hash.o util/histogram.o util/hot_threads.o util/logging.o util/murmurhash.o util/options.o util/perf_count.o util/status.o util/throttle.o port/port_posix.o /usr/local/bin/ar: creating libleveldb.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/leveldb' Compiled src/eleveldb_bump.erl Compiled src/eleveldb.erl Compiling /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc: In function 'ERL_NIF_TERM parse_init_option(ErlNifEnv*, ERL_NIF_TERM, EleveldbOptions&)': /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc:244:58: error: invalid conversion from 'size_t* {aka unsigned int*}' to 'long unsigned int*' [-fpermissive] if (enif_get_ulong(env, option[1], &memory_sz)) ^ In file included from c_src/eleveldb.h:27:0, from /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc:35: /usr/local/lib/riak-erlang/erts-5.10.3/include/erl_nif_api_funcs.h:43:27: error: initializing argument 3 of 'int enif_get_ulong(ErlNifEnv*, ERL_NIF_TERM, long unsigned int*)' [-fpermissive] ERL_NIF_API_FUNC_DECL(int,enif_get_ulong,(ErlNifEnv*, ERL_NIF_TERM term, unsigned long* ip)); ^ /usr/local/lib/riak-erlang/erts-5.10.3/include/erl_nif.h:178:71: note: in definition of macro 'ERL_NIF_API_FUNC_DECL' # define ERL_NIF_API_FUNC_DECL(RET_TYPE, NAME, ARGS) extern RET_TYPE NAME ARGS ^ /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc: In function 'ERL_NIF_TERM parse_open_option(ErlNifEnv*, ERL_NIF_TERM, leveldb::Options&)': /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc:332:58: error: invalid conversion from 'size_t* {aka unsigned int*}' to 'long unsigned int*' [-fpermissive] if (enif_get_ulong(env, option[1], &memory_sz)) ^ In file included from c_src/eleveldb.h:27:0, from /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc:35: /usr/local/lib/riak-erlang/erts-5.10.3/include/erl_nif_api_funcs.h:43:27: error: initializing argument 3 of 'int enif_get_ulong(ErlNifEnv*, ERL_NIF_TERM, long unsigned int*)' [-fpermissive] ERL_NIF_API_FUNC_DECL(int,enif_get_ulong,(ErlNifEnv*, ERL_NIF_TERM term, unsigned long* ip)); ^ /usr/local/lib/riak-erlang/erts-5.10.3/include/erl_nif.h:178:71: note: in definition of macro 'ERL_NIF_API_FUNC_DECL' # define ERL_NIF_API_FUNC_DECL(RET_TYPE, NAME, ARGS) extern RET_TYPE NAME ARGS ^ /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc: In function 'ERL_NIF_TERM eleveldb::async_open(ErlNifEnv*, int, const ERL_NIF_TERM*)': /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb/c_src/eleveldb.cc:584:25: warning: integer overflow in expression [-Woverflow] if (8*1024*1024*1024L < gCurrentTotalMemory) ^ ERROR: compile failed while processing /wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1/deps/eleveldb: rebar_abort Makefile:22: recipe for target 'compile' failed gmake[1]: *** [compile] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/riak2/work/riak-2.1.1' *** Error code 1 Stop. make: stopped in /usr/ports/databases/riak2