Bug#893729: sympy FTBFS: python3-distutils is now a separate package

Rebecca N. Palmer rebecca_palmer at zoho.com
Wed Mar 21 20:40:44 UTC 2018


Given that the errors suggest it tried and failed to find both 
setuptools and distutils, it probably already can use either (though I 
haven't tried to check this), if they are installed...

On 21/03/18 20:30, Ghislain Vaillant wrote:
> Another option could be to patch the build system to use setuptools instead
> of distutils as recommended by the PyPA?
> 
> Le mer. 21 mars 2018 à 20:45, Rebecca N. Palmer <rebecca_palmer at zoho.com> a
> écrit :
> 
>> Source: sympy
>> Severity: serious
>> Control: tags -1 patch
>> X-Debbugs-Cc: debian-python at lists.debian.org
>>
>> python3-distutils has been moved out of python3.6 (as of 3.6.5~rc1-2),
>> so if you need it, please build-depend on it.  (Or python3-setuptools,
>> given that this looks like it might prefer that.)
>>
>> (Has anyone checked whether there are more of these?)
>>
>> dpkg-buildpackage: info: source package sympy
>> dpkg-buildpackage: info: source version 1.1.1-4
>> dpkg-buildpackage: info: source distribution unstable
>> dpkg-buildpackage: info: source changed by Yaroslav Halchenko
>> <debian at onerussian.com>
>> dpkg-buildpackage: info: host architecture amd64
>>    dpkg-source --before-build sympy-1.1.1
>>    fakeroot debian/rules clean
>> dh  clean --with python2,python3 --buildsystem=pybuild
>>      debian/rules override_dh_auto_clean
>> make[1]: Entering directory
>> '/home/rnpalmer/Debian/builds/stackbuild/sympy-1.1.1'
>> dh_auto_clean
>> I: pybuild base:217: python2.7 setup.py clean
>> /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
>> distribution option: 'install_requires'
>>     warnings.warn(msg)
>> running clean
>> I: pybuild base:217: python3.6 setup.py clean
>> Traceback (most recent call last):
>>     File "setup.py", line 46, in <module>
>>       from setuptools import setup, Command
>> ModuleNotFoundError: No module named 'setuptools'
>>
>> During handling of the above exception, another exception occurred:
>>
>> Traceback (most recent call last):
>>     File "setup.py", line 49, in <module>
>>       from distutils.core import setup, Command
>> ModuleNotFoundError: No module named 'distutils'
>> E: pybuild pybuild:330: clean: plugin distutils failed with: exit
>> code=1: python3.6 setup.py clean
>> dh_auto_clean: pybuild --clean -i python{version} -p 3.6 returned exit
>> code 13
>> make[1]: *** [debian/rules:29: override_dh_auto_clean] Error 25
>> make[1]: Leaving directory
>> '/home/rnpalmer/Debian/builds/stackbuild/sympy-1.1.1'
>> make: *** [debian/rules:10: clean] Error 2
>> dpkg-buildpackage: error: fakeroot debian/rules clean subprocess
>> returned exit status 2
>>
>>
> 



More information about the debian-science-maintainers mailing list