Opened 15 years ago
Last modified 14 years ago
#23284 closed defect
qt4-mac on OSX 10.4 on ppc build error — at Version 4
Reported by: | mcmeijer@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | tiger | Cc: | boydb@… |
Port: | qt4-mac |
Description (last modified by jmroot (Joshua Root))
building qt4-mac on OSX 10.4 on ppc and I get the next error.
cd tools/ && /usr/bin/make -f Makefile cd assistant/ && /usr/bin/make -f Makefile /usr/bin/g++-4.0 -headerpad_max_install_names -arch ppc -o ../../../../bin/Assistant.app/Contents/MacOS/Assistant .obj/debug-shared/fontpanel.o .obj/debug-shared/helpviewer.o .obj/debug-shared/main.o .obj/debug-shared/mainwindow.o .obj/debug-shared/indexwindow.o .obj/debug-shared/topicchooser.o .obj/debug-shared/contentwindow.o .obj/debug-shared/searchwidget.o .obj/debug-shared/preferencesdialog.o .obj/debug-shared/filternamedialog.o .obj/debug-shared/centralwidget.o .obj/debug-shared/installdialog.o .obj/debug-shared/bookmarkmanager.o .obj/debug-shared/remotecontrol.o .obj/debug-shared/cmdlineparser.o .obj/debug-shared/aboutdialog.o .obj/debug-shared/qtdocinstaller.o .obj/debug-shared/moc_fontpanel.o .obj/debug-shared/moc_helpviewer.o .obj/debug-shared/moc_mainwindow.o .obj/debug-shared/moc_indexwindow.o .obj/debug-shared/moc_topicchooser.o .obj/debug-shared/moc_contentwindow.o .obj/debug-shared/moc_searchwidget.o .obj/debug-shared/moc_preferencesdialog.o .obj/debug-shared/moc_filternamedialog.o .obj/debug-shared/moc_centralwidget.o .obj/debug-shared/moc_installdialog.o .obj/debug-shared/moc_bookmarkmanager.o .obj/debug-shared/moc_remotecontrol.o .obj/debug-shared/moc_aboutdialog.o .obj/debug-shared/moc_qtdocinstaller.o .obj/debug-shared/qrc_assistant.o .obj/debug-shared/qrc_assistant_images.o -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0/lib -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0/plugins/sqldrivers -framework QtHelp -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0/lib -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0/lib -framework QtWebKit -lsqlite3 -framework phonon -framework QtDBus -framework QtXmlPatterns -framework QtSql -framework QtXml -framework QtGui -framework QtNetwork -framework QtCore /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0/lib/QtHelp.framework/QtHelp (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: QCLuceneHits::~QCLuceneHits()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneTerm::QCLuceneTerm(QString const&, QString const&)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneTerm::~QCLuceneTerm()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneField::QCLuceneField(QString const&, QString const&, int)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocument::add(QCLuceneField*) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocument::QCLuceneDocument()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocument::~QCLuceneDocument()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneSearcher::search(QCLuceneQuery const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneTermQuery::QCLuceneTermQuery(QCLuceneTerm const&)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneTermQuery::~QCLuceneTermQuery()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexReader::indexExists(QString const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexReader::deleteDocuments(QCLuceneTerm const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexReader::open(QString const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexReader::close() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexReader::unlock(QString const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexReader::isLocked(QString const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexReader::~QCLuceneIndexReader()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::addDocument(QCLuceneDocument&, QCLuceneAnalyzer&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::setMergeFactor(int) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::setMinMergeDocs(int) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::setMaxFieldLength(int) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::close() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::optimize() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::QCLuceneIndexWriter(QString const&, QCLuceneAnalyzer&, bool, bool)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::~QCLuceneIndexWriter()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexSearcher::QCLuceneIndexSearcher(QString const&)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexSearcher::~QCLuceneIndexSearcher()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStandardAnalyzer::QCLuceneStandardAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStandardAnalyzer::~QCLuceneStandardAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneHits::length() const referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneHits::document(int) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocument::clear() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneHitsPrivate::~QCLuceneHitsPrivate()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLucenePhraseQuery::addTerm(QCLuceneTerm const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLucenePhraseQuery::QCLucenePhraseQuery()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneQueryParser::parse(QString const&, QString const&, QCLuceneAnalyzer&)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneBooleanQuery::add(QCLuceneQuery*, bool, bool, bool)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneBooleanQuery::QCLuceneBooleanQuery()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneBooleanQuery::~QCLuceneBooleanQuery()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStopAnalyzer::QCLuceneStopAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStopAnalyzer::~QCLuceneStopAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexSearcher::close() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocumentPrivate::~QCLuceneDocumentPrivate()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneQuery::toString() const referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocument::get(QString const&) constreferenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStopAnalyzer::englishStopWords() const referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib collect2: ld returned 1 exit status make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1 make[3]: *** [sub-assistant-make_default-ordered] Error 2 make[2]: *** [sub-tools-make_default-ordered] Error 2 make[1]: *** [sub-assistant-make_default-ordered] Error 2 make: *** [sub-tools-make_default-ordered] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0" && /usr/bin/make -j2 first " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0" && /usr/bin/make -j2 first " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for qt4-mac): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Change History (4)
comment:1 Changed 15 years ago by mcmeijer@…
comment:2 Changed 15 years ago by boydb@…
I'm getting a similar issue on OS X 10.3.9 (Intel processor):
sudo port install qt4-mac ---> Computing dependencies for qt4-mac ---> Building qt4-mac Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0" && /usr/bin/make -j1 first " returned error 2 Command output: QCLuceneIndexWriter::optimize() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::QCLuceneIndexWriter(QString const&, QCLuceneAnalyzer&, bool, bool)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexWriter::~QCLuceneIndexWriter()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexSearcher::QCLuceneIndexSearcher(QString const&)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexSearcher::~QCLuceneIndexSearcher()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStandardAnalyzer::QCLuceneStandardAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStandardAnalyzer::~QCLuceneStandardAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneHits::length() const referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneHits::document(int) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocument::clear() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneHitsPrivate::~QCLuceneHitsPrivate()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLucenePhraseQuery::addTerm(QCLuceneTerm const&) referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLucenePhraseQuery::QCLucenePhraseQuery()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneQueryParser::parse(QString const&, QString const&, QCLuceneAnalyzer&)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneBooleanQuery::add(QCLuceneQuery*, bool, bool, bool)referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneBooleanQuery::QCLuceneBooleanQuery()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneBooleanQuery::~QCLuceneBooleanQuery()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStopAnalyzer::QCLuceneStopAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStopAnalyzer::~QCLuceneStopAnalyzer()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneIndexSearcher::close() referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocumentPrivate::~QCLuceneDocumentPrivate()referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneQuery::toString() const referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneDocument::get(QString const&) constreferenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib QCLuceneStopAnalyzer::englishStopWords() const referenced from QtHelp expected to be defined in /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib collect2: ld returned 1 exit status make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1 make[3]: *** [sub-assistant-make_default-ordered] Error 2 make[2]: *** [sub-tools-make_default-ordered] Error 2 make[1]: *** [sub-assistant-make_default-ordered] Error 2 make: *** [sub-tools-make_default-ordered] Error 2 Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
On the suggestion of the above post, running
$ sudo mkdir -p /opt/local/libexec/qt4-mac/lib/ $ sudo cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.0/lib/libQtCLucene.4.dylib /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib
allows the build to proceed (not finished yet, but appears to be getting further now). I had to add the folder first, since the "qt4-mac" folder didn't exist in the "/opt/local" folder already.
comment:4 Changed 15 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | qt4-mac removed |
Please remember to preview and use WikiFormatting.
Note: See
TracTickets for help on using
tickets.
Qt4-mac build process seems to look on the wrong location for libQtLucene.4.dylib
It already build the same file in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-macwork.qt-everywhere-opensource-scr-4.6.0/lib/
I copied it by hand in the location where it is looking /opt/local/libexec/qt4-mac/lib/
and the building is proceeding. Is is a bug . But I think you will not find it in a update because then a old version of libQtLucene.4.dylib is in the right place.