[MacPorts] #40674: phantomjs @1.9.2 build error - Undefined symbols in QTWebFrame

MacPorts noreply at macports.org
Sat Oct 25 07:58:14 PDT 2014


#40674: phantomjs @1.9.2 build error - Undefined symbols in QTWebFrame
--------------------------------+------------------------
  Reporter:  daniel.laflamme@…  |      Owner:  stromnov@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.0
Resolution:                     |   Keywords:
      Port:  phantomjs          |
--------------------------------+------------------------

Comment (by gunnlaugur@…):

 I'm getting this exact same problem now, on Yosemite:

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.9.7/src/qt/bin/qmake
 -o Makefile.phantomjs phantomjs.pro
 g++ -headerpad_max_install_names -sectcreate __TEXT __info_plist
 Info.plist -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o
 ../bin/phantomjs MachIPC.o phantom.o callback.o webpage.o webserver.o
 main.o csconverter.o utils.o networkaccessmanager.o cookiejar.o
 filesystem.o system.o env.o terminal.o encoding.o config.o childprocess.o
 repl.o gif_err.o gifalloc.o egif_lib.o gif_hash.o quantize.o gifwriter.o
 mongoose.o linenoise.o utf8.o qcommandline.o minidump_file_writer.o
 convert_UTF.o md5.o string_conversion.o crash_generation_client.o
 exception_handler.o minidump_generator.o dynamic_images.o
 breakpad_nlist_64.o bootstrap_compat.o file_id.o macho_id.o
 macho_utilities.o macho_walker.o string_utilities.o moc_phantom.o
 moc_callback.o moc_webpage.o moc_webserver.o moc_networkaccessmanager.o
 moc_cookiejar.o moc_filesystem.o moc_system.o moc_env.o moc_config.o
 moc_childprocess.o moc_repl.o moc_qcommandline.o qrc_phantomjs.o
 qrc_ghostdriver.o qrc_WebKit.o qrc_InspectorBackendStub.o
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.9.7/src/qt/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.9.7/src/qt/plugins/codecs
 -lqcncodecs
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.9.7/src/qt/lib
 -framework ApplicationServices -framework CoreFoundation -framework
 Security -lqjpcodecs -lqkrcodecs -lqtwcodecs -lQtWebKit -framework Carbon
 -framework AppKit -framework SystemConfiguration -framework CoreServices
 -lQtGui -lQtNetwork -lQtCore -lz -lm
 Undefined symbols for architecture x86_64:
   "QWebFrame::evaluateJavaScript(QString const&, QString const&)",
 referenced from:
       Phantom::loadModule(QString const&, QString const&) in phantom.o
       Phantom::onInitialized() in phantom.o
       WebPage::evaluateJavaScript(QString const&) in webpage.o
       WebPage::openUrl(QString const&, QVariant const&, QMap<QString,
 QVariant> const&) in webpage.o
       WebPage::windowName() const in webpage.o
       getHeaderFooter(QMap<QString, QVariant> const&, QString const&,
 QWebFrame*, int, int) in webpage.o
       WebPage::_appendScriptElement(QString const&) in webpage.o
       ...
   "QWebFrame::print(QPrinter*, QWebFrame::PrintCallback*) const",
 referenced from:
       WebPage::renderPdf(QString const&) in webpage.o
 ld: symbol(s) not found for architecture x86_64
 }}}

 ... will attach full log.

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


More information about the macports-tickets mailing list