Opened 15 years ago

Closed 15 years ago

#17863 closed defect (fixed)

amarok 2 port fails to compile when strigi does not find qmake

Reported by: illogic-al@… Owned by: clubjuggler@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: amarok compilation failure strigi Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: strigi

Description

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.

Attachments (1)

strigi_qt_support.diff (525 bytes) - added by illogic-al@… 15 years ago.
patch to allow strigi to compile w/ qt4 support.

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by illogic-al@…

Attachment: strigi_qt_support.diff added

patch to allow strigi to compile w/ qt4 support.

comment:1 Changed 15 years ago by illogic-al@…

I should point out that qt4-mac should be made a dependency and also possibly add qt/qt4 as a default variant.

comment:2 Changed 15 years ago by illogic-al@…

Owner: changed from macports-tickets@… to clubjuggler@…

Since this's an openmaintainer port I'll do the first part. I don't think it does any harm if qt isn't present. See r44847. Leaving as unfixed until the variants issue resolved by maintainer.

comment:3 Changed 15 years ago by illogic-al@…

Oh, and feel free to revert before contacting me if you feel this is the wrong solution. I just wanted to have to port working in the meantime. I'd much rather a proper fix (if this isn't it) than some hacky solution.

comment:4 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by illogic-al@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.