From owner-freebsd-pkg-fallout@freebsd.org Mon Jun 18 03:51:44 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9C5C10155FE for ; Mon, 18 Jun 2018 03:51:44 +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 322C26CA2C for ; Mon, 18 Jun 2018 03:51:44 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E448410155F3; Mon, 18 Jun 2018 03:51:43 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD5B110155EE for ; Mon, 18 Jun 2018 03:51:43 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 610F76CA27 for ; Mon, 18 Jun 2018 03:51:43 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (beefy12.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ef]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 284271ED31 for ; Mon, 18 Jun 2018 03:51:43 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (localhost [127.0.0.1]) by beefy12.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5I3phAp063058 for ; Mon, 18 Jun 2018 03:51:43 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w5I3ph87063055; Mon, 18 Jun 2018 03:51:43 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Mon, 18 Jun 2018 03:51:43 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201806180351.w5I3ph87063055@beefy12.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-amd64-default][databases/dbtool] Failed for dbtool-1.9.1 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 03:51:44 -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: ports@FreeBSD.org Last committer: mat@FreeBSD.org Ident: $FreeBSD: head/databases/dbtool/Makefile 419843 2016-08-08 13:46:50Z mat $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p472509_s335244/logs/dbtool-1.9.1.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p472509_s335244 Log: =>> Building databases/dbtool build started at Mon Jun 18 03:51:20 UTC 2018 port directory: /usr/ports/databases/dbtool package name: dbtool-1.9.1 building for: FreeBSD head-amd64-default-job-04 12.0-CURRENT FreeBSD 12.0-CURRENT 1200069 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/databases/dbtool/Makefile 419843 2016-08-08 13:46:50Z mat $ Poudriere version: 3.2.7-1-g7087c444 Host OSVERSION: 1200062 Jail OSVERSION: 1200069 Job Id: 04 !!! Jail is newer than host. (Jail: 1200069, Host: 1200062) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200069 UNAME_v=FreeBSD 12.0-CURRENT 1200069 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.7-1-g7087c444 MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for dbtool-1.9.1: EXAMPLES=on: Build and/or install examples ====> Database backend: you have to select exactly one of them BDB=off: Berkeley DB support GDBM=on: GNU dbm library support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-gdbm --with-gdbm-dir=/usr/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/dbtool/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/dbtool/work HOME=/wrkdirs/usr/ports/databases/dbtool/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/dbtool/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/databases/dbtool/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/dbtool/work HOME=/wrkdirs/usr/ports/databases/dbtool/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/dbtool/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dbtool" EXAMPLESDIR="share/examples/dbtool" DATADIR="share/dbtool" WWWDIR="www/dbtool" ETCDIR="etc/dbtool" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dbtool DOCSDIR=/usr/local/share/doc/dbtool EXAMPLESDIR=/usr/local/share/examples/dbtool WWWDIR=/usr/local/www/dbtool ETCDIR=/usr/local/etc/dbtool --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200069 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> NOTICE: The dbtool port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> dbtool-1.9.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz [head-amd64-default-job-04] Installing pkg-1.10.5_1... [head-amd64-default-job-04] Extracting pkg-1.10.5_1: .......... done ===> dbtool-1.9.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dbtool-1.9.1 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The dbtool port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dbtool-1.9.1 for building checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert amd64-portbld-freebsd12.0 file names to amd64-portbld-freebsd12.0 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd12.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd12.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd12.0 ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking checking /usr/local/include/gdbm.h presence... yes checking for pkg-config... no checking for GDBM... no checking for gdbm_open in -lgdbm... yes checking for pcre_compile in -lpcre... yes checking for getopt... (cached) yes checking for fdopen... yes checking for fgetc... yes checking for getenv... (cached) yes checking for getpass... yes checking for an ANSI C-conforming const... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating platform.h config.status: executing depfiles commands config.status: executing libtool commands Build configured for dbtool 1.9.1: CXX: c++ CXXFLAGS: -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include LDFLAGS: -L/usr/local/lib -L/usr/local/lib -fstack-protector -L/usr/local/lib LIBS: -lpcre -lgdbm -lgdbm debug: yes static build: no prefix: /usr/local libdir: ${exec_prefix}/lib includedir: ${prefix}/include target platform: amd64-portbld-freebsd12.0 db backend: GDBM Type 'make' to build, 'make install' to install. =========================================================================== =================================================== ===> Building for dbtool-1.9.1 gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/dbtool/work/dbtool-1.9.1' gmake all-am gmake[2]: Entering directory '/wrkdirs/usr/ports/databases/dbtool/work/dbtool-1.9.1' c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT cipher.o -MD -MP -MF .deps/cipher.Tpo -c -o cipher.o cipher.cc mv -f .deps/cipher.Tpo .deps/cipher.Po c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.cc In file included from config.cc:50: ./dbtool.h:51:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. mv -f .deps/config.Tpo .deps/config.Po c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT dbtool.o -MD -MP -MF .deps/dbtool.Tpo -c -o dbtool.o dbtool.cc In file included from dbtool.cc:48: ./dbtool.h:51:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. mv -f .deps/dbtool.Tpo .deps/dbtool.Po c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT digest.o -MD -MP -MF .deps/digest.Tpo -c -o digest.o digest.cc mv -f .deps/digest.Tpo .deps/digest.Po c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -MT engine.o -MD -MP -MF .deps/engine.Tpo -c -o engine.o engine.cc In file included from engine.cc:50: ./dbtool.h:51:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ engine.cc:327:43: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum d_key = {(char *)key.c_str(), key.length()}; ^~~~~~~~~~~~ engine.cc:327:43: note: insert an explicit cast to silence this issue datum d_key = {(char *)key.c_str(), key.length()}; ^~~~~~~~~~~~ static_cast( ) engine.cc:328:47: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum d_value = {(char *)value.c_str(), value.length()}; ^~~~~~~~~~~~~~ engine.cc:328:47: note: insert an explicit cast to silence this issue datum d_value = {(char *)value.c_str(), value.length()}; ^~~~~~~~~~~~~~ static_cast( ) engine.cc:408:46: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ engine.cc:408:46: note: insert an explicit cast to silence this issue datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ static_cast( ) engine.cc:409:43: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum value = {(char *)__value.c_str(), __value.length()}; ^~~~~~~~~~~~~~~~ engine.cc:409:43: note: insert an explicit cast to silence this issue datum value = {(char *)__value.c_str(), __value.length()}; ^~~~~~~~~~~~~~~~ static_cast( ) engine.cc:468:46: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ engine.cc:468:46: note: insert an explicit cast to silence this issue datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ static_cast( ) engine.cc:469:43: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum value = {(char *)__value.c_str(), __value.length()}; ^~~~~~~~~~~~~~~~ engine.cc:469:43: note: insert an explicit cast to silence this issue datum value = {(char *)__value.c_str(), __value.length()}; ^~~~~~~~~~~~~~~~ static_cast( ) engine.cc:539:46: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ engine.cc:539:46: note: insert an explicit cast to silence this issue datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ static_cast( ) engine.cc:582:46: error: non-constant-expression cannot be narrowed from type 'std::__1::basic_string, std::__1::allocator >::size_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ engine.cc:582:46: note: insert an explicit cast to silence this issue datum key = {(char *)config.key.c_str(), config.key.length()}; ^~~~~~~~~~~~~~~~~~~ static_cast( ) 1 warning and 8 errors generated. gmake[2]: *** [Makefile:405: engine.o] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/dbtool/work/dbtool-1.9.1' gmake[1]: *** [Makefile:288: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/dbtool/work/dbtool-1.9.1' *** Error code 1 Stop. make: stopped in /usr/ports/databases/dbtool