XMLTV : unmet dependencies

13 views
Skip to first unread message

nono

unread,
Apr 13, 2013, 5:27:10 AM4/13/13
to openbric...@googlegroups.com
Hello,

I run into a problem with the xmltv grabber "tv_grab_fr_kazer" : it has unmet dependencies.

  1. First, it needs a package "perl-sub-install" which is not build/packaged by default => could you please change the default build confs please ?
  2. Then, it still not works because it does not find Datetime.pm, which is not installed in the right folder (is installed in /usr/lib/perl/site_perl/5.14.2/armv7-openbricks-linux-gnueabihf/DateTime.pm) but this path is not in perl's search patch ====> I don't know what to do to permanently correct, so for now I tuned my grabber and added a "use lib '/usr/lib/perl/site_perl/5.14.2/armv7-openbricks-linux-gnueabihf';"  ==> needs to be corrected
  3. .... it still didn't work with that, because it needed 2 other perl modules, that are not in geexbox packages



SO here is attached the "package" files I added in order to get it to work :

  1. two clean packages (perl-package-stash and perl-package-deprecationmanager)
  2. one "not so clean" package for perl-class-load-xs    ==> 'not so clean' because the tar.gz does not contain a Makefile.PL, and does not build without . So I did generate one by hand in the "build" script


Let's tel me what you think of it ? After all that, the grabber finally worked (or at least did not throw errors anymore)...

xmltv_kazer_dependencies.tar.gz

Thomas Genty

unread,
Apr 13, 2013, 5:47:45 AM4/13/13
to openbric...@googlegroups.com
Le 13/04/2013 11:27, nono a écrit :
Hello,
Hello,

I run into a problem with the xmltv grabber "tv_grab_fr_kazer" : it has unmet dependencies.
ok, i only have tested tv_grab_fr ;-)


  1. First, it needs a package "perl-sub-install" which is not build/packaged by default => could you please change the default build confs please ?
sure

  1. Then, it still not works because it does not find Datetime.pm, which is not installed in the right folder (is installed in /usr/lib/perl/site_perl/5.14.2/armv7-openbricks-linux-gnueabihf/DateTime.pm) but this path is not in perl's search patch ====> I don't know what to do to permanently correct, so for now I tuned my grabber and added a "use lib '/usr/lib/perl/site_perl/5.14.2/armv7-openbricks-linux-gnueabihf';"  ==> needs to be corrected
ok, will look

  1. .... it still didn't work with that, because it needed 2 other perl modules, that are not in geexbox packages



SO here is attached the "package" files I added in order to get it to work :

  1. two clean packages (perl-package-stash and perl-package-deprecationmanager)
  2. one "not so clean" package for perl-class-load-xs    ==> 'not so clean' because the tar.gz does not contain a Makefile.PL, and does not build without . So I did generate one by hand in the "build" script
well let's see ... you have a Build.PL file , it doesn't work  with this file ?



Let's tel me what you think of it ? After all that, the grabber finally worked (or at least did not throw errors anymore)...

Can you generate a diff  to add credits to you
please do :
edit .hg/hgrc file to add your full name and email, then :

hg add packages/perl-class-load-xs
hg commit packages/perl-class-load-xs -m "add new package : perl-class-load-xs"
hg export tip > perl-class-load-xs.diff

and so on for others packages

then send us your diff files

Regards

Tom

--
You received this message because you are subscribed to the Google Groups "OpenBricks Development List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openbricks-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

nono

unread,
Apr 13, 2013, 6:01:54 AM4/13/13
to openbric...@googlegroups.com, toml...@openbricks.org
First, it needs a package "perl-sub-install" which is not build/packaged by default => could you please change the default build confs please ?
sure
Thanks ^^

  1. .... it still didn't work with that, because it needed 2 other perl modules, that are not in geexbox packages

well let's see ... you have a Build.PL file , it doesn't work  with this file ?

In fact, I don't know how to tell to the build system to use this (correctly)  "Build.PL".  the "do_perl_make" function does not work no (throws a "no makefile").

Launching it by hand throws that :

root@Ubuntu-htpc:/opt/build/geexbox/openbricks/build/build.cubox.eglibc/perl-class-load-xs-0.06# perl Build.PL
Checking prerequisites...
  requires:
    !  Class::Load is not installed
  build_requires:
    !  Module::Implementation is not installed
    !  Test::Fatal is not installed
    !  Test::Requires is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.






Let's tel me what you think of it ? After all that, the grabber finally worked (or at least did not throw errors anymore)...

Can you generate a diff  to add credits to you
please do :
edit .hg/hgrc file to add your full name and email, then :

hg add packages/perl-class-load-xs
hg commit packages/perl-class-load-xs -m "add new package : perl-class-load-xs"
hg export tip > perl-class-load-xs.diff

and so on for others packages

then send us your diff files

Regards

Tom

Sure, will do that.


However, I did encounter a new error that is knocking me out, I don't know where to start to correct that :

on geexbox :

 # /usr/bin/tv_grab_fr_kazer --debug --output test.xml
/usr/bin/perl: symbol lookup error: /usr/lib/perl/5.14.2//auto/XML/Parser/Expat/Expat.so: undefined symbol: XML_ParserCreate_MM
#

nono

unread,
Apr 13, 2013, 6:14:31 AM4/13/13
to openbric...@googlegroups.com, toml...@openbricks.org
here are the 3 diffs :

I'll try to google for the new error (needs to have created an account on kazer.org, then have added some channels, then have "--configure" the grabber with kazer's userhash)
perl-class-load-xs.diff
perl-package-deprecationmanager.diff
perl-package-stash.diff

Thomas Genty

unread,
Apr 13, 2013, 6:51:06 AM4/13/13
to openbric...@googlegroups.com
Le 13/04/2013 12:14, nono a �crit :
thanks,
I may try your packages by the end of the day, right now ,I'm doing a
fresh build for i386

nono

unread,
Apr 13, 2013, 8:16:07 AM4/13/13
to openbric...@googlegroups.com, toml...@openbricks.org
OK ... so.

it MIGHT be an issue with the compiling of perl-xml-parser  : it requires the expat-devel lib, but I don't think its present. However it compiles ok, but then no XML can be parser with simple found here : http://xmlfr.org/documentations/articles/000508-0001

#!/bin/perl -w
use strict;
use XML::Parser;
my $p= new XML::Parser( Handlers =>
                         { Start   => \&default,
                           End     => \&default,
                           Default => \&default
                         },
                      );
$p->parsefile($ARGV[0]);
exit;
# par défaut imprimer la chaîne de caractères convertie en UTF-8
  { my $p= shift;
    my $string= $p->recognized_string();
    print $string;
  }

Thomas Genty

unread,
Apr 14, 2013, 8:37:55 AM4/14/13
to openbric...@googlegroups.com
--
Hello, I've corrected some issue with Datetime and params-validate, now calling tv_grab_fr_kazer, got this :
# tv_grab_fr_kazer
# tv_grab_fr_kazer --configure
Your userhash at kazer.org. It is shown on http://www.kazer.org/my-channels.html together with your selection of channels.
Userhash: []


For your problem with undefined symbol, got the same one, will look at it

Cheers,

Tom
Reply all
Reply to author
Forward
0 new messages