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.558190
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.

All comments