Package Details: xmltv 0.5.69-2

Git Clone URL: https://aur.archlinux.org/xmltv.git (read-only)
Package Base: xmltv
Description: Set of utilities to download tv listings and format them in xml
Upstream URL: http://xmltv.org/wiki/
Licenses: GPL
Submitter: haawda
Maintainer: khampf
Last Packager: khampf
Votes: 62
Popularity: 0.299400
First Submitted: 2011-03-12 19:56
Last Updated: 2017-09-04 20:11

Latest Comments

jss commented on 2017-09-11 17:24

Although with new PKGBUILD, still get errors of modules not found because they are at /usr/lib/perl5/5.26/vendor_perl and @INC only includes /usr/lib/perl5/vendor_perl (without $version) and others similar.

The only way to build for me was to insert at the top:
export PERL5LIB=/usr/lib/perl5/5.26/vendor_perl

and to delete the 'unset PERL5LIB' everywhere.

So the build completed, now I'm going to test. If someone with more knowledge than me thinks I'm doing it wrong, please advise.

khampf commented on 2017-09-04 19:56

@blueowl: thanks! Commiting your prepare() as is shortly. Get back to me with your real name if you want it to appear in the PKGBUILD :)

blueowl commented on 2017-09-04 11:19

As noted previously, xmltv package does not build with Perl 5.26.

Please add this prepare() function to PKGBUILD to fix it:

prepare() {
# To build corectly with Perl 5.26
# see https://sourceforge.net/p/xmltv/mailman/message/36001436/
# and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865045
sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_latex
sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_text
sed "s/\(lib\/set_share_dir.pl';\)/.\/\1/" -i "$pkgname-$pkgver"/grab/it/tv_grab_it.PL
sed "s/\(filter\/Grep.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/filter/tv_grep.PL
sed "s/\(lib\/XMLTV.pm.in';\)/.\/\1/" -i "$pkgname-$pkgver"/lib/XMLTV.pm.PL
sed "s/\(lib\/Ask\/Term.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/Makefile.PL
}

ArnaudNux commented on 2017-09-03 14:20

