From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 Description of problem: If I use the CPAN module to install the Template Toolkit: perl -MCPAN -e 'install "Template"' (Template toolkit downloaded is 2.08), I get a failure in an HTML test (#3 out of 10 in t/html.t). Using Perl 5.8.0 out of the box (from the RPM in the 8.0 media). The precise test is: -- test -- [% TRY; "Léon Brocard" | html_entity; CATCH; error; END %] -- expect -- -- process -- [% IF entities -%] Léon Brocard [%- ELSE -%] html_all error - cannot locate Apache::Util or HTML::Entities [%- END %] It seems this test is throwing an error. It does work fine on Perl 5.6.1 on a RedHat 7.2 box. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: See above: execute perl -MCPAN -e 'install "Template"' Actual Results: A single failure running the "html" tests, and so CPAN refuses to install the package. Expected Results: No failures, successful install. Additional info: Bugzilla depends on the Template toolkit, so this is (for us, anyway) severe..
this is a false breakage. try the following: export PERLIO=stdio perl -MCPAN -e 'install "Template"' That will probably be a sufficient workaround. Or you can try the latest perl in Rawhide. The core issue is utf8 trouble, most of which is fixed in the latest perl.
Ah, a chance to add this back. I'm reopening, but only for a suitable resolution. The underlying cause indeed seems to be UTF-8, but the suggested workaround (PERLIO setting) didn't work. Turns out RH8 sets the LANG by default (for US locale) to en_US.UTF-8. Changing LANG to the setting from previous versions (en_US.iso885915) makes the install work correctly.
Closing due to lack of activity and likely fixed in modern perl. If this is still an issue in RHEL4, FC3 or FC4 please open a new bug with new test information and exact versions of packages.