[MacPorts] #35057: gcc48: fails configure check for PPL
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- build and config log attached -- Ticket URL: <https://trac.macports.org/ticket/35057> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by dominik.kaeser@…): Same problem for me with gcc46. Looks like this was never intended to work with PPL 1.0. Here is the relevant section from your config.log: 229 | int 230 | main () 231 | { 232 | 233 | #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11 234 | choke me 235 | #endif 236 | 237 | ; 238 | return 0; 239 | } Is there a workaround to this, e.g. downgrading PPL? -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by dominik.kaeser@…): What I meant to quote: {{{ 229 | int 230 | main () 231 | { 232 | 233 | #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11 234 | choke me 235 | #endif 236 | 237 | ; 238 | return 0; 239 | } }}} -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by eborisch@…): All of the GCCs (apparently: [http://gcc.gnu.org/install/prerequisites.html]) require 0.11, not 1.0, which is what PPL was just updated to... r94921 In /opt/local/include/ppl.hh +455 {{{ //! The major number of the PPL version. /*! \ingroup PPL_CXX_interface */ #define PPL_VERSION_MAJOR 1 //! The minor number of the PPL version. /*! \ingroup PPL_CXX_interface */ #define PPL_VERSION_MINOR 0 }}} -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by eborisch@…): A ''lot'' of people (anyone with a gcc4x active, it hit 45,46,and 47 on mine; I don't others installed) will get rev-upgrade hits (and re-build failures) off of this. Roll back r94921 sooner than later (a new epoch will be required, if I recall) and re-group / wait for up-stream (gcc) to adopt? -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by srinath@…): I'm trying a rebuild of with ppl @0.12.1. I hate that my gcc4.6, and 4.7 compiler are inoperable for now. -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by srinath@…): Replying to [comment:7 srinath@…]:
I'm trying a rebuild of with ppl @0.12.1. I hate that my gcc4.6, and 4.7 compiler are inoperable for now. I don't know how to force the gcc ports to use ppl @0.12.1. My gcc46 is now useless.
-- Ticket URL: <https://trac.macports.org/ticket/35057#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by md14-macports@…): I was able to build gcc47 by using the gcc48 Portfile change from r94941 to disable the ppl version check. {{{ $ diff -u gcc47/Portfile.orig gcc47/Portfile --- gcc47/Portfile.orig 2012-06-14 05:30:36.000000000 -0700 +++ gcc47/Portfile 2012-07-02 10:54:52.000000000 -0700 @@ -87,6 +87,8 @@ --with-ld=${prefix}/bin/ld \ --with-ar=${prefix}/bin/ar \ --with-bugurl=https://trac.macports.org/newticket +# remove this asap when upstream implements a check for ppl 1.0 +configure.args-append --disable-ppl-version-check configure.env-append \ AR_FOR_TARGET=${prefix}/bin/ar \ }}} -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 ------------------------------+--------------------------------------------- Comment(by srinath@…): Replying to [comment:10 md14-macports@…]:
I was able to build gcc47 by using the gcc48 Portfile change from r94941 to disable the ppl version check.
{{{ $ diff -u gcc47/Portfile.orig gcc47/Portfile --- gcc47/Portfile.orig 2012-06-14 05:30:36.000000000 -0700 +++ gcc47/Portfile 2012-07-02 10:54:52.000000000 -0700 @@ -87,6 +87,8 @@ --with-ld=${prefix}/bin/ld \ --with-ar=${prefix}/bin/ar \ --with-bugurl=https://trac.macports.org/newticket +# remove this asap when upstream implements a check for ppl 1.0 +configure.args-append --disable-ppl-version-check
configure.env-append \ AR_FOR_TARGET=${prefix}/bin/ar \ }}}
This appears to be working for me also. -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL ------------------------------+--------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gcc48 gcc47 gcc46 ------------------------------+--------------------------------------------- Changes (by eborisch@…): * port: gcc48 => gcc48 gcc47 gcc46 -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35057: gcc48: fails configure check for PPL --------------------------------+------------------------------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: gcc48 gcc47 gcc46 | --------------------------------+------------------------------------------- Changes (by mww@…): * status: new => closed * resolution: => fixed Comment: thanks, commited in r94958 -- Ticket URL: <https://trac.macports.org/ticket/35057#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts