Your message dated Fri, 04 Apr 2008 09:02:05 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#471844: fixed in codespeak-lib 0.9.1-1 has caused the Debian Bug report #471844, regarding python-codespeak-lib: Installation trashes itself when greenlets imported as root 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.) -- 471844: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471844 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: python-codespeak-lib Version: 0.9.0-4 Severity: important Running as me: $ python -c 'from py.magic import greenlet' $ [no problem] Running as root: # python -c 'from py.magic import greenlet' Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/lib/python2.4/site-packages/py/initpkg.py", line 182, in __getattr__ result = self.__package__._resolve(extpy) File "/usr/lib/python2.4/site-packages/py/initpkg.py", line 68, in _resolve implmodule = self._loadimpl(fspath[:-3]) File "/usr/lib/python2.4/site-packages/py/initpkg.py", line 98, in _loadimpl return __import__(modpath, None, None, ['__doc__']) File "/usr/lib/python2.4/site-packages/py/magic/greenlet.py", line 10, in ? greenlet = path._getpymodule().greenlet File "/usr/lib/python2.4/site-packages/py/path/local/local.py", line 441, in _getpymodule mod = make_module_from_c(self) File "/usr/lib/python2.4/site-packages/py/misc/buildcmodule.py", line 69, in make_module_from_c raise RuntimeError("cannot compile %s: %s\n%s" % (cfile, e, RuntimeError: cannot compile /usr/lib/python2.4/site-packages/py/c-extension/greenlet/greenlet.c: error: command 'gcc' failed with exit status 1 gcc: /usr/lib/python2.4/site-packages/py/c-extension/greenlet/greenlet.c: No such file or directory gcc: no input files Running as me again: $ python -c 'from py.magic import greenlet' Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/lib/python2.4/site-packages/py/initpkg.py", line 182, in __getattr__ [etc...] What's happening is that the complicated machinery in py/misc/buildcmodule.py is trying to auto-build the C-language extension. It decides decides to delete the perfectly fine /usr/lib/python2.4/site-packages/py/c-extension/greenlet/greenlet.so provided in the package and recompile it from sources which aren't there. (Obviously it doesn't work when run as a normal user; it notices the file is still there and just uses it as-is.) It leaves me without greenlets.so, and in its place, an empty directory called (wait for it...): /usr/lib/python2.4/site-packages/py/c-extension//greenlet/build/ temp.linux-i686-2.4/usr/lib/python2.4/site-packages/py/c-extension/greenlet/ Now greenlets can't be used by anyone at all. I claim that this is unsatisfactory. I've hacked my version by commenting out the lines ##if lib.check(): ## try: ## lib.remove() ## except EnvironmentError: ## pass # XXX we just use the existing version, bah of buildcmodule.py and now it works; this seems OK because packages probably shouldn't be capriciously messing with themselves inside /usr anyway. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.23.15 (PREEMPT) Locale: LANG=C, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-codespeak-lib depends on: ii libc6 2.7-6 GNU C Library: Shared libraries ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.15-0.1 register and build utility for Pyt Versions of packages python-codespeak-lib recommends: ii python-docutils 0.4-5 Utilities for the documentation of pn python-tkinter <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---Source: codespeak-lib Source-Version: 0.9.1-1 We believe that the bug you reported is fixed in the latest version of codespeak-lib, which is due to be installed in the Debian FTP archive: codespeak-lib_0.9.1-1.diff.gz to pool/main/c/codespeak-lib/codespeak-lib_0.9.1-1.diff.gz codespeak-lib_0.9.1-1.dsc to pool/main/c/codespeak-lib/codespeak-lib_0.9.1-1.dsc codespeak-lib_0.9.1.orig.tar.gz to pool/main/c/codespeak-lib/codespeak-lib_0.9.1.orig.tar.gz python-codespeak-lib_0.9.1-1_i386.deb to pool/main/c/codespeak-lib/python-codespeak-lib_0.9.1-1_i386.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. Chris Lamb <[EMAIL PROTECTED]> (supplier of updated codespeak-lib 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.7 Date: Thu, 03 Apr 2008 13:16:40 +0100 Source: codespeak-lib Binary: python-codespeak-lib Architecture: source i386 Version: 0.9.1-1 Distribution: unstable Urgency: low Maintainer: Chris Lamb <[EMAIL PROTECTED]> Changed-By: Chris Lamb <[EMAIL PROTECTED]> Description: python-codespeak-lib - The pylib library containing py.test, greenlets and other nicetie Closes: 413665 434226 448894 463568 471844 473528 473833 Changes: codespeak-lib (0.9.1-1) unstable; urgency=low . * New upstream release (Closes: #473528) - Documentation is now installed with sensible filenames (Closes: #413665) * Adjust Maintainers with permission from Guilherme Salgado and Alexandre Fayolle. * Remove '/usr/bin' from path when executing py.test to prevent collision with pypy-dev (Closes: #463568). * Disable buildcmodule.py from deleting greenlet module /usr/lib. Thanks to Mark Wooding <[EMAIL PROTECTED]> (Closes: #471844). * Remove python-tkinter from Recommends (Closes: #448894, #473833) * Add texlive-extra-utils to Build-Depends. * Install "webdata" HTML and JavaScript files to fix web-based py.test. Patch by Alexandre Fayolle <[EMAIL PROTECTED]> (Closes: #434226). * Add debian/watch file. * Change doc-base section to "Programming/Python" from "Apps/Programming". * Update Lintian overrides to match new installed directories. Files: ae132e9fe43d132a6b0870a3fc8ebf58 804 python optional codespeak-lib_0.9.1-1.dsc d9e3dd3450408c30d152f682502af90f 490211 python optional codespeak-lib_0.9.1.orig.tar.gz bcb9a79beb823dc555bde06d78327ad6 9760 python optional codespeak-lib_0.9.1-1.diff.gz 1604935af35a4b9d43d6ec0acc11fdab 3480948 python optional python-codespeak-lib_0.9.1-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH9d7b+C5cwEsrK54RAjmHAJ97qNjPY6kFIVzM3UNMrDip1L32qwCgottU GlBMoLTNKJ4mn/UBT768nBM= =xUzE -----END PGP SIGNATURE-----
--- End Message ---

