From owner-freebsd-pkg-fallout@FreeBSD.ORG Sun Dec 1 01:51:01 2013 Return-Path: Delivered-To: pkg-fallout@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7344CBA for ; Sun, 1 Dec 2013 01:51:01 +0000 (UTC) Received: from beefy2.isc.freebsd.org (beefy2.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:4072:0:16:39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5D4FC17B4 for ; Sun, 1 Dec 2013 01:51:01 +0000 (UTC) Received: from beefy2.isc.freebsd.org (localhost [127.0.0.1]) by beefy2.isc.freebsd.org (8.14.7/8.14.7) with ESMTP id rB11p0vp058568 for ; Sun, 1 Dec 2013 01:51:00 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy2.isc.freebsd.org (8.14.7/8.14.7/Submit) id rB11p0Np058536; Sun, 1 Dec 2013 01:51:00 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 1 Dec 2013 01:51:00 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201312010151.rB11p0Np058536@beefy2.isc.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [REL - head-amd64-default][textproc/diffmark] Failed for diffmark-0.10 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2013 01:51:01 -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: bapt@FreeBSD.org Ident: $FreeBSD: head/textproc/diffmark/Makefile 327773 2013-09-20 23:17:30Z bapt $ Log URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-11-30_09h43m08s/logs/diffmark-0.10.log Build URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-11-30_09h43m08s Log: ====>> Building textproc/diffmark build started at Sun Dec 1 01:50:49 UTC 2013 port directory: /usr/ports/textproc/diffmark building for: FreeBSD head-amd64-default-job-07 11.0-CURRENT FreeBSD 11.0-CURRENT r256430 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/textproc/diffmark/Makefile 327773 2013-09-20 23:17:30Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=1100000 UNAME_v=FreeBSD 11.0-CURRENT r256430 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref PKG_EXT=txz tpid=48886 POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=diffmark-0.10 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-amd64-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-libxml2-incldir=/usr/local/include/libxml2 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" PKG_CONFIG=pkgconf 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-- TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/diffmark DOCSDIR=/usr/local/share/doc/diffmark EXAMPLESDIR=/usr/local/share/examples/diffmark WWWDIR=/usr/local/www/diffmark ETCDIR=/usr/local/etc/diffmark --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for diffmark-0.10 =================================================== =========================================================================== =================================================== ===> diffmark-0.10 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.2.1.txz Installing pkg-1.2.1... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of diffmark-0.10 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by diffmark-0.10 for building =========================================================================== =================================================== ===> Fetching all distfiles required by diffmark-0.10 for building => SHA256 Checksum OK for diffmark-0.10.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by diffmark-0.10 for building ===> Extracting for diffmark-0.10 => SHA256 Checksum OK for diffmark-0.10.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for diffmark-0.10 =========================================================================== =================================================== ===> diffmark-0.10 depends on executable: pkgconf - not found ===> Verifying install for pkgconf in /usr/ports/devel/pkgconf ===> Installing existing package /packages/All/pkgconf-0.9.3.txz Installing pkgconf-0.9.3... done ===> Returning to build of diffmark-0.10 =========================================================================== =================================================== ===> diffmark-0.10 depends on shared library: xml2.5 - not found ===> Verifying install for xml2.5 in /usr/ports/textproc/libxml2 ===> Installing existing package /packages/All/libxml2-2.8.0_3.txz Installing libxml2-2.8.0_3... done ===> Returning to build of diffmark-0.10 =========================================================================== =================================================== ===> Configuring for diffmark-0.10 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/textproc/diffmark/work/diffmark-0.10/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/textproc/diffmark/work/diffmark-0.10/configure configure: WARNING: unrecognized options: --with-libxml2-incldir configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking build system type... amd64-portbld-freebsd11.0 checking host system type... amd64-portbld-freebsd11.0 checking how to print strings... printf checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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 -B checking the name lister (/usr/bin/nm -B) 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-freebsd11.0 file names to amd64-portbld-freebsd11.0 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd11.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 -B 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... freebsd11.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... freebsd11.0 ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking pkg-config is at least version 0.9.0... yes checking for DEPS... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating cmd/Makefile config.status: creating doc/Makefile config.status: creating diffmark.test/Makefile config.status: creating testdata/Makefile config.status: creating testdata/diff/Makefile config.status: creating testdata/merge/Makefile config.status: creating testdata/roundup/Makefile config.status: creating testdata/faildiff/Makefile config.status: creating testdata/failmerge/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --with-libxml2-incldir =========================================================================== =================================================== ===> Building for diffmark-0.10 /usr/bin/make all-recursive Making all in lib /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/local/include/libxml2 -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT compare.lo -MD -MP -MF .deps/compare.Tpo -c -o compare.lo compare.cc libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/local/include/libxml2 -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT compare.lo -MD -MP -MF .deps/compare.Tpo -c compare.cc -fPIC -DPIC -o .libs/compare.o compare.cc:38:13: warning: 16 enumeration values not handled in switch: 'XML_ATTRIBUTE_NODE', 'XML_ENTITY_REF_NODE', 'XML_ENTITY_NODE'... [-Wswitch] switch (m->type) { ^ 1 warning generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/local/include/libxml2 -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT compare.lo -MD -MP -MF .deps/compare.Tpo -c compare.cc -o compare.o >/dev/null 2>&1 mv -f .deps/compare.Tpo .deps/compare.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/local/include/libxml2 -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT diff.lo -MD -MP -MF .deps/diff.Tpo -c -o diff.lo diff.cc libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/local/include/libxml2 -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT diff.lo -MD -MP -MF .deps/diff.Tpo -c diff.cc -fPIC -DPIC -o .libs/diff.o In file included from diff.cc:1: In file included from ./diff.hh:7: In file included from ./lcs.hh:8: In file included from ./lcsimpl.hh:4: /usr/include/c++/v1/map:405:17: error: no matching function for call to object of type 'const std::__1::less' {return static_cast(*this)(__x.__cc.first, __y.__cc.first);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__tree:1604:17: note: in instantiation of member function 'std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>::operator()' requested here if (value_comp()(__v, __nd->__value_)) ^ /usr/include/c++/v1/__tree:1858:36: note: in instantiation of function template specialization 'std::__1::__tree >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>, std::__1::allocator >, std::__1::less, std::__1::allocator > > > >::__value_type> >::__find_equal >, std::__1::less, std::__1::allocator > > > >::__value_type>' requested here __node_base_pointer& __child = __find_equal(__parent, __v); ^ /usr/include/c++/v1/map:921:55: note: in instantiation of member function 'std::__1::__tree >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>, std::__1::allocator >, std::__1::less, std::__1::allocator > > > >::__value_type> >::__insert_unique' requested here insert(const value_type& __v) {return __tree_.__insert_unique(__v);} ^ ./lcsimpl.hh:36:8: note: in instantiation of member function 'std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::insert' requested here d.insert(typename TPosMap::value_type(key, value)); ^ ./lcsimpl.hh:113:24: note: in instantiation of function template specialization 'lcsimpl::get_eq_pos<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >' requested here TPosMap bmatches = get_eq_pos(b, ^ ./lcs.hh:47:11: note: in instantiation of function template specialization 'lcsimpl::longest_common_subsequence<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >' requested here lcsimpl::longest_common_subsequence(a, b); ^ diff.cc:184:5: note: in instantiation of member function 'LCS<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >::traverse_balanced' requested here traverse_balanced(a, b); ^ ./diff.hh:16:10: note: candidate function not viable: 'this' argument has type 'const std::__1::less', but method is not marked const bool operator()(xmlNodePtr m, xmlNodePtr n) ^ In file included from diff.cc:1: In file included from ./diff.hh:7: In file included from ./lcs.hh:8: In file included from ./lcsimpl.hh:4: In file included from /usr/include/c++/v1/map:371: /usr/include/c++/v1/__tree:1649:28: error: no matching function for call to object of type 'value_compare' (aka 'std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>') if (__hint == end() || value_comp()(__v, *__hint)) // check before ^~~~~~~~~~~~ /usr/include/c++/v1/__tree:1876:36: note: in instantiation of function template specialization 'std::__1::__tree >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>, std::__1::allocator >, std::__1::less, std::__1::allocator > > > >::__value_type> >::__find_equal >, std::__1::less, std::__1::allocator > > > >::__value_type>' requested here __node_base_pointer& __child = __find_equal(__p, __parent, __v); ^ /usr/include/c++/v1/map:926:29: note: in instantiation of member function 'std::__1::__tree >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>, std::__1::allocator >, std::__1::less, std::__1::allocator > > > >::__value_type> >::__insert_unique' requested here {return __tree_.__insert_unique(__p.__i_, __v);} ^ /usr/include/c++/v1/map:933:17: note: in instantiation of member function 'std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::insert' requested here insert(__e.__i_, *__f); ^ /usr/include/c++/v1/map:764:13: note: in instantiation of function template specialization 'std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::insert >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__tree_node >, std::__1::less, std::__1::allocator > > > >::__value_type, void *> *, long> > >' requested here insert(__m.begin(), __m.end()); ^ ./lcsimpl.hh:113:24: note: in instantiation of member function 'std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::map' requested here TPosMap bmatches = get_eq_pos(b, ^ ./lcs.hh:47:11: note: in instantiation of function template specialization 'lcsimpl::longest_common_subsequence<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >' requested here lcsimpl::longest_common_subsequence(a, b); ^ diff.cc:184:5: note: in instantiation of member function 'LCS<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >::traverse_balanced' requested here traverse_balanced(a, b); ^ /usr/include/c++/v1/map:407:10: note: candidate function not viable: no known conversion from 'const value_type' (aka 'const std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type') to '_xmlNode *const' for 2nd argument bool operator()(const _CP& __x, const _Key& __y) const ^ /usr/include/c++/v1/map:410:10: note: candidate function not viable: no known conversion from 'const std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type' to '_xmlNode *const' for 1st argument bool operator()(const _Key& __x, const _CP& __y) const ^ /usr/include/c++/v1/map:408:17: error: no matching function for call to object of type 'const std::__1::less' {return static_cast(*this)(__x.__cc.first, __y);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__tree:2093:14: note: in instantiation of member function 'std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>::operator()' requested here if (!value_comp()(__root->__value_, __v)) ^ /usr/include/c++/v1/__tree:2019:20: note: in instantiation of function template specialization 'std::__1::__tree >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>, std::__1::allocator >, std::__1::less, std::__1::allocator > > > >::__value_type> >::__lower_bound<_xmlNode *>' requested here iterator __p = __lower_bound(__v, __root(), __end_node()); ^ /usr/include/c++/v1/map:961:68: note: in instantiation of function template specialization 'std::__1::__tree >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>, std::__1::allocator >, std::__1::less, std::__1::allocator > > > >::__value_type> >::find<_xmlNode *>' requested here iterator find(const key_type& __k) {return __tree_.find(__k);} ^ ./lcsimpl.hh:144:45: note: in instantiation of member function 'std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::find' requested here typename TPosMap::iterator iter = bmatches.find(ai); ^ ./lcs.hh:47:11: note: in instantiation of function template specialization 'lcsimpl::longest_common_subsequence<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >' requested here lcsimpl::longest_common_subsequence(a, b); ^ diff.cc:184:5: note: in instantiation of member function 'LCS<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >::traverse_balanced' requested here traverse_balanced(a, b); ^ ./diff.hh:16:10: note: candidate function not viable: 'this' argument has type 'const std::__1::less', but method is not marked const bool operator()(xmlNodePtr m, xmlNodePtr n) ^ In file included from diff.cc:1: In file included from ./diff.hh:7: In file included from ./lcs.hh:8: In file included from ./lcsimpl.hh:4: /usr/include/c++/v1/map:411:17: error: no matching function for call to object of type 'const std::__1::less' {return static_cast(*this)(__x, __y.__cc.first);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__tree:2020:26: note: in instantiation of member function 'std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>::operator()' requested here if (__p != end() && !value_comp()(__v, *__p)) ^ /usr/include/c++/v1/map:961:68: note: in instantiation of function template specialization 'std::__1::__tree >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::__map_value_compare<_xmlNode *, std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::__value_type, std::__1::less, true>, std::__1::allocator >, std::__1::less, std::__1::allocator > > > >::__value_type> >::find<_xmlNode *>' requested here iterator find(const key_type& __k) {return __tree_.find(__k);} ^ ./lcsimpl.hh:144:45: note: in instantiation of member function 'std::__1::map<_xmlNode *, std::__1::deque >, std::__1::less, std::__1::allocator > > > >::find' requested here typename TPosMap::iterator iter = bmatches.find(ai); ^ ./lcs.hh:47:11: note: in instantiation of function template specialization 'lcsimpl::longest_common_subsequence<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >' requested here lcsimpl::longest_common_subsequence(a, b); ^ diff.cc:184:5: note: in instantiation of member function 'LCS<_xmlNode *, std::__1::vector<_xmlNode *, std::__1::allocator<_xmlNode *> > >::traverse_balanced' requested here traverse_balanced(a, b); ^ ./diff.hh:16:10: note: candidate function not viable: 'this' argument has type 'const std::__1::less', but method is not marked const bool operator()(xmlNodePtr m, xmlNodePtr n) ^ 4 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/textproc/diffmark/work/diffmark-0.10/lib *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/textproc/diffmark/work/diffmark-0.10 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/textproc/diffmark/work/diffmark-0.10 *** Error code 1 Stop. make: stopped in /usr/ports/textproc/diffmark ===> Cleaning for diffmark-0.10