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

Guido Günther agx at sigxcpu.org
Sat Dec 24 09:52:38 UTC 2016


Hi Carsten,
On Sat, Dec 24, 2016 at 10:11:19AM +0100, Carsten Schoenert wrote:
[..snip..]
> Lintian is now mentioning that phpX-cli is missing on kopano-dagent.
> This is not true, we changed php5-cli to php7.0-cli here.
> 
> > root at x201s:/build/kopanocore-8.1.0# lintian -IE ../kopanocore_8.1.0-2~1.gbp4ca7a7_amd64.changes
> > warning: the authors of lintian do not recommend running it with root privileges!
[..snip..]
> > E: kopano-dagent: php-script-but-no-phpX-cli-dep usr/sbin/kopano-mr-accept  <---
> > E: kopano-dagent: php-script-but-no-phpX-cli-dep usr/sbin/kopano-mr-process  <---
> > I: kopano-spooler: hardening-no-fortify-functions usr/sbin/kopano-spooler
> > N: 1 tag overridden (1 info)
> 
> I'm not sure how to process here, looks like a false positive.

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.
Cheers,
 -- Guido



More information about the Pkg-giraffe-discuss mailing list