Date: Wed, 16 Sep 2015 23:29:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203164] compile errors lang/phantomjs Message-ID: <bug-203164-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203164 Bug ID: 203164 Summary: compile errors lang/phantomjs Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kuriyama@FreeBSD.org Reporter: w.litter@aon.at Flags: maintainer-feedback?(kuriyama@FreeBSD.org) Assignee: kuriyama@FreeBSD.org Failes with clang with: cc1plus: error: -Werror=unused-but-set-variable: No option -Wunused-but-set-variable Makefile.Target:713: recipe for target '.obj/db/c.o' failed gmake[2]: *** [.obj/db/c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... Makefile.Target:700: recipe for target '.obj/db/builder.o' failed gmake[2]: *** [.obj/db/builder.o] Error 1 cc1plus: error: -Werror=unused-but-set-variable: No option -Wunused-but-set-variable cc1plus: error: -Werror=unused-but-set-variable: No option -Wunused-but-set-variable cc1plus: error: -Werror=unused-but-set-variable: No option -Wunused-but-set-variable Makefile.Target:898: recipe for target '.obj/db/db_impl.o' failed gmake[2]: *** [.obj/db/db_impl.o] Error 1 Makefile.Target:983: recipe for target '.obj/db/db_iter.o' failed gmake[2]: *** [.obj/db/db_iter.o] Error 1 Makefile.Target:793: recipe for target '.obj/db/dbformat.o' failed gmake[2]: *** [.obj/db/dbformat.o] Error 1 Makefile.Target:1141: recipe for target '.obj/db/log_reader.o' failed gmake[2]: *** [.obj/db/log_reader.o] Error 1 Makefile.Target:1065: recipe for target '.obj/db/filename.o' failed gmake[2]: *** [.obj/db/filename.o] Error 1 Makefile.Target:1217: recipe for target '.obj/db/log_writer.o' failed gmake[2]: *** [.obj/db/log_writer.o] Error 1 gmake[2]: Leaving directory '/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtwebkit/Source/ThirdParty/leveldb' Makefile.leveldb:36: recipe for target 'sub-Target-pri-make_first' failed gmake[1]: *** [sub-Target-pri-make_first] Error 2 gmake[1]: Leaving directory '/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtwebkit/Source/ThirdParty/leveldb' Makefile:130: recipe for target 'sub-Source-ThirdParty-leveldb-leveldb-pro-make_first-ordered' failed gmake: *** [sub-Source-ThirdParty-leveldb-leveldb-pro-make_first-ordered] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/lang/phantomjs. and with gcc48 config.o: In function `Config::loadJsonFile(QString const&)': config.cpp:(.text+0x33c6): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' phantom.o: In function `Phantom::loadModule(QString const&, QString const&)': phantom.cpp:(.text+0x925): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' phantom.o: In function `Phantom::onInitialized()': phantom.cpp:(.text+0x1000): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' webpage.o: In function `WebPage::windowName() const': webpage.cpp:(.text+0xff3): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' webpage.o: In function `WebPage::_appendScriptElement(QString const&)': webpage.cpp:(.text+0x1138): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' webpage.o:webpage.cpp:(.text+0x3c0e): more undefined references to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' follow webpage.o: In function `WebPage::renderPdf(QString const&)': webpage.cpp:(.text+0x9c5d): undefined reference to `QWebFrame::print(QPrinter*, QWebFrame::PrintCallback*) const' utils.o: In function `Utils::injectJsInFrame(QString const&, QString const&, Encoding const&, QString const&, QWebFrame*, bool)': utils.cpp:(.text+0x1334): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' utils.o: In function `Utils::loadJSForDebug(QString const&, QString const&, Encoding const&, QString const&, QWebFrame*, bool)': utils.cpp:(.text+0x1660): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' repl.o: In function `REPL::REPL(QWebFrame*, Phantom*)': repl.cpp:(.text+0x38e): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' repl.o: In function `REPL::startLoop()': repl.cpp:(.text+0x927): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' repl.o: In function `REPL::offerCompletion(char const*, linenoiseCompletions*)': repl.cpp:(.text+0xef8): undefined reference to `QWebFrame::evaluateJavaScript(QString const&, QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(simplewidgets.o): In function `QAccessibleGroupBox::text(QAccessible::Text) const': simplewidgets.cpp:(.text+0x467): undefined reference to `qt_accStripAmp(QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(simplewidgets.o): In function `QAccessibleButton::text(QAccessible::Text) const': simplewidgets.cpp:(.text+0x9ba): undefined reference to `qt_accHotKey(QString const&)' simplewidgets.cpp:(.text+0xa77): undefined reference to `qt_accStripAmp(QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(simplewidgets.o): In function `QAccessibleToolButton::text(QAccessible::Text) const': simplewidgets.cpp:(.text+0xdf3): undefined reference to `qt_accStripAmp(QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(simplewidgets.o): In function `QAccessibleLineEdit::text(QAccessible::Text) const': simplewidgets.cpp:(.text+0x1b72): undefined reference to `qt_accStripAmp(QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(simplewidgets.o): In function `QAccessibleDisplay::text(QAccessible::Text) const': simplewidgets.cpp:(.text+0x26e2): undefined reference to `qt_accStripAmp(QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(complexwidgets.o): In function `QAccessibleTabBar::text(QAccessible::Text) const': complexwidgets.cpp:(.text+0x1f4): undefined reference to `qt_accStripAmp(QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(complexwidgets.o):complexwidgets.cpp:(.text._ZNK20QAccessibleTabButton4textEN11QAccessible4TextE[_ZNK20QAccessibleTabButton4textEN11QAccessible4TextE]+0x34): more undefined references to `qt_accStripAmp(QString const&)' follow /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/accessible/libqtaccessiblewidgets.a(qaccessiblemenu.o): In function `QAccessibleMenuItem::text(QAccessible::Text) const': qaccessiblemenu.cpp:(.text+0x724): undefined reference to `qt_accHotKey(QString const&)' qaccessiblemenu.cpp:(.text+0x7e4): undefined reference to `qt_accStripAmp(QString const&)' /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/plugins/platforms/libqphantom.a(phantomintegration.o):(.data.rel.ro._ZTV13PhantomScreen[_ZTV13PhantomScreen]+0x98): undefined reference to `QPlatformScreen::pageFlipper() const' collect2: error: ld returned 1 exit status *** [../bin/phantomjs] Error code 1 make[2]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src 1 error make[2]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src *** [sub-src-phantomjs-pro-make_first-ordered] Error code 2 make[1]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.0.0 1 error make[1]: stopped in /usr/ports/lang/phantomjs/work/phantomjs-2.0.0 *** Error code 2 Stop. make: stopped in /usr/ports/lang/phantomjs found in the net the suggestion to add QT += webkit to /usr/ports/lang/phantomjs/work/phantomjs-2.0.0/phantomjs.pro - but does not help. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203164-13>