[MacPorts] #16431: ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token

MacPorts noreply at macports.org
Sun Aug 31 11:13:00 PDT 2008


#16431: ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token
--------------------------------+-------------------------------------------
 Reporter:  dstndstn at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.6.0                                
 Keywords:                      |  
--------------------------------+-------------------------------------------
 Hi,

 This is on OSX 10.3.

 With gcc 3.3:
 {{{
 # ls -l /usr/bin/{gcc,g++}
 lrwxr-xr-x  1 root  wheel  7 31 Aug 13:45 /usr/bin/g++ -> g++-3.3
 lrwxr-xr-x  1 root  wheel  7 31 Aug 13:45 /usr/bin/gcc -> gcc-3.3
 }}}

 {{{
 # port install ice-cpp
 Error: Target org.macports.build returned: shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_ice-cpp/work/Ice-3.3.0/cpp && make
 prefix='/opt/local' embedded_runpath_prefix='/opt/local' OPTIMIZE='yes'
 BZIP2_HOME='/opt/local' DB_HOME='/opt/local' EXPAT_HOME='/opt/local'
 OPENSSL_HOME='/opt/local' READLINE_HOME='/opt/local' USE_READLINE=yes
 MCPP_LIBS='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_ice-cpp/work/mcpp-2.7/src/.libs/*.o'
 LDPLATFORMFLAGS= all && cd doc && make" returned error 2
 Command output: /usr/include/gcc/darwin/3.3/c++/bits/stl_set.h:161: error:
 candidates are:
    std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>,
 _Compare,
    _Alloc>::const_iterator, bool> std::set<_Key, _Compare,
    _Alloc>::insert(const _Key&) [with _Key = IceUtil::Timer::Token,
 _Compare =
    std::less<IceUtil::Timer::Token>, _Alloc =
    std::allocator<IceUtil::Timer::Token>]
 /usr/include/gcc/darwin/3.3/c++/bits/stl_set.h:165: error:
    typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare,
    _Alloc>::const_iterator std::set<_Key, _Compare,
 _Alloc>::insert(typename
    std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare,
    _Alloc>::const_iterator, const _Key&) [with _Key =
 IceUtil::Timer::Token,
    _Compare = std::less<IceUtil::Timer::Token>, _Alloc =
    std::allocator<IceUtil::Timer::Token>]
 Timer.cpp:138: error: assignment of function `IceUtil::Timer::Token
 token(...)'
 Timer.cpp:138: error: cannot convert `IceUtil::Timer::Token' to `
    IceUtil::Timer::Token ()(...)' in assignment
 Timer.cpp:158: error: assignment of function `IceUtil::Timer::Token
 token(...)'
 Timer.cpp:158: error: cannot convert `const IceUtil::Timer::Token' to `
    IceUtil::Timer::Token ()(...)' in assignment
 Timer.cpp:160: error: request for member `delay' in `token(...)', which is
 of
    non-class type `IceUtil::Timer::Token ()(...)'
 Timer.cpp:162: error: request for member `task' in `token(...)', which is
 of
    non-class type `IceUtil::Timer::Token ()(...)'
 Timer.cpp:177: error: request for member `task' in `token(...)', which is
 of
    non-class type `IceUtil::Timer::Token ()(...)'
 Timer.cpp:181: error: request for member `task' in `token(...)', which is
 of
    non-class type `IceUtil::Timer::Token ()(...)'
 make[2]: *** [Timer.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [all] Error 1

 Error: Status 1 encountered during processing.
 }}}

 Thanks,

 --dustin.

-- 
Ticket URL: <http://trac.macports.org/ticket/16431>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list