==> Building and installing package
==> Making package: xmltv 0.5.69-1 (Sun Sep 3 16:18:20 CEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading xmltv-0.5.69.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 372 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 353 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1243k 100 1243k 0 0 621k 0 0:00:02 0:00:02 --:--:-- 1377k
==> Validating source files with md5sums...
xmltv-0.5.69.tar.bz2 ... Passed
==> Extracting sources...
-> Extracting xmltv-0.5.69.tar.bz2 with bsdtar
==> Starting build()...
Can't locate lib/Ask/Term.pm in @INC (you may need to install the lib::Ask::Term module) (@INC contains: /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at Makefile.PL line 254.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build xmltv.
==> Restart building xmltv ? [y/N]

hamelg commented on 2017-09-03 10:18

build fails with this error :
==> Starting build()...
Can't locate lib/Ask/Term.pm in @INC (you may need to install the lib::Ask::Term module) (@INC contains: /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at Makefile.PL line 254.
==> ERROR: A failure occurred in build().
Aborting...
Please, fix it.

gmelchett commented on 2017-08-09 18:10

I had to add PERL5LIB=`pwd` as well as remove "make test" because some testcases uses tmpnam which has been removed in newer perl versions. See:
http://perldoc.perl.org/perl5260delta.html#POSIX%3a%3atmpnam()-has-been-removed


Evils commented on 2017-07-19 15:29

I kept getting
Can't locate lib/Ask/Term.pm in @INC
and other errors until I've explicitly set
PERL5LIB=`pwd`
and it worked!

khampf commented on 2016-09-15 13:31

@weedfreak I just now did a clean x86_64 installation of Arch in VirtualBox and xmltv and its dependencies built cleanly from AUR on a fresh installation. I have a log and also a list of installed packages if you want to look at them but if you get segfaults on perl with a dumped core - your problem lies within perl and you should maybe analyse the coredump further if you are able to.

weedfreak commented on 2016-09-15 08:35

I have reinstalled perl, 'just in case' all dependencies are marked as installed but I still get the error. Is there a dependency missing from the list perhaps?
Any pointers to what I should try to fix this would be very much appreciated.

I tried buiding from the source file manually and while I get to answer the options questions I still get a segfault. Problem reported on Sourceforge.

khampf commented on 2016-09-11 18:55

@weedfreak I am able to rebuild cleanly. Your problem seems to be higher up in the chain, perl should not inexplicably segfault on any makefile.

weedfreak commented on 2016-09-10 08:33

Build fail

PKGBUILD: line 26: 8470 Broken pipe yes
8471 Segmentation fault (core dumped) | /usr/bin/perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build xmltv.

sultanoswing commented on 2016-07-04 12:01

Wouldn't compile for me, despite rebuilding perl dependencies etc. Failed with the error:

[quote]
Compilation failed in require at /usr/lib/perl5/vendor_perl/Scalar/Util.pm line 11.
Compilation failed in require at /usr/share/perl5/core_perl/File/Temp.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/File/Temp.pm line 18.
Compilation failed in require at t/test_library.t line 5.
BEGIN failed--compilation aborted at t/test_library.t line 5.
t/test_library.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/test_tv_imdb.t ... List::Util object version 1.42_02 does not match bootstrap parameter 1.38 at /usr/lib/perl5/core_perl/DynaLoader.pm line 210.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Scalar/Util.pm line 11.
Compilation failed in require at /usr/share/perl5/core_perl/File/Temp.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/File/Temp.pm line 18.
Compilation failed in require at t/test_tv_imdb.t line 16.
BEGIN failed--compilation aborted at t/test_tv_imdb.t line 16.
t/test_tv_imdb.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/test_tv_split.t .. List::Util object version 1.42_02 does not match bootstrap parameter 1.38 at /usr/lib/perl5/core_perl/DynaLoader.pm line 210.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Scalar/Util.pm line 11.
Compilation failed in require at /usr/share/perl5/core_perl/File/Temp.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/File/Temp.pm line 18.
Compilation failed in require at t/test_tv_split.t line 16.
BEGIN failed--compilation aborted at t/test_tv_split.t line 16.
t/test_tv_split.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/test_library.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/test_tv_imdb.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/test_tv_split.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=6, Tests=103, 41 wallclock secs ( 0.07 usr 0.00 sys + 38.32 cusr 2.23 csys = 40.62 CPU)
Result: FAIL
Failed 3/6 test programs. 0/103 subtests failed.
make: *** [Makefile:1374: test_dynamic] Error 2
[/quote]

Solved / worked around by commenting out the whole check section in the PKGBUILD:

[quote]
#check() {
# cd "$pkgname-$pkgver"
# unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
# export PERL_MM_USE_DEFAULT=1
# make test
#}
[/quote]

pezz commented on 2016-06-21 07:12

@zman0900 I maintain perl-unicode-string and forgot to bump the release after the last perl upgrade.

Just did it now and xmltv compiles fine, I didn't have to re-do those xml packages for some reason, just worked for me.

zman0900 commented on 2016-06-17 23:24

Update was failing for me on x86_64 with error:

Do you want to proceed with this configuration? [yes,no (default=yes)] String.c: loadable library and perl b
inaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)

I was able to fix this by rebuilding perl-unicode-string, perl-xml-dom, and perl-xml-treepp.

rpcameron commented on 2016-06-02 18:10

I just flagged this package as OOD; 0.5.68 is now available. I modified the PKGBUILD for the new version (MD5SUM of 0.5.68.tar.bz2: 2297791e005360fafa11ade20e338df0), and added dependencies of perl-datetime-format-iso8601 and perl-json to get tv_grab_sd_json to build; it built successfully on aarch64—I can't imagine build issues for other platforms.

khampf commented on 2015-10-17 13:00

I rewrote the PKGBUILD to follow the current Perl Policy to a greater extent

khampf commented on 2015-10-16 14:21

martynjy: last update just changed PREFIX to INSTALL_BASE as parameter to Makefile.pl in the PKGBUILD, as mentioned by users previously. I'm looking into rewriting the PKGBUILD from a newer template. You basically have the same version of the package contents so you can ignore the upgrade to 0.5.67-2 for now

martynjy commented on 2015-10-15 14:39

Since the upgrade yesterday (upgraded xmltv (0.5.67-1 -> 0.5.67-2)) I get the following:

Can't locate XMLTV.pm in @INC (you may need to install the XMLTV module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/bin/tv_grab_uk_atlas line 27.
BEGIN failed--compilation aborted at /usr/bin/tv_grab_uk_atlas line 27.

pinball-fixer commented on 2015-10-05 11:51

I have the same issue as acharrett, so changing PREFIX to INSTALL_BASE worked for me as well.

