gitweb: no longer works: Undefined subroutine CGI::startform

Jonathan Nieder jrnieder at gmail.com
Mon Nov 3 23:08:43 UTC 2014


# regression
severity 767960 important
reassign 765525 gitweb 1:2.1.1-1
severity 765525 grave
tags 765525 + fixed-upstream
block 767960 by 765525
reassign 767960 libcgi-pm-perl 4.06-1
tags 767960 + patch
quit

Thorsten Glaser wrote:

> gitweb no longer works. When I call /usr/share/gitweb/index.cgi
> manually from the shell, I get:
[...]
> Undefined subroutine CGI::startform
>  at /usr/share/gitweb/index.cgi line 5513.

Thanks for reporting.  gitweb uses start_form starting in version 2.1.3.
libcgi-pm-perl will need a Breaks for smooth upgrades.

diff --git i/debian/changelog w/debian/changelog
index e2cf1d9..1e527d2 100644
--- i/debian/changelog
+++ w/debian/changelog
@@ -1,3 +1,10 @@
+libcgi-pm-perl (4.09-1.1) local; urgency=low
+
+  * Add Breaks against versions of git in which gitweb and 'git instaweb'
+    use the startform function.
+
+ -- Jonathan Nieder <jrnieder at gmail.com>  Mon, 03 Nov 2014 15:07:40 -0800
+
 libcgi-pm-perl (4.09-1) unstable; urgency=medium
 
   * Import upstream version 4.09
diff --git i/debian/control w/debian/control
index 5242c9b..dcac525 100644
--- i/debian/control
+++ w/debian/control
@@ -24,7 +24,7 @@ Architecture: all
 Depends: ${misc:Depends},
          ${perl:Depends}
 Recommends: libcgi-fast-perl (>= 1:2.01)
-Breaks: libcgi-fast-perl (<< 1:2)
+Breaks: libcgi-fast-perl (<< 1:2), git (<< 1:2.1.3)
 Description: module for Common Gateway Interface applications
  CGI.pm is a Perl module that provides classes useful for creating Web forms
  and for parsing their contents. It defines CGI objects, entities that contain



More information about the pkg-perl-maintainers mailing list