Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464986 - dev-util/pkgconf: ignores PKG_CONFIG_PATH for dep lookup when .pc file is specified
Summary: dev-util/pkgconf: ignores PKG_CONFIG_PATH for dep lookup when .pc file is spe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeff (JD) Horelick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-07 17:27 UTC by Michał Górny
Modified: 2013-05-14 17:33 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,5.89 KB, text/plain)
2013-04-07 17:27 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-07 17:27:25 UTC
Created attachment 344736 [details]
emerge --info

[ebuild   R    ] dev-util/pkgconf-0.9.1  USE="pkg-config -strict" 0 kB

$ pkgconf ./Source/WebKit/gtk/webkitgtk-3.0.pc --cflags
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by 'webkitgtk-3.0', not found
Package 'gtk+-3.0', required by 'webkitgtk-3.0', not found
Package 'libsoup-2.4', required by 'webkitgtk-3.0', not found
Package 'javascriptcoregtk-3.0', required by 'webkitgtk-3.0', not found

If I use the 'installed' .pc file, it finds the deps fine.

--

This results in a build failure of webkit-gtk:

 /usr/bin/install -c -m 644 ./Documentation/webkit2gtk/html/WebKitWebViewBase.html
 /usr/bin/install -c -m 644 ./Documentation/webkit2gtk/html/WebKitWebView.html
 /usr/bin/install -c -m 644 ./Documentation/webkit2gtk/html/WebKitWindowProperties.html
Rebasing WebKit1 documentation...
Traceback (most recent call last):
  File "./Tools/gtk/generate-gtkdoc", line 173, in <module>
    rebase_installed_docs(pkg_config_path, options)
  File "./Tools/gtk/generate-gtkdoc", line 149, in rebase_installed_docs
    generator = gtkdoc.PkgConfigGTKDoc(pkg_config_path, options)
  File "/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/work/webkitgtk-1.10.2/Tools/gtk/gtkdoc.py", line 398, in __init__
    '--cflags'], print_output=False)
  File "/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/work/webkitgtk-1.10.2/Tools/gtk/gtkdoc.py", line 198, in _run_command
    % (args[0], process.returncode))
Exception: pkg-config produced a non-zero return code 1
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/work/webkitgtk-1.10.2'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/work/webkitgtk-1.10.2'
make: *** [install] Error 2
Comment 1 Jeff (JD) Horelick (RETIRED) gentoo-dev 2013-04-10 03:43:42 UTC
Please try with pkgconf-0.9.2 . Thanks!
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-15 05:23:46 UTC
(In reply to comment #1)
> Please try with pkgconf-0.9.2 . Thanks!

It works in my custom test case. I'll give you the definite answer when I rebuild webkit-gtk next time.