[Bug 734253] New: HTML::Template 2.10 versioning problem

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 29 21:45:06 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: HTML::Template 2.10 versioning problem

https://bugzilla.redhat.com/show_bug.cgi?id=734253

           Summary: HTML::Template 2.10 versioning problem
           Product: Fedora
           Version: 16
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: high
          Priority: unspecified
         Component: perl-HTML-Template
        AssignedTo: tcallawa at redhat.com
        ReportedBy: ville.skytta at iki.fi
         QAContact: extras-qa at fedoraproject.org
                CC: tcallawa at redhat.com, fedora-perl-devel-list at redhat.com
    Classification: Fedora
      Story Points: ---
              Type: ---


HTML::Template 2.10 is treated by perl's versioning comparisons as a floating
point number, which means it's the same as if its version was 2.1.

Upstream bug report: https://rt.cpan.org/Public/Bug/Display.html?id=70190

Reproducer:

$ perl -e 'use HTML::Template 2.6'
HTML::Template version 2.6 required--this is only version 2.10 at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

rpm's version comparison is probably unaffected, but anything using e.g. "use
HTML::Template 2.x" for x >= 2 is now broken at runtime with HTML::Template
2.10.  Packages included in Fedora broken such way include at least
perl-HTML-Template-Expr and w3c-markup-validator.

I'm not aware of an easy way to fix this in HTML::Template (apart from bumping
the version to 3.00 but that's hardly something that should be done in the
Fedora package), so I suppose affected packages could be patched so that any
versions in their "use HTML::Template" statements are removed.  Other ideas?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list