Source: tevent
Version: 0.9.16-1
Severity: serious

>From my pbuilder build log:

...
Checking for program xsltproc                                                   
  : not found 
Checking for stylesheet 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not 
found 
Checking for program python                                                     
                : /usr/bin/python 
Checking for program python                                                     
                : /usr/bin/python 
Checking for Python version >= 2.4.2                                            
                : ok 2.7.5 
Checking for library python2.7                                                  
                : yes 
Checking for program python2.7-config                                           
                : /usr/bin/python2.7-config 
  File "/usr/bin/python2.7-config", line 5
    echo "Usage: $0 
--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir"
                                                                                
                                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "./buildtools/bin/waf", line 76, in <module>
    Scripting.prepare(t, cwd, VERSION, wafdir)
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Scripting.py", line 145, 
in prepare
    prepare_impl(t, cwd, ver, wafdir)
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Scripting.py", line 135, 
in prepare_impl
    main()
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Scripting.py", line 188, 
in main
    fun(ctx)
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Scripting.py", line 241, 
in configure
    conf.sub_config([''])
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Configure.py", line 237, 
in sub_config
    self.recurse(k, name='configure')
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Utils.py", line 634, in 
recurse
    f(self)
  File "/tmp/buildd/tevent-0.9.16/wscript", line 33, in configure
    conf.RECURSE('lib/talloc')
  File "./buildtools/wafsamba/samba_utils.py", line 462, in RECURSE
    return ctx.sub_config(relpath)
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Configure.py", line 237, 
in sub_config
    self.recurse(k, name='configure')
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Utils.py", line 634, in 
recurse
    f(self)
  File "/tmp/buildd/tevent-0.9.16/lib/talloc/wscript", line 63, in configure
    conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)
  File "./buildtools/wafsamba/samba_python.py", line 11, in 
SAMBA_CHECK_PYTHON_HEADERS
    conf.check_python_headers(mandatory)
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Tools/python.py", line 
262, in check_python_headers
    for incstr in Utils.cmd_output("%s %s --includes" % (python, 
python_config)).strip().split():
  File "/tmp/buildd/tevent-0.9.16/buildtools/wafadmin/Utils.py", line 455, in 
cmd_output
    raise ValueError(msg)
ValueError: command execution failed: /usr/bin/python /usr/bin/python2.7-config 
--includes -> ''
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory `/tmp/buildd/tevent-0.9.16'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

As with the similar bug in talloc, this is because python2.7-config is a shell
script, so it doesn't make sense to try to run it using python.
-- 
Daniel Schepler


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to