From owner-freebsd-pkg-fallout@freebsd.org Sun Mar 11 07:21:55 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 0D3DFF348B7 for ; Sun, 11 Mar 2018 07:21:55 +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 716967D5C7 for ; Sun, 11 Mar 2018 07:21:54 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 32D2AF348B6; Sun, 11 Mar 2018 07:21:54 +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 EE67EF348B2 for ; Sun, 11 Mar 2018 07:21:53 +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 A10947D5C2; Sun, 11 Mar 2018 07:21:53 +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 9BC8D1A2F4; Sun, 11 Mar 2018 07:21:53 +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 w2B7LrJg012954; Sun, 11 Mar 2018 07:21:53 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy11.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w2B7LrQs012953; Sun, 11 Mar 2018 07:21:53 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 11 Mar 2018 07:21:53 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201803110721.w2B7LrQs012953@beefy11.nyi.freebsd.org> To: demon@FreeBSD.org Subject: [package - head-i386-default][devel/uatraits] Failed for uatraits-20130430_9 in build Cc: pkg-fallout@FreeBSD.org 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: Sun, 11 Mar 2018 07:21:55 -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: mat@FreeBSD.org Ident: $FreeBSD: head/devel/uatraits/Makefile 461885 2018-02-15 12:34:49Z mat $ Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p464039_s330525/logs/uatraits-20130430_9.log Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p464039_s330525 Log: =>> Building devel/uatraits build started at Sun Mar 11 07:20:26 UTC 2018 port directory: /usr/ports/devel/uatraits package name: uatraits-20130430_9 building for: FreeBSD head-i386-default-job-09 12.0-CURRENT FreeBSD 12.0-CURRENT 1200060 i386 maintained by: demon@FreeBSD.org Makefile ident: $FreeBSD: head/devel/uatraits/Makefile 461885 2018-02-15 12:34:49Z mat $ Poudriere version: 3.2.5-2-gf06fe9cf Host OSVERSION: 1200054 Jail OSVERSION: 1200060 Job Id: 09 !!! Jail is newer than host. (Jail: 1200060, Host: 1200054) !!! !!! 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=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.5-2-gf06fe9cf 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 LIBDIR="/usr/lib" 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 #### /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: i386-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: 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" 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=i386 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) 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_9 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz [head-i386-default-job-09] Installing pkg-1.10.5... [head-i386-default-job-09] Extracting pkg-1.10.5: .......... done ===> uatraits-20130430_9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of uatraits-20130430_9 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by uatraits-20130430_9 for building =========================================================================== =================================================== ===> Fetching all distfiles required by uatraits-20130430_9 for building => SHA256 Checksum OK for uatraits-20130430.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by uatraits-20130430_9 for building ===> Extracting for uatraits-20130430_9 => SHA256 Checksum OK for uatraits-20130430.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for uatraits-20130430_9 ===> Applying FreeBSD patches for uatraits-20130430_9 =========================================================================== =================================================== ===> uatraits-20130430_9 depends on executable: autoconf-2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_1.txz [head-i386-default-job-09] Installing autoconf-2.69_1... [head-i386-default-job-09] `-- Installing autoconf-wrapper-20131203... [head-i386-default-job-09] `-- Extracting autoconf-wrapper-20131203: .......... done [head-i386-default-job-09] `-- Installing indexinfo-0.3.1... [head-i386-default-job-09] `-- Extracting indexinfo-0.3.1: .... done [head-i386-default-job-09] `-- Installing m4-1.4.18,1... [head-i386-default-job-09] `-- Extracting m4-1.4.18,1: .......... done [head-i386-default-job-09] `-- Installing perl5-5.24.3... [head-i386-default-job-09] `-- Extracting perl5-5.24.3: .......... done [head-i386-default-job-09] Extracting autoconf-2.69_1: .......... done Message from perl5-5.24.3: The /usr/bin/perl symlink has been removed starting with Perl 5.20. 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_python... boost_python 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_9 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