Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32746 - XML::GDOME needs gdome2 version 0.7.2 or higher - but it doesn't accept 0.8.0
Summary: XML::GDOME needs gdome2 version 0.7.2 or higher - but it doesn't accept 0.8.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 14:43 UTC by Colin Fox
Modified: 2004-02-27 08:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Fox 2003-11-04 14:43:30 UTC
The Makefile.PL file for XML-GDOME-0.83 has this code:

eval {
    print "running gdome-config... ";
    my $ver = backtick('gdome-config --version');
    my ($major, $minor, $point) = $ver =~ /(\d+).(\d+)\.(\d+)/g;
    die "VERSION" unless $major == 0 && $minor == 7 && $point >= 2;
    $config{LIBS} ||= backtick('gdome-config --libs');
    $config{INC} ||= backtick('gdome-config --cflags');
    print "ok\n";
};


The ebuild reports that it needs 'at least' v 0.7.2, but it is checking for
EXACTLY 0.7.x, instead of 'at least'.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Colin Fox 2003-11-04 14:46:19 UTC
By the way - if I fix this to use >= instead of ==, how can I do the emerge?
Do I have to build a package myself with the fix, or can I go to the /var/tmp/portage/xxx
directory and build it myself?
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-02-27 08:01:40 UTC
ebuild has been corrected. would need confirmation that it actually works with a later version of the library before attempting to modify the module itself (and by then, it'll probably be out upstream as well ;) )