Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61454

Summary: media-tv/xmltv-0.5.34 does not install any tv_grab scripts
Product: Gentoo Linux Reporter: Steven Elling <ellingsw+20942>
Component: Current packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED DUPLICATE    
Severity: normal CC: seemant
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steven Elling 2004-08-23 17:59:09 UTC
When emerging media-tv/xmltv-0.5.34 the ebuild does not install any tv_grab scripts regardless of whether the env variable XMLTV_OPTS is used or not.

Also, /usr/share/doc/mythtv-0.13-r1/mythtv-HOWTO.txt.gz states the following:

20.2.  mythfilldatabase failing.

  If mythfilldatabase suddenly appears to be failing, check to see what
  version of XMLTV you're running.  Versions prior to 0.5.4 need to have
  the following change made: edit the
  /usr/lib/perl5/site_perl/5.8.0/XMLTV/ZapListings.pm file and perform a
  global search and replace, searching for "tvlistings2" and replacing
  it with "tvlistings".  NOTE:  It is highly recommended to run the
  latest version of XMLTV available.  In North America, zap2it, the
  listings provider, has been making numerous changes to their website
  which negatively impact XMLTV.
-----

Therefore, even if this is fixed for media-tv/xmltv-0.5.34 it is unlikely that this version will work anyway.  xmltv Version 0.5.4 or higher needs to be added to portage in order to make it work again.

Reproducible: Always
Steps to Reproduce:
1. emerge xmltv
2. Run mythfilldatabase to see that tv_grab, tv_grab_na, etc. are not installed.
3. Alternately, run epm -ql xmltv and see that tv_grab, tv_grab_na, etc. were not installed.

Actual Results:  
$> mythfilldatabase

----------------- Start of XMLTV output -----------------
nice: tv_grab_na: No such file or directory
------------------ End of XMLTV output ------------------
Error in 1:1: unexpected end of file
Fetching data for Mon Aug 23 2004
----------------- Start of XMLTV output -----------------
nice: tv_grab_na: No such file or directory
------------------ End of XMLTV output ------------------
Error in 1:1: unexpected end of file
Fetching data for Tue Aug 24 2004
----------------- Start of XMLTV output -----------------
nice: tv_grab_na: No such file or directory
------------------ End of XMLTV output ------------------



$> epm -ql xmltv
/usr/bin/tv_remove_some_overlapping
/usr/bin/tv_pick_cgi
/usr/bin/tv_to_latex
/usr/bin/tv_check
/usr/bin/tv_split
/usr/bin/tv_grep
/usr/bin/tv_imdb
/usr/bin/tv_sort
/usr/bin/tv_cat
/usr/bin/tv_extractinfo_en
/usr/bin/tv_to_text
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/DST.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Ask.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Gunzip.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/TZ.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Clumps.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Date.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Usage.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/AskTk.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Grab_XML.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/AskTerm.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Summarize.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/IMDB.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Config_file.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Get_nice.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Mode.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Version.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Memoize.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV/Grep.pm
/usr/lib/perl5/vendor_perl/5.8.4/XMLTV.pm
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/auto/XMLTV/.packlist
/usr/share/doc/xmltv-0.5.34/README.tv_check
/usr/share/doc/xmltv-0.5.34/README.gz
/usr/share/doc/xmltv-0.5.34/tv_check_doc.html
/usr/share/doc/xmltv-0.5.34/README.win32
/usr/share/doc/xmltv-0.5.34/MANIFEST.gz
/usr/share/doc/xmltv-0.5.34/README.cygwin.gz
/usr/share/doc/xmltv-0.5.34/tv_check_doc.jpg
/usr/share/doc/xmltv-0.5.34/ChangeLog.gz
/usr/share/doc/xmltv-0.5.34/COPYING
/usr/share/doc/xmltv-0.5.34/QuickStart
/usr/share/man/man1/tv_imdb.1.gz
/usr/share/man/man1/tv_cat.1.gz
/usr/share/man/man1/tv_sort.1.gz
/usr/share/man/man1/tv_split.1.gz
/usr/share/man/man1/tv_grep.1.gz
/usr/share/man/man1/tv_check.1.gz
/usr/share/man/man1/tv_extractinfo_en.1.gz
/usr/share/man/man1/tv_to_latex.1.gz
/usr/share/man/man1/tv_remove_some_overlapping.1.gz
/usr/share/man/man1/tv_to_text.1.gz
/usr/share/man/man3/XMLTV::Summarize.3.gz
/usr/share/man/man3/XMLTV::Date.3.gz
/usr/share/man/man3/XMLTV.3.gz
/usr/share/man/man3/XMLTV::Gunzip.3.gz
/usr/share/man/man3/XMLTV::Grab_XML.3.gz
/usr/share/perl/gentoo-pods/5.8.4/xmltv-0.5.34.pod.arch
/usr/share/perl/gentoo-pods/5.8.4/xmltv-0.5.34.pod


Expected Results:  
mythfilldatabase should of been able to run tv_grab_na in my case and epm should
of reported that tv_grab_na was installed.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-08-28 18:21:29 UTC
this is from changelog 0.5.32

Changes:
There have been many grabber fixes, in particular to tv_grab_na_dd, the new grabber for North America which replaces tv_grab_na. There are new grabbers for Norway and Portugal. 
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-08-29 04:38:24 UTC
from 0.5.33

The changes in this release are as follows:
Many of the grabbers were fixed for upstream site changes.  tv_grab_na
was removed in favour of tv_grab_na_dd and a  new tv_grab_na_icons
program was added to fetch channel  icons.  
Comment 3 Steven Elling 2004-08-29 22:09:54 UTC
I ran 'emerge -b xmltv' with PORT_LOGDIR set and XMLTV_OPTS set to "tv_grab_na_dd tv_grab_na_icons tv_check" and found the following errors in the log file:

These dependencies are missing for tv_grab_na_dd:

SOAP::Lite
...
These dependencies are missing for tv_grab_na_icons:

WWW::Mechanize (version 1.02 or higher)
-----

The xmltv-0.5.34.ebuild file has the following:

[ -z "${XMLTV_OPTS}" ] || has tv_grab_na_dd ${XMLTV_OPTS} \
        && newdepend dev-perl/SOAP-Lite dev-perl/TermReadKey
...
[ -z "${XMLTV_OPTS}" ] || has tv_grab_na_icons ${XMLTV_OPTS} \
        && newdepend dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02
-----

However, on my system neither SOAP::Lite nor WWW::Mechanize were installed as dependencies of this ebuild.  So it looks like there are dependency problems.

I ran 'emerge -b --oneshot SOAP-Lite WWW-Mechanize' then 'emerge -b xmltv' again  , however, tv_grab_na_dd and tv_grab_na_icons still were not installed but the log file indicates they will be installed:

* Grabber for North America using DataDirect (tv_grab_na_dd)

Do you wish to install tv_grab_na_dd? [yes,no (default=yes)]
* Grabber for North American Channel Icons (tv_grab_na_icons)

Do you wish to install tv_grab_na_icons? [yes,no (default=yes)]
-----

I manually built and installed xmltv-0.5.34 into '/tmp'.  Both tv_grab_na_dd and tv_grab_na_icons were installed so there is nothing wrong with the source files.
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2004-09-11 03:49:15 UTC

*** This bug has been marked as a duplicate of 63361 ***