[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [pkg-fso-maint] Bug#547510: zhone refuse to start



hi,

Am Mittwoch, den 23.09.2009, 21:27 +0200 schrieb Jakub Wilk:
> >We discussed possible breakage in #520834 but missed the case that python
> >script shebang lines would be modified like this. This seems to be done
> >by python2.4 setup.py, but not by python2.5 setup.py. In the latter case
> >you get #!/usr/bin/python. (Is this a bug in python2.4?)
> 
> Weird, dh should already take care of this:
> 
> $ grep shebang -C1 /usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm
>            # We need to to run setup.py with the default python first
>            # as distutils/setuptools modifies the shebang lines of scripts.
>            # This ensures that #!/usr/bin/python is used and not pythonX.Y
> 
> And, when I rebuild zhone from source, /usr/bin/zhone indeed ends up 
> with the proper #!/usr/bin/python shebang.

I hope you didn’t try the version -5 I just uploaded :-)

Well, you need to ensure that the default python is run last, since the
last copy of the script is the one that gets installed. (At least that’s
my oberservation.)

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: