Your message dated Wed, 30 Mar 2011 22:47:56 +0000
with message-id <[email protected]>
and subject line Bug#620087: fixed in mercurial 1.8.1-3
has caused the Debian Bug report #620087,
regarding mercurial: /usr/bin/hg prepends /usr/lib/python2.5/site-packages/ to
sys.path
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.)
--
620087: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620087
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mercurial
Version: 1.8.1-1
Severity: normal
Tags: patch
An Ubuntu developer ran into
https://bugs.launchpad.net/bugs/45250
Resulting in a crash:
> AttributeError: 'module' object has no attribute 'BufferedIOBase'
http://paste.ubuntu.com/587028/
Turns out we have the same problem.
It's caused by the python2.5 install happening before the 2.6 one, and
the 2.6 one doesn't replace the hg script from the 2.5 install. (It
would if we supplied --force)
I think the best fix here is to disable the path mangling, either by not
replacing @LIBDIR@ (hg sanity-checks for this) or by disabling the
sys.path mangling code in hg.
Here's a patch for disabling it in setup.py:
--- old/setup.py
+++ new/setup.py
@@ -306,7 +306,10 @@ class hginstallscripts(install_scripts):
cmdclass = {'build_mo': hgbuildmo,
'build_ext': hgbuildext,
'build_py': hgbuildpy,
- 'install_scripts': hginstallscripts}
+# Disabled on Debian. We install into the public namespace and don't need
+# to hack sys.path.
+# 'install_scripts': hginstallscripts}
+ }
packages = ['mercurial', 'mercurial.hgweb', 'hgext', 'hgext.convert',
'hgext.highlight', 'hgext.zeroconf']
I intend to commit this and Team Upload within a day or two, but would
obviously love a rejection / go-ahead / upload from one of the package's
maintainers.
SR
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mercurial depends on:
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii mercurial-common 1.8.1-1 scalable distributed version contr
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-support 1.0.11 automated rebuilding support for P
ii ucf 3.0025+nmu1 Update Configuration File: preserv
mercurial recommends no packages.
Versions of packages mercurial suggests:
ii meld 1.4.0-2 graphical tool to diff and merge f
pn qct <none> (no description available)
ii tk8.4 [wish] 8.4.19-4 Tk toolkit for Tcl and X11, v8.4 -
ii tk8.5 [wish] 8.5.9-2 Tk toolkit for Tcl and X11, v8.5 -
ii vim 2:7.3.035+hg~8fdc12103333-1 Vi IMproved - enhanced vi editor
ii vim-gtk [vim 2:7.3.035+hg~8fdc12103333-1 Vi IMproved - enhanced vi editor -
ii vim-nox [vim 2:7.3.035+hg~8fdc12103333-1 Vi IMproved - enhanced vi editor
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mercurial
Source-Version: 1.8.1-3
We believe that the bug you reported is fixed in the latest version of
mercurial, which is due to be installed in the Debian FTP archive:
mercurial-common_1.8.1-3_all.deb
to main/m/mercurial/mercurial-common_1.8.1-3_all.deb
mercurial_1.8.1-3.debian.tar.gz
to main/m/mercurial/mercurial_1.8.1-3.debian.tar.gz
mercurial_1.8.1-3.dsc
to main/m/mercurial/mercurial_1.8.1-3.dsc
mercurial_1.8.1-3_amd64.deb
to main/m/mercurial/mercurial_1.8.1-3_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated mercurial package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 31 Mar 2011 00:06:02 +0200
Source: mercurial
Binary: mercurial-common mercurial
Architecture: all amd64 source
Version: 1.8.1-3
Distribution: unstable
Urgency: low
Maintainer: Python Applications Packaging Team
<[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 620087
Description:
mercurial-common - scalable distributed version control system (common files)
mercurial - scalable distributed version control system
Changes:
mercurial (1.8.1-3) unstable; urgency=low
.
* Team Upload
* deb_specific__disable_libdir_replacement.patch: Disable @LIBDIR@
replacement in the hg script, by setup.py (Closes: #620087, LP: #745250)
Checksums-Sha1:
f2f0506ae027c7612df7af63c50005f984af4cb2 2142 mercurial_1.8.1-3.dsc
36caf8cffa6fe9d415622951103f735c0748d4f3 34285 mercurial_1.8.1-3.debian.tar.gz
179f1f2fb0e966c87eabfa8ef96c2ec857fb3047 1509518
mercurial-common_1.8.1-3_all.deb
44b60deeb24d2a8afbbe7131e6ff0d0d24c74ed4 78442 mercurial_1.8.1-3_amd64.deb
Checksums-Sha256:
59e73ec9658a1d21d6f6fa3f2ee843c13d73c352417a46e632affc28185c024d 2142
mercurial_1.8.1-3.dsc
ee9186e75996d06e59994578e6e72b0e66c8389b2243ecf919ff8ae8900c357b 34285
mercurial_1.8.1-3.debian.tar.gz
10e9c78c0fcd3e473cf97c599ebe3e331d67e413f1c326fc15919e3191fe6fb1 1509518
mercurial-common_1.8.1-3_all.deb
05da0156147b87e71678812ba3312e9ae21c737a5502de61a695d321910da3d5 78442
mercurial_1.8.1-3_amd64.deb
Files:
eac21ace6c05cdea0bb21f374467ccaa 2142 vcs optional mercurial_1.8.1-3.dsc
162791586f328e5903d684f8f3a3b983 34285 vcs optional
mercurial_1.8.1-3.debian.tar.gz
978c79365c73442296ace41d2f97e996 1509518 vcs optional
mercurial-common_1.8.1-3_all.deb
bc684d7f0f5556c3222a3b2798641843 78442 vcs optional mercurial_1.8.1-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJNk7BdAAoJEACQ/CG1zRrMxHEP/0/QiMJkIZzHlUtI703WXd3N
wPoHOx4w7oMq/rJi8vJhbIS0UPndwELHREffBeH8axG8C9KqINdKODx3ALoWOapE
2jIlAKOaWOJmCj2F0hMZOwaj7dFxjg/LCq7qV4moKAq2WLYGO1uLOnLnKfEgKgWC
TAgJwxqeFFdglUHQpukoNOEEZOc/ukoaHOAwIoY7g6T//hDjLTZZ+NSeroai+8s+
A5vPWkORjKJ5ky4aCgd9jJuiXe4xuEdKkTbw//+bGCcxUPHIUAMzBkAPH8Lv2Qgz
UEuHBawzgU/wfsb/XCEEeqNcevd12EEswLTHs+0icZvIxuch1AmV/oYOJeUjwWHS
dYOq/fXfO1S1AqGFGax38KIR48EG0IK00EBUS+Z8vn/zns/+qicAKJ2jEqWBsTAd
m/dZTv8LVfepu32BJ1uvVrC7h2ALM1RbZ3w1X6mZQMEDC/0rnkFIxqYK8AlAZQMq
+bfxlN0q/bKX5s3q9/iIF4rBIrL89i0bCyrmbMn3h8z5ZUPNa7WSVortWz3Em41o
RFGcJT5GE+NqeA6+XSjn9dN/MA3n/c/cZ8/AjRBsmtqcAeg7UiZkZTmSIw63b3Qm
jZzaTk/Yix4Uyz5iNkPOgHJMAnd+xp/444iVmyN6EZO6/f4ra/ABTnKVWyHI0hdF
4fBjgD1xJ7ToDgmRBwEL
=oOK2
-----END PGP SIGNATURE-----
--- End Message ---