Source: tdb
Version: 1.2.10-2
Severity: serious

>From my pbuilder build log:

...
Checking for getgrouplist                                                       
  : ok  
Checking for program xsltproc                                                   
  : /usr/bin/xsltproc 
Checking for stylesheet 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : ok 
Checking for program python                                                     
                : /usr/bin/python2.7 
Checking for program python                                                     
                : /usr/bin/python2.7 
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/tdb-1.2.10/buildtools/wafadmin/Scripting.py", line 145, in 
prepare
    prepare_impl(t, cwd, ver, wafdir)
  File "/tmp/buildd/tdb-1.2.10/buildtools/wafadmin/Scripting.py", line 135, in 
prepare_impl
    main()
  File "/tmp/buildd/tdb-1.2.10/buildtools/wafadmin/Scripting.py", line 188, in 
main
    fun(ctx)
  File "/tmp/buildd/tdb-1.2.10/buildtools/wafadmin/Scripting.py", line 241, in 
configure
    conf.sub_config([''])
  File "/tmp/buildd/tdb-1.2.10/buildtools/wafadmin/Configure.py", line 237, in 
sub_config
    self.recurse(k, name='configure')
  File "/tmp/buildd/tdb-1.2.10/buildtools/wafadmin/Utils.py", line 634, in 
recurse
    f(self)
  File "/tmp/buildd/tdb-1.2.10/wscript", line 53, 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/tdb-1.2.10/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/tdb-1.2.10/buildtools/wafadmin/Utils.py", line 455, in 
cmd_output
    raise ValueError(msg)
ValueError: command execution failed: /usr/bin/python2.7 
/usr/bin/python2.7-config --includes -> ''
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory `/tmp/buildd/tdb-1.2.10'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

On investigation, it appears that /usr/bin/python2.7-config is now a symlink
to a shell script, which would explain why python2.7 is getting confused.
-- 
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