Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2015 19:58:10 GMT
From:      pkg-fallout@FreeBSD.org
To:        trociny@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][databases/leofs] Failed for leofs-1.2.10 in build
Message-ID:  <201506091958.t59JwAFJ081468@beefy3.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     trociny@FreeBSD.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/databases/leofs/Makefile 387916 2015-05-30 08:15:27Z mat $
Log URL:        http://beefy3.nyi.freebsd.org/data/head-i386-default/p388844_s284157/logs/leofs-1.2.10.log
Build URL:      http://beefy3.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p388844_s284157
Log:

====>> Building databases/leofs
build started at Tue Jun  9 19:55:23 UTC 2015
port directory: /usr/ports/databases/leofs
building for: FreeBSD head-i386-default-job-16 11.0-CURRENT FreeBSD 11.0-CURRENT r284157 i386
maintained by: trociny@FreeBSD.org
Makefile ident:      $FreeBSD: head/databases/leofs/Makefile 387916 2015-05-30 08:15:27Z mat $
Poudriere version: 3.1.7
Host OSVERSION: 1100070
Jail OSVERSION: 1100076




!!! Jail is newer than host. (Jail: 1100076, Host: 1100070) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
UNAME_p=i386
UNAME_m=i386
OSVERSION=1100076
UNAME_v=FreeBSD 11.0-CURRENT r284157
UNAME_r=11.0-CURRENT
LC_COLLATE=C
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=leofs-1.2.10
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.7
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 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/databases/leofs/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/leofs/work  HOME=/wrkdirs/usr/ports/databases/leofs/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
PATH=/usr/local/lib/erlang17/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin XDG_DATA_HOME=/wrkdirs/usr/ports/databases/leofs/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/leofs/work  HOME=/wrkdirs/usr/ports/databases/leofs/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  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--
LEOFS_USER=leofs
LEOFS_GROUP=leofs
LEOFS_DBDIR=/var/db/leofs
LEOFS_LOGDIR=/var/log/leofs
LEOFS_RUNDIR=/var/run/leofs
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/leofs"
EXAMPLESDIR="share/examples/leofs"
DATADIR="share/leofs"
WWWDIR="www/leofs"
ETCDIR="etc/leofs"
--End PLIST_SUB--

--SUB_LIST--
LEOFS_USER=leofs
LEOFS_GROUP=leofs
LEOFS_ETCDIR=/usr/local/etc/leofs
LEOFS_BASEDIR=/usr/local/lib/leofs
LEOFS_DBDIR=/var/db/leofs
LEOFS_LOGDIR=/var/log/leofs
LEOFS_RUNDIR=/var/run/leofs
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/leofs
DOCSDIR=/usr/local/share/doc/leofs
EXAMPLESDIR=/usr/local/share/examples/leofs
WWWDIR=/usr/local/www/leofs
ETCDIR=/usr/local/etc/leofs
--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 ####
MASTER_SITE_FREEBSD=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   leofs-1.2.10 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.5.3.txz
[head-i386-default-job-16] Installing pkg-1.5.3...
[head-i386-default-job-16] Extracting pkg-1.5.3... done
Message for pkg-1.5.3:
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of leofs-1.2.10
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by leofs-1.2.10 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by leofs-1.2.10 for building
=> SHA256 Checksum OK for leofs/leo-project-leofs-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_gateway-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_manager-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_storage-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/DeadZen-goldrush-0.1.6_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-bitcask-2.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-cuttlefish-2.0.1_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-eleveldb-2.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-lager-2.0.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-leveldb-2.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/davisp-jiffy-0.13.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/eproxus-meck-0.8.2_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/extend-cowlib-1.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/extend-ranch-1.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/ferd-recon-2.2.1_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/jcomellas-getopt-v0.4.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-bear-0.8.2-for-leofs_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-elarm-d237636_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-erlang-lz4-0.2.2_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-erpcgen-0.2.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-folsom-0.8.2-for-leofs_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_backend_db-1.1.8_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_cache-0.6.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_commons-1.1.1_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_dcerl-0.2.12_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_logger-1.1.5_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_mcerl-0.4.1_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_mq-1.3.9_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_object_storage-1.2.7_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_ordning_reda-1.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_pod-0.6.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_redundant_manager-1.9.13_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_rpc-0.10.1_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_s3_libs-1.1.7_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_statistics-1.1.4_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_watchdog-0.8.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-libcutil-0.4.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-nfs_rpc_server-0.2.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-savanna_agent-0.4.7_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-savanna_commons-0.8.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/manopapad-proper-7d535ac_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/ninenines-cowboy-1.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/project-fifo-fifo_utils-0.1.8_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/seancribbs-neotoma-1.7.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by leofs-1.2.10 for building
===>  Extracting for leofs-1.2.10
=> SHA256 Checksum OK for leofs/leo-project-leofs-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_gateway-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_manager-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/leo-project-leo_storage-1.2.10_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/DeadZen-goldrush-0.1.6_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-bitcask-2.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-cuttlefish-2.0.1_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-eleveldb-2.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-lager-2.0.3_GH0.tar.gz.
=> SHA256 Checksum OK for leofs/basho-leveldb-2.0.0_GH0.tar.gz.
<snip>
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
In file included from util/env.cc:5:
./include/leveldb/env.h:190:41: warning: struct 'Options' was previously declared as a class [-Wmismatched-tags]
  virtual size_t RecoveryMmapSize(const struct Options *) const {return(2*1024*1024L);};
                                        ^
