Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 23:33:23 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        vg@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-i386-default][textproc/ctpp2] Failed for ctpp2-2.8.3_1 in build
Message-ID:  <201403132333.s2DNXNV6094518@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: head/textproc/ctpp2/Makefile 346875 2014-03-03 10:23:43Z bapt $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-03-13_23h01m55s/logs/ctpp2-2.8.3_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-03-13_23h01m55s
Log:

====>> Building textproc/ctpp2
build started at Thu Mar 13 23:33:06 UTC 2014
port directory: /usr/ports/textproc/ctpp2
building for: FreeBSD head-i386-default-job-01 11.0-CURRENT FreeBSD 11.0-CURRENT r261447 i386
maintained by: vg@FreeBSD.org
Makefile ident:      $FreeBSD: head/textproc/ctpp2/Makefile 346875 2014-03-03 10:23:43Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100007
UNAME_v=FreeBSD 11.0-CURRENT r261447
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=49015
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
PWD=/root
MASTERNAME=head-i386-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---
===> 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--

--SUB_LIST--
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
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for ctpp2-2.8.3_1
=======================<phase: check-config   >============================
===========================================================================
=======================<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.6.txz
Installing pkg-1.2.6... 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
===>    Verifying install for /usr/local/bin/cmake in /usr/ports/devel/cmake
===>   Installing existing package /packages/All/cmake-2.8.12.1_4.txz
Installing cmake-2.8.12.1_4...Installing cmake-modules-2.8.12.1_1... done
 done
===>   Returning to build of ctpp2-2.8.3_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   ctpp2-2.8.3_1 depends on shared library: libintl.so - found
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ctpp2-2.8.3_1
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3
-- The C compiler identification is Clang 3.3.0
-- The CXX compiler identification is Clang 3.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for round in m
-- Looking for round in m - found
-- Looking for roundl in m
-- Looking for roundl in m - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file math.h
-- Looking for include file math.h - found
-- Looking for include file stdio.h
-- Looking for include file stdio.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file time.h
-- Looking for include file time.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sysexits.h
-- Looking for include file sysexits.h - found
-- Performing Test STL_MAP_CHECK
-- Performing Test STL_MAP_CHECK - Success
-- Performing Test STL_VECTOR_CHECK
-- Performing Test STL_VECTOR_CHECK - Success
-- Performing Test STL_STRING_CHECK
-- Performing Test STL_STRING_CHECK - Success
-- Performing Test STL_STDEXCEPT_CHECK
<snip>
/usr/include/c++/v1/map:737: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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int>' for 1st argument
    __map_const_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
/usr/include/c++/v1/map:770: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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int> >'
        if (itmHash == u.p_data -> u.m_data -> end()) { return false; }
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/map:739:5: note: candidate constructor
    __map_const_iterator(
    ^
/usr/include/c++/v1/map:713:29: 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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_const_iterator
                            ^
/usr/include/c++/v1/map:737: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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int>' for 1st argument
    __map_const_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
/usr/include/c++/v1/map:770: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:267:9: note: candidate constructor [with _U1 = std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, _U2 = CTPP::CDT]
        pair(const pair<_U1, _U2>& __p
        ^
/usr/include/c++/v1/utility:248:30: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::pair<String, CDT>' to 'const std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> &' for 1st argument
struct _LIBCPP_TYPE_VIS_ONLY pair
                             ^
/usr/include/c++/v1/map:1041: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:267:9: note: candidate constructor [with _U1 = std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, _U2 = CTPP::CDT]
        pair(const pair<_U1, _U2>& __p
        ^
/usr/include/c++/v1/utility:248:30: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::pair<String, CDT>' to 'const std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> &' for 1st argument
struct _LIBCPP_TYPE_VIS_ONLY pair
                             ^
/usr/include/c++/v1/map:1041: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:267:9: note: candidate constructor [with _U1 = std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, _U2 = CTPP::CDT]
        pair(const pair<_U1, _U2>& __p
        ^
/usr/include/c++/v1/utility:248:30: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::pair<String, CDT>' to 'const std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> &' for 1st argument
struct _LIBCPP_TYPE_VIS_ONLY pair
                             ^
/usr/include/c++/v1/map:1041:34: note: passing argument to parameter '__v' here
        insert(const value_type& __v) {return __tree_.__insert_unique(__v);}
                                 ^
/usr/include/c++/v1/map:965: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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> > >::end' requested here
        return Iterator(u.p_data -> u.m_data -> end());
                                                ^
/usr/include/c++/v1/map:648:29: 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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/usr/include/c++/v1/map:1081: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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> > >::find' requested here
return Iterator(u.p_data -> u.m_data -> find(sKey));
                                        ^
/usr/include/c++/v1/map:648:29: 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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __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:423:
/usr/include/c++/v1/__tree:747:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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:750:41: note: in instantiation of member function 'std::__1::__tree_const_iterator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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:1366:53: error: static_cast from 'pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<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:1219:16: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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:1361:36: note: in instantiation of member function 'std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<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:1065: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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> > >::erase' requested here
        u.p_data -> u.m_data -> erase(itmHash);
                                ^
/usr/include/c++/v1/map:648:29: 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::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __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:423:
/usr/include/c++/v1/__tree:1985:19: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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:1065:56: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> > >::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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<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:423:
/usr/include/c++/v1/__tree:656:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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:1978:5: note: in instantiation of member function 'std::__1::__tree_iterator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int>::operator++' requested here
    ++__r;
    ^
/usr/include/c++/v1/map:1065:56: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> > >::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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<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:423:
/usr/include/c++/v1/__tree:656:19: error: cannot cast from type 'int' to pointer type '__node_pointer' (aka 'std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, 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:656: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:1978:5: note: in instantiation of member function 'std::__1::__tree_iterator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, void *> *, int>::operator++' requested here
    ++__r;
    ^
/usr/include/c++/v1/map:1065:56: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT> > >::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, std::__1::char_traits<char>, std::__1::allocator<char> >, CTPP::CDT, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<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?201403132333.s2DNXNV6094518>