Bug 89091

Summary: waf configure failes with KeyError 'MAXOSX_DEPLOYMENT_TARGET' on RedhatEL
Product: pycairo Reporter: David Jung <djung>
Component: generalAssignee: Steve Chaplin <d74n5pohf9>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description David Jung 2015-02-11 22:05:40 UTC

    
Comment 1 David Jung 2015-02-11 22:07:01 UTC
[py2cairo-1.10.0]$ ./waf configure
  ./options()
Setting top to                           : /home/jungd/deps/python/py2cairo-1.10.0 
Setting out to                           : /home/jungd/deps/python/py2cairo-1.10.0/build_directory 
  ./configure()
Checking for 'gcc' (c compiler)          : ok 
Checking for program python              : /home/jungd/Enthought/Canopy_64bit/User/bin/python 
Checking for python version              : (2, 7, 6, 'final', 0) 
Traceback (most recent call last):
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Scripting.py", line 93, in waf_entry_point
    run_commands()
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Scripting.py", line 145, in run_commands
    run_command(cmd_name)
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Scripting.py", line 138, in run_command
    ctx.execute()
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Configure.py", line 124, in execute
    super(ConfigurationContext,self).execute()
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Context.py", line 87, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Context.py", line 127, in recurse
    user_function(self)
  File "/home/jungd/deps/python/py2cairo-1.10.0/wscript", line 29, in configure
    ctx.check_python_headers()
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Configure.py", line 214, in fun
    return f(*k,**kw)
  File "/home/jungd/deps/python/py2cairo-1.10.0/.waf-1.6.3-3c3129a3ec8fb4a5bbc7ba3161463b22/waflib/Tools/python.py", line 123, in check_python_headers
    if dct[x]:
KeyError: 'MACOSX_DEPLOYMENT_TARGET'
Comment 2 Christoph Reiter 2017-07-05 15:08:04 UTC
Since 1.11 pycairo uses distutils for building. There is a good chance that
this bug no longer occurs with the new system. If there are still problems
please file a bug: https://github.com/pygobject/pycairo/issues

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.