[MacPorts] #47994: gnuplot +qt5: build failure (was: gnuplot-5.0.0_0 +qt5 build failure)

MacPorts noreply at macports.org
Mon Jun 8 11:30:58 PDT 2015


#47994: gnuplot +qt5: build failure
----------------------------+---------------------
  Reporter:  jinxiaoyong@…  |      Owner:  mojca@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  gnuplot        |
----------------------------+---------------------
Changes (by mojca@…):

 * cc: mojca@… (removed)
 * cc: mcalhoun@… (added)
 * owner:  macports-tickets@… => mojca@…
 * version:  2.3.3 =>
 * keywords:  gnuplot qt =>
 * port:  gnuplot-5.0.0_0 => gnuplot


Comment:

 The paths have been fixed in r137301, but the build fails:

 {{{
 In file included from qtterminal/qt_term.cpp:51:
 In file included from /opt/local/libexec/qt5-mac/include/QtCore/QtCore:10:
 /opt/local/libexec/qt5-mac/include/QtCore/qvariantanimation.h:49:21:
 error: redefinition of 'QVariantAnimation'
 class Q_CORE_EXPORT QVariantAnimation : public QAbstractAnimation
                     ^
 /opt/local/include/QtCore/qvariantanimation.h:60:21: note: previous
 definition is here
 class Q_CORE_EXPORT QVariantAnimation : public QAbstractAnimation
                     ^
 In file included from qtterminal/qt_term.cpp:51:
 In file included from /opt/local/libexec/qt5-mac/include/QtCore/QtCore:10:
 /opt/local/libexec/qt5-mac/include/QtCore/qvariantanimation.h:51:5: error:
 static data member 'staticMetaObject' not allowed in anonymous struct
     Q_OBJECT
     ^
 /opt/local/include/QtCore/qobjectdefs.h:160:30: note: expanded from macro
 'Q_OBJECT'
     static const QMetaObject staticMetaObject; \
                              ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47994#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list