Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446440 - www-client/chromium-25.0.1349.2 - Package webkit-1.0 was not found in the pkg-config search path.
Summary: www-client/chromium-25.0.1349.2 - Package webkit-1.0 was not found in the pkg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: https://src.chromium.org/viewvc/chrom...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-12-08 07:04 UTC by octoploid
Modified: 2012-12-10 04:27 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description octoploid 2012-12-08 07:04:19 UTC
...
Updating projects from gyp files...
Package webkit-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit-1.0' found


Reproducible: Always
Comment 2 Mike Gilbert gentoo-dev 2012-12-08 17:07:47 UTC
Confirmed here. It probably "works" if you have net-libs/webkit-gtk installed.

floppym@naomi ~ % e-file webkit-1.0.pc
 *  net-libs/webkit-gtk
        Available Versions:     1.2.1 1.8.1-r200 1.2.0-r0 1.1.90-r1 1.1.15.1-r0 1.1.14-r0 1.1.13-r0 1.1.12-r0 1.1.11-r0 0_p40220-r0 1.2.6 9999-r0 1.1.10 1.2.5 1.2.3 1.8.3-r200 1.1.8 1.8.2-r200 1.1.15.4 1.8.1-r201 1.1.17-r0 1.8.0-r200 1.1.15.4-r0 1.6.3-r200 1.1.16-r0 1.6.1-r201 1.1.15.2-r0 1.6.1-r200 0_p40220-r1 1.4.3-r200 1.1.10-r0 1.4.2-r200 1.1.8-r0 1.4.1-r200 1.1.7-r0 1.2.7 
        Homepage:               http://www.webkitgtk.org/
        Description:            Open source web browser engine
        Matched Files:          /usr/lib64/pkgconfig/webkit-1.0.pc; /usr/lib/pkgconfig/webkit-1.0.pc; 


Here's some additional info from the log:

Updating projects from gyp files...
Package webkit-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit-1.0' found
gyp: Call to 'pkg-config --cflags webkit-1.0' returned exit status 1. while loading dependencies of /var/tmp/portage/www-client/chromium-25.0.1349.2/work/chromium-25.0.1349.2/chrome/chrome.gyp while loading dependencies of /var/tmp/portage/www-client/chromium-25.0.1349.2/work/chromium-25.0.1349.2/build/all.gyp while trying to load /var/tmp/portage/www-client/chromium-25.0.1349.2/work/chromium-25.0.1349.2/build/all.gyp
Comment 3 Mike Gilbert gentoo-dev 2012-12-08 17:12:37 UTC
(In reply to comment #1)
> The following patch fixes the issue for me:

Thanks for investigating. Removing that target by reverting a commit from 3 weeks ago doesn't seem like a good long-term solution.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-12-09 23:11:57 UTC
Done. Thank you for the report. I think that could be made optional behind a new "remoting" USE flag... I will ask upstream about some details how to best package it.
Comment 5 Mike Gilbert gentoo-dev 2012-12-10 01:03:37 UTC
Small tweak needed.

webkit-gtk:3 provides webkit-3.0.pc
webkit-gtk:2 provides webkit-1.0.pc

+  10 Dec 2012; Mike Gilbert <floppym@gentoo.org> chromium-25.0.1349.2.ebuild,
+  chromium-9999-r1.ebuild:
+  Add slot to webkit-gtk dependency, bug 446440.
Comment 6 Mike Gilbert gentoo-dev 2012-12-10 03:05:52 UTC
(In reply to comment #4)
> Done. Thank you for the report. I think that could be made optional behind a
> new "remoting" USE flag... I will ask upstream about some details how to
> best package it.

I looked at this a little closer, and it seems that we are not even building the "remoting_configurer" target (directly or indirectly).

I think adding net-libs/webkit-gtk to RDEPEND is definitely wrong.

I also believe that having it in DEPEND is incorrect. The only reason we need it is because GYP evaluates the pkg-config call, rather than deferring it to make.

I think patching it out or adding an optional GYP block is a better solution here.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-12-10 04:20:02 UTC
(In reply to comment #6)
> I think patching it out or adding an optional GYP block is a better solution
> here.

Oh, definitely. Sorry for the ambiguity of my last comment, I definitely plan to do that. I just need to ask maintainers of remoting for some advice, and possibly do some upstream patches.

Note that for now even official .debs don't have the binary in question.

For 25.0.1349.2, I think adding to RDEPEND is OK-ish. It's not worth a temporary patch for me that I know would be reverted in the next release. Although anyone is free to implement any other reasonable solution if you want. :)

Thank you for correcting the slot by the way.
Comment 8 Mike Gilbert gentoo-dev 2012-12-10 04:27:43 UTC
Ok, sounds good. One last tweak for now.

+  10 Dec 2012; Mike Gilbert <floppym@gentoo.org> chromium-25.0.1349.2.ebuild,
+  chromium-9999-r1.ebuild:
+  Move webkit-gtk from RDEPEND to DEPEND since we don't actually install
+  anything that uses it (for now).