./include/leveldb/env.h:29:7: note: previous use is here
class Options;
      ^
1 warning generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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/env_posix.cc:26:
./include/leveldb/env.h:190:41: warning: struct 'Options' was previously declared as a class [-Wmismatched-tags]
  virtual size_t RecoveryMmapSize(const struct Options *) const {return(2*1024*1024L);};
                                        ^
./include/leveldb/env.h:29:7: note: previous use is here
class Options;
      ^
In file included from util/env_posix.cc:31:
In file included from ./util/db_list.h:23:
In file included from ./db/db_impl.h:10:
In file included from ./db/dbformat.h:10:
In file included from ./include/leveldb/db.h:11:
./include/leveldb/options.h:37:1: warning: 'Options' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Options {
^
./include/leveldb/env.h:29:1: note: did you mean struct here?
class Options;
^~~~~
struct
In file included from util/env_posix.cc:31:
In file included from ./util/db_list.h:23:
In file included from ./db/db_impl.h:16:
In file included from ./util/cache2.h:31:
./util/flexcache.h:35:56: warning: overflow in expression; result is -2147483648 with type 'long' [-Winteger-overflow]
   static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L;  // above 2G is lots of ram
                                                       ^
util/env_posix.cc:880:19: warning: unused variable 'ts' [-Wunused-variable]
  struct timespec ts;
                  ^
util/env_posix.cc:857:8: warning: function 'leveldb::(anonymous namespace)::PosixEnv::BGThread' has internal linkage but is not defined [-Wundefined-internal]
  void BGThread();
       ^
util/env_posix.cc:859:39: note: used here
    reinterpret_cast<PosixEnv*>(arg)->BGThread();
                                      ^
5 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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/flexcache.cc:26:
In file included from ./util/db_list.h:23:
In file included from ./db/db_impl.h:11:
In file included from ./db/log_writer.h:12:
./include/leveldb/env.h:29:1: warning: class 'Options' was previously declared as a struct [-Wmismatched-tags]
class Options;
^
./include/leveldb/options.h:37:8: note: previous use is here
struct Options {
       ^
./include/leveldb/env.h:29:1: note: did you mean struct here?
class Options;
^~~~~
struct
In file included from util/flexcache.cc:26:
In file included from ./util/db_list.h:23:
In file included from ./db/db_impl.h:16:
In file included from ./util/cache2.h:31:
./util/flexcache.h:35:56: warning: overflow in expression; result is -2147483648 with type 'long' [-Winteger-overflow]
   static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L;  // above 2G is lots of ram
                                                       ^
2 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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/hot_threads.cc:37:
In file included from ./util/thread_tasks.h:33:
In file included from ./db/db_impl.h:11:
In file included from ./db/log_writer.h:12:
./include/leveldb/env.h:29:1: warning: class 'Options' was previously declared as a struct [-Wmismatched-tags]
class Options;
^
./include/leveldb/options.h:37:8: note: previous use is here
struct Options {
       ^
./include/leveldb/env.h:29:1: note: did you mean struct here?
class Options;
^~~~~
struct
In file included from util/hot_threads.cc:37:
In file included from ./util/thread_tasks.h:33:
In file included from ./db/db_impl.h:16:
In file included from ./util/cache2.h:31:
./util/flexcache.h:35:56: warning: overflow in expression; result is -2147483648 with type 'long' [-Winteger-overflow]
   static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L;  // above 2G is lots of ram
                                                       ^
2 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
In file included from util/logging.cc:11:
./include/leveldb/env.h:190:41: warning: struct 'Options' was previously declared as a class [-Wmismatched-tags]
  virtual size_t RecoveryMmapSize(const struct Options *) const {return(2*1024*1024L);};
                                        ^
./include/leveldb/env.h:29:7: note: previous use is here
class Options;
      ^
1 warning generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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/options.cc:11:
./include/leveldb/env.h:29:1: warning: class 'Options' was previously declared as a struct [-Wmismatched-tags]
class Options;
^
./include/leveldb/options.h:37:8: note: previous use is here
struct Options {
       ^
./include/leveldb/env.h:29:1: note: did you mean struct here?
class Options;
^~~~~
struct
In file included from util/options.cc:13:
In file included from ./util/cache2.h:31:
./util/flexcache.h:35:56: warning: overflow in expression; result is -2147483648 with type 'long' [-Winteger-overflow]
   static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L;  // above 2G is lots of ram
                                                       ^
2 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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/throttle.cc:26:
./include/leveldb/env.h:190:41: warning: struct 'Options' was previously declared as a class [-Wmismatched-tags]
  virtual size_t RecoveryMmapSize(const struct Options *) const {return(2*1024*1024L);};
                                        ^
./include/leveldb/env.h:29:7: note: previous use is here
class Options;
      ^
In file included from util/throttle.cc:28:
In file included from ./db/db_impl.h:10:
In file included from ./db/dbformat.h:10:
In file included from ./include/leveldb/db.h:11:
./include/leveldb/options.h:37:1: warning: 'Options' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Options {
^
./include/leveldb/env.h:29:1: note: did you mean struct here?
class Options;
^~~~~
struct
In file included from util/throttle.cc:28:
In file included from ./db/db_impl.h:16:
In file included from ./util/cache2.h:31:
./util/flexcache.h:35:56: warning: overflow in expression; result is -2147483648 with type 'long' [-Winteger-overflow]
   static const uint64_t kRlimSizeIsSmall = 2*1024*1024*1024L;  // above 2G is lots of ram
                                                       ^
3 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wall -O3 -fPIC -I /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/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
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
ar: warning: creating libleveldb.a
gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/deps/leveldb'
Compiled src/eleveldb_bump.erl
Compiled src/eleveldb.erl
Compiling /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/deps/eleveldb/c_src/eleveldb.cc
In file included from /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/deps/eleveldb/c_src/eleveldb.cc:39:
c_src/leveldb/include/leveldb/env.h:29:1: warning: class 'Options' was previously declared as a struct [-Wmismatched-tags]
class Options;
^
c_src/leveldb/include/leveldb/options.h:37:8: note: previous use is here
struct Options {
       ^
c_src/leveldb/include/leveldb/env.h:29:1: note: did you mean struct here?
class Options;
^~~~~
struct
/wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/deps/eleveldb/c_src/eleveldb.cc:244:17: error: no matching function for call to 'enif_get_ulong'
            if (enif_get_ulong(env, option[1], &memory_sz))
                ^~~~~~~~~~~~~~
/usr/local/lib/erlang17/erts-6.4.1/include/erl_nif_api_funcs.h:43:27: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned int *') to 'unsigned long *' for 3rd argument
ERL_NIF_API_FUNC_DECL(int,enif_get_ulong,(ErlNifEnv*, ERL_NIF_TERM term, unsigned long* ip));
                          ^
/usr/local/lib/erlang17/erts-6.4.1/include/erl_nif.h:232:71: note: expanded from 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/leofs/work/leofs-1.2.10/deps/eleveldb/c_src/eleveldb.cc:332:17: error: no matching function for call to 'enif_get_ulong'
            if (enif_get_ulong(env, option[1], &memory_sz))
                ^~~~~~~~~~~~~~
/usr/local/lib/erlang17/erts-6.4.1/include/erl_nif_api_funcs.h:43:27: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned int *') to 'unsigned long *' for 3rd argument
ERL_NIF_API_FUNC_DECL(int,enif_get_ulong,(ErlNifEnv*, ERL_NIF_TERM term, unsigned long* ip));
                          ^
/usr/local/lib/erlang17/erts-6.4.1/include/erl_nif.h:232:71: note: expanded from 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/leofs/work/leofs-1.2.10/deps/eleveldb/c_src/eleveldb.cc:584:24: warning: overflow in expression; result is 0 with type 'long' [-Winteger-overflow]
        if (8*1024*1024*1024L < gCurrentTotalMemory)
                       ^
2 warnings and 2 errors generated.
ERROR: compile failed while processing /wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10/deps/eleveldb: rebar_abort
Makefile:28: recipe for target 'release' failed
gmake[1]: *** [release] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/leofs/work/leofs-1.2.10'
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/leofs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506091958.t59JwAFJ081468>