From owner-freebsd-pkg-fallout@freebsd.org Thu Mar 15 11:32:47 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 C311BF496B5 for ; Thu, 15 Mar 2018 11:32:46 +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 4B81C7C282 for ; Thu, 15 Mar 2018 11:32:46 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0AAEBF496AF; Thu, 15 Mar 2018 11:32:46 +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 B0C3BF496AD for ; Thu, 15 Mar 2018 11:32:45 +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 62E417C281 for ; Thu, 15 Mar 2018 11:32:45 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (thunderx1.nyi.freebsd.org [IPv6:2610:1c1:1:6082::16:fb]) (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 5D18E15978 for ; Thu, 15 Mar 2018 11:32:45 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (localhost [127.0.0.1]) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w2FBWj67063215 for ; Thu, 15 Mar 2018 11:32:45 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w2FBWj1r063210; Thu, 15 Mar 2018 11:32:45 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 15 Mar 2018 11:32:45 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201803151132.w2FBWj1r063210@thunderx1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-arm64-default][databases/dbtool] Failed for dbtool-1.9.1 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 11:32:47 -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://thunderx1.nyi.freebsd.org/data/head-arm64-default/p463867_s330635/logs/dbtool-1.9.1.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p463867_s330635 Log: =>> Building databases/dbtool build started at Thu Mar 15 11:31:34 UTC 2018 port directory: /usr/ports/databases/dbtool package name: dbtool-1.9.1 building for: FreeBSD head-arm64-default-job-08 12.0-CURRENT FreeBSD 12.0-CURRENT 1200060 arm64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/databases/dbtool/Makefile 419843 2016-08-08 13:46:50Z mat $ Poudriere version: 3.2.4-67-gb1dd83c4 Host OSVERSION: 1200060 Jail OSVERSION: 1200060 Job Id: 08 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200060 UNAME_v=FreeBSD 12.0-CURRENT 1200060 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.4-67-gb1dd83c4 MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-arm64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-arm64-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 LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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: aarch64-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: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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" OUTPUT_58173849_921dbbb2=yes OUTPUT_9bdba57c_921dbbb2=yes OUTPUT_6a4fe7f5_921dbbb2=yes OUTPUT_6bcac02b_921dbbb2=yes OUTPUT_67d20829_921dbbb2=yes OUTPUT_bfa62e83_921dbbb2=yes OUTPUT_f0b4d593_921dbbb2=yes OUTPUT_308abb44_921dbbb2=yes OUTPUT_f00456e5_921dbbb2=yes OUTPUT_65ad290d_921dbbb2=yes OUTPUT_b2657cc3_921dbbb2=yes OUTPUT_380987f7_921dbbb2=yes ARCH=aarch64 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200060 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=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) 1048576 stack size (kbytes, -s) 1048576 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.txz [head-arm64-default-job-08] Installing pkg-1.10.5... [head-arm64-default-job-08] Extracting pkg-1.10.5: .......... 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 =========================================================================== =================================================== ===> 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 => SHA256 Checksum OK for dbtool-1.9.1.tar.gz. 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 aarch64-portbld-freebsd12.0 file names to aarch64-portbld-freebsd12.0 format... func_convert_file_noop checking how to convert aarch64-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... no 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... 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 -fno-strict-aliasing -I/usr/local/include LDFLAGS: -L/usr/local/lib -L/usr/local/lib -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: aarch64-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 -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 -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 -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 -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 -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:291:29: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] while((c = fgetc(stream)) != EOF) { ~~~~~~~~~~~~~~~~~~~ ^ ~~~ 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( ) 2 warnings 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