Summary: | dev-perl/gtk2-spell-1.03: invalid version format in Heavy.pm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | José Romildo Malaquias <jrmalaq> |
Component: | [OLD] Development | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Ivan.Miljenovic, perl, tetromino |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 319801 | ||
Attachments: | fixed gtk2-spell-1.03 ebuild |
Description
José Romildo Malaquias
2010-07-17 12:10:42 UTC
This bug blocks #319801 Created attachment 239151 [details]
fixed gtk2-spell-1.03 ebuild
The error is caused by non-numeric dependencies in Makefile.PL:
our %build_reqs = (
'perl-ExtUtils-Depends' => '0.1',
'perl-ExtUtils-PkgConfig' => '0.1',
'perl-Glib' => '1.00rc2',
'perl-Gtk2' => '1.00rc2',
'GtkSpell' => '2.0.0',
);
The simple solution is to replace '1.00rc2' with '1.00' (we can do that with no worries since the oldest version of gtk2-perl in portage is 1.145) using sed:
sed -ie "s:1.00rc2:1.00:g" "${S}"/Makefile.PL || die "sed failed"
Ebuild with the sed command incorporated is attached.
It would appear upstream made the same fix in the source repository back ... in 2003 O_o.... http://git.gnome.org/browse/perl-Gtk2-Spell/commit/?id=caa0ef46bbb2ce81cd92ef80f3547b15803e05c6 They just have yet to re-release with this fix applied. Filed a cross-bug upstream so it can fix people other than Gentoo, but I think the sed fix is ok for now. https://rt.cpan.org/Ticket/Display.html?id=59485 Fixed. Thanks |