[MacPorts] #36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -------------------------------------------+------------------------------- Reporter: lionel.arend@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: build_failure, qglyphrun, ppc | Version: 2.1.2 | Port: py27-pyqt4, | py27-sip -------------------------------------------+------------------------------- When compiling the C++ code generated by sip, a build error occurs in QtGui/sipQtGuiQList0100QGlyphRun.cpp: {{{ sipQtGuiQList0100QGlyphRun.cpp:43: error: ‘QGlyphRun’ was not declared in this scope sipQtGuiQList0100QGlyphRun.cpp:43: error: template argument 1 is invalid sipQtGuiQList0100QGlyphRun.cpp:43: error: expected `>' before ‘*’ token sipQtGuiQList0100QGlyphRun.cpp:43: error: expected `(' before ‘*’ token sipQtGuiQList0100QGlyphRun.cpp:43: error: expected primary-expression before ‘>’ token sipQtGuiQList0100QGlyphRun.cpp:43: error: pointer of type ‘void *’ used in arithmetic sipQtGuiQList0100QGlyphRun.cpp:43: error: ‘void*’ is not a pointer-to- object type sipQtGuiQList0100QGlyphRun.cpp:43: error: ‘QGlyphRun’ cannot appear in a constant-expression sipQtGuiQList0100QGlyphRun.cpp:43: error: template argument 1 is invalid sipQtGuiQList0100QGlyphRun.cpp:43: error: expected `>' before ‘*’ token sipQtGuiQList0100QGlyphRun.cpp:43: error: expected `(' before ‘*’ token sipQtGuiQList0100QGlyphRun.cpp:43: error: expected primary-expression before ‘>’ token sipQtGuiQList0100QGlyphRun.cpp:43: error: expected `)' before ‘;’ token sipQtGuiQList0100QGlyphRun.cpp:43: error: expected `)' before ‘;’ token }}} This happens several times, for other occurences of QGlyphRun. I'm using a Powerbook G4, OSX 10.5 and Xcode 3.1.4. qt4-mac is at 4.8.3_1+quartz, py27-sip is 4.13.3_0. All ports are up-to-date. I tried using macx-g++40 and macx-g++42 for the compilation, with equal results. Maybe sip generates erroneous code, or I need even a newer compiler? Thank you for any help, full log is attached. -- Ticket URL: <https://trac.macports.org/ticket/36479> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * keywords: build_failure, qglyphrun, ppc => powerpc * cc: phw@… (added) -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by michaelld@…): Wow; I don't even know where to start. I'll percolate on this over the weekend and see what comes up. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by loki23@…): Thank you. I hope you can reproduce it. I also added the cpp file generated by sip. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by jmr@…): Did someone verify that this works on 10.5/i386? If not, the powerpc keyword isn't warranted. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by michaelld@…): It looks like the OP's issue is that the installed version of SIP is too old (4.13.3; required for PyQt4 4.9.5 is SIP 4.14 or newer). I would recommend all of you trying the following: {{{ sudo port clean py27-pyqt4 sudo port selfupdate sudo port upgrade py27-sip sudo port install py27-pyqt4 }}} and, if that works then you can also do: {{{ sudo port upgrade outdated }}} to upgrade all older ports. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by gltmailbox-macs@…): After following Michael's suggestions the problem persists, for me at least. However, I learned a couple of nights ago from Phil Thompson via [http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg26483.html the PyQt mailing list] that there had been "a problem with non-Cocoa builds of Qt v4.8.x" which should have been fixed in that night's snapshots. I haven't tried that yet. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by michaelld@…): Thanks! I'll look into that commit and see if I can come up with a patch. I think this ticket is probably a duplicate of ticket #36801, but I'll keep them both open for now. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by michaelld@…): PyQt4 4.9.6 just came out, so I'm updating to that & hopefully it'll fix this issue. I'll post back here once I've done that check-in, hopefully tonight, which unfortunately will require upgrading qt4-mac as well. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by michaelld@…): This ticket's issue should be addressed in r100394, which upgrades py- pyqt4 to 4.9.6 (and thus includes their patches). I'm leaving this ticket open for now, waiting your feedback. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Comment (by loki23@…): I get a successful built now for py27-pyqt4 at version 4.9.6_1. (And all dependencies up to date). Thanks a lot! -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun -----------------------------------+------------------------- Reporter: lionel.arend@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: powerpc Port: py27-pyqt4, py27-sip | -----------------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Great; thanks for reporting back. -- Ticket URL: <https://trac.macports.org/ticket/36479#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts