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

MacPorts noreply at macports.org
Fri Oct 4 14:36:26 PDT 2013


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

 OSX: 10.6.8

 XCode: 3.2.6

 gcc: 4.2.1 (Apple Inc. build 5666) (dot 3)

 Short error message below. Full log attached.

 I have tried the following things:
 - port clean phantomjs && port install phantomjs
 - port uninstall phantomjs && port install phantomjs

 {{{
 info:build g++ -headerpad_max_install_names -sectcreate __TEXT
 __info_plist Info.plist -arch i386 -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.2/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.2/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.2/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
 :info:build Undefined symbols:
 :info:build   "QWebFrame::evaluateJavaScript(QString const&, QString
 const&)", referenced from:
 :info:build       Phantom::onInitialized()      in phantom.o
 :info:build       Phantom::loadModule(QString const&, QString const&)in
 phantom.o
 :info:build       getHeaderFooter(QMap<QString, QVariant> const&, QString
 const&, QWebFrame*, int, int)in webpage.o
 :info:build       WebPage::windowName() const in webpage.o
 :info:build       WebPage::_appendScriptElement(QString const&) in
 webpage.o
 :info:build       WebPage::openUrl(QString const&, QVariant const&,
 QMap<QString, QVariant> const&)in webpage.o
 :info:build       WebPage::setupFrame(QWebFrame*)      in webpage.o
 :info:build       WebPage::setupFrame(QWebFrame*)      in webpage.o
 :info:build       WebPage::evaluateJavaScript(QString const&) in webpage.o
 :info:build       CSConverter::CSConverter()in csconverter.o
 :info:build       CSConverter::convert(QString const&) in csconverter.o
 :info:build       Utils::loadJSForDebug(QString const&, Encoding const&,
 QString const&, QWebFrame*, bool)in utils.o
 :info:build       Utils::injectJsInFrame(QString const&, Encoding const&,
 QString const&, QWebFrame*, bool)in utils.o
 :info:build       Config::loadJsonFile(QString const&) in config.o
 :info:build       REPL::REPL(QWebFrame*, Phantom*) in repl.o
 :info:build       REPL::startLoop()     in repl.o
 :info:build       REPL::offerCompletion(char const*,
 linenoiseCompletions*)in repl.o
 :info:build   "QWebFrame::print(QPrinter*, QWebFrame::PrintCallback*)
 const", referenced from:
 :info:build       WebPage::renderPdf(QString const&)in webpage.o
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build make[1]: *** [../bin/phantomjs] Error 1
 :info:build make: *** [sub-src-phantomjs-pro-make_default-ordered] Error 2
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_phantomjs/phantomjs/work/phantomjs-1.9.2"
 && ./build.sh --confirm --jobs 2
 :info:build Exit code: 2
 :error:build org.macports.build for port phantomjs returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 83382 2
 }}}

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


More information about the macports-tickets mailing list