[pkg-lighttpd] Bug#789856: lighttpd: FTBFS with perl 5.22: test failures

Niko Tyni ntyni at debian.org
Sat Jul 4 19:53:21 UTC 2015


Hi, thanks for looking at this.

On Sat, Jul 04, 2015 at 04:00:41PM +0200, Stefan Bühler wrote:
 
> perl-modules-5.22 doesn't include the CGI module, formerly
> libcgi-pm-perl, which apparently gets replaced by perl-modules 5.20.2-6.

Right, CGI.pm was removed from the Perl core upstream after 5.20 and
must now be installed separately. So lighttpd just needs to build depend
on the separate libcgi-pm-perl package to pull it in. I tried that here
and got lighttpd to build fine.

FWIW, there are warnings about this upcoming change in the 5.20 version:

 % perl -w -MCGI -e 1                
 CGI will be removed from the Perl core distribution in the next major release. Please install the separate libcgi-pm-perl package. It is being used at -e, line 0.
 CGI::Util will be removed from the Perl core distribution in the next major release. Please install the separate libcgi-pm-perl package. It is being used at /usr/share/perl/5.20/CGI.pm, line 29.

> (Also I couldn't even install libcgi-pm-perl with perl 5.22, needed to
> go for cpan to actually see that nothing was wrong with the 404.pl
> script in lighttpd...)

This is probably because some of its dependencies are
binary modules which need to be rebuilt for 5.22. Dominic
has made a test repository available with such rebuilds, see
https://lists.debian.org/debian-perl/2015/06/msg00001.html

With that repository enabled, I can install libcgi-pm-perl fine
with perl 5.22 and build lighttpd with that.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-lighttpd-maintainers mailing list