GNU bug report logs - #31779
gitweb PERL5LIB needs to include Perl version subdirectory

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Sun, 10 Jun 2018 22:14:02 UTC

Severity: normal

To reply to this bug, email your comments to 31779 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#31779; Package guix. (Sun, 10 Jun 2018 22:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 10 Jun 2018 22:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: gitweb PERL5LIB needs to include Perl version subdirectory
Date: Mon, 11 Jun 2018 00:13:10 +0200
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





Information forwarded to bug-guix <at> gnu.org:
bug#31779; Package guix. (Sat, 25 Sep 2021 00:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 31779 <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 31779 <at> debbugs.gnu.org
Subject: Re: bug#31779: gitweb PERL5LIB needs to include Perl version
 subdirectory
Date: Fri, 24 Sep 2021 17:16:59 -0700
Hello Ricardo,

I found this old bug...

Ricardo Wurmus <rekado <at> elephly.net> 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




This bug report was last modified 3 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.