Debian Bug report logs - #733054 cvsweb: Does not work with Perl 5.18 Package: cvsweb Maintainer for cvsweb is Daniel Leidert <dleidert@debian.org> ; Source for cvsweb is src:cvsweb PTS buildd popcon ). Reported by: Mark Kamichoff <prox@prolixium.com> Date: Tue, 24 Dec 2013 16:00:01 UTC Severity: important Tags: patch Found in version cvsweb/3:3.0.6-7 Fixed in version cvsweb/3:3.0.6-8 Done: Daniel Leidert <dleidert@debian.org> Bug is archived. No further changes may be made. Toggle useless messages View this report as an mbox folder status mbox maintainer mbox Report forwarded to debian-bugs-dist@lists.debian.org, Daniel Leidert (dale) <daniel.leidert@wgdd.de> Bug#733054 ; Package cvsweb (Tue, 24 Dec 2013 16:00:06 GMT) ( full text mbox link ). Acknowledgement sent to Mark Kamichoff <prox@prolixium.com> New Bug report received and forwarded. Copy sent to Daniel Leidert (dale) <daniel.leidert@wgdd.de> (Tue, 24 Dec 2013 16:00:06 GMT) ( full text mbox link ). Message #5 received at submit@bugs.debian.org ( full text mbox reply ): From: Mark Kamichoff <prox@prolixium.com> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: cvsweb: Does not work with Perl 5.18 Date: Tue, 24 Dec 2013 10:14:27 -0500 Package: cvsweb Version: 3:3.0.6-7 Severity: important Tags: patch Hello, It appears that cvsweb has some issues with Perl 5.18 (5.14 works fine). Specifically, it errors out with a slew of syntax errors when invoked from Apache: [Tue Dec 24 09:57:35.058676 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: "my" variable $tmp masks earlier declaration in same statement at /usr/lib/cgi-bin/cvsweb line 1340. [Tue Dec 24 09:57:35.058741 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1197, near "$v qw(hidecvsroot hidenonreadable)" [Tue Dec 24 09:57:35.058767 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: Global symbol "$v" requires explicit package name at /usr/lib/cgi-bin/cvsweb line 1199. [Tue Dec 24 09:57:35.058792 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: Global symbol "$v" requires explicit package name at /usr/lib/cgi-bin/cvsweb line 1199. [Tue Dec 24 09:57:35.058811 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1278, near "}" [Tue Dec 24 09:57:35.058830 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1291, near "}" [Tue Dec 24 09:57:35.058848 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1297, near "}" [Tue Dec 24 09:57:35.058867 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1304, near "}" [Tue Dec 24 09:57:35.058885 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1314, near "}" [Tue Dec 24 09:57:35.058904 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1338, near "}" [Tue Dec 24 09:57:35.058925 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: syntax error at /usr/lib/cgi-bin/cvsweb line 1340, near ""$tmp,v" }" [Tue Dec 24 09:57:35.058940 2013] [cgi:error] [pid 17746] [client 10.3.254.229:58703] AH01215: /usr/lib/cgi-bin/cvsweb has too many errors. As a result, cvsweb produces an HTTP 500 error when accessed from a web browser. The NetBSD folks have worked around this by changing two lines in cvsweb: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/cvsweb/patches/patch-cvsweb.cgi.diff?r1=1.1.2.1&r2=1.1.2.2&f=h The below patch does the same thing and is based on the version of cvsweb that is included in the Debian package: --- cvsweb.orig 2013-12-24 09:58:09.333520125 -0500 +++ cvsweb 2013-12-24 09:58:50.222171067 -0500
#733054 - cvsweb: Does not work with Perl 5.18 - Debian Bug report logs
Материал перенесён из старой базы знаний ATC-IP и оформлен в едином стиле нового сайта.