Your message dated Mon, 31 Aug 2015 19:12:25 +0200
with message-id <[email protected]>
and subject line Re: reopening this bug
has caused the Debian Bug report #683557,
regarding python_distutils.pm: should check if
/usr/lib/python2.X/distutils/__init__.py exists
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
683557: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683557
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20120608
Severity: minor
python_distutils.pm uses this condition to check if a particular version
of Python exists:
if (-x "/usr/bin/".$python) {
However, /usr/bin/python2.X is shipped by the python2.X-minimal package,
whereas the distutils package (which is normally needed to run setup.py)
is in the python2.X package. So the check really should be:
if (-f "/usr/lib/$python/distutils/__init__.py") {
To see why the current behavior is a problem, try building e.g.
activity-log-manager-0.8.0 in an environment which has python2.6-minimal
installed, but python2.6 removed:
$ dpkg-buildpackage
dpkg-buildpackage: source package activity-log-manager
dpkg-buildpackage: source version 0.8.0-1
dpkg-buildpackage: source changed by Siegfried-Angel Gevatter Pujals
<[email protected]>
dpkg-buildpackage: host architecture i386
dpkg-source --before-build activity-log-manager-0.8.0
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
Traceback (most recent call last):
File "setup.py", line 26, in <module>
from distutils.core import setup
ImportError: No module named distutils.core
dh_auto_clean: python2.6 setup.py clean -a returned exit code 1
make: *** [clean] Error 1
--
Jakub Wilk
--- End Message ---
--- Begin Message ---
On Tue, 7 May 2013 13:17:39 -0400 Joey Hess <[email protected]> wrote:
> I am reverting the fix for this bug, because it is buggy (#707111).
>
> I do not plan to do anything further about this bug report until
> I am presented with a patch and a clear and convincing proof that it
> works in all possible cases, *and* the patch is signed off on by the
> python package maintainers. Trying to comprehend how this stuff works
> is beyond my abilities and interest.
>
Jakub Wilk mentioned on IRC that this bug could probably be closed now
that there is only one supported version of python2. Accordingly, I
will do so now. :)
Thanks,
~Niels
signature.asc
Description: OpenPGP digital signature
--- End Message ---