Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524422 - media-tv/xmltv-0.5.57 with dev-lang/perl-5.18.2 - missing IO::Wrap and IO::Scalar
Summary: media-tv/xmltv-0.5.57 with dev-lang/perl-5.18.2 - missing IO::Wrap and IO::Sc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 652902
Blocks:
  Show dependency tree
 
Reported: 2014-10-04 07:13 UTC by thomas
Modified: 2018-06-12 18:48 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,2.25 KB, text/plain)
2016-04-02 13:04 UTC, Sam Jorna (wraeth)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomas 2014-10-04 07:13:06 UTC
In Options.pm:
use IO::Wrap qw/wraphandle/;
use IO::Scalar;

Those 2 Perl modules are not included in dev-lang/perl-5.18.2-r1 and also are not available in Portage.
Comment 1 Pacho Ramos gentoo-dev 2016-01-30 15:51:25 UTC
How does it fail? It looks to compile ok for me
Comment 2 thomas 2016-02-07 00:37:58 UTC
When I try to download epgdata:

Can't locate IO/Wrap.pm in @INC (you may need to install the IO::Wrap module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.20.2/x86_64-linux /usr/local/lib64/perl5/5.20.2 /usr/lib64/perl5/vendor_perl/5.20.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.20.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.20.2/x86_64-linux /usr/lib64/perl5/5.20.2 .) at /usr/lib64/perl5/vendor_perl/5.20.2/XMLTV/Options.pm line 38.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.20.2/XMLTV/Options.pm line 38.
Compilation failed in require at /home/thomas/tv_grab_eu_epgdata.pl line 148.


So, it seems the epgdata script needs Options.pm and Options.pm needs IO/Wrap.pm.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2016-03-27 16:28:27 UTC
(In reply to thomas from comment #0)
> In Options.pm:
> use IO::Wrap qw/wraphandle/;
> use IO::Scalar;
> 
> Those 2 Perl modules are not included in dev-lang/perl-5.18.2-r1 and also
> are not available in Portage.

You're missing a dependency on dev-perl/IO-stringy

(In future similar cases,
* check if module is included in core perl by "corelist -a IO::Wrap"
* search for the module on http://search.cpan.org/
)
Comment 4 Jason Miller 2016-03-29 19:13:56 UTC
It looks like xmltv-0.5.57 requires IO::Wrap unconditionally, but the requirement is only on some of its use flags (the offending line in XMLTV/Options.pm is not in the newest version, which is the first ebuild I wrote).

I'll see if I can get the dependency added to the 0.5.57, but in the meantime you can work around this by either emerging dev-perl/IO-stringy, or adding a USE flag to xmltv for one of the backends that does pull it in (e.g. uk_rt).
Comment 5 Sam Jorna (wraeth) gentoo-dev 2016-04-02 13:04:11 UTC
Created attachment 429482 [details]
build.log

xmltv-0.5.67 fails to buid with "Can't locate Term/ReadKey.pm in @INC". This may or may not also be an issue with 0.5.57.
Comment 6 James Le Cuirot gentoo-dev 2017-12-03 23:07:54 UTC
I have added the missing IO-Stringy dependency in 0.5.70. TermReadKey was already added to 0.5.68. I'll leave it to the maintainer to stabilise and clean up.
Comment 7 Jonas Stein gentoo-dev 2018-06-12 18:48:50 UTC
should be fixed now. closing