Created attachment 384682 [details] build log g++ -m64 -Wl,-O1 -Wl,-rpath,/tmp/portage/www-client/phantomjs-1.9.7/work/phantomjs-1.9.7/src/qt/lib -o ../bin/phantomjs 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 log.o linux_dumper.o linux_ptrace_dumper.o minidump_writer.o file_id.o guid_creator.o memory_mapped_file.o safe_readlink.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/tmp/portage/www-client/phantomjs-1.9.7/work/phantomjs-1.9.7/src/qt/lib -L/tmp/portage/www-client/phantomjs-1.9.7/work/phantomjs-1.9.7/src/qt/plugins/codecs -lqcncodecs -L/tmp/portage/www-client/phantomjs-1.9.7/work/phantomjs-1.9.7/src/qt/lib -lqjpcodecs -lqkrcodecs -lqtwcodecs -lQtWebKit -licuuc -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lQtGui -lfreetype -lfontconfig -lQtNetwork -lQtCore -lm -ldl -lrt -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtWebKit collect2: error: ld returned 1 exit status Makefile.phantomjs:219: recipe for target '../bin/phantomjs' failed make[1]: *** [../bin/phantomjs] Error 1 There are no Qt deps in the ebuild because it's supposed to be bundled (bug #409991).
*** Bug 527050 has been marked as a duplicate of this bug. ***
Encountered 4 configuration warning(s): ! QtQuick module not found, QML APIs will not be built ! Missing GStreamer or QtMultimedia, disabling HTML5 media element support ! Missing QtTest module, disabling DumpRenderTree, WebKitTestRunner and tests ! QtWebKitQml will not be build. It is not supported with static linking The WebKit build was disabled for the following reasons: * Missing ruby from PATH make: Nothing to be done for 'first'. Building main PhantomJS application... cd src/ && ( test -e Makefile.phantomjs || /var/tmp/portage/www-client/phantomjs-2.0.0/work/phantomjs-2.0.0/src/qt/qtbase/bin/qmake /var/tmp/portage/www-client/phantomjs-2.0.0/work/phantomjs-2.0.0/src/phantomjs.pro -o Makefile.phantomjs ) && make -f Makefile.phantomjs Project ERROR: Unknown module(s) in QT: webkitwidgets Makefile:38: recipe for target 'sub-src-phantomjs-pro-make_first-ordered' failed make: *** [sub-src-phantomjs-pro-make_first-ordered] Error 3
Created attachment 404068 [details] build.log
Apparently phantomjs needs ruby to be added to its deps.
Fixed in place using the new ruby-single.eclass.