Your message dated Thu, 05 Oct 2006 15:03:25 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#253582: fixed in debhelper 5.0.39
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debhelper
Version: 4.2.11
Severity: normal

dh_python adds commands to a package's postinst script that check for the proper
python interpreter and, if it exists, executes that interpreter a couple of 
times:

# Automatically added by dh_python
PYTHON=python2.3
if which $PYTHON >/dev/null 2>&1; then
        DIRLIST=" /usr/lib/python2.3/site-packages"
        for i in $DIRLIST ; do
                $PYTHON -O /usr/lib/$PYTHON/compileall.py -q $i
                $PYTHON /usr/lib/$PYTHON/compileall.py -q $i
        done
fi

However, if the python package has not yet been configured, the interpreter 
will be
detected as present, but executing the interpreter will generate an error 
message.
Search for 'import site' below.

The only real issue is the error messages; once python2.3 is configured, it will
byte-compile the package's modules.  A possible solution would be to run a no-op
python command first and test for an error before proceeding with the compile 
commands.

debian:/# apt-get --reinstall install python2.3 debconf
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  python
The following NEW packages will be installed:
  python python2.3
0 packages upgraded, 2 newly installed, 1 reinstalled, 0 to remove and 68  not 
upgraded.
Need to get 0B/4137kB of archives. After unpacking 13.7MB will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
(Reading database ... 9513 files and directories currently installed.)
Preparing to replace debconf 1.4.27 (using .../debconf_1.4.27_all.deb) ...
Unpacking replacement debconf ...
Selecting previously deselected package python2.3.
Unpacking python2.3 (from .../python2.3_2.3.4-1_ia64.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.3.4-1_all.deb) ...
Setting up debconf (1.4.27) ...
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback

Setting up python2.3 (2.3.4-1) ...
Compiling python modules in /usr/lib/python2.3 ...
Compiling optimized python modules in /usr/lib/python2.3 ...

Setting up python (2.3.4-1) ...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)

Versions of packages debhelper depends on:
ii  binutils                   2.14.90.0.7-8 The GNU assembler, linker and bina
ii  coreutils [fileutils]      5.0.91-2      The GNU core utilities
ii  debconf-utils              1.4.27        debconf utilities
ii  dpkg-dev                   1.10.22       Package building tools for Debian
ii  file                       4.07-2        Determines file type using "magic"
ii  fileutils                  5.0.91-2      The GNU file management utilities 
ii  html2text                  1.3.2a-1      An advanced HTML to text converter
ii  perl                       5.8.4-2       Larry Wall's Practical Extraction 
ii  po-debconf                 0.8.11        Manage translated Debconf template

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 5.0.39

We believe that the bug you reported is fixed in the latest version of
debhelper, which is due to be installed in the Debian FTP archive:

debhelper_5.0.39.dsc
  to pool/main/d/debhelper/debhelper_5.0.39.dsc
debhelper_5.0.39.tar.gz
  to pool/main/d/debhelper/debhelper_5.0.39.tar.gz
debhelper_5.0.39_all.deb
  to pool/main/d/debhelper/debhelper_5.0.39_all.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.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated debhelper 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: Tue,  3 Oct 2006 13:02:24 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 5.0.39
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 debhelper  - helper programs for debian/rules
Closes: 189474 253582 358392 370833 373853 374776 375576 375936 375948 378604 
381389
Changes: 
 debhelper (5.0.39) unstable; urgency=low
 .
   * dh_python: Also be a no-op if there's a Python-Version control file field.
 .
 debhelper (5.0.38) unstable; urgency=low
 .
   [ Valery Perrin ]
   * Update french translation with recent change in dh_installmodules
 .
   [ Joey Hess]
   * ACK last three NMUs with thanks to Raphael Hertzog for making the best of
     a difficult situation.
   * Revert all dh_python changes. Closes: #381389, #378604
   * Conflict with python-support <= 0.5.2 and python-central <= 0.5.4.
   * Make dh_python do nothing if debian/pycompat is found.
     The new versions of dh_pysupport or dh_pycentral will take care of
     everything dh_python used to do in this situation.
   * dh_python is now deprecated. Closes: #358392, #253582, #189474
   * move po4a to Build-Depends as it's run in clean.
   * Add size test, which fails on any debhelper program of more than 150
     lines (excluding POD). This is not a joke, and 100 lines would be better.
   * Add size test exception for dh_python, since it's deprecated.
 .
 debhelper (5.0.37.3) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Update of dh_python
     - when buidling for a non-standard Python version, generate more
       reasonable Depends like "python (>= X.Y) | pythonX.Y"
       Closes: #375576
     - fix handling of private extensions. Closes: #375948
     - fix parsing of XS-Python-Version, it didn't work if only fixed versions
       were listed in XS-Python-Version.
     - fix use of unitialized value. Closes: #374776
     - fix typos in POD documentation. Closes: #375936
 .
 debhelper (5.0.37.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Update of dh_python
     - vastly refactored, easier to understand, and the difference
       between old policy and new policy is easier to grasp
     - it supports an -X option which can be used to not scan some files
     - uses debian/pyversions as reference source of information for
       dependencies but also parse the XS-Python-Version header as fallback.
     - ${python:Versions}'s default value is XS-Python-Version's value
       instead of "all" when the package doesn't depend on a
       specific python version. Closes: #373853
     - always generate ${python:Provides} and leave the responsibility to the
       maintainer to not use ${python:Provides} if he doesn't want the
       provides.
     - uses debian/pycompat or DH_PYCOMPAT as reference field to run in new
       policy mode. The presence of XS-Python-Version will also trigger the
       new policy mode (this is for short-term compatibility, it may be removed 
in
       the not too-distant future).
       DH_PYCOMPAT=1 is the default mode and is compatible to the old policy.
       DH_PYCOMPAT=2 is the new mode and is compatible with the new policy.
   * Use "grep ^Version:" instead of "grep Version:" on the output of
     dpkg-parsechangelog since the above changelog entry matched "Version:" and
     thus made the build fail.
 .
 debhelper (5.0.37.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Integrate the new dh_python implementing the new Python policy. Closes: 
#370833
Files: 
 15b865b7547f03ca7e004390dc23d293 539 devel optional debhelper_5.0.39.dsc
 f53141a41809277877495c12d2925b35 264600 devel optional debhelper_5.0.39.tar.gz
 c1853d15602f18afa20bb387984bccc1 510310 devel optional debhelper_5.0.39_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFIpgQ2tp5zXiKP0wRAgAnAKCY1l/DKrPb9GH/FBa+Vbs6/c9uUwCfYX9E
4hnBoJFpGQWsmY4tFw5WoOI=
=96q9
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to