Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 09:45:17 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        vg@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - 10i386-quarterly][textproc/ctpp2] Failed for ctpp2-2.8.3_1 in build
Message-ID:  <201406180945.s5I9jHfr053106@beefy1.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     vg@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: branches/2014Q2/textproc/ctpp2/Makefile 346875 2014-03-03 10:23:43Z bapt $
Log URL:        http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-06-18_09h27m03s/logs/ctpp2-2.8.3_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/10i386-quarterly/2014-06-18_09h27m03s
Log:

====>> Building textproc/ctpp2
build started at Wed Jun 18 09:45:04 UTC 2014
port directory: /usr/ports/textproc/ctpp2
building for: FreeBSD 10i386-quarterly-job-20 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 i386
maintained by: vg@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2014Q2/textproc/ctpp2/Makefile 346875 2014-03-03 10:23:43Z bapt $
Poudriere version: 3.1-pre
Host OSVERSION: 1100022
Jail OSVERSION: 1000510

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p3
UNAME_r=10.0-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/build/10i386-quarterly/ref
PKG_EXT=txz
tpid=15257
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=ctpp2-2.8.3_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/usr/local/poudriere/data/build/10i386-quarterly/ref/poudriere/rdeps
PWD=/usr/local/poudriere/data/build/10i386-quarterly/ref/poudriere/pool
MASTERNAME=10i386-quarterly
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---
===> The following configuration options are available for ctpp2-2.8.3_1:
     DEBUG=off: Enable debug output
     DISCARD_ILSEQ=on: Discard illegal sequence and continue
     DOCS=on: Build and/or install documentation
     MD5=on: Enable md5 support
     OPTIMIZATION=on: Enable optimization
     TRANSLITERATE=on: Enable transliteration in the conversion
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--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 -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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--

--PLIST_SUB--
PORTVERSION=2.8.3
DEBUG="@comment
"
NO_DEBUG=""
DISCARD_ILSEQ=""
NO_DISCARD_ILSEQ="@comment
"
DOCS=""
NO_DOCS="@comment
"
MD5=""
NO_MD5="@comment
"
OPTIMIZATION=""
NO_OPTIMIZATION="@comment
"
TRANSLITERATE=""
NO_TRANSLITERATE="@comment
"
CMAKE_BUILD_TYPE="release"
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
DOCSDIR="share/doc/ctpp2"
EXAMPLESDIR="share/examples/ctpp2"
DATADIR="share/ctpp2"
WWWDIR="www/ctpp2"
ETCDIR="etc/ctpp2"
--End PLIST_SUB--

--SUB_LIST--
DEBUG="@comment
"
NO_DEBUG=""
DISCARD_ILSEQ=""
NO_DISCARD_ILSEQ="@comment
"
DOCS=""
NO_DOCS="@comment
"
MD5=""
NO_MD5="@comment
"
OPTIMIZATION=""
NO_OPTIMIZATION="@comment
"
TRANSLITERATE=""
NO_TRANSLITERATE="@comment
"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/ctpp2
DOCSDIR=/usr/local/share/doc/ctpp2
EXAMPLESDIR=/usr/local/share/examples/ctpp2
WWWDIR=/usr/local/www/ctpp2
ETCDIR=/usr/local/etc/ctpp2
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
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
# clean-restricted via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for ctpp2-2.8.3_1
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ctpp2-2.8.3_1 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.7.txz
Installing pkg-1.2.7... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of ctpp2-2.8.3_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by ctpp2-2.8.3_1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by ctpp2-2.8.3_1 for building
=> SHA256 Checksum OK for ctpp2-2.8.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by ctpp2-2.8.3_1 for building
===>  Extracting for ctpp2-2.8.3_1
=> SHA256 Checksum OK for ctpp2-2.8.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ctpp2-2.8.3_1
===>  Applying FreeBSD patches for ctpp2-2.8.3_1
===========================================================================
=======================<phase: build-depends  >============================
===>   ctpp2-2.8.3_1 depends on executable: rst2html - not found
===>    Verifying install for rst2html in /usr/ports/textproc/py-docutils
===>   Installing existing package /packages/All/py27-docutils-0.11.txz
Installing py27-docutils-0.11...Installing py27-setuptools27-2.0.1...Installing python27-2.7.6_4...Installing gettext-0.18.3.1... done
 done
 done
 done
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====
===>   Returning to build of ctpp2-2.8.3_1
===>   ctpp2-2.8.3_1 depends on file: /usr/local/bin/cmake - not found
<snip>
/usr/include/c++/v1/map:588:5: note: candidate constructor not viable: no known conversion from 'iterator' (aka '__map_iterator<typename __base::iterator>') to 'std::__1::__tree_const_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int>' for 1st argument
    __map_const_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
