Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324517 - www-client/chromium-6.0.437.1 needs gnome-keyring to build
Summary: www-client/chromium-6.0.437.1 needs gnome-keyring to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paweł Hajdan, Jr. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 21:20 UTC by Dror Levin (RETIRED)
Modified: 2010-09-19 13:07 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 Dror Levin (RETIRED) gentoo-dev 2010-06-17 21:20:48 UTC
When building chromium I get the following error:

Package gnome-keyring-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnome-keyring-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnome-keyring-1' found
Traceback (most recent call last):
  File "build/gyp_chromium", line 97, in <module>
    sys.exit(gyp.main(args))
  File "./tools/gyp/pylib/gyp/__init__.py", line 445, in main
    options.circular_check)
  File "./tools/gyp/pylib/gyp/__init__.py", line 84, in Load
    depth, generator_input_info, check, circular_check)
  File "./tools/gyp/pylib/gyp/input.py", line 2125, in Load
    depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 408, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 408, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 408, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 408, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 366, in LoadTargetBuildFile
    build_file_path)
  File "./tools/gyp/pylib/gyp/input.py", line 953, in ProcessVariablesAndConditionsInDict
    build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 968, in ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, is_late, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 927, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, is_late, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 804, in ProcessConditionsInDict
    variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 946, in ProcessVariablesAndConditionsInDict
    build_file, key)
  File "./tools/gyp/pylib/gyp/input.py", line 953, in ProcessVariablesAndConditionsInDict
    build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 972, in ProcessVariablesAndConditionsInList
    expanded = ExpandVariables(item, is_late, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 639, in ExpandVariables
    (contents, p.returncode))
Exception: Call to 'pkg-config --cflags gnome-keyring-1' returned exit status 1. while loading dependencies of base/base.gyp while loading dependencies of net/net.gyp while loading dependencies of app/app.gyp while loading dependencies of build/all.gyp while trying to load build/all.gyp

(That's the whole build.log so I won't be attaching it.)

Needless to say, I don't have gnome-keyring installed (using KDE). I would therefore be most happy if it was made optional instead of just adding a dep.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-18 05:32:12 UTC
Uh, sorry I missed that. There was some early warning about added gnome-keyring dependency, but my check didn't detect the new dependency. So, at this point it's hard to make it optional (upstream development seems to be GNOME-centric), but it's on my radar (feel free to file a bug - preferably upstream - and give me the link).
Comment 2 Oschtan 2010-06-30 14:50:40 UTC
http://code.google.com/p/chromium/issues/detail?id=12351
When The corresponding changes will be made in ebilds? I use KDE and do not see any justification install packages from Gnome.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-30 15:06:48 UTC
(In reply to comment #2)
> http://code.google.com/p/chromium/issues/detail?id=12351
> When The corresponding changes will be made in ebilds?

Could you explain more what change should be made to the ebuild? Also, please open a new bug, it's going to be easier to track.

> I use KDE and do not see
> any justification install packages from Gnome.

Hopefully the dependency will become fully optional. For now it's needed at compile time, but after you have compiled the browser you should be able to remove gnome-keyring from your system. Also, please note that chromium depends on gconf anyway.

If you have some patches to make some of these dependencies optional, I'd be happy to help you get them upstream.
Comment 4 Marat Radchenko 2010-09-19 13:05:42 UTC
Please, reopen. It is clearly NOT optional as of www-client/chromium-6.0.472.59 (current stable).

DEPEND="... >=gnome-base/gnome-keyring-2.28.2 ..."
Comment 5 Marat Radchenko 2010-09-19 13:07:47 UTC
meh, nevermind, I'll possibly track bug 335758