Subject: Re: bug#31779: gitweb PERL5LIB needs to include Perl version subdirectory

From: Sarah Morgensen <[email-masked]>
Date: Fri, 24 Sep 2021 17:16:59 -0700

Hello Ricardo,

I found this old bug...

Ricardo Wurmus <[email-masked]> writes:

> The “git” package provides “gitweb”, which is wrapped in PERL5LIB.
> Gitweb has broken some time ago and now fails with an error about CGI.pm
> not being found.
>
> The reason seems to be that the Perl version sub-directory is not
> searched for CGI.pm.  The directory that gitweb.cgi is wrapped with
> stops at “site_perl”, but it really should be “site_perl/5.26.1”.
>
> --
> Ricardo

While the value of PERL5LIB hasn't changed, I am able to run

  git instaweb --httpd=lighttpd

and access the gitweb interface from there.  Can you still reproduce
this?

--
Sarah