Bug 441359 - Error when loading RRDs
Summary: Error when loading RRDs
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rrdtool
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Jarod Wilson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-07 18:24 UTC by Terje Røsten
Modified: 2008-04-08 16:48 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2008-04-08 15:20:21 UTC


Attachments (Terms of Use)

Description Terje Røsten 2008-04-07 18:24:19 UTC
Description of problem:

$ perl -e 'use RRDs;'
RRDs object version 1.2999070803 does not match bootstrap parameter 1.29990708
at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 226.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

I tried to rebuild the rrdtool and rrdtool-perl, however that did not help

$ rpm -q perl
perl-5.10.0-20.fc9.x86_64

$ rpm -qa|grep rrd
rrdtool-perl-1.3-0.10.beta4.fc9.x86_64
rrdtool-1.3-0.10.beta4.fc9.x86_64


Any idea?

Comment 1 Jarod Wilson 2008-04-07 20:32:10 UTC
Nggggh. I'm guessing this might be somehow related to a change in perl 5.10.

$ grep -R 29990708 *
bindings/perl-shared/RRDs.pm:$VERSION=1.299907080300;
bindings/perl-piped/RRDp.pm:$VERSION=1.299907080300;

It seems the version string is getting truncated somewhere... But I really have
no clue who/what is at fault. Pinging some perl people...

Comment 2 Terje Røsten 2008-04-07 20:40:48 UTC
> Nggggh. I'm guessing this might be somehow related to a change in perl 5.10.
> 
> $ grep -R 29990708 *
> bindings/perl-shared/RRDs.pm:$VERSION=1.299907080300;
> bindings/perl-piped/RRDp.pm:$VERSION=1.299907080300;
> 
> It seems the version string is getting truncated somewhere... 

Yes, my initial belief too. Anyway, crazy long, makes me wonder
why such VERSION strings are needed!?

> But I really
> have  no clue who/what is at fault. Pinging some perl people...

Thanks :-)





 


Comment 3 Jarod Wilson 2008-04-07 21:31:03 UTC
Well, I think the version string will get bumped to 1.30 or something like that
once 1.3 is released, but since its still beta, we get the long
pre-1.3+date-based version. I have a short-term work-around I'll try in a sec,
since my perl contacts are ignoring me right now. :)

Comment 4 Jarod Wilson 2008-04-08 15:20:21 UTC
Successfully tested my local work-around, committing and building now.

Comment 5 Terje Røsten 2008-04-08 16:48:17 UTC
Works great here too, thanks for quick fix!


Note You need to log in before you can comment on or make changes to this bug.