planeteater commented on 2015-08-29 09:27

Thanks!

khampf commented on 2015-08-28 21:14

planeteater: I submitted a working (not pretty but that is due to the example in ABS being outdated) PKGBUILD for now so the dependency should be ok now.

planeteater commented on 2015-08-28 09:14

One of the dependencies, perl-xml-treepp seems to be missing from the repos:

https://www.archlinux.org/packages/?q=perl-xml-treepp
https://aur4.archlinux.org/packages/?O=0&K=perl-xml-treepp

khampf commented on 2015-08-26 20:20

0.5.67 built and installed just fine without changing PREFIX to INSTALL_BASE for me so for now I leave the PKGBUILD as it is unless more users experience problems with it.

acharrett commented on 2015-08-26 19:55

XMLTV 0.5.67 has been released, and seems to build cleanly.

I had to replace PREFIX with INSTALL_BASE to make the package build:

yes | perl Makefile.PL INSTALL_BASE=/usr INSTALLDIRS=vendor

khampf commented on 2014-11-22 22:43

Compilation failed at Unicode::String and as it's optional (only recommended) I disabled it for now. If you get other SIGSEGVs please debug by going into the src/xmltv-0.5.xx dir and running:

perl -d Makefile.PL PREFIX=/usr INSTALLDIRS=vendor

(you then enter "c" at the DB<1> prompt to make magic happen)

For example Unicode::String gave me the following:

Signal SEGV at /usr/lib/perl5/vendor_perl/Unicode/String.pm line 28, <STDIN> line 1.
require Unicode/String.pm called at (eval 419)[Makefile.PL:1151] line 2
eval 'require Unicode::String' called at Makefile.PL line 1151
main::test_module("Unicode::String", 0) called at Makefile.PL line 1209

Burroughs commented on 2014-10-12 15:25

I still get the message "Perl API version v5.16.0 of Archive::Zip does not match v5.20.0 at /usr/lib/perl5/core_perl/DynaLoader.pm line 216, <STDIN> line 1.
Compilation failed in require at (eval 403) line 2, <STDIN> line 1.
...propagated at Makefile.PL line 1204, <STDIN> line 1."
Is there a way to fix this or a workaround (I know it depends on perl but xmltv is a very useful program for me)?

Burroughs commented on 2014-10-12 15:24

I still get the message "Perl API version v5.16.0 of Archive::Zip does not match v5.20.0 at /usr/lib/perl5/core_perl/DynaLoader.pm line 216, <STDIN> line 1.
Compilation failed in require at (eval 403) line 2, <STDIN> line 1.
...propagated at Makefile.PL line 1204, <STDIN> line 1."
Is there a way to fix this or a workaround (I know it depends from perl but xmltv is a very useful program for me)?

DarkElf commented on 2014-06-10 08:34

It happened since I upgraded perl packages...

khampf commented on 2014-06-09 14:03

I get a segfault at another place but as compilation was succesful earlier it's nothing in the packages per se, it's either perl or upstream :(

DarkElf commented on 2014-06-09 07:14

Perl API version v5.18.0 of Term::ReadKey does not match v5.20.0 at /usr/lib/perl5/core_perl/DynaLoader.pm line 216.
Compilation failed in require at lib/Ask/Term.pm line 9.
BEGIN failed--compilation aborted at lib/Ask/Term.pm line 9.
Compilation failed in require at Makefile.PL line 246.

Louis commented on 2014-05-21 22:17

Flagged. 0.5.65 released: http://sourceforge.net/projects/xmltv/files/xmltv/

khampf commented on 2013-01-11 15:00

Verified building on i686 and x86_64 without problems. Not sure why it would bork on PREFIX/INSTALL_BASE but if more people have problems with it I can look into it ...

chetwisniewski commented on 2013-01-11 05:16

Build fails with:

Only one of PREFIX or INSTALL_BASE can be given. Not both.


Removing PREFIX solved it, not sure on implications

andreas_baumann commented on 2012-09-29 08:00

0.5.63 is out.

khampf commented on 2012-04-16 22:19

@emmanuelux please report upstream if you haven't already (http://sourceforge.net/tracker/?group_id=39046&atid=424135)

Anonymous comment on 2012-02-26 23:47

tv_grab_fr_kazer is broken with last perl update

haawda commented on 2011-03-12 19:57

moved from [community]

haawda commented on 2011-03-12 19:57

moved from [community]