[Pkg-dns-devel] Bug#893888: ldns FTBFS: missing dependency on python3-distutils

Helmut Grohne helmut at subdivi.de
Fri Mar 23 15:16:12 UTC 2018


Source: ldns
Version: 1.7.0-3
Severity: serious
User: helmutg at debian.org
Usertags: rebootstrap

ldns fails to build from source. Here is the relevant part from the
build log:

| checking for python3.6... /usr/bin/python3.6
| checking for a version of Python >= '2.1.0'... yes
| checking for a version of Python >= '2.4.0'... yes
| checking for the distutils Python package... yes
| checking for Python include path... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| 
| checking for Python library path... Traceback (most recent call last):
|   File "<stdin>", line 4, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| Traceback (most recent call last):
|   File "<stdin>", line 3, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| Traceback (most recent call last):
|   File "<stdin>", line 2, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| -L -lpython3.6
| checking for Python site-packages path... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| 
| checking python extra libraries... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| 
| checking python extra linking flags... Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ModuleNotFoundError: No module named 'distutils.sysconfig'
| 
| checking consistency of all components of python development environment... no
| configure: error: in `/<<PKGBUILDDIR>>/build/python-3.6':
| configure: error: 
|   Could not link test program to Python. Maybe the main Python library has been
|   installed in some non-standard library path. If so, pass it to configure,
|   via the LDFLAGS environment variable.
|   Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
|   ============================================================================
|    ERROR!
|    You probably have to install the development version of the Python package
|    for your distribution.  The exact name of this package varies among them.
|   ============================================================================
| 
| See `config.log' for more details
|         cd build/python-3.6 && tail -v -n \+0 config.log
| ==> config.log <==

Likely you need to add python3-distutils to Build-Depends after
python3.6 dropped that dependency.

Helmut



More information about the pkg-dns-devel mailing list