[MacPorts] #38250: qtiplot isn't UsingTheRightCompiler
#38250: qtiplot isn't UsingTheRightCompiler --------------------------+--------------------- Reporter: ryandesign@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: qtiplot --------------------------+--------------------- qtiplot isn't UsingTheRightCompiler. For example, I just tried "`sudo port install qtiplot configure.compiler=llvm-gcc-4.2`" on Mountain Lion with Xcode 4.6 but it still used clang. I presume this is because it's using the values of `QMAKE_CC` and `QMAKE_CXX` from the qt4-mac port. The qtiplot build should be fixed to respect the MacPorts compiler choice. -- Ticket URL: <https://trac.macports.org/ticket/38250> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38250: qtiplot isn't UsingTheRightCompiler ---------------------------+--------------------- Reporter: ryandesign@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: qtiplot | ---------------------------+--------------------- Comment (by nicos@…): Thanks for pointing out this, I had indeed missed it. While I fully acknowledge the issue, shouldn't this be dealt with at a higher level than qtiplot ? I tried for example qscintilla which also uses qmake, and the same issue seem to appear. As you suggested, I can confirm that setting {{{ configure.pre_args-append "QMAKE_CC=${configure.cc} QMAKE_CXX=${configure.cxx}" }}} seem to fix the behaviour for choosing the compiler, but I would tend to think that this should be fixed in the qt4 portgroup, for example. -- Ticket URL: <https://trac.macports.org/ticket/38250#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38250: qtiplot isn't UsingTheRightCompiler ---------------------------+--------------------- Reporter: ryandesign@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: qtiplot | ---------------------------+--------------------- Changes (by ryandesign@…): * cc: michaelld@… (added) Comment: Replying to [comment:1 nicos@…]:
I would tend to think that this should be fixed in the qt4 portgroup
I would be glad of that. Also, the right -arch flags need to be used; not sure where best to do that. Michael, can you look into updating the qt4-mac portgroup for this? Or should we have a separate qmake portgroup? -- Ticket URL: <https://trac.macports.org/ticket/38250#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38250: qtiplot isn't UsingTheRightCompiler ---------------------------+--------------------- Reporter: ryandesign@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: qtiplot | ---------------------------+--------------------- Comment (by michaelld@…): I think this can be fixed in the qt4 portgroup. Let me look into it. -- Ticket URL: <https://trac.macports.org/ticket/38250#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38250: qtiplot isn't UsingTheRightCompiler ---------------------------+--------------------- Reporter: ryandesign@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: qtiplot | ---------------------------+--------------------- Comment (by egall@…): Replying to [comment:2 ryandesign@…]:
Replying to [comment:1 nicos@…]:
I would tend to think that this should be fixed in the qt4 portgroup
I would be glad of that. Also, the right -arch flags need to be used; not sure where best to do that. Michael, can you look into updating the qt4-mac portgroup for this? Or should we have a separate qmake portgroup?
I made a new issue for a separate qmake portgroup: #38280 -- Ticket URL: <https://trac.macports.org/ticket/38250#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38250: qtiplot isn't UsingTheRightCompiler ---------------------------+--------------------- Reporter: ryandesign@… | Owner: nicos@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: qtiplot | ---------------------------+--------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Make use of qmake portgroup in r106995, which should ensure to use the right compiler. -- Ticket URL: <https://trac.macports.org/ticket/38250#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts