[request-tracker-maintainers] Bug#920744: request-tracker4: fails to upgrade from stretch: Can't locate Cpanel/JSON/XS.pm

Andreas Beckmann anbe at debian.org
Mon Jan 28 17:03:54 GMT 2019


Package: request-tracker4
Version: 4.4.3-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + rt4-extension-jsgantt

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' fails.

This was observed during an upgrade of the rt4-extension-jsgantt
package from stretch to buster, with --install-recommends enabled.

>From the attached log (scroll to the bottom...):

  Setting up request-tracker4 (4.4.3-1) ...
  **WARNING**  
  **WARNING**  If you are using mod_perl or any form of persistent perl
  **WARNING**  process such as FastCGI, you will need to restart your
  **WARNING**  web server and any persistent processes now.
  **WARNING**  
  **WARNING**  For mod_perl this means
  **WARNING**  
  **WARNING**  invoke-rc.d apache2 stop && invoke-rc.d apache2 start
  **WARNING**  
  **WARNING**  
  **WARNING**  If you are using mod_perl or any form of persistent perl
  **WARNING**  process such as FastCGI, you will need to restart your
  **WARNING**  web server and any persistent processes now.
  **WARNING**  
  **WARNING**  For mod_perl this means
  **WARNING**  
  **WARNING**  invoke-rc.d apache2 stop && invoke-rc.d apache2 start
  **WARNING**  
  dbconfig-common: writing config to /etc/dbconfig-common/request-tracker4.conf
  creating database backup in /var/cache/dbconfig-common/backups/request-tracker4_4.4.1-3+deb9u3.2019-01-24-18.52.21.
  applying upgrade script for 4.4.1-3+deb9u3 -> 4.4.2.
  Can't locate Cpanel/JSON/XS.pm in @INC (you may need to install the Cpanel::JSON::XS module) (@INC contains: /usr/local/share/request-tracker4/lib /usr/share/request-tracker4/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 333) line 2.
  BEGIN failed--compilation aborted at (eval 333) line 2.
   at /usr/share/request-tracker4/lib/RT/Interface/Web.pm line 77.
  Compilation failed in require at /usr/share/request-tracker4/lib/RT/Interface/Web.pm line 77.
  BEGIN failed--compilation aborted at /usr/share/request-tracker4/lib/RT/Interface/Web.pm line 77.
  Compilation failed in require at /usr/share/request-tracker4/lib/RT/Template.pm line 81.
  BEGIN failed--compilation aborted at /usr/share/request-tracker4/lib/RT/Template.pm line 81.
  Compilation failed in require at /usr/share/request-tracker4/lib/RT/Scrip.pm line 73.
  BEGIN failed--compilation aborted at /usr/share/request-tracker4/lib/RT/Scrip.pm line 73.
  Compilation failed in require at /usr/share/request-tracker4/lib/RT/Scrips.pm line 74.
[...]
  Compilation failed in require at /usr/share/perl/5.28/base.pm line 135.
  	...propagated at /usr/share/perl/5.28/base.pm line 157.
  BEGIN failed--compilation aborted at /usr/share/request-tracker4/lib/RT/Ticket.pm line 70.
  Compilation failed in require at /usr/share/request-tracker4/lib/RT/Tickets.pm line 80.
  BEGIN failed--compilation aborted at /usr/share/request-tracker4/lib/RT/Tickets.pm line 80.
  Compilation failed in require at /usr/share/request-tracker4/lib/RT.pm line 464.
  error encountered processing /usr/share/dbconfig-common/scripts/request-tracker4/upgrade/sqlite3/4.4.2:
  /usr/share/dbconfig-common/scripts/request-tracker4/upgrade/sqlite3/4.4.2 exited with non-zero status
  dbconfig-common: request-tracker4 configure: aborted.
  dpkg: error processing package request-tracker4 (--configure):
   installed request-tracker4 package post-installation script subprocess returned error exit status 1


Cheers

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt4-extension-jsgantt_1.03-1.log.gz
Type: application/gzip
Size: 109599 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-request-tracker-maintainers/attachments/20190128/9a45248c/attachment-0001.gz>


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