Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 521824

Summary: www-apps/cvsweb-3.0.6-r1 stabilization
Product: Gentoo Linux Reporter: Arttu Valo <arttuv69>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal Keywords: STABLEREQ
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: was: www-apps/cvsweb-3.0.6 with >=dev-lang/perl-5.18 - ?
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 504786    

Description Arttu Valo 2014-08-31 13:56:06 UTC
Stable cvsweb is broken apparently due to changes in Perl 5.18. For example NetBSD carries a small patch which worked for me.

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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-02 22:59:36 UTC
Could you please post the error messages you get when you start cvsweb?
Comment 2 Arttu Valo 2014-09-10 10:07:42 UTC
Sorry for slow response and skipping the actual message, omitted it because it's the same as seen on all other platforms (non-Gentoo ones).

[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] "my" variable $tmp masks earlier declaration in same statement at /var/www/localhost/cgi-bin/cvsweb.cgi line 1338.
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1195, near "$v qw(hidecvsroot hidenonreadable)"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] Global symbol "$v" requires explicit package name at /var/www/localhost/cgi-bin/cvsweb.cgi line 1197.
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] Global symbol "$v" requires explicit package name at /var/www/localhost/cgi-bin/cvsweb.cgi line 1197.
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1276, near "}"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1289, near "}"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1295, near "}"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1302, near "}"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1312, near "}"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1336, near "}"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] syntax error at /var/www/localhost/cgi-bin/cvsweb.cgi line 1338, near ""$tmp,v" }"
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] /var/www/localhost/cgi-bin/cvsweb.cgi has too many errors.
[Thu Aug 28 12:44:11 2014] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: cvsweb.cgi
Comment 3 Arttu Valo 2014-09-10 10:13:00 UTC
Example other platform, debian, which fixed the bug around last Christmas apparently with the same patch:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733054
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2014-09-11 08:28:26 UTC
Please stabilize www-apps/cvsweb-3.0.6-r1
Revision bump that adds a minimal Perl 5.18 compatibility patch

Target: sparc x86
Comment 5 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-09-12 15:57:53 UTC
sparc/x86 stable. All done.