[MacPorts] #17863: amarok 2 port fails to compile when strigi does not find qmake
MacPorts
noreply at macports.org
Sat Jan 3 09:36:28 PST 2009
#17863: amarok 2 port fails to compile when strigi does not find qmake
-----------------------------------------------+----------------------------
Reporter: illogic-al@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: amarok compilation failure strigi | Port: strigi
-----------------------------------------------+----------------------------
That's qmake from the recently somethinged qt4-mac port. Still waiting
(impatiently) for qt4_select :-) Here's the error.
{{{
[ 87%] Building CXX object src/collection/sqlcollection/CMakeFiles
/amarok_collection-sqlcollection.dir/SqlCollection.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/build/src/collection/sqlcollection
&& /usr/bin/g++-4.2 -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT
-DKDE_DEPRECATED_WARNINGS -Damarok_collection_sqlcollection_EXPORTS -O2
-fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-
hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/build/src/collection/sqlcollection
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/build
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/../..
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/../../plugin
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/../../meta
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/../../collection
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/../../dialogs
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/../../playlistmanager
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/build/src/collection/sqlcollection/../..
-I/opt/local/include/mysql5/mysql -I/opt/local/include
-I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/phonon
-I/opt/local/libexec/qt4-mac/include/QtXmlPatterns
-I/opt/local/libexec/qt4-mac/include/QtWebKit
-I/opt/local/libexec/qt4-mac/include/QtHelp
-I/opt/local/libexec/qt4-mac/include/QtAssistant
-I/opt/local/libexec/qt4-mac/include/QtDBus
-I/opt/local/libexec/qt4-mac/include/QtTest
-I/opt/local/libexec/qt4-mac/include/QtUiTools
-I/opt/local/libexec/qt4-mac/include/QtScript
-I/opt/local/libexec/qt4-mac/include/QtSvg
-I/opt/local/libexec/qt4-mac/include/QtXml
-I/opt/local/libexec/qt4-mac/include/QtSql
-I/opt/local/libexec/qt4-mac/include/QtOpenGL
-I/opt/local/libexec/qt4-mac/include/QtNetwork
-I/opt/local/libexec/qt4-mac/include/QtDesigner
-I/opt/local/libexec/qt4-mac/include/Qt3Support
-I/opt/local/libexec/qt4-mac/include/QtGui
-I/opt/local/libexec/qt4-mac/include/QtCore
-I/opt/local/libexec/qt4-mac/include/Qt
-I/opt/local/libexec/qt4-mac/mkspecs/default
-I/opt/local/libexec/qt4-mac/include -I/opt/local/include/taglib
-F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib
-D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -I/opt/local/include/taglib -o
CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollection.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/SqlCollection.cpp
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/XesamCollectionBuilder.h:22,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/SqlCollection.cpp:37:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/XesamDbus.h:22:39:
error: strigi/qtdbus/strigitypes.h: No such file or directory
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/SqlCollection.cpp:308:
/opt/local/libexec/qt4-mac/include/QtCore/qmetatype.h: In static member
function 'static int QMetaTypeId2<T>::qt_metatype_id() [with T =
QList<int>]':
/opt/local/libexec/qt4-mac/include/QtCore/qmetatype.h:195: instantiated
from 'int qMetaTypeId(T*) [with T = QList<int>]'
/opt/local/libexec/qt4-mac/include/QtCore/qvariant.h:427: instantiated
from 'QVariant qVariantFromValue(const T&) [with T = QList<int>]'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/amarok-2.0/src/collection/sqlcollection/XesamDbus.h:89:
instantiated from here
/opt/local/libexec/qt4-mac/include/QtCore/qmetatype.h:185: error:
'qt_metatype_id' is not a member of 'QMetaTypeId<QList<int> >'
}}}
and here's why it fails strigi
{{{
Page 2 of 2
ENABLE_INOTIFY OFF
ENABLE_LOG4CXX OFF
ENABLE_QT4 ON
ENABLE_REGENERATEXSD ON
ENABLE_SQLITE OFF
EXECUTABLE_OUTPUT_PATH
FORCE_DEPS OFF
LIBRARY_OUTPUT_PATH
LIB_DESTINATION /opt/local/lib
LIB_SUFFIX
QT_QMAKE_EXECUTABLE QT_QMAKE_EXECUTABLE-NOTFOUND-NOTFOUND
STRIGI_EXTRA_INC_DIRECTORY
STRIGI_EXTRA_LIB_DIRECTORY
XMLLINT_EXECUTABLE /opt/local/bin/xmllint
}}}
Not that QT_QMAKE_EXECUTABLE was not found by strigi. As this used to work
I can only assume it was caused by the recent changes in qt4-mac. Proposed
Patch attached.
--
Ticket URL: <http://trac.macports.org/ticket/17863>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list