Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8309 - Emerge Perl Module Date::Calc doesn't work right.
Summary: Emerge Perl Module Date::Calc doesn't work right.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-24 09:38 UTC by Decibels
Modified: 2003-02-04 19:42 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 Decibels 2002-09-24 09:38:39 UTC
At first I thought this was a problem with glastree. It wouldn't install cause
it couldn't find Date::Calc installed. Emerging Date::Calc noticed a small
problem, it couldn't find Bit::Vector,but still said it installed Date::Calc
fine. Bit::Vector not being available from portage. I installed it with a
tarball. Work and when emerged Date::Calc again, the warning about Bit::Vector
went away and test example for Bit::Vector worked find. 

Tried an example program for Date::Calc, but it says it couldn't find it
installed. It was there from the emerge, but not recognized.

So did:

perl -MCPAN -e shell
install Date::Calc

That worked. The example didn't from some errors, but Date::Calc was there and
then tried to install Glastree. When smooth.

I have read some stuff that portage doesn't always handle the perl modules too
well. This must be an example of one that it doesn't handle well. Plus, not sure
if it would have worked at all without the Bit::Vector (which wasn't avail from
portage tree, but not listed as a dependancy from the ebuild).
Comment 1 Decibels 2002-09-24 09:41:39 UTC
part after the MCPAN where I mention that Date::Calc was there, not to confuse
with earlier statement. Meant it was there and working. It didn't complain of
the module missing when ran the Date::Calc example.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2002-09-24 13:16:33 UTC
I think there are two seperate issues here: Date-Calc.ebuild is missing deps,
and the slightly more important one is that it installed to the wrong place. I
can work with you on the latter and address the former seperately if you want.
It sounds like the new makemaker didn't get called via the perl-module.eclass.
This will affect other ebuilds (though when was your last rsync, just to be
safe?) placing their perl modules in the wrong place. We have an alternative
work around in the works (a new rc for perl that includes the patched
makemaker). Let me know how you want to proceed (will address the missing deps
irregardless - that's just not right : ) )
Comment 3 Decibels 2002-09-24 13:41:31 UTC
Oh, I got it working using CPAN. So I don't have to emerge it again to install
glastree. Got the emerge for glastree working once the Date::Calc was installed
with CPAN.

Didn't notice that the ebuild was installing in the wrong place though, didn't
really look real careful, just did a locate. Will try to look better next time
for more detail notes.

What about the warning about Bit::Vector is that something that should be
included in portage since the ebuild complained? Maybe it isn't important.
Or is that one of the missing deps? If so, I just rsync'd today and it isn't
included in the tree.

As far as rsync. I rsync pretty regularly. So if the above is not an issue and
you are going to take care of other missing deps, then I am done I guess on my
end. Thanks for the great and quick work!
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2002-10-02 05:58:45 UTC
Bit-Vector and a dep for it in Date-Calc have been added to portage this
morning. Let me know if it's ok to close this out (I know you said you resolved
the issue locally, I just don't like being the one to close the tickets
prematurely)

Mike
Comment 5 Decibels 2002-10-02 08:32:35 UTC
Yes, I see Bit-Vector is in there. That takes care of one issue. Didn't you
mention that Date-Calc was also installed in the wrong place? Just curious?
Comment 6 Decibels 2002-10-11 09:45:26 UTC
I checked it out in the 1.4rc1 system trying to build. Lot of things
not emerging correctly, but Date-Calc and its Bit-Vector dep is working.
I ran a Date-Calc test script and it worked fine. I used emerge to install 
it. So you can close this. 

Thanks.