[package - head-i386-default][databases/leofs] Failed for leofs-1.2.10 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Tue May 26 10:34:00 UTC 2015


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 at FreeBSD.org
Last committer: trociny at FreeBSD.org
Ident:          $FreeBSD: head/databases/leofs/Makefile 387248 2015-05-24 07:16:54Z trociny $
Log URL:        http://beefy3.nyi.freebsd.org/data/head-i386-default/p387393_s283537/logs/leofs-1.2.10.log
Build URL:      http://beefy3.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p387393_s283537
Log:

====>> Building databases/leofs
build started at Tue May 26 10:31:11 UTC 2015
port directory: /usr/ports/databases/leofs
building for: FreeBSD head-i386-default-job-07 11.0-CURRENT FreeBSD 11.0-CURRENT r283537 i386
maintained by: trociny at FreeBSD.org
Makefile ident:      $FreeBSD: head/databases/leofs/Makefile 387248 2015-05-24 07:16:54Z trociny $
Poudriere version: 3.1.6
Host OSVERSION: 1100070
Jail OSVERSION: 1100074




!!! Jail is newer than host. (Jail: 1100074, 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=1100074
UNAME_v=FreeBSD 11.0-CURRENT r283537
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.6
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.2.txz
[head-i386-default-job-07] Installing pkg-1.5.2...
[head-i386-default-job-07] Extracting pkg-1.5.2... done
Message for pkg-1.5.2:
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
=> leofs-1.2.10.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leofs-1.2.10.tar.gz
leofs-1.2.10.tar.gz                                      0  B    0  Bps
=> leo_gateway-1.2.10.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_gateway-1.2.10.tar.gz
leo_gateway-1.2.10.tar.gz                                0  B    0  Bps
=> leo_manager-1.2.10.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_manager-1.2.10.tar.gz
leo_manager-1.2.10.tar.gz                                0  B    0  Bps
=> leo_storage-1.2.10.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_storage-1.2.10.tar.gz
leo_storage-1.2.10.tar.gz                                0  B    0  Bps
=> bitcask-2.0.0.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/bitcask-2.0.0.tar.gz
bitcask-2.0.0.tar.gz                                     0  B    0  Bps
=> cuttlefish-2.0.1.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/cuttlefish-2.0.1.tar.gz
cuttlefish-2.0.1.tar.gz                                  0  B    0  Bps
=> eleveldb-2.1.0.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/eleveldb-2.1.0.tar.gz
eleveldb-2.1.0.tar.gz                                    0  B    0  Bps
=> leveldb-2.0.0.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leveldb-2.0.0.tar.gz
leveldb-2.0.0.tar.gz                                     0  B    0  Bps
=> elarm-d237636.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/elarm-d237636.tar.gz
elarm-d237636.tar.gz                                     0  B    0  Bps
=> leo_backend_db-1.1.8.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_backend_db-1.1.8.tar.gz
leo_backend_db-1.1.8.tar.gz                              0  B    0  Bps
=> leo_mq-1.3.9.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_mq-1.3.9.tar.gz
leo_mq-1.3.9.tar.gz                                      0  B    0  Bps
=> leo_object_storage-1.2.7.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_object_storage-1.2.7.tar.gz
leo_object_storage-1.2.7.tar.gz                          0  B    0  Bps
=> leo_redundant_manager-1.9.13.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_redundant_manager-1.9.13.tar.gz
leo_redundant_manager-1.9.13.tar.gz                      0  B    0  Bps
=> leo_statistics-1.1.4.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_statistics-1.1.4.tar.gz
leo_statistics-1.1.4.tar.gz                              0  B    0  Bps
=> leo_watchdog-0.8.0.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/leo_watchdog-0.8.0.tar.gz
leo_watchdog-0.8.0.tar.gz                                0  B    0  Bps
=> savanna_agent-0.4.7.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/savanna_agent-0.4.7.tar.gz
savanna_agent-0.4.7.tar.gz                               0  B    0  Bps
=> savanna_commons-0.8.10.tar.gz doesn't seem to exist in /portdistfiles/leofs.
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/leofs/savanna_commons-0.8.10.tar.gz
savanna_commons-0.8.10.tar.gz                            0  B    0  Bps
===> 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/leofs-1.2.10.tar.gz.
=> SHA256 Checksum OK for leofs/leo_gateway-1.2.10.tar.gz.
=> SHA256 Checksum OK for leofs/leo_manager-1.2.10.tar.gz.
=> SHA256 Checksum OK for leofs/leo_storage-1.2.10.tar.gz.
=> SHA256 Checksum OK for leofs/goldrush-0.1.6.tar.gz.
=> SHA256 Checksum OK for leofs/bitcask-2.0.0.tar.gz.
=> SHA256 Checksum OK for leofs/cuttlefish-2.0.1.tar.gz.
=> SHA256 Checksum OK for leofs/eleveldb-2.1.0.tar.gz.
=> SHA256 Checksum OK for leofs/lager-2.0.3.tar.gz.
=> SHA256 Checksum OK for leofs/leveldb-2.0.0.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:188: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:27: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:188: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:27: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:27: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:27: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:27: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:27: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:27: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:188: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:27: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:27: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:27: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:188: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:27: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:27: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:27: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:27: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


More information about the freebsd-pkg-fallout mailing list