From owner-freebsd-pkg-fallout@freebsd.org Wed Oct 28 20:37:09 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 80C98A208CD for ; Wed, 28 Oct 2015 20:37:09 +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 6A16117F0 for ; Wed, 28 Oct 2015 20:37:09 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6988EA208CC; Wed, 28 Oct 2015 20:37:09 +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 690DDA208CB for ; Wed, 28 Oct 2015 20:37:09 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy8.nyi.freebsd.org (beefy8.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:eb]) (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 2991917EE for ; Wed, 28 Oct 2015 20:37:09 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy8.nyi.freebsd.org (localhost [127.0.0.1]) by beefy8.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9SKb8S0039374 for ; Wed, 28 Oct 2015 20:37:08 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy8.nyi.freebsd.org (8.15.2/8.15.2/Submit) id t9SKb8GJ039373; Wed, 28 Oct 2015 20:37:08 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 28 Oct 2015 20:37:08 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201510282037.t9SKb8GJ039373@beefy8.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][databases/rocksdb] Failed for rocksdb-4.0 in build 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: Wed, 28 Oct 2015 20:37:09 -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: sunpoet@FreeBSD.org Last committer: sunpoet@FreeBSD.org Ident: $FreeBSD: head/databases/rocksdb/Makefile 400269 2015-10-27 15:50:20Z sunpoet $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p400328_s290048/logs/rocksdb-4.0.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p400328_s290048 Log: ====>> Building databases/rocksdb build started at Wed Oct 28 20:28:30 UTC 2015 port directory: /usr/ports/databases/rocksdb building for: FreeBSD head-armv6-default-job-21 11.0-CURRENT FreeBSD 11.0-CURRENT r290048 arm maintained by: sunpoet@FreeBSD.org Makefile ident: $FreeBSD: head/databases/rocksdb/Makefile 400269 2015-10-27 15:50:20Z sunpoet $ Poudriere version: 3.1.9 Host OSVERSION: 1100079 Jail OSVERSION: 1100083 !!! Jail is newer than host. (Jail: 1100083, Host: 1100079) !!! !!! 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=1100083 UNAME_v=FreeBSD 11.0-CURRENT r290048 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-4.0 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.9 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 CMAKE_PREFIX_PATH="/usr/local" 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-- CXX=/nxb-bin/usr/bin/c++ 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 -isystem /usr/local/include -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-DOS_FREEBSD -isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib" LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -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 ~ ^~~~~~~~ table/cuckoo_table_builder.cc:228: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)[hash_val].vector_idx == kMaxVectorIdx) { ~ ^~~~~~~~ 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/env_posix.cc:320:19: error: implicit conversion loses integer precision: 'unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] n = length_ - offset; ~ ~~~~~~~~^~~~~~~~ 1 error generated. util/file_util.cc:55: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. util/file_reader_writer.cc:251:16: error: implicit conversion loses integer precision: 'const unsigned long long' to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] copied = std::min(static_cast(buffer_len_) - offset_in_buffer, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. utilities/backupable/backupable_db.cc:647:30: error: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] copy_file_buffer_size_ = rate_limiter->GetSingleBurstBytes(); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utilities/backupable/backupable_db.cc:945:30: error: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'size_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] copy_file_buffer_size_ = rate_limiter->GetSingleBurstBytes(); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utilities/backupable/backupable_db.cc:1133: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:1320: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/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 &, const std::__1::basic_string &> >' 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::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::*)(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::*)(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::*)(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::*)(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::*)(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::*)(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::*)(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::*)(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::*)(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:26: In file included from ./util/sst_dump_tool_imp.h:36: ./util/testutil.h:238: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:241: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:244: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. In file included from util/sst_dump_tool.cc:8: In file included from ./util/sst_dump_tool_imp.h:36: ./util/testutil.h:238: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:241: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:244: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. Makefile:372: recipe for target 'librocksdb.so.4.0.0' failed gmake[1]: *** [librocksdb.so.4.0.0] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/rocksdb/work/rocksdb-4.0' *** Error code 1 Stop. make: stopped in /usr/ports/databases/rocksdb