/usr/include/c++/v1/map:621:82: note: passing argument to parameter '__y' here
    bool operator==(const __map_const_iterator& __x, const __map_const_iterator& __y)
                                                                                 ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:786:17: error: no viable conversion from 'iterator' (aka '__map_iterator<typename __base::iterator>') to 'const std::__1::__map_const_iterator<std::__1::__tree_const_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int> >'
        if (itmHash == u.p_data -> u.m_data -> end()) { return false; }
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/map:590:5: note: candidate constructor
    __map_const_iterator(
    ^
/usr/include/c++/v1/map:564:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__map_iterator<typename __base::iterator>') to 'const std::__1::__map_const_iterator<std::__1::__tree_const_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS __map_const_iterator
                       ^
/usr/include/c++/v1/map:588:5: note: candidate constructor not viable: no known conversion from 'iterator' (aka '__map_iterator<typename __base::iterator>') to 'std::__1::__tree_const_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int>' for 1st argument
    __map_const_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
/usr/include/c++/v1/map:621:82: note: passing argument to parameter '__y' here
    bool operator==(const __map_const_iterator& __x, const __map_const_iterator& __y)
                                                                                 ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:4453:50: error: no viable conversion from 'pair<basic_string<[3 * ...]>, [...]>' to 'const pair<const basic_string<[3 * ...]>, [...]>'
                                        oDestination.u.p_data -> u.m_data -> insert(STLW::pair<String, CDT>(itvKey -> GetString(), *itvArray));
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:43:22: note: expanded from macro 'STLW'
        #define STLW std
                     ^
/usr/include/c++/v1/utility:255:9: note: candidate constructor [with _U1 = std::__1::basic_string<char>, _U2 = CTPP::CDT]
        pair(const pair<_U1, _U2>& __p
        ^
/usr/include/c++/v1/utility:264:5: note: candidate constructor not viable: no known conversion from 'std::pair<String, CDT>' to 'const std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> &' for 1st argument
    pair(const pair& __p)
    ^
/usr/include/c++/v1/map:921:34: note: passing argument to parameter '__v' here
        insert(const value_type& __v) {return __tree_.__insert_unique(__v);}
                                 ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:4491:50: error: no viable conversion from 'pair<basic_string<[3 * ...]>, [...]>' to 'const pair<const basic_string<[3 * ...]>, [...]>'
                                        oDestination.u.p_data -> u.m_data -> insert(STLW::pair<String, CDT>(itvKey -> GetString(), CDT()));
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:43:22: note: expanded from macro 'STLW'
        #define STLW std
                     ^
/usr/include/c++/v1/utility:255:9: note: candidate constructor [with _U1 = std::__1::basic_string<char>, _U2 = CTPP::CDT]
        pair(const pair<_U1, _U2>& __p
        ^
/usr/include/c++/v1/utility:264:5: note: candidate constructor not viable: no known conversion from 'std::pair<String, CDT>' to 'const std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> &' for 1st argument
    pair(const pair& __p)
    ^
/usr/include/c++/v1/map:921:34: note: passing argument to parameter '__v' here
        insert(const value_type& __v) {return __tree_.__insert_unique(__v);}
                                 ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:4495:49: error: no viable conversion from 'pair<basic_string<[3 * ...]>, [...]>' to 'const pair<const basic_string<[3 * ...]>, [...]>'
                                oDestination.u.p_data -> u.m_data -> insert(STLW::pair<String, CDT>(itvKey -> GetString(), *itvArray));
                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:43:22: note: expanded from macro 'STLW'
        #define STLW std
                     ^
/usr/include/c++/v1/utility:255:9: note: candidate constructor [with _U1 = std::__1::basic_string<char>, _U2 = CTPP::CDT]
        pair(const pair<_U1, _U2>& __p
        ^
/usr/include/c++/v1/utility:264:5: note: candidate constructor not viable: no known conversion from 'std::pair<String, CDT>' to 'const std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> &' for 1st argument
    pair(const pair& __p)
    ^
/usr/include/c++/v1/map:921:34: note: passing argument to parameter '__v' here
        insert(const value_type& __v) {return __tree_.__insert_unique(__v);}
                                 ^
/usr/include/c++/v1/map:845:44: error: no viable conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to 'iterator' (aka '__map_iterator<typename __base::iterator>')
          iterator end() _NOEXCEPT {return __tree_.end();}
                                           ^~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:182:42: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::end' requested here
        return Iterator(u.p_data -> u.m_data -> end());
                                                ^
/usr/include/c++/v1/map:499:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to 'const std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS __map_iterator
                       ^
/usr/include/c++/v1/map:961:60: error: no viable conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to 'iterator' (aka '__map_iterator<typename __base::iterator>')
    iterator find(const key_type& __k)             {return __tree_.find(__k);}
                                                           ^~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:192:41: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::find' requested here
return Iterator(u.p_data -> u.m_data -> find(sKey));
                                        ^
/usr/include/c++/v1/map:499:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to 'const std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS __map_iterator
                       ^
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39:
In file included from /usr/include/c++/v1/map:371:
/usr/include/c++/v1/__tree:738:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base<void *> *') is not allowed
        {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/map:601:41: note: in instantiation of member function 'std::__1::__tree_const_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int>::operator++' requested here
    __map_const_iterator& operator++() {++__i_; return *this;}
                                        ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:235:2: note: in instantiation of member function 'std::__1::__map_const_iterator<std::__1::__tree_const_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int> >::operator++' requested here
        ++itMap;
        ^
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39:
/usr/include/c++/v1/map:1202:53: error: static_cast from 'pointer' (aka 'std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base<void *> *') is not allowed
        __tree_.__insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__h.get()));
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:696:32: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::operator[]' requested here
return u.p_data -> u.m_data -> operator[](sKey);
                               ^
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39:
/usr/include/c++/v1/map:1055:16: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base<void *> *') is not allowed
    __parent = static_cast<__node_base_pointer>(__tree_.__end_node());
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/map:1197:36: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__find_equal_key' requested here
    __node_base_pointer& __child = __find_equal_key(__parent, __k);
                                   ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:696:32: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::operator[]' requested here
return u.p_data -> u.m_data -> operator[](sKey);
                               ^
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39:
/usr/include/c++/v1/map:945:48: error: no viable conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to 'iterator' (aka '__map_iterator<typename __base::iterator>')
    iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);}
                                               ^~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::erase' requested here
        u.p_data -> u.m_data -> erase(itmHash);
                                ^
/usr/include/c++/v1/map:499:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to 'const std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS __map_iterator
                       ^
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39:
In file included from /usr/include/c++/v1/map:371:
/usr/include/c++/v1/__tree:1976:19: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base<void *> *') is not allowed
                  static_cast<__node_base_pointer>(__np));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/map:945:56: note: in instantiation of member function 'std::__1::__tree<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__map_value_compare<std::__1::basic_string<char>, std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::less<std::__1::basic_string<char> >, true>, std::__1::allocator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type> >::erase' requested here
    iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);}
                                                       ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::erase' requested here
        u.p_data -> u.m_data -> erase(itmHash);
                                ^
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39:
In file included from /usr/include/c++/v1/map:371:
/usr/include/c++/v1/__tree:652:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'int') is not allowed
        {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__tree:1969:5: note: in instantiation of member function 'std::__1::__tree_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int>::operator++' requested here
    ++__r;
    ^
/usr/include/c++/v1/map:945:56: note: in instantiation of member function 'std::__1::__tree<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__map_value_compare<std::__1::basic_string<char>, std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::less<std::__1::basic_string<char> >, true>, std::__1::allocator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type> >::erase' requested here
    iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);}
                                                       ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::erase' requested here
        u.p_data -> u.m_data -> erase(itmHash);
                                ^
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40:
In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39:
In file included from /usr/include/c++/v1/map:371:
/usr/include/c++/v1/__tree:652:19: error: cannot cast from type 'int' to pointer type '__node_pointer' (aka 'std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *')
        {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__tree:157:14: error: member reference type 'int' is not a pointer
    if (__x->__right_ != nullptr)
        ~~~  ^
/usr/include/c++/v1/__tree:652:47: note: in instantiation of function template specialization 'std::__1::__tree_next<int>' requested here
        {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
                                              ^
/usr/include/c++/v1/__tree:1969:5: note: in instantiation of member function 'std::__1::__tree_iterator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__tree_node<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, void *> *, int>::operator++' requested here
    ++__r;
    ^
/usr/include/c++/v1/map:945:56: note: in instantiation of member function 'std::__1::__tree<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::__map_value_compare<std::__1::basic_string<char>, std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type, std::__1::less<std::__1::basic_string<char> >, true>, std::__1::allocator<std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::__value_type> >::erase' requested here
    iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);}
                                                       ^
/wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char>, CTPP::CDT, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>, CTPP::CDT> > >::erase' requested here
        u.p_data -> u.m_data -> erase(itmHash);
                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/ctpp2
===>  Cleaning for ctpp2-2.8.3_1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406180945.s5I9jHfr053106>