Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616366 - www-client/phantomjs-1.9.8 - ld: cannot find -lQtWebKit
Summary: www-client/phantomjs-1.9.8 - ld: cannot find -lQtWebKit
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-23 09:08 UTC by dieter ferdinand
Modified: 2017-09-19 15:48 UTC (History)
1 user (show)

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


Attachments
build log for phantomjs (build.log.gz,52.54 KB, application/x-gzip)
2017-04-23 09:08 UTC, dieter ferdinand
Details
build log (build.log.gz,52.96 KB, application/x-gzip)
2017-04-26 08:56 UTC, dieter ferdinand
Details
build log (build.log.gz,52.96 KB, application/x-gzip)
2017-04-27 10:20 UTC, dieter ferdinand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dieter ferdinand 2017-04-23 09:08:06 UTC
Created attachment 470704 [details]
build log for phantomjs

hello,
phantomjs need qtwebkit but it seems, that there is no depency for this lib.

i change my system to gcc 5.4.0 and emerge stop while phantomjs can't be compiled because qtwebkit is missing.
or will emerge don't merge missing libs if it is started by revdep-rebuild with this commandline:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc

i will try it again after installing qtwebkit.

goodby
Comment 1 dieter ferdinand 2017-04-24 07:46:25 UTC
hello,
after updating all packages to neww gcc, i try it again and emerge try to install phantomjs without qtwebkit, but this don't work.

please update the depencies for phantomjs to need qtwebkit.

goodby
Comment 2 dieter ferdinand 2017-04-26 08:51:26 UTC
hello,
i have installed the needed qtwebkit package, but i canÄt build phantomjs.

it is possible, that phantomjs cant be compiled with gcc-5.4.x ?

i have the some system on an other disk with gcc-4.9.x. this works find and i can build phantomjs without problems.

after changing my testsystem to gcc-5.4 phontomjs can't be build.

i had some problems to change to gcc-5.4 because some packages break build. but i think, that i have rebuild this packages all manual.

i hope, that i don't need to remerge the complete system with -e1 as on an other system, which was not updated since over one year.

if i can hope, that this will help, i can do it. but i think that this won't help.

i add the last build.log.

goodby
Comment 3 dieter ferdinand 2017-04-26 08:56:29 UTC
Created attachment 470926 [details]
build log
Comment 4 dieter ferdinand 2017-04-27 10:19:13 UTC
hello,
i make an emerge -e1 phantomjs, but this don't work.

i send the new build.log with other erroe-messages.

goodby
Comment 5 dieter ferdinand 2017-04-27 10:20:59 UTC
Created attachment 471004 [details]
build log
Comment 6 dieter ferdinand 2017-05-02 06:46:53 UTC
hello,
phantomjs-2 works.

goodby
Comment 7 Grigoriy Puzankin 2017-06-04 07:13:43 UTC
Phantomjs 1.9.8 uses bundled qt.

If you go to /var/tmp/portage/www-client/phantomjs-1.9.8/work/phantomjs-1.9.8/src/qt/src/3rdparty/webkit/Source/WebKit/qt and run 'make', it will build libQtWebKit.a (will appear in /var/tmp/portage/www-client/phantomjs-1.9.8/work/phantomjs-1.9.8/src/qt/lib).

Then go to /var/tmp/portage/www-client/phantomjs-1.9.8/work/phantomjs-1.9.8/ and run 'make'. It will build phantomjs executable.

Somehow the build script is not building bundled qtwebkit. I don't have enough knowledge to fix it in ebuild/makefiles.
Comment 8 dieter ferdinand 2017-06-04 09:11:31 UTC
(In reply to Grigoriy Puzankin from comment #7)
> Somehow the build script is not building bundled qtwebkit. I don't have
> enough knowledge to fix it in ebuild/makefiles.

hello,
if only qtwebkit will missing, you can build it before you emerge phantomjs.

but if you use gcc 5.4 you must use phantomjs 2.x. if i remember right, this works.

goodby
Comment 9 Pacho Ramos gentoo-dev 2017-09-19 15:48:18 UTC
please test again with version 2.1.1