[Pkg-giraffe-discuss] prepare kopanocore 8.1.0-2

Guido Günther agx at sigxcpu.org
Sun Dec 25 14:33:47 UTC 2016


On Sun, Dec 25, 2016 at 03:20:46PM +0100, Carsten Schoenert wrote:
> On 25.12.2016 11:58, Carsten Schoenert wrote:
> > Hi Guido,
> > 
> > On 24.12.2016 10:52, Guido Günther wrote:
> >> The script invokes "/usr/bin/env php" which is not necessarlily the same
> >> as /usr/bin/php7.0 so lintian is right. Changing this to /usr/bin/php7.0
> >> (when depending on php7.0-cli) should fix this. See e.g.:
> >>
> >>   https://github.com/agx/virt-manager-debian/commit/6e15ef5fd5d73c532ac81febab436888c4523af0
> >>
> >> for the same case in python.
> > 
> > o.k. that make sense, it's like the same with python or python3.
> 
> Or not ...
> The PHP maintainers are supposing the opposite and that was somewhere in
> my brain as I was looking into this problem a little bit while working
> on kopano-webapp some weeks ago.
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818962
> 
> It's a little bit unfortunate, with the pending but not pushed change
> for Lintian we are getting the lintian error
> "php-script-but-no-phpX-cli-dep", with the change of the shebang we
> getting a warning "unusual-interpreter usr/sbin/kopano-mr-accept #!php7.0"
> 
> I now moved back to a unmodified shebang (like before), but changed the
> dependency to php-cli instead of php7.0-cli.

But we should still drop /usr/bin/env since this can be _any_ php and
then it will fix itself once 818962 is resolved. Note that in the above
link I did not add a specific python version either but made it _less_
specific (by changing /usr/bin/env python2 to /usr/bin/python).

> > I will add a patch into the patch queue and push than all to Alioth?
> 
> I don't believing in getting the package into unstable until tomorrow
> evening due the issue described above as this probably means to get in a
> good reactive contact of a ftpmaster.

We just need to ping Scott after the upload.
Cheers,
 -- Guido



More information about the Pkg-giraffe-discuss mailing list