Si après mise à jour de Debian Trixie (Debian 13) , bugzilla ne fonctionne plus et produit les messages dans le log d'erreur du type :
[Thu Aug 14 15:40:42.361524 2025] [cgi:error] [pid 19105:tid 19105] [client <ip>] AH01215: st
derr from /var/www/bugzilla/index.cgi: [Thu Aug 14 15:40:42 2025] index.cgi: Template creation failed: failed to cre
ate constants namespace: failed to load Template/Stash/XS.pm: Perl API version v5.36.0 of Template::Stash::XS does n
ot match v5.40.0 at /usr/lib/x86_64-linux-gnu/perl-base/XSLoader.pm line 112., referer: https://bugzilla.pra.rip/edi
tsettings.cgi
[Thu Aug 14 15:40:42.362147 2025] [cgi:error] [pid 19105:tid 19105] [client <ip>] AH01215: st
derr from /var/www/bugzilla/index.cgi: [Thu Aug 14 15:40:42 2025] index.cgi: Compilation failed in require at lib/x8
6_64-linux-gnu-thread-multi/Template/Config.pm line 88., referer: https://bugzilla.pra.rip/editsettings.cgi
Créez un répertoire , pour y télécharger https://cpan.metacpan.org/authors/id/T/TO/TODDR/Template-Toolkit-3.102.tar.gz , puis le decompresser et le compiler le tester et l'installer :
wget https://cpan.metacpan.org/authors/id/T/TO/TODDR/Template-Toolkit-3.102.tar.gz tar xzf Template-Toolkit-3.102.tar.gz cd Template-Toolkit-3.102 perl Makefile.PL make make test make install |
find /usr/local/lib/perl5 -name 'Stash*' -exec rm -v {} \;
|
perl -MTemplate::Stash::XS -le 'print $INC{"Template/Stash/XS.pm"}'
|
si autre que : '<use Template::Stash;>'
use Template::Stash;
$Template::Config::STASH = 'Template::Stash';
|
$Template::Config::STASH = 'Template::Stash'; |