[MacPorts] #16431: ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token
#16431: ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token --------------------------------+------------------------------------------- Reporter: dstndstn@gmail.com | Owner: macports-tickets@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
#16431: ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token ---------------------------------+------------------------------------------ Reporter: dstndstn@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment(by dstndstn@gmail.com): PS, MacPorts version is 1.600. -- Ticket URL: <http://trac.macports.org/ticket/16431#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16431: ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token ---------------------------------+------------------------------------------ Reporter: dstndstn@gmail.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => blair@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/16431#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16431: ice-cpp 3.3.0 compile failure: IceUtil::Timer::Token ---------------------------------+------------------------------------------ Reporter: dstndstn@gmail.com | Owner: blair@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: ---------------------------------+------------------------------------------ Changes (by blair@macports.org): * cc: blair@macports.org (added) * status: new => closed * resolution: => wontfix Comment: Ice has this in the {{{Ice-3.3.0/cpp/INSTALL.MACOSX}}} file: {{{ C++ compiler ------------ Ice is expected to build properly with GCC 3.3 or later. However, only the GCC 4.0.1 compiler is officially supported on Mac OS X 10.5.x. }}} I'm not going to work on backporting this to 10.3, don't have the cycles. I know it compiles on 10.4. If you supply a patch that fixes it, I could apply it to the portfile. If you need Ice, you could also compile an older version by hand. Regards, Blair -- Ticket URL: <http://trac.macports.org/ticket/16431#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts