Perl 5.10 prototype mismatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Debian) |
Fix Released
|
Unknown
|
|||
perl (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Intrepid |
Won't Fix
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: perl
Matches Debian bug 480428 (http://
Perl 5.10 on Intrepid Ibex (x86-32 platform) has the following problem:
$ perl -e "require '_h2ph_pre.ph'"
Prototype mismatch: sub main::__LONG_MAX__ () vs none at /usr/lib/
Constant subroutine __LONG_MAX__ redefined at /usr/lib/
Compare lines 188 and 291 of /usr/lib/
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy perl
perl:
Installed: 5.10.0-11.1ubuntu2
Candidate: 5.10.0-11.1ubuntu2
Version table:
*** 5.10.0-11.1ubuntu2 0
500 http://
100 /var/lib/
I expected the 'require' line to work silently. (The warning manifests itself in actual running code from http://
Changed in perl: | |
status: | Unknown → Fix Released |
Changed in perl (Ubuntu Jaunty): | |
status: | Fix Released → Fix Committed |
status: | Fix Committed → Fix Released |
tags: | added: patch |
The attached patch removes the "gross hack" and resolves the problem.