[request-tracker-maintainers] Bug#506488: request-tracker3.8: fails to compile in Mason

Antoine Beaupre anarcat at shell.koumbit.net
Fri Nov 21 23:26:13 UTC 2008

Package: request-tracker3.8
Version: 3.8.1-1~experimental1~bpo40+1
Severity: important

So another issue we ran into was this:

The following parameter was passed in the call to HTML::Mason::CGIHandler->new() but was not listed in the validation options: named_component_subs
Compilation failed in require at /usr/share/request-tracker3.8/libexec/mason_handler.fcgi line 55.

This obviously keeps the UI from working and, running through FastCGI, yields a 500 error.

We have made the following patch to work around the issue:

--- ./lib/RT/Interface/Web/Handler.pm.orig      2008-11-21 17:14:50.000000000 -0500
+++ ./lib/RT/Interface/Web/Handler.pm   2008-11-21 17:14:54.000000000 -0500
@@ -78,7 +78,7 @@
     autoflush            => 0,
     error_format         => (RT->Config->Get('DevelMode') ? 'html': 'brief'),
     request_class        => 'RT::Interface::Web::Request',
-    named_component_subs => $INC{'Devel/Cover.pm'} ? 1 : 0,
+    #named_component_subs => $INC{'Devel/Cover.pm'} ? 1 : 0,
 ) };
 # {{{sub new 

With this, the FastCGI server starts properly.

-- Package-specific info:
Changed files:

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (2, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)

Versions of packages request-tracker3.8 depends on:
ii  dbconfig-c 1.8.39                        common framework for packaging dat
ii  debconf [d 1.5.11etch2                   Debian configuration management sy
ii  libapache- 1.81-1                        Perl modules for keeping persisten
ii  libcache-s 0.26-1                        Perl module to cache and expire ke
ii  libcalenda 1.17-2                        Perl extension to create simple ca
ii  libclass-r 0.53-1                        A return-value object that lets yo
ii  libcss-squ 0.07-1                        Compact many CSS files into one bi
ii  libdata-ic 0.13+dfsg-1                   Perlmodule to generate and read iC
ii  libdbi-per 1.53-1etch1                   Perl5 database interface by Tim Bu
ii  libdbix-se 1.54-1                        Encapsulate SQL queries and rows i
ii  libdevel-s 1.1902-1                      Stack trace and stack trace frame 
ii  libemail-a 1.870-1                       RFC 2822 Address Parsing and Creat
ii  libfile-sh 0.05-1.2~bpo40+1              Locate per-dist and per-module sha
ii  libgd-grap 1.43.08-2.1                   Graph Plotting Module for Perl 5
ii  libgd-text 0.86-3.1                      Text utilities for use with GD
ii  libgnupg-i 0.33-6                        Perl interface to GnuPG
ii  libgraphvi 2.02-1                        Perl interface to the GraphViz gra
ii  libhtml-ma 1:1.35-3                      HTML::Mason Perl module
ii  libhtml-pa 3.55-1                        A collection of modules that parse
ii  libhtml-re 0.03-1                        concise attribute rewriting
ii  libhtml-sc 0.08-3                        Perl extension for scrubbing/sanit
ii  libjs-prot                     JavaScript Framework for dynamic w
ii  libjs-scri 1.8.1-5                       JavaScript library for dynamic web
ii  liblocale- 0.02-2                        Maketext from already interpolated
ii  liblocale- 0.62-1                        Lexicon-handling backends for "Loc
ii  liblog-dis 2.11-1                        Dispatches messages to multiple Lo
ii  libmailtoo 1.74-1                        Manipulate email in perl programs
ii  libmime-pe 5.420-0.1                     Perl5 modules for MIME-compliant m
ii  libmime-ty 1.18-1                        Perl extension for determining MIM
ii  libmodule- 1.05-1                        Report versions of all modules in 
ii  libperlio- 0.13-1                        PerlIO layer for normalizing line 
ii  libregexp- 2.120-4                       Provide commonly requested regular
ii  libtext-au 1.13-1                        Perl module for automatic text wra
ii  libtext-qu 2.05-2                        Extract the structure of a quoted 
ii  libtext-te 1.44-1.1                      Text::Template perl module
ii  libtext-wi 0.78-0.1                      translates Wiki formatted text int
ii  libtext-wr 1.000-2                       Simple word wrapping routine
ii  libtime-mo 2003.1126-2                   Various Perl modules for time/date
ii  libtimedat 1.1600-5                      Time and date functions for Perl
ii  libtree-si 1.17-1                        A simple tree object
ii  libunivers 0.10-1                        Load modules from a variable
ii  libxml-rss 1.05-1                        Perl module for managing RSS (RDF 
ii  libxml-sim 2.14-5                        Perl module for reading and writin
ii  perl       5.8.8-7etch3                  Larry Wall's Practical Extraction 
ii  postfix [m 2.3.8-2+etch1                 A high-performance mail transport 
ii  rt3.8-apac 3.8.1-1~experimental1~bpo40+1 Apache 2 specific files for reques
ii  rt3.8-clie 3.8.1-1~experimental1~bpo40+1 Mail gateway and command-line inte
ii  rt3.8-db-m 3.8.1-1~experimental1~bpo40+1 MySQL database backend for request
ii  sysklogd [ 1.4.1-18                      System Logging Daemon
ii  ucf        2.0020                        Update Configuration File: preserv

Versions of packages request-tracker3.8 recommends:
pn  speedy-cgi-perl               <none>     (no description available)

-- debconf information excluded

More information about the pkg-request-tracker-maintainers mailing list