From owner-freebsd-pkg-fallout@freebsd.org Mon Jul 9 00:01:48 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 488761046C95 for ; Mon, 9 Jul 2018 00:01:48 +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 C1FD974223 for ; Mon, 9 Jul 2018 00:01:47 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 80E021046C94; Mon, 9 Jul 2018 00:01:47 +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 49E441046C93 for ; Mon, 9 Jul 2018 00:01:47 +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 EFB5774220; Mon, 9 Jul 2018 00:01:46 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy11.nyi.freebsd.org (beefy11.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ee]) (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 D1A575683; Mon, 9 Jul 2018 00:01:46 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy11.nyi.freebsd.org (localhost [127.0.0.1]) by beefy11.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6901kww049987; Mon, 9 Jul 2018 00:01:46 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy11.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w6901kad049973; Mon, 9 Jul 2018 00:01:46 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Mon, 9 Jul 2018 00:01:46 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201807090001.w6901kad049973@beefy11.nyi.freebsd.org> To: demon@FreeBSD.org Subject: [package - head-i386-default][devel/uatraits] Failed for uatraits-20130430_10 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2018 00:01:48 -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: demon@FreeBSD.org Last committer: linimon@FreeBSD.org Ident: $FreeBSD: head/devel/uatraits/Makefile 472670 2018-06-18 03:49:09Z linimon $ Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p474051_s336054/logs/uatraits-20130430_10.log Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p474051_s336054 Log: =>> Building devel/uatraits build started at Mon Jul 9 00:00:15 UTC 2018 port directory: /usr/ports/devel/uatraits package name: uatraits-20130430_10 building for: FreeBSD head-i386-default-job-12 12.0-CURRENT FreeBSD 12.0-CURRENT 1200072 i386 maintained by: demon@FreeBSD.org Makefile ident: $FreeBSD: head/devel/uatraits/Makefile 472670 2018-06-18 03:49:09Z linimon $ Poudriere version: 3.2.7-1-g7087c444 Host OSVERSION: 1200062 Jail OSVERSION: 1200072 Job Id: 12 !!! Jail is newer than host. (Jail: 1200072, Host: 1200062) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1200072 UNAME_v=FreeBSD 12.0-CURRENT 1200072 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-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-i386-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--- ---End OPTIONS List--- --MAINTAINER-- demon@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-boost-prefix=/usr/local --with-pcre-prefix=/usr/local --enable-python --disable-perl --disable-tests --disable-java --disable-nodejs --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- crypto_CFLAGS="-I/usr/include" crypto_LIBS="-L/usr/lib -lcrypto" PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/uatraits/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/uatraits/work HOME=/wrkdirs/usr/ports/devel/uatraits/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/uatraits/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-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/uatraits/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/uatraits/work HOME=/wrkdirs/usr/ports/devel/uatraits/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/uatraits/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=" -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="" PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=freebsd12 PYTHON_PYOEXTENSION=pyo PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_SUFFIX=27 PYTHON_VER=2.7 PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/uatraits" EXAMPLESDIR="share/examples/uatraits" DATADIR="share/uatraits" WWWDIR="www/uatraits" ETCDIR="etc/uatraits" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/uatraits DOCSDIR=/usr/local/share/doc/uatraits EXAMPLESDIR=/usr/local/share/examples/uatraits WWWDIR=/usr/local/www/uatraits ETCDIR=/usr/local/etc/uatraits --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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-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" "-m" "elf_i386_fbsd" "-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.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200072 PYTHONBASE=/usr/local 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) 524288 stack size (kbytes, -s) 65536 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-- =================================================== =========================================================================== =================================================== ===> uatraits-20130430_10 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz [head-i386-default-job-12] Installing pkg-1.10.5_1... [head-i386-default-job-12] Extracting pkg-1.10.5_1: .......... done ===> uatraits-20130430_10 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of uatraits-20130430_10 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by uatraits-20130430_10 for building =========================================================================== =================================================== ===> Fetching all distfiles required by uatraits-20130430_10 for building => SHA256 Checksum OK for uatraits-20130430.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by uatraits-20130430_10 for building ===> Extracting for uatraits-20130430_10 => SHA256 Checksum OK for uatraits-20130430.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for uatraits-20130430_10 ===> Applying FreeBSD patches for uatraits-20130430_10 =========================================================================== =================================================== ===> uatraits-20130430_10 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_1.txz [head-i386-default-job-12] Installing autoconf-2.69_1... 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 how to convert i386-portbld-freebsd12.0 file names to i386-portbld-freebsd12.0 format... func_convert_file_noop checking how to convert i386-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 a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no 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... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes 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 whether to enable maintainer-specific portions of Makefiles... no checking whether C++ compiler accepts -W... yes checking whether C++ compiler accepts -Wall... yes checking whether C++ compiler accepts -Wextra... yes checking whether C++ compiler accepts -Wlint... yes checking whether C++ compiler accepts -fexceptions... yes checking whether C++ compiler accepts -frtti... yes checking whether C++ compiler accepts -ftemplate-depth-128... yes checking for xml2-config... /usr/local/bin/xml2-config checking for libxml - version >= 2.6.29... yes (version 2.9.7) checking pkg-config is at least version 0.9.0... yes checking for crypto... yes checking whether boost is installed in /usr/local... yes checking whether pcre is installed in /usr/local... yes checking link with pcre... yes checking for python version... 2.7 checking for python platform... freebsd12 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7... /usr/local/bin/python2.7 checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/local/include/python2.7 checking for Python library path... -L/usr/local/lib -lpython2.7 checking for Python site-packages path... /usr/local/lib/python2.7/site-packages checking python extra libraries... -ldl -L/usr/local/lib -lintl -lutil checking python extra linking flags... -Wl,--export-dynamic checking consistency of all components of python development environment... yes checking for boost_python27... boost_python27 checking boost/python.hpp usability... yes checking boost/python.hpp presence... yes checking for boost/python.hpp... yes checking linkage with boost::python... yes checking for boost_thread... boost_thread checking boost/thread.hpp usability... yes checking boost/thread.hpp presence... yes checking for boost/thread.hpp... yes checking boost/thread/mutex.hpp usability... yes checking boost/thread/mutex.hpp presence... yes checking for boost/thread/mutex.hpp... yes checking boost/thread/condition.hpp usability... yes checking boost/thread/condition.hpp presence... yes checking for boost/thread/condition.hpp... yes checking linkage with boost::thread... no checking for boost_unit_test_framework... boost_unit_test_framework checking boost/test/unit_test.hpp usability... yes checking boost/test/unit_test.hpp presence... yes checking for boost/test/unit_test.hpp... yes checking boost/test/test_case_template.hpp usability... yes checking boost/test/test_case_template.hpp presence... yes checking for boost/test/test_case_template.hpp... yes checking linkage with boost::test... no configure: python binding enabled configure: perl binding disabled configure: java binding disabled configure: nodejs binding disabled checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/uatraits/Makefile config.status: creating library/Makefile config.status: creating utils/Makefile config.status: creating data/Makefile config.status: creating perl/Makefile.PL config.status: creating python/Makefile config.status: creating tests/Makefile config.status: creating java/Makefile config.status: creating nodejs/Makefile config.status: creating config/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing config/acsetup.hpp commands config.status: creating config/acsetup.hpp - prefix UATRAITS for config/config.h defines =========================================================================== =================================================== ===> Building for uatraits-20130430_10 Making all in include Making all in uatraits Making all in library /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../config -I../include -I/config -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -pthread -I/usr/include -pthread -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -Wextra -Wlint -fexceptions -frtti -ftemplate-depth-128 -MT detector.lo -MD -MP -MF .deps/detector.Tpo -c -o detector.lo detector.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../config -I../include -I/config -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include -pthread -I/usr/include -pthread -O2 -pipe -fstack-protector -fno-strict-aliasing -W -Wall -Wextra -Wlint -fexceptions -frtti -ftemplate-depth-128 -MT detector.lo -MD -MP -MF .deps/detector.Tpo -c detector.cpp -fPIC -DPIC -o .libs/detector.o warning: unknown warning option '-Wlint' [-Wunknown-warning-option] In file included from detector.cpp:5: In file included from ../include/uatraits/details/detector_impl.hpp:37: In file included from ../include/uatraits/details/regex_definition.hpp:30: ./include/uatraits/details/regex_utils.hpp:67:24: error: non-constant-expression cannot be narrowed from type 'decltype(__x.base() - __y.base())' (aka 'int') to 'std::size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~ ./include/uatraits/details/regex_utils.hpp:67:24: note: insert an explicit cast to silence this issue regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~ static_cast( ) ./include/uatraits/details/regex_utils.hpp:67:35: error: non-constant-expression cannot be narrowed from type 'decltype(__x.base() - __y.base())' (aka 'int') to 'std::size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~~~ ./include/uatraits/details/regex_utils.hpp:67:35: note: insert an explicit cast to silence this issue regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~~~ static_cast( ) ./include/uatraits/details/regex_utils.hpp:67:24: error: non-constant-expression cannot be narrowed from type 'decltype(__x.base() - __y.base())' (aka 'int') to 'std::size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~ ./include/uatraits/details/regex_definition.hpp:68:28: note: in instantiation of function template specialization 'uatraits::details::find_replaces > >' requested here std::size_t max_replace = find_replaces(replace_pattern_, replaces_); ^ ./include/uatraits/details/detector_impl.hpp:312:48: note: in instantiation of member function 'uatraits::details::regex_definition, std::__1::basic_string, std::__1::less >, std::__1::allocator, std::__1::basic_string > > > >::regex_definition' requested here parent->add(shared_ptr(new regex_definition(name, (char const*) path.get(), xml_node_text(*i), value))); ^ ./include/uatraits/details/detector_impl.hpp:286:10: note: in instantiation of member function 'uatraits::details::detector_impl, std::__1::basic_string, std::__1::less >, std::__1::allocator, std::__1::basic_string > > > >::parse_complex_definition' requested here return parse_complex_definition(name, (char const*) path.get(), node); ^ ./include/uatraits/details/detector_impl.hpp:272:27: note: in instantiation of member function 'uatraits::details::detector_impl, std::__1::basic_string, std::__1::less >, std::__1::allocator, std::__1::basic_string > > > >::parse_definition' requested here result->add_definition(parse_definition(n)); ^ ./include/uatraits/details/detector_impl.hpp:206:20: note: in instantiation of member function 'uatraits::details::detector_impl, std::__1::basic_string, std::__1::less >, std::__1::allocator, std::__1::basic_string > > > >::parse_branch' requested here root_->add_child(parse_branch(*i)); ^ ./include/uatraits/details/detector_impl.hpp:92:2: note: in instantiation of member function 'uatraits::details::detector_impl, std::__1::basic_string, std::__1::less >, std::__1::allocator, std::__1::basic_string > > > >::parse' requested here parse(doc); ^ detector.cpp:14:18: note: in instantiation of member function 'uatraits::details::detector_impl, std::__1::basic_string, std::__1::less >, std::__1::allocator, std::__1::basic_string > > > >::detector_impl' requested here impl_.reset(new impl_type(doc.get())); ^ ./include/uatraits/details/regex_utils.hpp:67:24: note: insert an explicit cast to silence this issue regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~ static_cast( ) ./include/uatraits/details/regex_utils.hpp:67:35: error: non-constant-expression cannot be narrowed from type 'decltype(__x.base() - __y.base())' (aka 'int') to 'std::size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~~~ ./include/uatraits/details/regex_utils.hpp:67:35: note: insert an explicit cast to silence this issue regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~~~ static_cast( ) 1 warning and 4 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/devel/uatraits/work/uatraits-20130430/library *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/devel/uatraits/work/uatraits-20130430 *** Error code 1 Stop. make: stopped in /usr/ports/devel/uatraits