Automatic installation fails. Manual configuration after dpkg-reconfigure also fails.
First of several error messages is: Too many arguments for main::fix_pl_scripts_perm at /usr/share/bugzilla/lib/checksetup.pl line 4581, near "'/usr/share/bugzilla')" Too many arguments for main::fix_pl_scripts_perm at /usr/share/bugzilla/lib/checksetup.pl line 4582, near "'/usr/share/bugzilla/lib')" Execution of /usr/share/bugzilla/lib/checksetup.pl aborted due to compilation errors. A quick edit of /usr/share/bugzilla/lib/checksetup.pl to remove the () on line 199 was needed to get the script to continue: -sub fix_pl_scripts_perm() +sub fix_pl_scripts_perm { my $path = shift; system ("chmod a+x $path/*.pl"); } but then it fails with: Populating duplicates table... chmod: missing operand after `644' Try `chmod --help' for more information. Can't fix /var/cache/bugzilla/* files perm : at /usr/share/bugzilla/lib/checksetup.pl line 193, <STDIN> line 5. It now resets the permissions of /usr/share/bugzilla/lib/checksetup.pl to 0644 every time it is run - which is annoying. perl /usr/share/bugzilla/lib/checksetup.pl --check-modules does work. There are no files in /var/cache/bugzilla/ Skipping that command allows the script to complete: # the Debian way of fixing permissions sub fix_www_data_perm { my $path = shift; system(qq{chown -R www-data.www-data $path}) == 0 or die "Can't fix owner of files under $path : $!"; # system(qq{find $path -type f -print0 | xargs -0 chmod 644 }) == 0 # or die "Can't fix $path/* files perm : $!"; system(qq{find $path -type d -print0 | xargs -0 chmod 755 }) == 0 or die "Can't fix $path/* dirs perm : $!"; } But viewing Bugzilla over http then just provides: No value for param user_verify_class (try running checksetup.pl again) at /usr/share/perl5/Bugzilla/Config.pm line 195. BEGIN failed--compilation aborted at /usr/share/perl5/Bugzilla/Auth.pm line 43. Compilation failed in require at /usr/share/bugzilla/Bugzilla.pm line 28. BEGIN failed--compilation aborted at /usr/share/bugzilla/Bugzilla.pm line 28. Compilation failed in require at /usr/share/perl5/Bugzilla/Bug.pm line 39. BEGIN failed--compilation aborted at /usr/share/perl5/Bugzilla/Bug.pm line 39. Compilation failed in require at /usr/share/bugzilla/CGI.pl line 48. BEGIN failed--compilation aborted at /usr/share/bugzilla/CGI.pl line 48. At least it retains the permissions on /usr/share/bugzilla/lib/checksetup.pl. Looks like the paths are completely fouled. cd /usr/share/bugzilla/ ./testserver.pl No value for param user_verify_class (try running checksetup.pl again) at /usr/share/perl5/Bugzilla/Config.pm line 195. BEGIN failed--compilation aborted at /usr/share/perl5/Bugzilla/Auth.pm line 43. Compilation failed in require at /usr/share/bugzilla/Bugzilla.pm line 28. BEGIN failed--compilation aborted at /usr/share/bugzilla/Bugzilla.pm line 28. Compilation failed in require at /usr/share/bugzilla/globals.pl line 1161. BEGIN failed--compilation aborted at /usr/share/bugzilla/globals.pl line 1161. Compilation failed in require at ./testserver.pl line 26. Solved by copying the params file into the correct place: # cp /usr/share/bugzilla/debian/params.new /etc/bugzilla/params Bugzilla is now running but I think it's missing it's CSS or any templates. The page isn't particularly pleasant - certainly cannot be used by a development team for it's original purpose. This is a bad hack of a workaround - the package desperately needs these things fixed properly. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpqYJxHf72Jt.pgp
Description: PGP signature