Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522744 - www-client/phantomjs-2.0.0 fails to build
Summary: www-client/phantomjs-2.0.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 527050 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-13 17:29 UTC by Michael Palimaka (kensington)
Modified: 2015-05-31 06:16 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (www-client:phantomjs-1.9.7:20140913-170606.log.xz,200.89 KB, text/plain)
2014-09-13 17:29 UTC, Michael Palimaka (kensington)
Details
build.log (build.log.bz2,46.99 KB, application/x-bzip2)
2015-05-27 10:28 UTC, Tomáš Mózes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2014-09-13 17:29:54 UTC
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).
Comment 1 Pacho Ramos gentoo-dev 2014-10-27 11:52:21 UTC
*** Bug 527050 has been marked as a duplicate of this bug. ***
Comment 2 Tomáš Mózes 2015-05-27 10:26:49 UTC
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
Comment 3 Tomáš Mózes 2015-05-27 10:28:58 UTC
Created attachment 404068 [details]
build.log
Comment 4 Jason A. Donenfeld gentoo-dev 2015-05-27 20:27:20 UTC
Apparently phantomjs needs ruby to be added to its deps.
Comment 5 Hans de Graaff gentoo-dev Security 2015-05-31 06:16:17 UTC
Fixed in place using the new ruby-single.eclass.