Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377903 - www-client/chromium-14.0.835.15 is missing dep. dev-libs/libgcrypt
Summary: www-client/chromium-14.0.835.15 is missing dep. dev-libs/libgcrypt
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 19:19 UTC by Nils Larsson
Modified: 2011-08-08 17:36 UTC (History)
0 users

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 Nils Larsson 2011-08-05 19:19:47 UTC
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
Comment 1 Nils Larsson 2011-08-05 19:21:03 UTC
Sorry for the long stdout, I forgot bugzilla wraps texts :(.
Comment 2 kahrl 2011-08-05 19:58:11 UTC
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.
Comment 3 Nils Larsson 2011-08-05 20:02:50 UTC
(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.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-08-08 17:36:16 UTC
Fixed, we're depending unconditionally on libgcrypt, that reflects what upstream does.