Emerging www-client/chromium-14.0.835.15 without dev-libs/libgcrypt installed will result in its configure bits bailing out with: /bin/sh: libgcrypt-config: kommandot finns inte Traceback (most recent call last): File "build/gyp_chromium", line 170, in <module> sys.exit(gyp.main(args)) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/__init__.py", line 463, in main options.circular_check) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/__init__.py", line 101, in Load depth, generator_input_info, check, circular_check) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 2242, in Load depth, check) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 421, in LoadTargetBuildFile includes, depth, check) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 421, in LoadTargetBuildFile includes, depth, check) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 379, in LoadTargetBuildFile build_file_path) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 998, in ProcessVariablesAndConditionsInDict build_file) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 1013, in ProcessVariablesAndConditionsInList ProcessVariablesAndConditionsInDict(item, is_late, variables, build_file) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 972, in ProcessVariablesAndConditionsInDict ProcessConditionsInDict(the_dict, is_late, variables, build_file) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 849, in ProcessConditionsInDict variables, build_file) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 991, in ProcessVariablesAndConditionsInDict build_file, key) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 998, in ProcessVariablesAndConditionsInDict build_file) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 1017, in ProcessVariablesAndConditionsInList expanded = ExpandVariables(item, is_late, variables, build_file) File "/tmp/portage/www-client/chromium-14.0.835.15/work/chromium-14.0.835.15/tools/gyp/pylib/gyp/input.py", line 684, in ExpandVariables (contents, p.returncode)) Exception: Call to 'libgcrypt-config --cflags' returned exit status 127. while loading dependencies of base/base.gyp while loading dependencies of build/all.gyp while trying to load build/all.gyp
Sorry for the long stdout, I forgot bugzilla wraps texts :(.
This looks related to bug 373079 -- libgcrypt-config is now only called if the cups USE flag is set. I assume you have cups enabled but either ssl or gnutls disabled? (With USE="ssl gnutls", net-print/cups already depends on dev-libs/libgcrypt.) So one of the following appears to be the right solution (I don't know chromium enough to be able to say which one is the best): (a) Make www-client/chromium unconditionally depend on dev-libs/libgcrypt. (b) Make www-client/chromium depend on net-print/cups[gnutls,ssl] if cups is in USE. (c) Patch build/linux/system.gyp to run libgcrypt-config only if gnutls and ssl are in USE, and depend on "cups? ( net-print/cups[gnutls?,ssl?] )". (d) Patch build/linux/system.gyp to run libgcrypt-config only if gnutls and ssl are in USE, and directly depend on "ssl? ( gnutls? ( dev-libs/libgcrypt ) )". (e) Patch build/linux/system.gyp to run libgcrypt-config only if net-print/cups was built with +ssl and +gnutls.
(In reply to comment #2) > This looks related to bug 373079 -- libgcrypt-config is now only called if the > cups USE flag is set. I assume you have cups enabled but either ssl or gnutls > disabled? (With USE="ssl gnutls", net-print/cups already depends on > dev-libs/libgcrypt.) I emerged chromium with USE "cups" enabled, yes. And cups is installed with +ssl -gnutls.
Fixed, we're depending unconditionally on libgcrypt, that reflects what upstream does.