[MacPorts] #36479: py27-pyqt4 @ 4.9.4 g++ build fails with qglyphrun

MacPorts noreply at macports.org
Fri Oct 5 00:55:21 PDT 2012


#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


More information about the macports-tickets mailing list