[MacPorts] #43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long'
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' -------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: leopard ppc | Port: libcdr -------------------------+-------------------------------- Apparently some recent modifications of CXXFLAGS for libcdr have gone too far for Xcode GCC 4.2: {{{ :info:build CXX CDRCollector.lo :info:build In file included from CDRCollector.h:18, :info:build from CDRCollector.cpp:12: :info:build /opt/local/include/lcms2.h:133:10: warning: use of C99 long long integer constant :info:build /opt/local/include/lcms2.h:140:10: warning: use of C99 long long integer constant :info:build In file included from CDRCollector.h:18, :info:build from CDRCollector.cpp:12: :info:build /opt/local/include/lcms2.h:134: error: ISO C++ does not support 'long long' :info:build /opt/local/include/lcms2.h:141: error: ISO C++ does not support 'long long' :info:build make[3]: *** [CDRCollector.lo] Error 1 }}} Log file will be attached. -- Ticket URL: <https://trac.macports.org/ticket/43487> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Changes (by devans@…): * cc: devans@… (removed) * status: new => assigned * version: 2.2.1 => * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/43487#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Comment (by devans@…): Does adding the following to the Portfile help? {{{ configure.cxxflags-append -Wno-long-long }}} -- Ticket URL: <https://trac.macports.org/ticket/43487#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Comment (by braumann@…): Replying to [comment:2 devans@…]:
Does adding the following to the Portfile help? {{{ configure.cxxflags-append -Wno-long-long }}} Yes, thanks, after cleaning and adding this line to the portfile, the upgrade to `libcdr @0.0.16` was successful on my 10.5.8. PPC.
-- Ticket URL: <https://trac.macports.org/ticket/43487#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: Fix committed in r119439. -- Ticket URL: <https://trac.macports.org/ticket/43487#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Changes (by jon@…): * status: closed => reopened * resolution: fixed => Comment: This also just bit me on SL. OSX 10.6.8 Intel Core Duo Adding that line locally allowed a successful build. -- Ticket URL: <https://trac.macports.org/ticket/43487#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Comment (by devans@…): Fix extended to SL in r122144. Please remove the local fix, upgrade your ports and rebuild to verify fix using {{{ sudo port selfupdate sudo port -ns upgrade --force libcdr }}} -- Ticket URL: <https://trac.macports.org/ticket/43487#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Comment (by jon@…): Verified that the fix now works for me after cleaning the local edits. -- Ticket URL: <https://trac.macports.org/ticket/43487#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#43487: libcdr @0.0.16 stops building: ISO C++ does not support 'long long' on Leopard PPC -------------------------+------------------------- Reporter: braumann@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: leopard ppc Port: libcdr | -------------------------+------------------------- Changes (by devans@…): * status: reopened => closed * resolution: => fixed Comment: Thanks. -- Ticket URL: <https://trac.macports.org/ticket/43487#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts