Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2015 10:21:39 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][databases/rocksdb] Failed for rocksdb-3.13.1 in build
Message-ID:  <201509061021.t86ALdvm022257@beefy8.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:     sunpoet@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/databases/rocksdb/Makefile 396130 2015-09-04 19:01:32Z sunpoet $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p396164_s287479/logs/rocksdb-3.13.1.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p396164_s287479
Log:

====>> Building databases/rocksdb
build started at Sun Sep  6 10:14:00 UTC 2015
port directory: /usr/ports/databases/rocksdb
building for: FreeBSD head-armv6-default-job-14 11.0-CURRENT FreeBSD 11.0-CURRENT r287479 arm
maintained by: sunpoet@FreeBSD.org
Makefile ident:      $FreeBSD: head/databases/rocksdb/Makefile 396130 2015-09-04 19:01:32Z sunpoet $
Poudriere version: 3.1.7
Host OSVERSION: 1100077
Jail OSVERSION: 1100079




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1100079
UNAME_v=FreeBSD 11.0-CURRENT r287479
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-armv6-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=rocksdb-3.13.1
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
MASTERNAME=head-armv6-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 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/rocksdb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/rocksdb/work  HOME=/wrkdirs/usr/ports/databases/rocksdb/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/rocksdb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/rocksdb/work  HOME=/wrkdirs/usr/ports/databases/rocksdb/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -mfloat-abi=softfp  -I/wrkdirs/usr/ports/databases/rocksdb/work/rocksdb-rocksdb-3.13.1/include -I/usr/local/include -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-DOS_FREEBSD"  LDFLAGS=" -L/usr/local/lib" LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -mfloat-abi=softfp  -I/wrkdirs/usr/ports/databases/rocksdb/work/rocksdb-rocksdb-3.13.1/include -I/usr/local/include -fno-strict-aliasing  -Wno-inconsistent-missing-override -std=c++11"  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--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/rocksdb"
EXAMPLESDIR="share/examples/rocksdb"
DATADIR="share/rocksdb"
WWWDIR="www/rocksdb"
ETCDIR="etc/rocksdb"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/rocksdb
DOCSDIR=/usr/local/share/doc/rocksdb
EXAMPLESDIR=/usr/local/share/examples/rocksdb
WWWDIR=/usr/local/www/rocksdb
ETCDIR=/usr/local/etc/rocksdb
--End SUB_LIST--

---Begin make.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
<snip>
table/cuckoo_table_builder.cc:237:16: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
    (*buckets)[bucket_id].vector_idx = vector_idx;
    ~          ^~~~~~~~~
table/cuckoo_table_builder.cc:296:24: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  unused_bucket.resize(bucket_size, 'a');
  ~~~~~~~~~~~~~        ^~~~~~~~~~~
table/cuckoo_table_builder.cc:321:36: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  unused_bucket.resize(properties_.fixed_key_len);
  ~~~~~~~~~~~~~        ~~~~~~~~~~~~^~~~~~~~~~~~~
table/cuckoo_table_builder.cc:456:16: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
    (*buckets)[bid].make_space_for_key_call_id = make_space_for_key_call_id;
    ~          ^~~
table/cuckoo_table_builder.cc:467:54: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
    CuckooBucket& curr_bucket = (*buckets)[curr_node.bucket_id];
                                ~          ~~~~~~~~~~^~~~~~~~~
table/cuckoo_table_builder.cc:476:24: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
        if ((*buckets)[child_bucket_id].make_space_for_key_call_id ==
            ~          ^~~~~~~~~~~~~~~
table/cuckoo_table_builder.cc:480:20: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
        (*buckets)[child_bucket_id].make_space_for_key_call_id =
        ~          ^~~~~~~~~~~~~~~
table/cuckoo_table_builder.cc:484:24: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
        if ((*buckets)[child_bucket_id].vector_idx == kMaxVectorIdx) {
            ~          ^~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
table/cuckoo_table_reader.cc:126:28: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  status_ = file_->Read(0, file_size, &file_data_, nullptr);
            ~~~~~          ^~~~~~~~~
table/cuckoo_table_reader.cc:250:61: error: implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  sorted_bucket_ids_.reserve(reader_->GetTableProperties()->num_entries);
  ~~~~~~~~~~~~~~~~~~         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
2 errors generated.
table/plain_table_reader.cc:273:25: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  return file_->Read(0, file_size_, &file_data_, nullptr);
         ~~~~~          ^~~~~~~~~~
1 error generated.
util/file_util.cc:51:28: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      s = src_reader->Read(bytes_to_read, &slice, buffer);
          ~~~~~~~~~~       ^~~~~~~~~~~~~
1 error generated.
utilities/backupable/backupable_db.cc:724:57: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
    copy_file_buffer_size_ = options_.backup_rate_limit / 10;
                           ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
utilities/backupable/backupable_db.cc:1028:58: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
    copy_file_buffer_size_ = options_.restore_rate_limit / 10;
                           ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
utilities/backupable/backupable_db.cc:1210:32: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      copy_file_buffer_size_ : size_limit;
                               ^~~~~~~~~~
utilities/backupable/backupable_db.cc:1397:32: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      copy_file_buffer_size_ : size_limit;
                               ^~~~~~~~~~
4 errors generated.
utilities/checkpoint/checkpoint.cc:135:7: error: format specifies type 'long' but the argument has type 'size_type' (aka 'unsigned int') [-Werror,-Wformat]
      live_wal_files.size());
      ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
utilities/document/document_db.cc:1143:47: error: implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  rocksdb_options.write_buffer_size = options.memtable_size;
                                    ~ ~~~~~~~~^~~~~~~~~~~~~
utilities/document/document_db.cc:1146:51: error: implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  table_options.block_cache = NewLRUCache(options.cache_size);
                              ~~~~~~~~~~~ ~~~~~~~~^~~~~~~~~~
2 errors generated.
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:123:10: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
         writer.getOutput()->getSize());
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:136:10: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
         writer.getOutput()->getSize());
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:68:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<(lambda at utilities/document/json_document.cc:69:7), std::__1::placeholders::__ph<1> &, const std::__1::basic_string<char> &> >' requested here
  InitJSONDocument(data, value, std::bind(
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:147:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(), std::__1::placeholders::__ph<1> &> >' requested here
  InitJSONDocument(&data_,
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:153:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(bool), std::__1::placeholders::__ph<1> &, bool &> >' requested here
  InitJSONDocument(&data_,
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:159:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(double), std::__1::placeholders::__ph<1> &, double &> >' requested here
  InitJSONDocument(&data_,
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:165:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(signed char), std::__1::placeholders::__ph<1> &, signed char &> >' requested here
  InitJSONDocument(&data_,
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:171:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(short), std::__1::placeholders::__ph<1> &, short &> >' requested here
  InitJSONDocument(&data_,
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:177:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(int), std::__1::placeholders::__ph<1> &, int &> >' requested here
  InitJSONDocument(&data_,
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:183:3: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(long long), std::__1::placeholders::__ph<1> &, long long &> >' requested here
  InitJSONDocument(&data_,
  ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:221:7: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(bool), std::__1::placeholders::__ph<1> &, bool> >' requested here
      InitJSONDocument(&data_, &value_,
      ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:225:7: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(double), std::__1::placeholders::__ph<1> &, double> >' requested here
      InitJSONDocument(&data_, &value_,
      ^
utilities/document/json_document.cc:56:48: error: implicit conversion loses integer precision: 'streamoff' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  memcpy(buf, writer.getOutput()->getBuffer(), writer.getOutput()->getSize());
  ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/document/json_document.cc:232:7: note: in instantiation of function template specialization '(anonymous namespace)::InitJSONDocument<std::__1::__bind<unsigned int (fbson::FbsonWriterT<fbson::FbsonOutStream>::*)(long long), std::__1::placeholders::__ph<1> &, int> >' requested here
      InitJSONDocument(&data_, &value_,
      ^
14 errors generated.
utilities/spatialdb/spatial_db.cc:356:63: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
    quad_keys.reserve((tile_bbox.max_x - tile_bbox.min_x + 1) *
    ~~~~~~~~~         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
utilities/spatialdb/spatial_db.cc:794:42: error: implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  auto block_cache = NewLRUCache(options.cache_size);
                     ~~~~~~~~~~~ ~~~~~~~~^~~~~~~~~~
utilities/spatialdb/spatial_db.cc:835:42: error: implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
  auto block_cache = NewLRUCache(options.cache_size);
                     ~~~~~~~~~~~ ~~~~~~~~^~~~~~~~~~
3 errors generated.
In file included from util/ldb_cmd.cc:20:
In file included from ./util/sst_dump_tool_imp.h:36:
./util/testutil.h:236:28: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      n = contents_.size() - offset;
        ~ ~~~~~~~~~~~~~~~~~^~~~~~~~
./util/testutil.h:239:34: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      memcpy(scratch, &contents_[offset], n);
                       ~~~~~~~~~ ^~~~~~
./util/testutil.h:242:34: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      *result = Slice(&contents_[offset], n);
                       ~~~~~~~~~ ^~~~~~
3 errors generated.
util/memenv.cc:78:11: error: implicit conversion loses integer precision: 'const uint64_t' (aka 'const unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      n = available;
        ~ ^~~~~~~~~
util/memenv.cc:85:27: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
    size_t block = offset / kBlockSize;
           ~~~~~   ~~~~~~~^~~~~~~~~~~~
util/memenv.cc:190:44: error: implicit conversion loses integer precision: 'unsigned long long' to 'const size_t' (aka 'const unsigned int') [-Werror,-Wshorten-64-to-32]
    const size_t available = file_->Size() - pos_;
                 ~~~~~~~~~   ~~~~~~~~~~~~~~^~~~~~
3 errors generated.
util/options_helper.cc:551:43: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      new_options->db_write_buffer_size = ParseUint64(value);
                                        ~ ^~~~~~~~~~~~~~~~~~
1 error generated.
In file included from util/sst_dump_tool.cc:8:
In file included from ./util/sst_dump_tool_imp.h:36:
./util/testutil.h:236:28: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      n = contents_.size() - offset;
        ~ ~~~~~~~~~~~~~~~~~^~~~~~~~
./util/testutil.h:239:34: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      memcpy(scratch, &contents_[offset], n);
                       ~~~~~~~~~ ^~~~~~
./util/testutil.h:242:34: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]
      *result = Slice(&contents_[offset], n);
                       ~~~~~~~~~ ^~~~~~
util/sst_dump_tool.cc:167:40: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
  fprintf(stdout, "Block Size: %lu\n", block_size);
                               ~~~     ^~~~~~~~~~
                               %zu
4 errors generated.
Makefile:371: recipe for target 'librocksdb.so.3.13.1' failed
gmake[1]: *** [librocksdb.so.3.13.1] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/rocksdb/work/rocksdb-rocksdb-3.13.1'
*** Error code 1

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



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